59 Commits

Author SHA1 Message Date
Michael Zanetti
2e2e86d68a Documentation and finetuning 2019-05-20 22:52:35 +02:00
Michael Zanetti
d8e4947038 Add new json types to allTypes 2019-05-18 13:18:21 +02:00
Michael Zanetti
afa1126e6e More work on the system management api 2019-05-18 00:51:51 +02:00
Michael Zanetti
07cd3d9481 add license headers 2019-05-13 19:52:20 +02:00
Michael Zanetti
10d2888916 add missing namespace 2019-05-10 12:49:37 +02:00
Michael Zanetti
02b97a686e Simplify it a bit 2019-05-10 01:31:26 +02:00
Michael Zanetti
3944e94699 Initial work on an integrated system update mechanism 2019-05-02 12:14:16 +02:00
Jenkins
f884eb9195 Merge PR #159: Add a warning message in JsonRpcServer when a call times out 2019-05-02 11:56:04 +02:00
Jenkins
a91fa09940 Merge PR #156: Fix JsonRpc server breaking transports upon guard timer timeouts 2019-05-02 11:56:04 +02:00
Michael Zanetti
b83b356f67 Add a warning message in JsonRpcServer when a call times out 2019-04-29 12:47:35 +02:00
Michael Zanetti
9e2d495f9a Fix JsonRpc server breaking transports upon guard timer timeouts 2019-04-16 19:48:56 +02:00
Michael Zanetti
87297b5d95 Fix documentation after API chabnges 2019-04-15 19:36:49 +02:00
Jenkins
d510aa13bb Merge PR #148: Add support for state based rule action parameters 2019-04-12 13:42:30 +02:00
Jenkins
fb5aba3964 Merge PR #141: Fix the notification for deleting a web server configuration 2019-04-12 13:42:30 +02:00
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
7893328534 drop ruleRelevant, eventRuleRelevant and graphRelevant 2019-04-10 12:48:02 +02:00
Michael Zanetti
bab59f6754 drop criticalStateTypeId, primaryStateTypeId and primaryActionTypeId 2019-04-10 12:48:02 +02:00
Michael Zanetti
9283d31e73 drop basicTags and deviceIcon 2019-04-10 12:48:02 +02:00
Michael Zanetti
5808da8f86 Make the initial handshake (JSONRPC.Hello) mandatory. 2019-04-10 12:43:03 +02:00
Michael Zanetti
513472178b Fix the notification for deleting a web server configuration 2019-04-08 16:59:50 +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