Commit Graph

206 Commits

Author SHA1 Message Date
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
11d51adfa4 recorder: ignore retained completely unless !ignore set 2015-08-26 18:22:30 +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
0fe9d362f4 Recorder: $OTR_STORAGEDIR (default ./store) 2015-08-25 20:22:18 +02:00
Jan-Piet Mens
c91791683e missing arg 2015-08-25 19:09:14 +02:00
Jan-Piet Mens
69b08fe3e3 Add noclobber to json_copy 2015-08-25 18:53:37 +02:00
Jan-Piet Mens
40f33762f2 Do not store ghash in ghash file! 2015-08-25 18:51:41 +02:00
Jan-Piet Mens
ab96d3b7e4 If userlist has no user details don't return in last 2015-08-25 18:43:22 +02:00
Jan-Piet Mens
dc7d903de2 Recorder: [FIX] wrong JSON element name being stored 2015-08-25 18:42:47 +02:00
Jan-Piet Mens
1c1086d84e Don't clobber existing object keys 2015-08-25 18:42:21 +02:00
Jan-Piet Mens
b2f84eb55c Feature: ocat userlist (incomplete!) 2015-08-25 18:01:50 +02:00
Jan-Piet Mens
8e38c64fbf New utility functions 2015-08-25 18:00:31 +02:00
Jan-Piet Mens
581352b91d Recorder: add ghash to LAST (and topic for debugging) 2015-08-25 17:57:04 +02:00
Jan-Piet Mens
d4df7fd73d RECORDER: [NEW]: keep track of original username/device name in LAST 2015-08-25 16:44:14 +02:00
Jan-Piet Mens
86be5a8b2d FIX: if payload of ../info is a CARD do not store it in .rec 2015-08-24 21:41:53 +02:00
Jan-Piet Mens
e0ceb710e3 decouple safewrite on last from being able to write .rec 2015-08-24 21:30:05 +02:00
Jan-Piet Mens
ee14311e9f ocat API 2015-08-24 20:16: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
af54bd5d3e read LINESIZE because info messages can be very long (card)
check for JSON objects
2015-08-24 20:15:23 +02:00
Jan-Piet Mens
8b88b5a81e times are UTC 2015-08-24 20:01:58 +02:00
Jan-Piet Mens
af5f429afe design decisions 2015-08-24 19:56:31 +02:00
Jan-Piet Mens
c8e1898ea0 If available, add iOS "p"ressure to data returned 2015-08-23 15:45:08 +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
d78d06d68e rm card in TODO 2015-08-23 15:05:33 +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
d1621e07c2 clean up geoJSON emitter 2015-08-22 18:04:43 +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
3a19a51f2e add received/tst isostamps to locations 2015-08-22 15:53:19 +02:00
Jan-Piet Mens
0ae3df8466 split out isotime 2015-08-22 15:53:11 +02:00
Jan-Piet Mens
27336e9b0d split out utilities 2015-08-22 15:52:39 +02:00
Jan-Piet Mens
d5f72abe52 skip retained cards unless told to keep them 2015-08-22 14:54:14 +02:00
Jan-Piet Mens
41d3534866 proper extern errno 2015-08-22 14:03:49 +02:00
Jan-Piet Mens
52217a74fb defines for strptime on Linux 2015-08-22 14:01:34 +02:00
Jan-Piet Mens
50c01bff0e protect 2015-08-22 13:59:55 +02:00
Jan-Piet Mens
233805ac2e protect hiredis include 2015-08-22 13:58:36 +02:00
Jan-Piet Mens
d6c1da685d typo 2015-08-22 13:57:21 +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
786a8c1788 comments 2015-08-22 09:46:31 +02:00