Commit Graph

754 Commits

Author SHA1 Message Date
Jan-Piet Mens
5973275ee4 add content-type to view's page 2016-03-04 11:34:45 +01:00
Jan-Piet Mens
f88e1a1898 2016-03-04 version 0.6.0 a.k.a. ISS Edition
- UPD: view can specify hours instead of from/to (#99)
- UPD: recorder and config option HTTPLOGDIR for access.log
2016-03-04 10:39:43 +01:00
Jan-Piet Mens
9fbbc3f6fb view can specify hours instead of from/to
closes #99
2016-03-04 10:38:11 +01:00
Jan-Piet Mens
17ddfa07ae add http-logdir option
closes #98
2016-03-03 19:05:44 +01:00
Jan-Piet Mens
aa4e9859ec tips 2016-03-03 18:44:01 +01:00
Jan-Piet Mens
c5ddd7db85 2016-03-03 version 0.5.9
- UPD: messages received over http have _http:true added to JSON
- UPD: http publishes are displayed with grey user in Table
2016-03-03 10:35:32 +01:00
Jan-Piet Mens
9ca53b264f http publishes are marked with _http:true in JSON 2016-03-02 19:49:00 +01:00
Jan-Piet Mens
be3af09040 fix typos 2016-03-02 16:39:44 +01:00
Jan-Piet Mens
8acb5bf3a8 2016-03-02 version 0.5.8
- FIX: topic missing in last/
2016-03-02 15:00:37 +01:00
Jan-Piet Mens
ab57668ce0 topic missing in last/ 2016-03-02 15:00:27 +01:00
Jan-Piet Mens
1c62aae819 2016-03-02 version 0.5.7
- FIX: linestring map shows position only; no longer broken date (#97)
- FIX: Greenwich alarms were stored in last/ as ../alarm
- UPD: attempt CARD retrieval first from user/device/u-d.json (#94)
- UPD: option --skipdemo renamed to --noskipdemo
2016-03-02 14:44:03 +01:00
Jan-Piet Mens
08aff2a930 change popup on linestring geojson
closes #97
2016-03-02 11:07:04 +01:00
Jan-Piet Mens
f9aa7037a9 truncate reltopic correctly 2016-03-02 10:48:08 +01:00
Jan-Piet Mens
5deee82f9e alarm publishes no longer with full topic in last/ 2016-03-02 10:25:03 +01:00
Jan-Piet Mens
65dd1d3539 obtain missing ghash reverses 2016-03-02 10:23:53 +01:00
Jan-Piet Mens
e25033abea stab for CARD in user-dev/u-d.json before user/u.json
closes #94
2016-03-01 22:02:33 +01:00
Jan-Piet Mens
5b7d32cc72 rename option --skipdemo renamed to --noskipdemo 2016-03-01 17:27:53 +01:00
Jan-Piet Mens
c274c14de5 2016-03-01 version 0.5.6
- FIX: gwstorage lowercase username & device (#96)
2016-03-01 17:19:59 +01:00
Jan-Piet Mens
bc3c9db7c2 temporizing 2016-03-01 16:41:52 +01:00
Jan-Piet Mens
c1a3f7f195 ctrl.track starts a month ago
closes #93
2016-03-01 16:19:03 +01:00
Jan-Piet Mens
d4490d0b2d lowercase 2016-03-01 15:53:42 +01:00
Jan-Piet Mens
5a65e25447 username/device lowercased
closes #96
2016-03-01 15:51:20 +01:00
Jan-Piet Mens
c0723d344f unused 'track' 2016-03-01 10:13:51 +01:00
Jan-Piet Mens
7cc56f64ea 2016-03-01 version 0.5.5
- FIX: MQTT topics on command line override those in config file
- NEW: API supports track for CTRL
2016-03-01 10:09:36 +01:00
Jan-Piet Mens
4494868419 track for CTRL 2016-03-01 10:08:53 +01:00
Jan-Piet Mens
bdc0da02dc topics on command line override those in config file
closes #92
2016-03-01 09:54:12 +01:00
Jan-Piet Mens
d0e4759638 remove spurious printf 2016-03-01 08:50:43 +01:00
Jan-Piet Mens
5b533a00ad gw is now on on builds 2016-02-29 15:28:19 +01:00
Jan-Piet Mens
85c14a44c3 nginx remote_user example 2016-02-26 12:38:41 +01:00
Jan-Piet Mens
39fc89da37 s/cp/install/ for systemd service b/c of permission bits 2016-02-26 12:11:51 +01:00
Jan-Piet Mens
97b72450e4 2016-02-26 version 0.5.4
- UPD: MQTT can be disabled even if compiled-in
- UPD: ship README and service file in /usr/share/doc/ot-recorder/
- UPD: ocat -v displays path to config file
- FIX: ocat should process only part of config file
2016-02-26 11:50:39 +01:00
Jan-Piet Mens
e8b4e97ea0 Optionally disable MQTT
closes #90
2016-02-26 11:38:56 +01:00
Jan-Piet Mens
59a891ac17 describe systemd service file 2016-02-26 11:06:15 +01:00
Jan-Piet Mens
6e27bab998 ship README and service file in /usr/share/doc/ 2016-02-26 10:33:55 +01:00
Jan-Piet Mens
87555e4726 ocat displays path to config file 2016-02-26 08:28:11 +01:00
Jan-Piet Mens
81e83e2c20 config file supports CAFILE
closes #87
2016-02-26 07:38:46 +01:00
Jan-Piet Mens
49d346fd80 ownership of ot-recorder config files
closes #89
2016-02-25 19:09:23 +01:00
Jan-Piet Mens
cf4da36fae install config file 0640 2016-02-25 19:05:40 +01:00
Jan-Piet Mens
c4daf5c523 clientID configurable from config file 2016-02-25 18:59:48 +01:00
Jan-Piet Mens
21bed4b184 2016-02-25 version 0.5.3
- FIX: mqtt user/pass from config file
- UPD: defaults file now contains most config settings
- UPD: ocat -v explicitly shows yes/no for MQTT/HTTP
- NEW: hooks in httpmode
- REM: r-only mode removed
- FIX: squashed a number of memory leaks
- NEW: encryption in responses of httpmode
- UPD: API supports GPX output
- NEW: friends (locations, cards) in http mode
- UPD: LMDB is no longer optional during build
- UPD: remove Hosted mode (#86)
- NEW: HTTP mode
- UPD: remove support for /msg
- UPD: startup log message includes version

2016-02-18 version 0.5.1
- FIX: RHEL postinstall shoud run on update as well

2016-02-17 version 0.5.0
- FIX: License: GPL2 (#18)
- NEW: view contains CARD's avatar if available, as does last/
- FIX: map heights _ought_ to now be ok, also on mobile devices
- NEW: small utility for creating view auth
- NEW: support for VIEWs with optional digest authentication
- NEW: gravatar2card.sh and github2card.py in contrib/faces
- FIX: use of limit in locations api

2016-02-09 version 0.4.9
- NEW: introduce /etc/default/ot-recorder
- UPD: GPX output now contains elevation and UTC time
- UPD: default --label on live map changed from "Recorder" to "OwnTracks"
- NEW: optional rename of topics in map popups (#79)
- FIX: mongoose correctly identifies changed files (304 vs 200 and Etag)
- NEW: points on GeoJSON map are now clickable for infowindow (#78)
- NEW: GeoJSON points now have tst in properties (#78)
- FIX: map with extra info in popup box (#77)
- NEW: packaging for Centos7
- NEW: ot-recorder --debug
- FIX: ocat version shows libmosquitto and sodium versions

2016-01-27 version 0.4.8
- FIX: finish Debian8 packaging
- FIX: add missing entry to reason table which could cause SIGSEGV
- FIX: add public domain base64.[ch] (#18)
- NEW: experimental support for payload decryption with per/user secret keys
- FIX: ignore SIGPIPE
- NEW: API endpoint /version returns Recorder version

2016-01-11 version 0.4.7
- NEW: Beacon messages are now handed to the Websocket server
- UPD: locations API returns data in `data` (no longer in `locations`)
- NEW: google reverse-geo API key is now a run-time option in recorder (#18)
- FIX: table view shows last voltage for Greenwich devices in battery column (#73)
- FIX: normalize acc to double for older device versions
- NEW: API locations/ now has support for CSV (#72)

2015-11-13 version 0.4.6
- NEW: support batt,ext,status in LAST API for Greenwich device firmware
- FIX: reverse geo lookup limited to 2000ms
- FIX: make install now creates STORAGEDEFAULT/last (#67)
- FIX: documentation update to include instructions for building on Ubuntu 14.04

2015-11-04 version 0.4.5
- NEW: LAST and LOCATIONS return additional human-formatted ISO timestamp for display, disptst
- FIX: otrc dump now contains correct configuration settings which can be restored to phone
- FIX: waypoints/config filename extention fixed (otrw/otrc)
- NEW: extra.json (in last/username/device/) is merged in and returned in API (#60)
- FIX: http server sets utf-8 on JSON responses (API)
- NEW: recorder's --norec disables writing REC files
- FIX: removed Mosquitto loop timeout; great improvement in HTTP performance
- NEW: API supports /last ?fields=a,b,c

2015-10-23 version 0.4.4
- FIX: now actually builds without LMDB (not recommended!)
- NEW: Add a battery level column to the Table. (#56)
- FIX: waypoints and config dumps are prettyfied
- FIX: XML output prints empty tags when fields are requested
- NEW: API photo/ endpoint (returns default png on user 404)
- NEW: configuration dump (cmd dump) is stored in store/config/$user-$device.otrc
- NEW: waypoints dump (Publish Waypoints from device) written to store/waypoints/$user/$device/user-device.otrw

2015-10-19 version 0.4.3
- NEW: recorder exits if Lua script cannot be loaded (#54)
- FIX: add fail-safe to CSV parser (#53)
- FIX: GeoJSON LineString tracks are now sorted by tst and not by received date
- FIX: recorder's default label correctly set if not compiling with WITH_LUA (#50)
- FIX: Re-zoom map on autozoom enable (#51)
- NEW: favicon/logo, thanks to @ckrey (#50)
- NEW: contrib/faces/image2card.sh to publish a Recorder-compatible JSON CARD from photo
- NEW: multilister adds username/device to JSON location data (#49)

2015-10-02 version 0.4.2
- FIX: ocat --format csv outputs addr and locality as quoted strings
- NEW: live map has a label (set with ot-recorder --label) to indentify instance; connection status is border
- NEW: live map has toggle button to auto-fit (zoom)
- NEW: live map fits to show all devices (#46, #47) with &fit=1 (#48)
- NEW: recorder --initialize non-destructively creates databases (#45)
- INT: added multilister (not yet surfaced to API) (#36)
- FIX: index.html uses UTC to go back in time (reported by Ben)
- NEW: recorder can use Lua otr_putrec() to prohibit REC file writing (#27)
- FIX: storage removes waypoints on kill (#34)
- FIX: storage removes photo on kill (#30)
- FIX: exit if HTTP port cannot be opened
- FIX: lowercase T in date formats allowed (#44)
- FIX: websockets switch to WSS when content served over HTTPS (#43)
- FIX: live map now shows user/device (#42)

2015-09-26 version 0.4.1
- FIX: recorder correctly handles topics with leading slash
- NEW: Lua functions (putdb, getdb) have access to a `luadb'-named LMDB database
- NEW: Lua hooklets
- UPD: reverse geo JSON data in lmdb now contains locality (unless null)
- UPD: ocat --load can delete individual keys from lmdb
- NEW: recorder uses topic2tid named database for on-the-fly TID replacements in JSON payloads

2015-09-21 version 0.4.0
- NEW: ot-recorder stores received (shared) waypoints in waypoints/
- NEW: ot-recorder --quiet to disable info on stdout
- FIX: full rewrite of on_message(); needs testing!
- FIX: recorder logs MQTT connection request
- FIX: Lua's otr_exit is now invoked on exit
- FIX: SIGINT and SIGTERM gracefully stop the recorder
- NEW: Lua hook support
- FIX: kill now removes card and its containing directory if available

2015-09-15 version 0.3.0
- FIX: ocat lowercases device/username (reported by tiptronic)
- NEW: XML support in storage and ocat --format xml
- FIX: display (lat,lon) in table if no address available
- FIX: nasty memory leak in locations from storage
- FIX: LAST now carries isotst
- FIX: ocat --last now supports CSV output (with fields)
- NEW: demo data in etc/ with description
- NEW: index.html has links to -12h, -7d, and -30d for convenience
- NEW: add API q= to query geo cache for particular lat,lon
- FIX: close two memory leaks
- NEW: add systemd unit file

2015-09-15 version 0.2.9
- FIX: added API description and diagram to documentation
- NEW: kill has been surfaced into the API (disabled by compile flag by default)
- FIX: kill now also deletes LAST file and its parent directories if empty
- NEW: ocat --load-ghash can load revgeo db
- NEW: ocat --dump-ghash dumps content of revgeo db
- FIX: main index now shows users/devices already in storage

2015-09-14 version 0.2.8
- FIX: undo ocat -v change

2015-09-14 version 0.2.7

- FIX: ocat -v correctly displays configured JSON_INDENT
- FIX: spec file now builds packages on OBS

2015-09-14 version 0.2.6

- FIX: source of doc root renamed to docroot

2015-09-14 version 0.2.5

- FIX: renamed wdocs to htdocs
- FIX: updated spec file and renamed defaults
- FIX: log with which clientID user is connecting to Hosted
	to aid in trouble-shooting

2015-09-13 version 0.2.4

- FIX: incorrect install of wdocs/ (thanks to @rk295)
- FIX: use correct hostname for --hosted mode
- FIX: live map had ugly HTML on hover-over point

2015-09-11 version 0.2.3

- NEW: --hosted mode for recorder

2015-09-11 version 0.2.2

- first public release
2016-02-25 18:38:45 +01:00
Jan-Piet Mens
a73bc22ade fix user/pass from config file 2016-02-25 18:38:03 +01:00
Jan-Piet Mens
8a2fe34826 libconfig again 2016-02-25 18:21:48 +01:00
Jan-Piet Mens
19bd0db38f 2016-02-25 version 0.5.2
- UPD: defaults file now contains most config settings
- UPD: ocat -v explicitly shows yes/no for MQTT/HTTP
- NEW: hooks in httpmode
- REM: r-only mode removed
- FIX: squashed a number of memory leaks
- NEW: encryption in responses of httpmode
- UPD: API supports GPX output
- NEW: friends (locations, cards) in http mode
- UPD: LMDB is no longer optional during build
- UPD: remove Hosted mode (#86)
- NEW: HTTP mode
- UPD: remove support for /msg
- UPD: startup log message includes version
2016-02-25 18:17:40 +01:00
Jan-Piet Mens
b58814530c libconfig quirks 2016-02-25 17:56:05 +01:00
Jan-Piet Mens
25ff5ceca3 Support most config options in defaults file 2016-02-25 17:29:39 +01:00
Jan-Piet Mens
a4ab3599d2 ocat -v explicitly shows yes/no for MQTT/HTTP 2016-02-25 11:28:55 +01:00
Jan-Piet Mens
bc06f6917b clarification 2016-02-24 20:07:39 +01:00
Jan-Piet Mens
79489d2159 changed diag 2016-02-24 19:54:54 +01:00
Jan-Piet Mens
422ce3e937 fix diag 2016-02-24 19:06:03 +01:00
Jan-Piet Mens
a50ba6b63f add http to diag 2016-02-24 19:04:41 +01:00