878 Commits

Author SHA1 Message Date
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)
0.7.1
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)
0.7.0
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)
0.6.9
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
Jan-Piet Mens
dd0d66ac48 homogenize location of default file
closes #144
2016-10-18 15:00:11 +02:00
Jan-Piet Mens
6b075085d0 undo 2016-10-16 17:32:43 +02:00
Jan-Piet Mens
92dfd2baf3 added comment regarding Jessie 2016-10-16 14:40:46 +02:00
Jan-Piet Mens
536d1bbdf7 add support fro $OTR_BROWSERAPIKEY from environment
closes #156
2016-10-11 19:48:34 +02:00
Jan-Piet Mens
a13b55c18a protect cf return value
addresses #150
2016-10-03 14:58:24 +02:00
Jan-Piet Mens
f6af33f6e2 add kill API to packages
closes #153
2016-09-24 14:44:06 +02:00
Jan-Piet Mens
fdc43ecfc3 2016-09-23 version 0.6.8
- UPD: name on live map can be overriden by 'name' in JSON payload
- NEW: decrypted payloads have "_decrypted":true added to .rec file (#151)
- NEW: new configuration variable OTR_BROWSERAPIKEY (#146)
- FIX: Maps browser API key file (apikey.js) is now served by the Recorder (#146)
- FIX: add CFLAGS for base64 to conver Arch (#128)
- FIX: if defaults file can't be read, log an error (#131)
- NEW: otr_publish() from Lua reuses Recorder's authenticated, TLS-enabled MQTT connection (#140)
- UPD: changed systemd unit file (#137)
- UPD: README restructured (#138)
- NEW: ocat -v and api/0/version now show git version/commit
- FIX: Debian package dependency on libsodium13
0.6.8
2016-09-23 12:22:06 +02:00
Jan-Piet Mens
354cced245 allow name in JSON to override userdev 2016-09-23 12:01:29 +02:00
Jan-Piet Mens
de3aac174e mention _decrypted 2016-09-22 14:49:07 +02:00
Jan-Piet Mens
d010f2a656 decrypted payloads have "_decrypted":true added to .rec file
closes #151
2016-09-22 14:45:43 +02:00
Jan-Piet Mens
6638a3b20b new configuration variable OTR_BROWSERAPIKEY
addresses #146
2016-09-12 19:15:36 +02:00
Jan-Piet Mens
bf39ceb392 Maps browser API key file (apikey.js) is now served by the Recorder
- new option in Recorder: --browser-apikey

	addresses #146
2016-09-12 10:11:21 +02: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
395b333e35 if defaults file can't be read, log an error
closes #131
2016-09-12 09:05:46 +02:00
JP Mens
11ffdc3cb7 Merge pull request #143 from Finkregh/patch-1
make defaults-file source'able
2016-09-11 18:47:50 +02:00
Oluf Lorenzen
f71c84c746 make defaults-file source'able
with the spaces in there 'source' wont work
2016-09-11 18:13:19 +02:00
Jan-Piet Mens
e7d08510ee add libsodium dep to Jessie install instructions
closes #142
2016-09-08 10:59:52 +02:00
Jan-Piet Mens
c805d9c306 add example for otr.publish() 2016-09-07 12:39:40 +02:00