543 Commits

Author SHA1 Message Date
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
Michael Zanetti
84854868ea fix packing rules for interface based events and actions 2019-04-08 13:55:15 +02:00
Michael Zanetti
86c7a7bec6 update tests 2019-04-08 13:55:15 +02:00
Michael Zanetti
b46f6f3968 rename IPC/RPC interfaces from guhIO to nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
34d68ab38a guhtestbase -> nymeatestbase 2019-04-08 13:55:15 +02:00
Michael Zanetti
da9fe61044 guhconfiguration -> nymeaconfiguration 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti
dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti
39fc071ed6 defines GUH_* -> NYMEA_* 2019-04-08 13:55:15 +02:00
Michael Zanetti
22533fb23c guhd -> nymead 2019-04-08 13:55:15 +02:00