39 Commits

Author SHA1 Message Date
Simon Stürz
c95e6ebeb0 fix mock port 2019-04-01 20:48:17 +02:00
Simon Stürz
36533b61aa add REST api and tests 2019-04-01 20:48:17 +02:00
Simon Stürz
7b3348168b fix test 2019-04-01 20:48:17 +02:00
Simon Stürz
4d5429cb2b add test for edit device name 2019-04-01 20:48:17 +02:00
Simon Stürz
449c224da0 fix tests and remove mockdevices name param 2019-04-01 20:48:17 +02:00
Simon Stürz
aa5cba8189 add rest methods for testing
update rest tests with new methods
2019-04-01 20:48:17 +02:00
Simon Stürz
10497313ea add display pin mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
e070138e4b add tests for push button mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
38afa00b30 added GuhSettings 2019-04-01 20:48:17 +02:00
Simon Stürz
91afe4f29e add guhserver namespace to server 2019-04-01 20:48:17 +02:00
Simon Stürz
23f3a35a83 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
745107c469 changed editable property to readOnly
added guhcore documentation
bump JSONRPC api version
2019-04-01 20:48:17 +02:00
Simon Stürz
b6e253e5c2 update man page
fix mock device
add some more tests
2019-04-01 20:48:17 +02:00
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
2aa55e469e added copyright 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
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
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
824464e09b fix some param handling issues 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
9d21f32366 allow calling AddRule with a single eventDescriptor but also with a list 2019-04-01 20:47:51 +02:00
Michael Zanetti
373af5bde5 add tests for loading/storing rules to disk 2019-04-01 20:47:51 +02:00
Michael Zanetti
21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti
d84319fdcc Finish off param handling. New param structures now used everywhere.
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti
22bc250391 add discoverdevices tests with invalid parameters 2014-05-04 15:10:54 +02:00
Michael Zanetti
8334ec89ff test GetPlugins and removeDevice with an invalid param 2014-05-04 14:50:44 +02:00
Michael Zanetti
ca91386b7d added a test for a failing async device setup 2014-05-04 13:11:21 +02:00
Michael Zanetti
de62432913 fix tests 2014-05-04 05:14:07 +02:00
Michael Zanetti
bce1cacbc7 added more devicemanager tests 2014-05-04 05:08:42 +02:00
Michael Zanetti
384690bb23 add a test for async device creation 2014-05-04 04:49:19 +02:00
Michael Zanetti
46e6642b90 added a test for device discovery 2014-05-04 03:45:50 +02:00
Michael Zanetti
7b0cbe58d3 add a test to try creating a device with invalid params 2014-05-04 03:07:55 +02:00
Michael Zanetti
6a45a1c832 add missing autotest file and rever bad changes 2014-05-04 00:51:40 +02:00
Michael Zanetti
6b08c82dc7 make jenkins happy 2014-05-04 00:42:22 +02:00
Michael Zanetti
2133c058cf split it up in separate projects 2014-05-04 00:38:04 +02:00