49 Commits

Author SHA1 Message Date
Jenkins nymea
ace4c70fe4 Merge PR #247: Generate a version.h file 2020-01-29 21:44:34 +01:00
Jenkins nymea
8b992870a3 Merge PR #243: Update device names when changed by the plugin 2020-01-29 21:44:34 +01:00
Jenkins nymea
44a403f0e4 Merge PR #238: Add System Time API 2020-01-29 21:44:34 +01:00
Michael Zanetti
a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +01:00
Michael Zanetti
744f25312b Cleanup as code review suggests 2020-01-15 12:32:32 +01:00
Michael Zanetti
b3ebbc18c0 Update device names when changed by the plugin 2020-01-05 14:58:02 +01:00
Michael Zanetti
9b07216768 Add system api to configure the system time
This gets rid of the locally kept time zone which caused issues
in plugins and the ScriptEngine.
2019-12-15 12:44:14 +01:00
Michael Zanetti
0f75be0fa4 Require Qt 5.12 for ScriptDevicePlugin 2019-12-01 00:07:35 +01:00
Michael Zanetti
e47a4062ee Fix loading of JS plugins 2019-12-01 00:07:35 +01:00
Michael Zanetti
b97e4e5b0c Add support for JS device plugins 2019-12-01 00:07:35 +01:00
Michael Zanetti
9322cc79e9 Initial attempt to script a plugin 2019-12-01 00:07:35 +01:00
Jenkins nymea
f1cd51c5e6 Merge PR #236: Add some more plugin search paths to work better on non-debian systems 2019-12-01 00:05:00 +01:00
Jenkins nymea
a9c304b5f8 Merge PR #232: Don't emit EventEmitted for invalid devices 2019-12-01 00:05:00 +01:00
Jenkins nymea
3f066c5cc9 Merge PR #230: Don't load devices if the plugin dropped support for it 2019-12-01 00:05:00 +01:00
Michael Zanetti
5030ab8ac5 Add some more plugin search paths to work better on non-debian systems 2019-11-26 19:47:19 +01:00
Michael Zanetti
f5942a0223 Also check state changes 2019-11-15 11:02:35 +01:00
Michael Zanetti
2228523cf0 Don't emit EventEmitted for invalid devices 2019-11-12 19:25:24 +01:00
Michael Zanetti
abdfce129e Don't load devices if the plugin dropped support for it 2019-11-07 11:37:11 +01:00
Michael Zanetti
bdd9876a88 Allow registering QMetaObjects on JSON api 2019-11-01 20:55:45 +01:00
Michael Zanetti
977247e950 Complete setup api 2019-10-31 13:09:26 +01:00
Jenkins nymea
c066962a66 Merge PR #215: Always initialize device settings params 2019-10-18 14:57:22 +02:00
Jenkins nymea
c2c4b50e76 Merge PR #213: Improve json parse errors 2019-10-18 14:57:22 +02:00
Michael Zanetti
679e51b027 Fix failing test 2019-10-17 12:21:16 +02:00
Michael Zanetti
e049c3b2f5 Don't execute actions on devices that didn't complete the setup 2019-10-17 00:07:32 +02:00
Michael Zanetti
0c7a810366 Use deviceClass.displayName to generate a device name if the user doesn't give one 2019-10-16 17:56:49 +02:00
Michael Zanetti
14bc0eb73e fix pairing for oauth 2019-10-16 17:56:49 +02:00
Michael Zanetti
32f7f22a7d Add a timeout to api info objects 2019-10-16 17:56:49 +02:00
Michael Zanetti
82bebeccca move docs around 2019-10-16 17:56:49 +02:00
Michael Zanetti
7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00
Michael Zanetti
c437ef7143 Always initialize device settings params 2019-09-27 12:09:57 +02:00
Michael Zanetti
9aa98c4fa4 Also imoprove validation errros 2019-09-25 17:53:58 +02:00
Jenkins
9990ba2f6c Merge PR #197: Verify events coming from plugins 2019-09-02 18:01:50 +02:00
Jenkins
491ea92e2d Merge PR #196: Prevent plugins from being loaded twice 2019-09-02 18:01:50 +02:00
Michael Zanetti
da0b7a04f8 Verify events coming from plugins 2019-08-23 12:10:07 +02:00
Michael Zanetti
1c8f24269e Prevent plugins from being loaded multiple times 2019-08-23 11:41:20 +02:00
Michael Zanetti
b4ae1919ba cleanup fixes 2019-07-25 15:56:18 +02:00
Michael Zanetti
0b7176c6f4 Re-enable the default ctor for BrowseResults
This opens up the possibility for the plugin dev to mess up the
request id if [s]he creates a new one instead of using the one given by
the api, but not being able to keep results in a Qt container
is not a price I am willing to pay for this. After all it'S going to be
very visible on the first test to the plugin dev if this deosn't match.
2019-07-25 15:56:18 +02:00
Michael Zanetti
1608e07d99 BrowserItems in rules working 2019-07-25 15:56:18 +02:00
Michael Zanetti
4e7557f964 add locale option 2019-07-25 15:56:18 +02:00
Michael Zanetti
aee554a1ee BrowserItemActions, yay! 2019-07-25 15:56:18 +02:00
Michael Zanetti
ff337bf8b6 Make browser item execution work async too 2019-07-25 15:56:18 +02:00
Michael Zanetti
57f68bcdc0 More work on adding a Device browser 2019-07-25 15:56:18 +02:00
Michael Zanetti
933d92ab06 Intermediate commit (device browser) 2019-07-25 15:56:18 +02:00
Michael Zanetti
c6a0cecb0f Fix parenting mechanism for discovered devices 2019-07-25 15:56:02 +02:00
Michael Zanetti
93bcad826c Do not skip params with unknown paramtype ids
This is to give plugins a chance to migrate data over if they change their params.
2019-07-15 22:55:11 +02:00
Michael Zanetti
51f5538772 Improve the PIC to detect duplicate UUIDs, give metter messages. Clean up mock plugin. 2019-07-15 22:55:11 +02:00
Michael Zanetti
b056fb8b5e Add nymea-plugininfocompiler to replace nymea-generateplugininfo 2019-07-15 22:55:11 +02:00
Michael Zanetti
1822fb10f2 Introduce API versioning 2019-07-15 22:55:11 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00