Commit Graph
206 Commits
Author SHA1 Message Date
John 1e21850a2b extend MQTT integration support 2022-01-22 15:28:32 +01:00
John d00f6d755c use array instead of hash for dumpconfig json and add circuit 2022-01-08 15:19:26 +01:00
John c14f934837 add filename 2022-01-08 15:18:03 +01:00
John dea6b976e2 add creation time 2021-11-20 09:15:38 +01:00
John 5e5ed3fdd9 fix deletion 2021-11-13 18:07:29 +01:00
John 7a567e69fb move helper method to SymbolString 2021-11-05 19:45:04 +01:00
John 890e718b09 fix iterator usage, avoid unnecessary copies 2021-11-04 15:02:33 +01:00
Steffen Pankratz 251ddce131 fix compiler warning: loop variable creates a copy from type
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2021-09-06 20:07:52 +02:00
John 38bfc7a751 new enum type for OutputFormat, add level/pollprio/condition to HTTP GET and extend message key by circuit/direction/condition for OF_ALL_ATTRS, start message dump in JSON format 2021-04-02 10:41:50 +02:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
john30 27778f2255 use defines for values in source mask of message key and simplified a bit (in preparation of #278), documentation 2019-08-15 19:04:51 +02:00
john30 fa434e5151 fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 20:52:00 +01:00
john30 cc6f16e65a fix for messages with later set poll priority being preferred before others in the poll sequence 2019-01-13 18:02:35 +01:00
john30 caedcc6cb5 Revert "remove newline from JSON output"
This reverts commit d3e496ef6b.
2018-12-26 15:27:47 +01:00
john30 d3e496ef6b remove newline from JSON output 2018-12-25 14:11:33 +01:00
john c467f2b245 add MessageMap::findAll changedSince argument to distinguish touched/changed for since/until range 2018-12-02 12:22:37 +01:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 10e0c96ac2 fix for potential duplicate free 2018-04-08 19:07:49 +02:00
john30 000d68f3c2 added "-def" option to read and write commands for using inline message definition (fixes #154), added support for replacing messages during load to FileReader and subclasses, added MessageMap::remove(), prepared decode/encode commands 2018-04-08 13:48:49 +02:00
john30 8ad3ad9c5b removed unnecessary check 2018-04-08 09:08:46 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +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 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 b0e20b7c7c code style 2017-12-26 14:27:44 +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 f6aeaae2cc fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 10:04:56 +02:00
john30 ca7c8bd4fa fix for potential access to no longer existing Message instances in DataHandler, validate MQTT topic during argument parsing, extended DataHandler registration to allow registering multiple instances at once, only create MqttHandler if active 2017-08-27 09:40:43 +02:00
john30 6be124f52e fixed compiler warnings 2017-08-22 07:46:01 +02:00
john30 e451e96a90 enhanced JSON interface to retrieve definition and raw messages, fixed for JSON strings with quotes 2017-06-05 18:16:13 +02:00
john30 23d930d653 fix for mqtt topic including field 2017-06-03 12:17:18 +02:00
john30 a0c03779a1 compiler warningsdiff 2017-05-28 09:28:46 +02:00
john30 606292acda corrected uniqueness of json keys, added write as option to json get 2017-05-25 12:54:42 +02:00
john30 d36315ae35 corrected uniqueness of json keys, added write as option to json get 2017-05-25 12:54:09 +02:00
john30 a4e1aa65b4 optimized 2017-05-13 17:22:08 +02:00
john30 506ff25063 removed commented line 2017-05-13 08:42:35 +02:00
john30 340f862026 simplified too complex CSV header line interpretation 2017-05-07 15:31:09 +02:00
john30 6d57b3fc61 fix for duplicate lines with --dumpconfig 2017-05-04 07:26:39 +02:00
john30 727aca8309 removed unncessary casts, allow more than one file to match, compiler warnings 2017-05-01 17:09:56 +02:00
john30 7b11a540b6 added conditional messages to find command with "-a" option and include condition prefix for CSV format
also allow passing scan messages with --checkconfig and --scanconfig (without --inject)
be more verbose on errors in configuration files
improved code style
2017-05-01 15:31:09 +02:00
john30 cce36d93f5 fix for sigsegv when resolving conditions introduced by 611cb56 2017-04-26 09:33:39 +02:00
john30 43042eec9d style 2017-04-23 11:58:54 +02:00
john30 611cb562e2 fixed potential iterator misuse, use auto and const where reasonable 2017-04-23 11:57:02 +02:00
john30 07091c17cc more const, use relative filenames 2017-04-22 12:20:26 +02:00
john30 47ed6dde3f added SymbolString::adjustHeader(), avoid strcasecmp, code style 2017-04-17 17:46:32 +02:00
john30 50d1aee7d3 added support for multi language column selection in configuration files 2017-04-17 09:56:46 +02:00
john30 ac90586b15 fixed compiler warning 2017-04-16 17:00:31 +02:00
john30 f5c5e34d90 removed fieldIds again in favor of strings (to support custom attributes), corrected JSON format, require circuit in message definition, support custom message attributes in find command 2017-04-16 16:53:39 +02:00
john30 b36efd4086 added circuit level attributes for JSON output, corrected sorting of messages in result of MessageMap::findAll() 2017-04-16 15:03:29 +02:00
john30 80e6f48cf1 fixed compiler warnings 2017-04-09 16:46:22 +02:00
john30 a19a38266a added output of used-defined attributes, use const where appropriate, enhanced http global node, added base class AttributedItem 2017-04-09 16:38:40 +02:00