Commit Graph

98 Commits

Author SHA1 Message Date
Jan-Piet Mens
b06199b542 API endpoint for /version 2016-01-12 08:46:24 +01:00
Jan-Piet Mens
f00302e84e locations API returns data in data (no longer in locations) 2016-01-11 16:11:05 +01:00
Jan-Piet Mens
865e986d3d update (C) date 2016-01-01 15:57:34 +01:00
Jan-Piet Mens
e7f368ef04 locations API now supports CSV
closes #72
2015-11-14 13:36:00 +01:00
Jan-Piet Mens
13c51f3d72 content charset 2015-10-25 08:33:59 +01:00
Jan-Piet Mens
2d49bddf9b support fields in /locations API 2015-10-23 16:48:48 +02:00
Jan-Piet Mens
90fdc8cf60 support /last with fields 2015-10-23 15:32:52 +02:00
Jan-Piet Mens
e43a767f45 Support without LMDB 2015-10-22 21:10:15 +02:00
Jan-Piet Mens
835e37cc97 default 40x40 PNG on 404 2015-10-21 15:55:50 +02:00
Jan-Piet Mens
08d7f055c0 API endpoint photo/ 2015-10-21 14:37:51 +02:00
Jan-Piet Mens
33967a6884 protect possible NULL label (for #50) 2015-10-11 13:24:23 +02:00
Jan-Piet Mens
815ea6908c add user/device to location JSON for multilister()
closes #49
2015-10-02 16:26:21 +02:00
Jan-Piet Mens
76d3fe4349 add server label for map (ot-recorder --label) 2015-10-01 12:06:00 +02:00
Jan-Piet Mens
86fefd9f4b s/HAVE_/WITH_/g 2015-09-28 19:04:37 +02:00
Jan-Piet Mens
c3141d24f9 XML output-support in storage
closes #24
2015-09-16 17:28:20 +02:00
Jan-Piet Mens
62f603f33f Lowercase user/device (reported by tiptronic) 2015-09-16 15:30:28 +02:00
Jan-Piet Mens
3ddfd88072 tapped memory leak 2015-09-16 10:57:25 +02:00
Jan-Piet Mens
a6c3db8cee rename 2015-09-16 08:47:15 +02:00
Jan-Piet Mens
582a8c71ac fix leak 2015-09-15 15:27:06 +02:00
Jan-Piet Mens
a5c2b11204 API feature: query geo cache for lat,lon 2015-09-15 14:24:50 +02:00
Jan-Piet Mens
c589c3e1a0 use field function to obtain user 2015-09-15 08:55:32 +02:00
Jan-Piet Mens
181a108bf2 kill has been surfaced into the API (disabled by compile flag by default)
closes #13
2015-09-15 08:35:58 +02:00
Jan-Piet Mens
1ae1acf72f do away with config.h (all in config.mk) 2015-09-11 11:07:01 +02:00
Jan-Piet Mens
85747a0722 silence debugging 2015-09-11 09:36:33 +02:00
Jan-Piet Mens
c84fb4c6a9 websockets gets JSON payloads only if authorized to see them
closes #15
2015-09-10 08:37:09 +02:00
Jan-Piet Mens
1d69c164d7 feature: REST API provides /api/0/monitor
closes #16
2015-09-09 21:21:38 +02:00
Jan-Piet Mens
cacfb3059e http: lowercase GET/POST and X-Limit values 2015-09-09 19:42:00 +02:00
Jan-Piet Mens
2b0cb67d25 fix inline int 2015-09-09 18:33:36 +02:00
Jan-Piet Mens
0e2527f43d feature: http: allow override user,device for last_users() via X-Limit- headers 2015-09-09 18:31:41 +02:00
Jan-Piet Mens
d712d90235 http: allow client to specify user,device,from,to as X-Limit-yyy 2015-09-09 17:59:48 +02:00
Jan-Piet Mens
b8031a9211 http: surface LAST to /last 2015-09-08 19:23:04 +02:00
Jan-Piet Mens
be1300c7c0 add addr to object sent to WS server 2015-09-08 13:44:01 +02:00
Jan-Piet Mens
1b3bacc2bd fix WS push (length), add WS publish of LAST on connect 2015-09-08 11:40:38 +02:00
Jan-Piet Mens
7bed8cf146 added logging function olog
closes #12
2015-09-04 08:06:53 +02:00
Jan-Piet Mens
1ebff4de33 http: clean up fields 2015-09-03 20:38:51 +02:00
Jan-Piet Mens
9d90e9ade1 http: status code for bad date/time range 2015-09-03 19:38:31 +02:00
Jan-Piet Mens
f5702a3796 test: block a user 2015-09-03 19:11:53 +02:00
Jan-Piet Mens
e33e29e466 NEW: full (*cough*) REST interface in recorder & Websocket support 2015-09-03 17:26:13 +02:00
Jan-Piet Mens
4ba21fcc33 Begin work on HTTP API 2015-09-03 15:34:10 +02:00
Jan-Piet Mens
17aada0b3e config.h: make JSON output indentable (or not) 2015-09-02 20:03:41 +02:00
Jan-Piet Mens
d253e4785d FIX: recorder, storage, and HTTP honour --norevgeo 2015-09-02 08:21:47 +02:00
Jan-Piet Mens
8431870ee8 add license 2015-09-01 17:19:52 +02:00
Jan-Piet Mens
b551048489 quiet CC 2015-09-01 15:11:49 +02:00
Jan-Piet Mens
550fd4fc59 init storage with TZ 2015-09-01 14:02:32 +02:00
Jan-Piet Mens
8d096ddc4f storage: support requesting individual fields only.
closes #8
2015-08-29 22:20:49 +02:00
Jan-Piet Mens
3f1be9087d fix dependency & error on lister 2015-08-29 21:35:05 +02:00
Jan-Piet Mens
9f04507f3f Complete refactoring of location objectization (! ;-) 2015-08-29 18:49:54 +02:00
Jan-Piet Mens
1796408ac1 split out HTTP functions 2015-08-29 15:03:56 +02:00