Commit Graph

160 Commits (87297b5d95544a74f39e77534747591c5a3ff3bc)

Author SHA1 Message Date
Michael Zanetti 87297b5d95 Fix documentation after API chabnges 2019-04-15 19:36:49 +02:00
Jenkins 0434ad22d2 Merge PR #150: Workaround zeroconf breaking because of broken multicast hardware 2019-04-12 13:42:30 +02:00
Jenkins d510aa13bb Merge PR #148: Add support for state based rule action parameters 2019-04-12 13:42:30 +02:00
Jenkins c442eb3592 Merge PR #142: Fix TimeDescriptors getting lost when updating a rule 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
Jenkins 2d91a6243c Merge PR #140: Drop deprecated api 2019-04-12 13:42:30 +02:00
Jenkins 6ac1d43739 Merge PR #138: Rework translation mechanism 2019-04-12 13:42:30 +02:00
Jenkins 49eb6c6047 Merge PR #137: Properly close the DB even on failures. 2019-04-12 13:42:30 +02:00
Jenkins 6d01dbf5da Merge PR #136: Unify API uuid to string convertion 2019-04-12 13:42:30 +02:00
Michael Zanetti b23d7c820e Clean up avahi debug messages 2019-04-12 11:59:28 +02:00
Michael Zanetti e7f7deadc3 Workaround zeroconf breaking because of broken multicast hardware 2019-04-12 02:52:05 +02:00
Michael Zanetti 299052d2f7 Fix processing of rule action params and make tests pass again 2019-04-10 13:40:16 +02:00
Michael Zanetti 5fcfe1a11c Update removeConfiguredDevice to update rules as appropriate 2019-04-10 13:40:16 +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 4275f9052f Fix TimeDescriptors getting lost when updating a rule by removing a device 2019-04-08 17:01:38 +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
Michael Zanetti 6c9281cd32 Properly close the DB even on failures. 2019-04-08 16:45:41 +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
Simon Stürz b5b613df00 Change copyright year to 2019 2019-04-08 16:38:47 +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 49bcfe72f5 Fix Scenes getting activated by state changes 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 81e4db3a90 Handle binding loops in rules properly 2019-04-08 13:55:15 +02:00
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