Commit Graph

578 Commits (04187bbe778735139953b89a7ef07ff73d59a9b6)

Author SHA1 Message Date
Michael Zanetti 87297b5d95 Fix documentation after API chabnges 2019-04-15 19:36:49 +02:00
Jenkins d510aa13bb Merge PR #148: Add support for state based rule action parameters 2019-04-12 13:42:30 +02:00
Jenkins ad9261290d Merge PR #146: Add a method to filter Devices 2019-04-12 13:42:30 +02:00
Michael Zanetti 299052d2f7 Fix processing of rule action params and make tests pass again 2019-04-10 13:40:16 +02:00
Michael Zanetti 694d78225d update api 2019-04-10 13:40:16 +02:00
Michael Zanetti 5fcfe1a11c Update removeConfiguredDevice to update rules as appropriate 2019-04-10 13:40:16 +02:00
Michael Zanetti 774452ff7c Add support for state based rule action params 2019-04-10 13:40:16 +02:00
Simon Stürz 695914f497 Finish test implementation and verify auto device reconfiguration does work. 2019-04-10 13:12:25 +02:00
Simon Stürz 36778e8eda Add test trigger for auto device reconfiguration 2019-04-10 13:12:25 +02:00
Simon Stürz beb00aa0f1 Implement autodevice reconfigure in mock plugin and prepare tests 2019-04-10 13:12:25 +02:00
Michael Zanetti 8e9b695eb6 bump jsonrpc version 2019-04-10 12:48:02 +02:00
Michael Zanetti 87595faf6d bump version 2019-04-10 12:43:09 +02:00
Michael Zanetti 5808da8f86 Make the initial handshake (JSONRPC.Hello) mandatory. 2019-04-10 12:43:03 +02:00
Michael Zanetti 3d114334e1 bump json version number 2019-04-08 16:49:38 +02:00
Michael Zanetti 50aa691087 Add test, fix some issues with loading internal and built-in plugin translations 2019-04-08 16:49:31 +02:00
Michael Zanetti d73aa0840e Force api test to pass, version will be bumped during landing 2019-04-08 13:55:15 +02:00
Michael Zanetti 5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Simon Stürz a44b82c497 Fix push button auth finished notification API documentation 2019-04-08 13:55:15 +02:00
Michael Zanetti 49bcfe72f5 Fix Scenes getting activated by state changes 2019-04-08 13:55:15 +02:00
Michael Zanetti 81e4db3a90 Handle binding loops in rules properly 2019-04-08 13:55:15 +02:00
Michael Zanetti c6d9bdd75c Make loading and tearing down of the core more predictable 2019-04-08 13:55:15 +02:00
Michael Zanetti ad780dd1c3 bump version 2019-04-08 13:55:15 +02:00
Michael Zanetti d956df8483 Allow overriding device parameters from discovered devices 2019-04-08 13:55:15 +02:00
Michael Zanetti 06763e6d2b Improve logging in testtimemanager and add some more explicit tests for calendar items crossing midnight 2019-04-08 13:55:15 +02:00
Michael Zanetti 635a4e3ef2 fix mock device and introduce tests logging category 2019-04-08 13:55:15 +02:00
Michael Zanetti 15938cafb3 Fix an issue where Rules might not be initialized properly at startup 2019-04-08 13:55:15 +02:00
Michael Zanetti 6341ce2455 stabilize test logging 2019-04-08 13:55:15 +02:00
Michael Zanetti 7b1c848c07 add MqttPolicy to Json introspect 2019-04-08 13:55:15 +02:00
Michael Zanetti 509fb61856 update api description 2019-04-08 13:55:15 +02:00
Michael Zanetti ce82ce142c use QTest::newRow instead of QTest::addRow 2019-04-08 13:55:15 +02:00
Michael Zanetti 7987338241 don't use QTRY_COMPARE because we need to build on xenial 2019-04-08 13:55:15 +02:00
Michael Zanetti 0d3e868cc1 fix missing include on xenial 2019-04-08 13:55:15 +02:00
Michael Zanetti 8df5d75dd1 add tests for the mqtt broker 2019-04-08 13:55:15 +02:00
Michael Zanetti 8d05f984c0 mqtt broker now working 2019-04-08 13:55:15 +02:00
Michael Zanetti 371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00
Michael Zanetti 4c8ee8657e fix tests 2019-04-08 13:55:15 +02:00
Michael Zanetti d17aa51abf add a test 2019-04-08 13:55:15 +02:00
Michael Zanetti b49dafa7e3 add limits and offset to GetLogEntries 2019-04-08 13:55:15 +02:00
Michael Zanetti 2d98e9d6b9 Rafactor Packet fragmentation
- Move Json packet fragmentation into the JsonRpcServer.
  This way we only have to do it once.

- fixes a bug in TcpServer and BluetoothServer
  where multiple clients would corrupt each others buffer

- fixes a bug in CloudTransport where it would leak client
  sockets after a remote connection disconnect
2019-04-08 13:55:15 +02:00
Michael Zanetti cdf5c63b59 remove rules which are left without any action after a device removal 2019-04-08 13:55:15 +02:00
Simon Stürz ee17402785 Update api.json and override version bump 2019-04-08 13:55:15 +02:00
Michael Zanetti a1255ed87e override api test. this does not actually change the api... 2019-04-08 13:55:15 +02:00
Michael Zanetti d986537d86 bump jsonrpc version number 2019-04-08 13:55:15 +02:00
Michael Zanetti 096a285212 switch from aws sdk to qmqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti 1d938bec99 fix introspect 2019-04-08 13:55:15 +02:00
Michael Zanetti bf1c61c2cf bump api version 2019-04-08 13:55:15 +02:00
Michael Zanetti c5f4c9dc51 an initial take on a alternative remote connection 2019-04-08 13:55:15 +02:00
Simon Stürz f9343534f4 Add new units and bump json api version 2019-04-08 13:55:15 +02:00
Michael Zanetti fa70780b43 add @ as allowed char 2019-04-08 13:55:15 +02:00
Michael Zanetti 33a1ac3676 add autotests 2019-04-08 13:55:15 +02:00