Commit Graph

97 Commits

Author SHA1 Message Date
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
2c586b5a5b Feature: ocat/ot-recorder: configurable geohash precision per invocation (--precision)
closes #14
2015-09-07 17:40:50 +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
d9985c3d01 FIX: ocat: CSV output now correctly handles non-existent fields in output (e.g. pressure) 2015-09-02 11:45:29 +02:00
Jan-Piet Mens
b9a0ca7167 ocat: new --norevgeo (-G) flag to indicate missing functionality 2015-09-02 08:22:40 +02:00
Jan-Piet Mens
d494540161 FIX ocat usage 2015-09-01 22:13:44 +02:00
Jan-Piet Mens
f69bb4b1a9 ocat: squeeze blanks on LINESTRING 2015-09-01 21:56:03 +02:00
Jan-Piet Mens
8f0c4c6997 ocat/storage: --format linestring creates GeoJSON LineString (track) 2015-09-01 21:45:57 +02:00
Jan-Piet Mens
bcb052bde3 FEATURE: ocat --format payload (like RAW, but different) 2015-09-01 21:03:50 +02:00
Jan-Piet Mens
166ff17085 ocat/recorder: add used environment variables to usage() 2015-09-01 18:21:07 +02:00
Jan-Piet Mens
8431870ee8 add license 2015-09-01 17:19:52 +02:00
Jan-Piet Mens
f2a2f9cb4c s/puts/printf/ 2015-09-01 13:59:11 +02:00
Jan-Piet Mens
7420dcd0ec Rip out Redis & replace with LMDB. 2015-09-01 13:31:49 +02:00
Jan-Piet Mens
78d2ebc1bb ocat: clean up --last 2015-08-29 22:52:08 +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
7145d5c11d ocat/storage: FEATURE: produce GPX output
closes #9
2015-08-29 21:11:03 +02:00
Jan-Piet Mens
54610a9332 storage: reverse (--limit) now wraps backward accross montly boundaries 2015-08-29 20:50:13 +02:00
Jan-Piet Mens
9f04507f3f Complete refactoring of location objectization (! ;-) 2015-08-29 18:49:54 +02:00
Jan-Piet Mens
fbc3985f6a remove spurious printf 2015-08-29 16:49:11 +02:00
Jan-Piet Mens
e689d2c1e2 ocat: NEW feature: print last N (--limit) 2015-08-29 16:34:20 +02:00
Jan-Piet Mens
d56c5076a9 ocat: dist and trip are also "integer" 2015-08-26 22:31:18 +02:00
Jan-Piet Mens
2cdcd84d1a ocat: allow --fields ALL and cleanup code 2015-08-26 21:07:20 +02:00
Jan-Piet Mens
fa6b8fdb0b ocat: REMOVE tabular format. (awk will do it) 2015-08-26 19:43:23 +02:00
Jan-Piet Mens
567bb68a29 ocat: splitter: properly this time 2015-08-26 19:38:20 +02:00
Jan-Piet Mens
3f194a35ef ocat: support for printing specific fields in CSV output
closes #7
2015-08-26 19:27:06 +02:00
Jan-Piet Mens
da70fe8418 fix -S (again) 2015-08-25 22:11:12 +02:00
Jan-Piet Mens
1ef627fbf6 ocat: add missing S short option 2015-08-25 21:10:10 +02:00
Jan-Piet Mens
058c8983f5 ocat: [NEW] $OCAT_STORAGEDIR or --storage (defaults to ./store) 2015-08-25 20:22:50 +02:00
Jan-Piet Mens
b2f84eb55c Feature: ocat userlist (incomplete!) 2015-08-25 18:01:50 +02:00
Jan-Piet Mens
c8983d8456 fix: enable specified files to be read 2015-08-24 20:16:13 +02:00
Jan-Piet Mens
2cf4850ecf killdata now returns JSON object with error-reasons 2015-08-23 15:43:18 +02:00
Jan-Piet Mens
c02a80f276 fix --list to enumerate ALL files, not just those for since -6H 2015-08-23 15:10:37 +02:00
Jan-Piet Mens
f1b70e59bf Implement kill_datastore to remove device files. 2015-08-23 15:04:54 +02:00
Jan-Piet Mens
94517cdff1 Fix usage 2015-08-23 14:35:14 +02:00
Jan-Piet Mens
1b66f0d8a9 Support $OCAT_USERNAME $OCAT_DEVICE 2015-08-23 14:31:55 +02:00
Jan-Piet Mens
c7a82653c5 Support OCAT_FORMAT environment variable to define preferred output style 2015-08-23 14:28:29 +02:00
Jan-Piet Mens
fc2c618ea4 --list now honours --format 2015-08-23 11:19:25 +02:00
Jan-Piet Mens
91f0a91fc5 add -f raw mode 2015-08-23 10:59:17 +02:00
Jan-Piet Mens
1179122741 changed help for -f tabular; csv has header 2015-08-22 23:06:52 +02:00
Jan-Piet Mens
5e7ca6d743 quiet debug output 2015-08-22 17:34:51 +02:00
Jan-Piet Mens
1e7175cd7b addd tabular format 2015-08-22 17:32:28 +02:00
Jan-Piet Mens
c766fbc6a7 Add support for CSV in ocat and GeoJSON in backend 2015-08-22 16:42:35 +02:00
Jan-Piet Mens
6d53ef6fae Support output of location between s_lo and s_hi; add isodt 2015-08-22 10:01:50 +02:00
Jan-Piet Mens
8175ce9e38 on the way to better times (time_t) 2015-08-21 21:11:42 +02:00
Jan-Piet Mens
b73f1c4db9 usage if !username or !device 2015-08-20 21:33:16 +02:00
Jan-Piet Mens
156ef81e88 Exit after --list 2015-08-20 20:36:07 +02:00
Jan-Piet Mens
012c9e49f4 1st pass at ocat; unfinished by far! 2015-08-20 19:16:26 +02:00