571 Commits

Author SHA1 Message Date
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
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
Michael Zanetti
d1fa341650 fix username and password verification 2019-04-08 13:55:15 +02:00
Michael Zanetti
6cf060aa93 fix an issue where state values in rules could be casted wrong from string to double 2019-04-08 13:55:15 +02:00
Michael Zanetti
681b306b1b fix rules with time descriptors to follow the same logic 2019-04-08 13:55:15 +02:00
Michael Zanetti
0f699ac917 fix testrestrules 2019-04-08 13:55:15 +02:00
Michael Zanetti
157b0b2b2c use exitActions for else-action in event based rules 2019-04-08 13:55:15 +02:00
Michael Zanetti
a6f4ddf188 Implement a tagging system 2019-04-08 13:55:15 +02:00
Simon Stürz
844f7a53a8 Add user database rotation if the database is broken. 2019-04-08 13:55:15 +02:00