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
Michael Zanetti
d269b016db
bump json api version
2019-04-08 13:55:15 +02:00
Michael Zanetti
dd6459a2e9
cleanup debug prints
2019-04-08 13:55:15 +02:00
Michael Zanetti
abd2305bc0
add support for paramTypes by name
2019-04-08 13:55:15 +02:00
Michael Zanetti
e21c2f16a5
add support for interface based StateDescriptors
2019-04-08 13:55:15 +02:00
Michael Zanetti
11d56d1020
allow passing params if QVariant can convert them
2019-04-08 13:55:15 +02:00
Michael Zanetti
23316942ce
use bindValue for the log value filter
2019-04-08 13:55:15 +02:00
Michael Zanetti
8db7e050db
Add support for configuring the used database backend
2019-04-08 13:55:15 +02:00
Michael Zanetti
9992974049
update tests
2019-04-08 13:55:15 +02:00
Michael Zanetti
5bca8e730e
enable rest for rest tests
2019-04-08 13:55:15 +02:00
Michael Zanetti
44dd09d227
fix initialSetupRequired still being true, even if we already gave out tokens by pushbuttonAuth
2019-04-08 13:55:15 +02:00
Simon Stürz
ef2643b600
Update translations context
2019-04-08 13:55:15 +02:00
Michael Zanetti
a29c8fe55d
add iscloudconnected script
2019-04-08 13:55:15 +02:00
Michael Zanetti
ec667f15d9
specify the dbus interface to prevent it from changing with autogenerated stuff
2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f
fix typos as reported by Krazy2
2019-04-08 13:55:15 +02:00
Michael Zanetti
2fec19e17d
add getruledetails.sh
2019-04-08 13:55:15 +02:00
Michael Zanetti
bec536af7d
cleanup libnymea api to enforce less linking on plugins
2019-04-08 13:55:15 +02:00
Michael Zanetti
0f46245230
fix stateevaluator bug where it would not properly use the OR operator
2019-04-08 13:55:15 +02:00