102 Commits

Author SHA1 Message Date
Michael Zanetti
c7f4dda9d3 check for duplicates when an update comes in 2019-04-08 13:55:15 +02:00
Michael Zanetti
f243d383e4 Revert "add a hack for meeting the zapf deadline"
This reverts commit 8df8d70535e08dcc949e7839f216a8a48bcb9f54.
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
Michael Zanetti
6d2ab278a8 don't emit connected() when we've already been connected 2019-04-08 13:55:15 +02:00
Simon Stürz
a500baf5d8 Add notifications to introspect desciption. Fix #76 2019-04-08 13:55:15 +02:00
Michael Zanetti
da831133c8 fix introspect for TagError and UserError 2019-04-08 13:55:15 +02:00
Michael Zanetti
83168772f3 fix issues from code review 2019-04-08 13:55:15 +02:00
Michael Zanetti
699065f689 update to use nonce 2019-04-08 13:55:15 +02:00
Michael Zanetti
3816ade6b7 last cleanups 2019-04-08 13:55:15 +02:00
Michael Zanetti
922ee3ce49 clean up some remaining old stuff 2019-04-08 13:55:15 +02:00
Michael Zanetti
55b4c8a798 reduce keep alive timeout 2019-04-08 13:55:15 +02:00
Michael Zanetti
2f2787fb98 enable auto reconnect 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
637a30700b cleanups and dedupe mqtt packets 2019-04-08 13:55:15 +02:00
Simon Stürz
a69b32a572 Improve cloud transport and fix authentication required in Hello and handshake 2019-04-08 13:55:15 +02:00
Simon Stürz
c4343b6ecb Fix transport authentication configuration 2019-04-08 13:55:15 +02:00
Michael Zanetti
7b12d720f3 store newly received config 2019-04-08 13:55:15 +02:00
Michael Zanetti
1d938bec99 fix introspect 2019-04-08 13:55:15 +02:00
Michael Zanetti
a3faba7619 add copyright headers 2019-04-08 13:55:15 +02:00
Michael Zanetti
4ee50dd89f update to latest changes in lib 2019-04-08 13:55:15 +02:00
Michael Zanetti
a29a0483b2 add api to deploy certificates 2019-04-08 13:55:15 +02:00
Michael Zanetti
1dc142bb45 it's working, yay! 2019-04-08 13:55:15 +02:00
Michael Zanetti
4e3ab48e58 it's somewhat working 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
Michael Zanetti
0f56846ffd add µ and € 2019-04-08 13:55:15 +02:00
Michael Zanetti
fa70780b43 add @ as allowed char 2019-04-08 13:55:15 +02:00
Simon Stürz
4fadd37938 Store value type of rule values 2019-04-08 13:55:15 +02:00
Simon Stürz
b2f17b868e Update empty hardware resource debug line 2019-04-08 13:55:15 +02:00
Michael Zanetti
ba58b0f100 also property escape the . in the token verifier 2019-04-08 13:55:15 +02:00
Michael Zanetti
d1fa341650 fix username and password verification 2019-04-08 13:55:15 +02:00
Simon Stürz
e82efc7021 Add basic structure of first plugin tutorial and continue with docs 2019-04-08 13:55:15 +02:00
Simon Stürz
dcd410457d Update core documentation and fix inline warnings 2019-04-08 13:55:15 +02:00
Simon Stürz
50bd22cedd Add plugin wizard tutorial and improve style sheet 2019-04-08 13:55:15 +02:00
Michael Zanetti
42857d75af mark avahi service entry as IPv6 as appropriate 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
8089c65d39 add a debug print whenever something comes in on the TCP server 2019-04-08 13:55:15 +02:00
Simon Stürz
22466a9bf7 Add socket state debug information for bluetooth server 2019-04-08 13:55:15 +02:00
Simon Stürz
ff66e366b4 Add bluetooth server debug categories and improve bluetooth server behaviour 2019-04-08 13:55:15 +02:00
Simon Stürz
c2a253b3a2 Change bluetooth server to discoverable mode 2019-04-08 13:55:15 +02:00
Simon Stürz
9419ba0174 Fix bluetooth discoverable mode 2019-04-08 13:55:15 +02:00
Simon Stürz
2231fd8f94 Update bluetooth server 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
157b0b2b2c use exitActions for else-action in event based rules 2019-04-08 13:55:15 +02:00
Michael Zanetti
15f7b2517c fix initialisation of the rule engine
after loading rules from config we need to evaluate their active state immedately
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
4e0091fdff Warn, if the pushbutton auth failed. 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
b7262b51e4 add docs 2019-04-08 13:55:15 +02:00