Commit Graph

26 Commits (c442eb3592d21bb6626a027efee39c2e2570a332)

Author SHA1 Message Date
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 948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Michael Zanetti 309240ed47 Support providing a custom remote proxy url 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 1d903862ed replace emqtt with nymea-mqtt 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 8df8d70535.
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 6d2ab278a8 don't emit connected() when we've already been connected 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 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
Michael Zanetti 7b12d720f3 store newly received config 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