Commit Graph
100 Commits
Author SHA1 Message Date
john30 343a67f06a added timeout and exit code (fixes #122) 2018-04-04 17:56:29 +02:00
john30 8badc83b05 watch sockets for error as well in connect 2018-04-04 17:51:13 +02:00
john30 230abbb9fb added connect timeout, fixed non-closed sockets on connect error 2018-04-04 17:25:39 +02:00
john30 c7c5feaea6 added maxage argument to HTTP/JSON port (fixes #116) 2018-04-04 16:01:54 +02:00
john30 2a348c2087 aligned tests to latest changes 2018-04-04 15:49:48 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 d01385cb6d updated (includes fix for #142) 2018-04-04 10:40:38 +02:00
john30 a9c8047f0d removed accidential additions 2018-04-04 10:32:16 +02:00
john30 42d096001f better comments and help for changed config service URL 2018-04-04 10:19:54 +02:00
john30 b410872a97 removed no longer supported build helper 2018-04-04 10:19:02 +02:00
john30 6ec3ef6e4c removed /etc/ebusd for changed config service URL 2018-04-04 10:18:32 +02:00
john30 a36174c02f added support for retrieving configuration files from config service URL and changed that to be the default, always store loaded files by relative path, changed FileReader to allow reading from stream as well 2018-04-04 10:08:46 +02:00
john30 a77b740720 extended request and get to optionally retrieve last-modified header, fix for potentially wrong content-length extraction 2018-04-04 09:57:38 +02:00
john30 0c8563be16 Merge remote-tracking branch 'origin/master' 2018-04-01 15:30:50 +02:00
JohnandGitHub 9246e9ae4c Merge pull request #150 from andig/small
Smaller docker runtime image
2018-03-18 08:10:14 +01:00
john30 f2f70d400a accept urls without trailing '/' 2018-02-04 16:18:10 +01:00
john30 cf05b63aa3 also serve .csv, fix for invalid HTTP requests 2018-02-04 16:17:18 +01:00
john30 66e4d76a9b fix for weird IP address logging 2018-02-04 16:15:34 +01:00
john30 c94da06975 made http client more flexible and support content-length response header 2018-02-03 23:27:02 +01:00
john30 daf771e6d3 fix for /get topic not being interpreted when topic is on field level 2018-02-03 15:27:12 +01:00
JohnandGitHub 2588951f68 Merge pull request #160 from J0EK3R/master
added missing include
2018-02-03 13:36:00 +01:00
john30 4cdcf2d35e changed update logging from "updated" to "received" or "sent" and also log message when sent by ebusd, avoid unnecessary addSeenAddress() calls, removed logging of decoded poll result (already done as regular update output now) 2018-01-28 17:48:35 +01:00
john30 d3f40712f9 Merge remote-tracking branch 'origin/master' 2018-01-28 15:18:01 +01:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00
john30 7928da60f5 Merge branch 'master' of github.com:john30/ebusd 2018-01-28 14:12:05 +01:00
john30 f2382d1bbe fixed since calculation 2018-01-28 14:11:50 +01:00
john30 472c25fb0c avoid too much load when not connected, give up connection on wrong parameters, log errno if initial connection fails and continue trying to connect every 15 seconds (fixes #130) 2018-01-28 11:41:16 +01:00
john30 58048e0c99 Merge branch 'J0EK3R-master' 2018-01-28 11:04:33 +01:00
john30 3a613f84c6 switched to stretch for latest 2018-01-13 08:08:57 +01:00
john30 afb8dd29d9 fix for new release package naming 2018-01-13 07:50:52 +01:00
john30 6a6922c357 updated to new release package naming 2018-01-07 19:24:46 +01:00
john30 18b4ba6193 updated to 3.1 2018-01-07 19:14:53 +01:00
john30 a4a996faa2 updated version to 3.1 2018-01-07 19:01:41 +01:00
john30 57f2b76654 added all library dependencies 2018-01-07 19:00:54 +01:00
john30 01392df557 better compatibility to other docker version results 2018-01-07 18:56:20 +01:00
john30 85b51f198d smaller resulting image size, added missing git 2018-01-07 18:55:37 +01:00
john30 88e4c7eec7 stop if git tags were updated, allow non-force autoconf, enhanced build speed, include autostart instruction in postinst and adjusted start hint to systemd 2017-12-30 13:26:02 +01:00
john30 60a18d15e2 updated to 3.1 2017-12-26 17:40:11 +00:00
john30 b0e20b7c7c code style 2017-12-26 14:27:44 +01:00
john30 631f05ab3f updated to version 3.1 2017-12-26 14:16:15 +01:00
john30 d610f4ca43 check null in signal handler 2017-12-26 14:15:35 +01:00
john30 c680e87bde corrected using fieldIndex in Message::decodeLastData(bool, ...), corrected finding field in DataFieldSet::read() with index and without name, added optional partType and fieldName to DataField::getCount() 2017-12-26 13:56:26 +01:00
john30 1da2611964 check scanconfig argument parse result 2017-12-17 16:08:46 +01:00
john30 89c4612422 updated 2017-12-17 10:39:21 +01:00
john30 b73ea530fd simplified, added info output 2017-12-17 10:35:28 +01:00
john30 ab5c350d24 corrected wrong initial scan loag message 2017-12-17 10:04:52 +01:00
john30 6bba2d6a02 mark scan as finished only if loading failed or the request timed out 2017-12-17 10:04:01 +01:00
JohnandGitHub 86a97d24f0 Merge pull request #137 from dstrigl/fix-setsockopt-timeout-call
fixed setsockopt call in setTimeout (thanks to @dstrigl )
2017-12-10 19:03:04 +01:00
john30 d7400a4155 fix for address check for -s/-d in read and write command (was never interpreted as destination address), allow master addresses for -d in write command 2017-12-04 09:08:56 +01:00
john30 4c1aefbd6d corrected unit for arbitration delay measurement 2017-11-19 18:26:56 +01:00
john30 551d7e5417 added arbitration delay measurement 2017-11-19 14:14:18 +01:00
john30 2210140e4f Merge remote-tracking branch 'origin/master' 2017-11-19 12:19:59 +01:00
john30 d51b08f082 fix for dumping bytes and raw data not initially enabled when requested (fixes #126), compiler warnings 2017-11-19 12:19:04 +01:00
john30 a87ea4a6d8 file mode 2017-11-19 11:59:33 +01:00
john30 b18d7f38bb wait some time for initial garbage in tcp mode and fixed dumping garbage, use FIONREAD instead of MSG_PEEK for cygwin (fixes #132) 2017-11-19 11:58:31 +01:00
john30 0c16712c5f fix for repeated wait in Queue::remove, better variable naming 2017-11-19 11:50:42 +01:00
john30 e9092000bb updated 2017-11-12 21:21:08 +01:00
john30 7b22ecb606 corrected recvResCrc 2017-11-12 21:17:11 +01:00
john30 dd50389643 measure and log min/max send-receive latency and add to info command and json output 2017-11-12 17:37:30 +01:00
john30 35767fb2e3 formatting 2017-11-12 17:36:02 +01:00
john30 77d2a805b1 fix for input string suddenly vanishing on certain compiler versions (at least gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609) 2017-10-21 12:03:57 +02:00
john30 46078f8c88 fix for wrong dump of value list and constant fields (fixes #112) 2017-10-15 19:14:54 +02:00
john30 2adbe24875 fix for missing default topic (issue #12) 2017-10-14 12:03:00 +02:00
john30 b9c69f0dbc updated 2017-09-16 12:13:12 +02:00
john30 89de7f8981 added option for disabling automatic update check, add scan mode to start log 2017-09-16 11:35:47 +02:00
john30 52c737233e compatibility to cmake < 3.0 (fixes #105) 2017-09-16 11:00:31 +02:00
john30 b174352800 fix for wrong /etc directory 2017-09-09 11:49:21 +02:00
john30 d57c625b5c fix for wrong /etc directory 2017-09-09 11:48:59 +02:00
john30 fb545f886b fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 11:06:28 +02:00
john30 f6aeaae2cc fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 10:04:56 +02:00
john30 29cee10ff5 added helper script 2017-08-29 23:19:48 +02:00
john30 45f7f8a753 formatting 2017-08-29 22:56:34 +02:00
john30 c277fe05f5 updated md5sum 2017-08-29 20:20:04 +00:00
john30 595c7c0120 use debian:jessie as base, added logrotate 2017-08-29 21:50:10 +02:00
john30 90936eae9f use debian:jessie as base, added logrotate 2017-08-29 21:47:30 +02:00
john30 e81a52910f updated to 3.0 2017-08-29 21:46:50 +02:00
john30 3c1fa75dca use debian:jessie as base, added logrotate 2017-08-29 21:27:39 +02:00
john30 f52deaeca6 update version to 3.0 2017-08-29 21:15:47 +02:00
john30 e86d18c5d6 update version to 3.0 2017-08-29 21:11:31 +02:00
john30 e2f72799e7 ensure network is started 2017-08-29 21:03:24 +02:00
john30 0191ea889d updated 2017-08-27 19:10:42 +02:00
john30 f1c5cdbd1a added systemd start script for debian build 2017-08-27 18:58:57 +02:00
john30 8c71d72b33 optimized 2017-08-27 17:00:45 +02:00
john30 203c139d53 removed unnecessary stuff 2017-08-27 16:47:22 +02:00
john30 46f60e821c fixed testing 2017-08-27 16:46:41 +02:00
john30 4c93d1e2d5 formatting 2017-08-27 16:44:58 +02:00
john30 68313e72d9 back to containers 2017-08-27 14:59:11 +02:00
john30 125cbcd661 use own reentrant mutex implementation 2017-08-27 14:58:23 +02:00
john30 20c38b3a2c limit signal check 2017-08-27 14:22:02 +02:00
john30 f41e316c84 check mqtt version before adding handler 2017-08-27 14:21:02 +02:00
john30 2828ba6c77 more logging 2017-08-27 14:18:37 +02:00
john30 a175bf567c tst 2017-08-27 14:10:51 +02:00
john30 c89b3b555f limit signal check 2017-08-27 14:02:29 +02:00
john30 932d27f3f2 tst sudo 2017-08-27 13:57:12 +02:00
john30 f50b400e31 fix signal check 2017-08-27 13:46:15 +02:00
john30 ab627bed3a test 2017-08-27 13:39:08 +02:00
john30 514aa1c967 test socket_create_listen 2017-08-27 13:33:25 +02:00
john30 e6ce4b26c4 test 2017-08-27 13:29:58 +02:00
john30 29a37d29bc different port, netstat 2017-08-27 12:15:55 +02:00