128 Commits

Author SHA1 Message Date
Simon Stürz
5af2067308 bump api versio
bump guh version
added tests for edit device
added tests for edit device (rediscovery)
added device params changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz
b366d45229 first version of edit device 2019-04-01 20:48:17 +02:00
Simon Stürz
b7b286e599 added tests for RuleAdded and RuleRemoved notifications
fixed notification bug in rulehandler
2019-04-01 20:48:17 +02:00
Simon Stürz
26ac948f98 added notification tests for DeviceRemoved and DeviceAdded 2019-04-01 20:48:17 +02:00
Simon Stürz
2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Simon Stürz
a39a38f993 added rules notifications 2019-04-01 20:48:17 +02:00
Simon Stürz
1c008d0bef fixed inline comments and added a test 2019-04-01 20:48:17 +02:00
Simon Stürz
bea3b97cba added type comparison test 2019-04-01 20:48:17 +02:00
Simon Stürz
f0d7fbd3f5 bump guh version and add a more specific rule error 2019-04-01 20:48:17 +02:00
Simon Stürz
90622e5edb improove RuleAction logic
add tests
fix documentation
2019-04-01 20:48:17 +02:00
Simon Stürz
f26ec0fa47 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
0603b8a3b7 fixed tests and bump api 2019-04-01 20:48:17 +02:00
Simon Stürz
584fec345f added loadStoreConfig tests for exitActions 2019-04-01 20:48:17 +02:00
Simon Stürz
40d7bde73f added tests for exitActions 2019-04-01 20:48:17 +02:00
Simon Stürz
79cbab42a1 fixed packRule 2019-04-01 20:48:17 +02:00
Simon Stürz
48b09ecf01 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
e555754706 added tests and bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
c1a0895a3f added Uint and Color to base types 2019-04-01 20:48:17 +02:00
Simon Stürz
d1647a6b20 update api.json 2019-04-01 20:48:17 +02:00
Simon Stürz
475cadb03b added test skeleton for plugins 2019-04-01 20:48:17 +02:00
Simon Stürz
8eaa447cb1 fixed main and added RunningMode 2019-04-01 20:48:17 +02:00
Simon Stürz
90120203f4 fixed QtService documentation and licencecheck 2019-04-01 20:48:17 +02:00
Michael Zanetti
5cbe613a3e improve test, fix bug in stateEvaluator 2019-04-01 20:48:17 +02:00
Simon Stürz
d396cd16d2 added test 2019-04-01 20:48:17 +02:00
Michael Zanetti
c55c92774b improve tests a little 2019-04-01 20:48:17 +02:00
Michael Zanetti
b0202e928a some minor fixes 2019-04-01 20:48:17 +02:00
Michael Zanetti
240c5e36d6 implement a logging framework 2019-04-01 20:48:17 +02:00
Michael Zanetti
56ca42e1ca finish off the stateevaluator handling 2019-04-01 20:48:17 +02:00
Michael Zanetti
5cd3154b64 add possibility to disable/enable rules
Fixes #58
2019-04-01 20:48:17 +02:00
Michael Zanetti
66f4a361a1 add Events.GetEventType
Fixes #59
2019-04-01 20:48:17 +02:00
Michael Zanetti
63fb728269 bump version 2019-04-01 20:48:17 +02:00
Michael Zanetti
c0abc394f8 bump api 2019-04-01 20:48:17 +02:00
Michael Zanetti
213b28ea83 add Devices.GetStateValues
Fixes #65
2019-04-01 20:48:17 +02:00
Michael Zanetti
f75c7abde4 bump api version 2019-04-01 20:48:17 +02:00
Michael Zanetti
352a2dcca1 don't pack invalid/empty stateevaluator contents
Fixes #56
2019-04-01 20:48:17 +02:00
Michael Zanetti
1cc0c4dd15 get rid of warnings
this eliminates all warnings and turns on -Werror
2019-04-01 20:48:17 +02:00
Michael Zanetti
aad334c799 switch json api to better type system and enhance error reporting 2019-04-01 20:48:17 +02:00
Michael Zanetti
1aba1643f8 first attempt to clean up type system 2019-04-01 20:48:17 +02:00
Michael Zanetti
c9e6b7ed81 load plugins dynamically 2019-04-01 20:48:17 +02:00
Michael Zanetti
b252ff9706 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti
dcd2fdc049 initial work on moving plugin description to json 2019-04-01 20:48:17 +02:00
Michael Zanetti
737fe7e00d randomize other test ports too 2019-04-01 20:48:17 +02:00
Michael Zanetti
853a46d788 randomize Mock Auto device port to avoid collisions when multiple guh's are running 2019-04-01 20:48:17 +02:00
Michael Zanetti
0614e79193 convert the remaining param lists 2019-04-01 20:48:17 +02:00
Michael Zanetti
824464e09b fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti
16f15a347b add test targets to install 2019-04-01 20:48:17 +02:00
Michael Zanetti
d8f6f92b30 set install path for tests 2019-04-01 20:48:17 +02:00
Michael Zanetti
84ef4819d3 don't use rpath for the test binaries so we don't need to strip it
this breaks the make check targets without manually exporting
LD_LIBRARY_PATH, but the make test target still works.
2019-04-01 20:48:17 +02:00
Michael Zanetti
53fe5557e0 fix issues in param handling in json api 2019-04-01 20:48:17 +02:00
Michael Zanetti
be90f47f63 more work on rules
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00