107 Commits

Author SHA1 Message Date
Jan-Piet Mens
229ad96ba6 remove support for Greenwich devices
closes #484
2024-07-30 17:08:21 +02:00
Jan-Piet Mens
cd051428a5 install to correct dest 2024-02-05 18:50:08 +01:00
Jan-Piet Mens
5933b45715 support for tz is now optional 2024-01-30 21:19:17 +01:00
Jan-Piet Mens
99520208fc Enhance API data with timezone at location's position
closes #444
2024-01-30 17:09:29 +01:00
James Le Cuirot
f0c1c6fbd5 Install docroot files with correct permissions, excluding .gitignore 2022-09-25 15:50:07 +01:00
James Le Cuirot
c350d8ca85 Don't build with -Werror by default
As the Linux kernel experiment with this flag has shown, it's just a bad
idea unless you regularly do development work on the project. Different
compilers and compiler versions will emit different warnings, which will
cause headaches for users.
2022-09-25 15:14:09 +01:00
James Le Cuirot
8ae8df60fb Don't create the "last" storage subdirectory
ot-record creates it automatically. Other directories are also created
automatically, so we should be consistent here. Note that some package
managers need special handling for empty directories at build time, but
they don't care about directories created at runtime.
2022-09-25 15:14:06 +01:00
James Le Cuirot
0439a9e667 Use Mosquitto's pkg-config file
It has provided one since version 1.5. It erroneously hardcodes the
libdir as "lib" (it may be lib64), but OwnTracks defaulted to "lib"
anyway. I will fix Mosquitto shortly.
2022-09-25 15:14:03 +01:00
James Le Cuirot
cac1b95be0 Automatically detect when -luuid is needed (on Linux with tours enabled)
This is done in a cross-compile-friendly manner with cpp rather than
uname. printf is used rather than echo due to inconsistent handling of
the -e option across different shells.
2022-09-25 15:14:00 +01:00
James Le Cuirot
5ca1924ace Respect PKG_CONFIG variable when building
This is particularly useful in cross-compile situations, where a wrapper
around pkg-config is sometimes needed.
2022-09-25 15:13:56 +01:00
James Le Cuirot
b812365d1a Respect LDFLAGS variable when building 2022-09-25 15:13:50 +01:00
Jan-Piet Mens
9a1d03c648 replace all SHARE by TOUR
the word 'share' is difficult and ambiguos (why are we involved in
  investments?) and we're nipping this in the bud by renaming everything
  now in order to avoid the region/waypoint linguistic issues of the
  past.
2022-08-06 18:46:11 +02:00
Jan-Piet Mens
8371bf2ce4 [NEW]: support IPv4 and IPv6 2022-08-06 15:34:49 +02:00
Jan-Piet Mens
18efad3e9c experimental SHARES 2022-08-04 11:25:23 +02:00
Jan-Piet Mens
a20c1538c0 Surface GEOCODE_TIMEOUT into config.mk
addresses #272
2018-11-29 20:16:10 +01:00
Jan-Piet Mens
4ba7fcaa5f remove bundled MDB 2018-10-22 15:23:51 +02:00
Jan-Piet Mens
685a6f57c6 remove space
(#243)
2018-06-17 13:17:56 +02:00
Sven Klomp
8a57bc19bd Change buffer sizes to avoid truncation 2018-06-16 21:47:03 +02:00
Sven Klomp
c388b7fbd5 Deactivate warnings for format truncation
Fixes #242
2018-06-16 14:31:06 +02:00
Jan-Piet Mens
6a6e57a24a reverse freebsd 2017-05-17 14:33:48 +02:00
Jan-Piet Mens
80e4628d53 add FREEBSD switch
closes #163
2017-05-17 09:21:14 +02:00
Jan-Piet Mens
491a8f6f20 NEW: support for geo fences (waypoints)
WARNING: you must run --initialize to create the new sub db
  see documentation in doc/FENCES.md
2016-12-07 19:40:59 +01:00
Jan-Piet Mens
a5798f3cd5 add CFLAGS for base64 to conver Arch
closes #128
2016-09-12 09:09:16 +02:00
Jan-Piet Mens
32ec189662 embed git version/commit 2016-07-22 09:51:06 +02:00
Jan-Piet Mens
44cf65add7 don't clobber CFLAGS from config.mk
thanks, Bryce Edwards
2016-06-17 18:24:11 +02:00
Jan-Piet Mens
4261dca381 quotes 2016-03-05 10:13:49 +01:00
Jan-Piet Mens
6757248aaa ENOCOFFEE 2016-03-05 10:00:32 +01:00
Jan-Piet Mens
73d9d73802 makefile again 2016-03-05 09:46:34 +01:00
Jan-Piet Mens
1900dae8aa tweaks for freebsd 2016-03-04 18:14:35 +01:00
Jan-Piet Mens
cf4da36fae install config file 0640 2016-02-25 19:05:40 +01:00
Jan-Piet Mens
b163005b01 Lua hook on responding to POST in httpmode 2016-02-24 17:59:00 +01:00
Jan-Piet Mens
feef6635de RONLY (r:true) mode ripped out 2016-02-24 14:41:37 +01:00
Jan-Piet Mens
3791e49c05 LMDB is no longer optional 2016-02-22 13:09:57 +01:00
Jan-Piet Mens
07f3b612ae http mode 2016-02-19 16:31:32 +01:00
Jan-Piet Mens
090ae29c11 separate out payload handling function 2016-02-19 12:50:06 +01:00
Jan-Piet Mens
ec92bb1683 include version in startup message 2016-02-18 13:07:35 +01:00
Jan-Piet Mens
ed1060b5e2 set sensible mode on ot-recorder defaults 2016-02-09 11:26:34 +01:00
Jan-Piet Mens
ea0d1d4b68 introduce system-wide defaults file 2016-02-09 11:17:59 +01:00
Jan-Piet Mens
6d444cd68c tab 2016-01-27 12:13:03 +01:00
Jan-Piet Mens
5fab257804 init only if not DESTDIR 2016-01-27 12:11:20 +01:00
Jan-Piet Mens
50ca5f6970 init correct storage when DESTDIR is set 2016-01-27 11:53:10 +01:00
Jan-Piet Mens
7ff069ebee replace base64.[ch] by public domain code (#18) 2016-01-25 08:39:16 +01:00
Jan-Piet Mens
c08c18a036 NEW: experimental support for encrypted payloads 2016-01-22 22:42:30 +01:00
Jan-Piet Mens
b06199b542 API endpoint for /version 2016-01-12 08:46:24 +01:00
Jan-Piet Mens
4d31f0f212 add math 2016-01-05 10:18:19 +01:00
Jan-Piet Mens
6b9f2b0a2f make reverse geo API key runtime option
addresses #18
2016-01-05 09:59:49 +01:00
Jan-Piet Mens
a2a8010f30 Support for Greenwich batt,ext,status arrays in LAST 2015-11-10 09:23:06 +01:00
Jan-Piet Mens
aac6725653 create STORAGEDEFAULT/last
closes #67
2015-11-05 22:48:42 +01:00
Jan-Piet Mens
1704adade4 fix codesign condition 2015-10-28 00:35:14 +01:00
Jan-Piet Mens
96314016fd invoke codesign if exists (for my dev machine) 2015-10-26 21:05:19 +01:00