41 Commits

Author SHA1 Message Date
Michael Zanetti
6afe3e5161 fixup api 2019-04-10 13:40:16 +02:00
Michael Zanetti
774452ff7c Add support for state based rule action params 2019-04-10 13:40:16 +02:00
Michael Zanetti
5808da8f86 Make the initial handshake (JSONRPC.Hello) mandatory. 2019-04-10 12:43:03 +02:00
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
8ebd1ddc4e Rework translation mechanism
This branch moves the translation logic out of the DevicePlugin
into the JsonRpc layers (JsonRpcHandlers and Rest handlers) and
deprecates the Configuration.SetLanguage method call. Instead
it adds a "locale" property in the JSONRPC.Hello message. This
will allow multiple clients to connect to a single core using
different languages.
2019-04-08 16:49:24 +02:00
Simon Stürz
e80c713fff Make sure all uuid values in the API get converted correctly and unified to string 2019-04-08 16:41:53 +02:00
Michael Zanetti
5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Michael Zanetti
948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Simon Stürz
a44b82c497 Fix push button auth finished notification API documentation 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
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
5847d6831d add support for an MQTT hardware resource 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
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
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
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
1d938bec99 fix introspect 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
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
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
9992974049 update 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
Michael Zanetti
67a535619f fix typos as reported by Krazy2 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
8cdc5b4770 fix interface based eventdescriptors 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
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
39fc071ed6 defines GUH_* -> NYMEA_* 2019-04-08 13:55:15 +02:00
Michael Zanetti
4be14f1904 libguh-core -> libnymea-core 2019-04-08 13:55:15 +02:00