128 Commits

Author SHA1 Message Date
Michael Zanetti
c6d9bdd75c Make loading and tearing down of the core more predictable 2019-04-08 13:55:15 +02:00
Michael Zanetti
69de953d5e make it more solid 2019-04-08 13:55:15 +02:00
Michael Zanetti
bd84f5c633 revert part of the fix, it makes it crash 2019-04-08 13:55:15 +02:00
Michael Zanetti
1094f589d1 Small fixes in AWS connection
* Fix uncategorized debug print
* Disable the mqtt lib's autoreconnect feature as AWS doesn't support that
* Manually reconnect on errors too
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
15938cafb3 Fix an issue where Rules might not be initialized properly at startup 2019-04-08 13:55:15 +02:00
Simon Stürz
e51508ee33 Update webserver debug output, add WebServerTraffic category and fix favicons for debugserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
7764bc8757 fix issues from review 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
e1affe17d0 fix init order 2019-04-08 13:55:15 +02:00
Michael Zanetti
cb38dc0853 add license headers 2019-04-08 13:55:15 +02:00
Michael Zanetti
7b483bb087 don't leak policies 2019-04-08 13:55:15 +02:00
Michael Zanetti
1d903862ed replace emqtt with nymea-mqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti
5bf1fb5bc4 add API to request a client connected to the internal mqtt broker to mqttprovier 2019-04-08 13:55:15 +02:00
Michael Zanetti
5847d6831d add support for an MQTT hardware resource 2019-04-08 13:55:15 +02:00
Michael Zanetti
751359c528 added missing files 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
Simon Stürz
89f146ef1d Fix report file extension, add microsoft browser favicon support and fix tags show button 2019-04-08 13:55:15 +02:00
Simon Stürz
384544ca15 Set working directory to standard paths and add timer for async function in order to show progress 2019-04-08 13:55:15 +02:00
Simon Stürz
80789c256b Add missing license headers 2019-04-08 13:55:15 +02:00
Simon Stürz
a0c2143c4b Add status report generator and finish debug interface improvements 2019-04-08 13:55:15 +02:00
Simon Stürz
b2cb22df66 Add tabs for better overview 2019-04-08 13:55:15 +02:00
Simon Stürz
c17fe76027 Add autoscoll for log view 2019-04-08 13:55:15 +02:00
Michael Zanetti
74293535b8 fix it 2019-04-08 13:55:15 +02:00
Simon Stürz
4bd3b836f8 Add network test functionality and add live log viewer for debug server interface 2019-04-08 13:55:15 +02:00
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