Commit Graph
56 Commits
Author SHA1 Message Date
Jan-Piet Mens dc20cf3a7e add topic to JSON directed at Websocket clients 2015-09-08 16:03:19 +02:00
Jan-Piet Mens bf73cfa89f send proper content to WS 2015-09-08 13:00:41 +02:00
Jan-Piet Mens 470de65821 send to WS for locations only 2015-09-08 12:57:09 +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 1788cb58d7 support named databases 2015-09-07 14:08:09 +02:00
Jan-Piet Mens 7bed8cf146 added logging function olog
closes #12
2015-09-04 08:06:53 +02:00
Jan-Piet Mens 719d82ee44 FIX: recorder: remove global mgserver & rename udata element 2015-09-03 19:11:20 +02:00
Jan-Piet Mens 4ba21fcc33 Begin work on HTTP API 2015-09-03 15:34:10 +02:00
Jan-Piet Mens d253e4785d FIX: recorder, storage, and HTTP honour --norevgeo 2015-09-02 08:21:47 +02:00
Jan-Piet Mens cfa111e9c4 FIX recorder: do not check doc-root existence if http_port == 0 2015-09-02 07:46:59 +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 e09b93d95d consolidate includes/code 2015-09-01 17:15:00 +02:00
Jan-Piet Mens 43597997d1 gcache-dump: a utility to list database content 2015-09-01 14:29:11 +02:00
Jan-Piet Mens 24efe86b1a check doc-root is directory 2015-09-01 14:08:28 +02:00
Jan-Piet Mens 1b0448d863 remove debug 2015-09-01 13:59:26 +02:00
Jan-Piet Mens 7420dcd0ec Rip out Redis & replace with LMDB. 2015-09-01 13:31:49 +02:00
Jan-Piet Mens 2765063b7f recorder: FEATURE: implement syslog with configurable --logfacility
closes #10
2015-08-29 18:04:35 +02:00
Jan-Piet Mens ef8281b3a2 recorder: support HTTP host:port for binding to specific interface 2015-08-29 15:12:32 +02:00
Jan-Piet Mens 220ebb4f67 Make HTTP optional even if compiled in. 2015-08-29 15:07:13 +02:00
Jan-Piet Mens edb0bfe2a3 spit out HTTP routines 2015-08-29 15:04:22 +02:00
Jan-Piet Mens da7ce120b4 feature: HTTP in recorder! 2015-08-27 23:42:18 +02:00
Jan-Piet Mens d0e60fbaa7 recorder: add support for long options 2015-08-26 21:32:12 +02:00
Jan-Piet Mens 11d51adfa4 recorder: ignore retained completely unless !ignore set 2015-08-26 18:22:30 +02:00
Jan-Piet Mens 0fe9d362f4 Recorder: $OTR_STORAGEDIR (default ./store) 2015-08-25 20:22:18 +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 0ae3df8466 split out isotime 2015-08-22 15:53:11 +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 319a81452e add list of missing geo lookups 2015-08-21 19:31:26 +02:00
Jan-Piet Mens 4b45699e4f s/JSONDIR/STORAGEDIR/g 2015-08-19 18:58:12 +02:00
Jan-Piet Mens 745cbf5806 configurable QoS (-q) and cleansession=false 2015-08-19 18:24:24 +02:00
Jan-Piet Mens 70bb1bd511 fix default revgeo (TRUE) 2015-08-19 17:39:00 +02:00
Jan-Piet Mens 306d9b7d5c add support for specifying optional clientid [-i] 2015-08-19 17:36:23 +02:00
Jan-Piet Mens a0dd167a32 add option to disable revgeo lookups (-G) 2015-08-19 17:27:49 +02:00
Jan-Piet Mens 6f0ee02bda cleanup a few comments 2015-08-19 16:55:46 +02:00
Jan-Piet Mens 44f0dda5fc change offline handling
while I'm 4/5 offline this is a marvelous time to test this
	THINK POSITIVE!
2015-08-19 16:52:01 +02:00
Jan-Piet Mens 5f97064b27 change default stdout format 2015-08-17 18:54:49 +02:00
Jan-Piet Mens 35dfaa4373 reformat default output 2015-08-16 17:38:11 +02:00
Jan-Piet Mens 8f87e7c183 remove debug printf 2015-08-16 11:58:19 +02:00
Jan-Piet Mens 55b31e31ca move precision to config 2015-08-16 11:56:15 +02:00
Jan-Piet Mens ff0afd4e5f Do not store geohash in incoming JSON 2015-08-16 11:54:31 +02:00
Jan-Piet Mens 4d0062c313 Normalize tst, lat, lon to numbers if incoming JSON contains strings 2015-08-16 11:32:54 +02:00
Jan-Piet Mens 21ac7a429b Ensure tst in CSV becomes JSON number 2015-08-16 11:24:37 +02:00
Jan-Piet Mens 1ad7b59a80 ensure "reltopic" is not empty 2015-08-15 16:26:41 +02:00
Jan-Piet Mens 1dba8908e2 Misplaced rest-of-topic 2015-08-15 15:19:27 +02:00
Jan-Piet Mens d0001e92c1 2-level dir for lastlog 2015-08-15 12:40:54 +02:00
Jan-Piet Mens 204dfb8cc7 add udata to monitor hook 2015-08-15 10:46:46 +02:00