39 Commits

Author SHA1 Message Date
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
ad9261290d Merge PR #146: Add a method to filter Devices 2019-04-12 13:42:30 +02:00
Michael Zanetti
b2228bcf25 Add a method to filter Devices 2019-04-10 13:13:02 +02:00
Simon Stürz
beb00aa0f1 Implement autodevice reconfigure in mock plugin and prepare tests 2019-04-10 13:12:25 +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
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
5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Michael Zanetti
16cdd29eb8 emit a signal when a device name is changed so plugins can act on it 2019-04-08 13:55:15 +02:00
Simon Stürz
4a0da12be9 Call plugin init method after plugin configuration loading 2019-04-08 13:55:15 +02:00
Simon Stürz
e82efc7021 Add basic structure of first plugin tutorial and continue with docs 2019-04-08 13:55:15 +02:00
Simon Stürz
50bd22cedd Add plugin wizard tutorial and improve style sheet 2019-04-08 13:55:15 +02:00
Michael Zanetti
de3e0dedc7 allow multiple inheritance with interfaces 2019-04-08 13:55:15 +02:00
Simon Stürz
5f226df930 Fix translation update path for external plugins 2019-04-08 13:55:15 +02:00
Simon Stürz
50b55d3727 Add linker and compiler configuration for extern plugins 2019-04-08 13:55:15 +02:00
Michael Zanetti
b502a399e5 improve plugin.pri
- combine generation of plugininfo.h and extern-plugininfo.h
- add removal of the generated files to make clean
2019-04-08 13:55:15 +02:00
Simon Stürz
b66a2a170c Change createMethods and setup method parsing toLower() 2019-04-08 13:55:15 +02:00
Simon Stürz
0d24b5ced9 Rename property methods in deviceplugin parsing mechanism 2019-04-08 13:55:15 +02:00
Simon Stürz
2459b2fbe1 Make json parsing more generic by using toUpper() 2019-04-08 13:55:15 +02:00
Simon Stürz
af24a07464 Add more comments and clean up code 2019-04-08 13:55:15 +02:00
Simon Stürz
2d349e28b1 Adjust mock plugins with new plugin info generation 2019-04-08 13:55:15 +02:00
Simon Stürz
023a223908 Improve plugin json parsing and fix generate-plugininfo script 2019-04-08 13:55:15 +02:00
Michael Zanetti
b2a47036e4 QList<Device*> -> Devices 2019-04-08 13:55:15 +02:00
Michael Zanetti
2ab082bbc4 Add support for device parenting in discovery phase 2019-04-08 13:55:15 +02:00
Michael Zanetti
a2c53a762d add a plugin.pri file for use with external plugins 2019-04-08 13:55:15 +02:00
Michael Zanetti
bec536af7d cleanup libnymea api to enforce less linking on plugins 2019-04-08 13:55:15 +02:00
Simon Stürz
1f58300352 Add API documentation 2019-04-08 13:55:15 +02:00
Michael Zanetti
c04e2090d7 remove duplicates from interface list 2019-04-08 13:55:15 +02:00
Michael Zanetti
4156e0abaa guru.guh.DevicePlugin -> io.nymea.DevicePlugin 2019-04-08 13:55:15 +02:00
Michael Zanetti
79cc563eb0 docs guh -> 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
dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti
803ee32089 libguh.h -> libnymea.h 2019-04-08 13:55:15 +02:00
Michael Zanetti
4be14f1904 libguh-core -> libnymea-core 2019-04-08 13:55:15 +02:00
Michael Zanetti
eb316a7a0c libguh -> libnymea 2019-04-08 13:55:15 +02:00