Commit Graph

896 Commits

Author SHA1 Message Date
Olaf Schott
da14ea53da
update storage.c to include xmlns on gpx export
at least one tool (RouteConverter) will not accept .gpx files w/o proper namespace information - added xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://www.topografix.com/GPX/1/1'
2017-10-31 14:17:01 +01:00
Jan-Piet Mens
d4b450949f add sleep to systemd service to allow Mosquitto to start
closes #185
2017-10-17 20:50:16 +02:00
Jan-Piet Mens
e1f7a1367d consistently use json_delete 2017-08-16 13:49:51 +02:00
JP Mens
3aa37e828a Merge pull request #207 from rjp/update-leaflet-cdn-url
Update `leaflet.js` CDN URL
2017-08-16 13:44:21 +02:00
rjp
c4558bbd04 Update leaflet.js CDN URL
Ref: owntracks/recorder#206

The URL for `leaflet.js` 1.0.2 is being served as `text/plain`
and also with `nosniff` - this upsets Firefox 54 and consequently
no map is displayed.  Updating the URL to point to the new
1.2.0 version (served as `application/javascript`!) fixes the map.
2017-08-16 11:24:04 +01:00
Jan-Piet Mens
b8bfa75748 NEW: Add support for OwnTracks Pico by pretending ../pico is a base topic
addresses #205
2017-07-19 22:29:43 +02:00
Jan-Piet Mens
5d432c69a1 rollback: cards are now once again stored at user/device/user-device.json 2017-07-18 12:08:07 +02:00
Jan-Piet Mens
06e2eac43b debian note 2017-06-21 09:37:08 +02:00
Jan-Piet Mens
3123c66758 add stretch/mosquitto note 2017-06-21 09:34:04 +02:00
Jan-Piet Mens
42d72e3b29 add Stretch
addresses #201
2017-06-21 09:32:56 +02:00
Jan-Piet Mens
8aa745efc3 fpm build 9.0 2017-06-20 19:33:36 +02:00
Jan-Piet Mens
9fcc8e0430 skip pingping on landing page
addresses #195
2017-06-20 12:28:53 +02:00
Jan-Piet Mens
aa259f8737 2017-05-19 version 0.7.2
- FIX: ping/ping monitoring user/device no longer shows up on map nor in table (#195)
- FIX: OTR_CAFILE, KEYFILE, CERTFILE are now also read from config file (#198)
- NEW: support Traccar (osmand) GET requests
2017-06-19 13:10:54 +02:00
Jan-Piet Mens
87a5839805 ping/ping monitoring user/device no longer shows up on map nor in table
closes #195
2017-06-19 13:07:47 +02:00
Jan-Piet Mens
390f761c5e OTR_CAFILE, KEYFILE, CERTFILE are now also read from config file
closes #198
2017-06-09 19:46:34 +02:00
Jan-Piet Mens
0c0e3b4f7e field_n doesn't support NAN on gcc 2017-05-31 20:27:19 +02:00
Jan-Piet Mens
20f6954eac support traccar (osmand) GET requests 2017-05-31 20:07:27 +02:00
Jan-Piet Mens
58d54eec6e move "number" to utils 2017-05-31 18:19:09 +02:00
Jan-Piet Mens
c14e9636b1 2017-05-17 version 0.7.1
- FIX: systemd launch and default topics in default files (#185)
- NEW: name of Lua revgeo function can be set in JSON payload
- NEW: support TLS PSK (#74)
- NEW: support for a Lua function to perform reverse Geo (#149)
- FIX: support for FREEBSD in Makefile/config.mk.in (#163)
- NEW: support for global store of geo fences (#178)
- NEW: support for CA_PATH and TLS client certificates
- FIX: setting http_port = 0 took CPU to unheard heights (#176)
- NEW: Add support for OSM using Leaflet, by Sven Klomp (#173)
- NEW: support for waypoints / geo-fences (WARNING: you must --initialize)
- FIX: built-in Web server serves apikey.js with application/javascript mime type (#168)
- FIX: Usage now shows missing OTR_BROWSERAPIKEY (#167)
2017-05-17 15:03:28 +02:00
Jan-Piet Mens
7234afda5d fix systemd launch; add topics to defaults
closes #185
2017-05-17 15:02:41 +02:00
Jan-Piet Mens
6a6e57a24a reverse freebsd 2017-05-17 14:33:48 +02:00
Jan-Piet Mens
abf17c5623 default to freebsd no 2017-05-17 13:22:02 +02:00
Jan-Piet Mens
1ef3fd5d5c 2017-05-17 version 0.7.0
- NEW: name of Lua revgeo function can be set in JSON payload
- NEW: support TLS PSK (#74)
- NEW: support for a Lua function to perform reverse Geo (#149)
- FIX: support for FREEBSD in Makefile/config.mk.in (#163)
- NEW: support for global store of geo fences (#178)
- NEW: support for CA_PATH and TLS client certificates
- FIX: setting http_port = 0 took CPU to unheard heights (#176)
- NEW: Add support for OSM using Leaflet, by Sven Klomp (#173)
- NEW: support for waypoints / geo-fences (WARNING: you must --initialize)
- FIX: built-in Web server serves apikey.js with application/javascript mime type (#168)
- FIX: Usage now shows missing OTR_BROWSERAPIKEY (#167)
2017-05-17 13:13:42 +02:00
Jan-Piet Mens
a00e64fb18 configurable Lua revgeo name 2017-05-17 13:00:12 +02:00
Jan-Piet Mens
a5061d7ae8 if Lua 2017-05-17 11:19:48 +02:00
Jan-Piet Mens
be9e05ed24 add support for TLS-PSK
closes #74
2017-05-17 11:15:19 +02:00
Jan-Piet Mens
86589f5e25 support for reverse-geo lookups from Lua
closes #149
2017-05-17 10:40:16 +02:00
Jan-Piet Mens
0565f1d0f3 update desc on changed .otrw files
closes #171
2017-05-17 09:31:33 +02:00
Jan-Piet Mens
80e4628d53 add FREEBSD switch
closes #163
2017-05-17 09:21:14 +02:00
Jan-Piet Mens
cbeea108ab support global geofence store
closes #178
2017-05-17 09:03:13 +02:00
Jan-Piet Mens
5a5e4f0708 support for CA_PATH and TLS client certificates
closes #184
	closes #159
2017-03-13 17:33:20 +01:00
Jan-Piet Mens
f9bc9979d9 fix 100% CPU usage when http_port == 0
closes #176
2016-12-22 12:05:50 +01:00
Jan-Piet Mens
c1a1701c8d Add support for OSM using Leaflet 2016-12-20 21:28:29 +01:00
Sven Klomp
d2ee1105fb Remove development code and fix typo 2016-12-20 21:14:47 +01:00
Sven Klomp
ffc34b62e7 Load Leaflet CSS only if needed 2016-12-19 21:34:23 +01:00
Sven Klomp
54287f04b3 Remove development code 2016-12-19 21:15:52 +01:00
Sven Klomp
61ad5ee86e Add support for OSM using Leaflet 2016-12-18 21:23:13 +01:00
Jan-Piet Mens
73b19bc524 add dist to geofence report
closes #172
2016-12-10 17:50:55 +01:00
Jan-Piet Mens
f43de2032c spurious comment 2016-12-08 20:02:48 +01:00
Jan-Piet Mens
408c7cb6df spurious comment 2016-12-08 20:02:18 +01:00
Jan-Piet Mens
8e6ecb3f41 elaborate 2016-12-08 18:37:44 +01:00
Jan-Piet Mens
e1cd5c39e7 geofences now use correct topic and enhanced payload as per Booklet for transition events 2016-12-08 18:07:15 +01: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
JP Mens
5e6a0c3335 Merge pull request #169 from hoalex/patch-1
Fix for wrong default ports in nginx configuration
2016-12-02 10:18:00 +01:00
Jan-Piet Mens
001c95395f Serve apikey.js with mime type application/javascript
closes #168
2016-12-02 10:16:18 +01:00
hoalex
e02d753ef4 Fix for wrong default ports in nginx configuration
Recorders built-in HTTP server listens on port 8083 per default. The nginx configuration, however, contained two location blocks that proxied to port 8085 instead, which prevented the website to render correctly.
2016-12-02 10:10:44 +01:00
Jan-Piet Mens
9cfe39959b Usage now mentions OTR_BROWSERAPIKEY
closes #167
2016-11-25 21:03:37 +01:00
Jan-Piet Mens
e48b7022dc 2016-11-25 version 0.6.9
- UPD: REC files now use tst from JSON payload as timestamp (#133)
- FIX: default file is /etc/default/ot-recorder
- FIX: add support for $OTR_BROWSERAPIKEY from environment (#156)
- UPD: packages now have API kill in them (#153)
2016-11-25 18:44:56 +01:00
Jan-Piet Mens
bfdae39eaa REC files now use tst from JSON payload as timestamp
note that messages which do not contain a tst (e.g CARD) will be stored with now (time(0))
  the tst in the location message payload is also used for the REC filename

	closes #133
2016-10-30 19:48:31 +01:00
Jan-Piet Mens
fb9fef50c8 a bit of auth 2016-10-30 19:31:49 +01:00