Commit Graph

52 Commits (f56383ac1b4abdd4baabdfe5620b968e810c63d9)

Author SHA1 Message Date
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 73231419a9 generate an include file with uuids from json 2019-04-01 20:48:17 +02:00
Simon Stürz 4e5656b299 fixed multiple creation of mock autodevice on each start 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 fb2406d478 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti 44118a1c06 initial work on moving plugin description to json 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
Simon Stürz 988ef98141 fixed port binding problem of mock device 2019-04-01 20:48:17 +02:00
Michael Zanetti fb779ad15f randomize Mock Auto device port to avoid collisions when multiple guh's are running 2019-04-01 20:48:17 +02:00
Michael Zanetti 913f08edd8 fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti 8a90e7153d don't create new mock auto devices if we already have one
Fixes #21
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 ac77fc669c rework how auto devices are created
also updated plugins to work with new api
2019-04-01 20:48:17 +02:00
Michael Zanetti ab5c730920 fix devicepluginmock 2019-04-01 20:48:17 +02:00
Michael Zanetti 346ee6df35 add event params to rules test 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 76d2dbb4f3 added tests for all sorts of executeAction 2014-05-04 19:01:41 +02:00
Michael Zanetti 8334ec89ff test GetPlugins and removeDevice with an invalid param 2014-05-04 14:50:44 +02:00
Michael Zanetti 8916626ded fix tests again :) 2014-05-04 13:41:38 +02:00
Michael Zanetti a9a2a8fd30 enable coverage for deviceplugins too 2014-05-04 13:33:05 +02:00
Michael Zanetti ca91386b7d added a test for a failing async device setup 2014-05-04 13:11:21 +02:00
Michael Zanetti bce1cacbc7 added more devicemanager tests 2014-05-04 05:08:42 +02:00
Michael Zanetti edb6c956e6 drop some debug prints 2014-05-04 04:53:08 +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 ca8717d2a0 split tests into different files 2014-05-03 23:55:08 +02:00
Michael Zanetti f7559742a4 added support for async device creation. 2014-05-03 15:10:16 +02:00
Michael Zanetti 7c3ffbd5d6 make executeAction more verbose 2014-04-28 23:52:05 +02:00
Michael Zanetti df001695a1 convert ActionType to use ParamType instead of variants,
extend tests
2014-04-28 20:22:17 +02:00
Simon Stürz 2a372dd240 added google mail notification plugin
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti e312e36ab9 introduce ParamType and Param, to get more type safety and better possibilities for comparison in rules 2014-04-18 04:45:58 +02:00
Michael Zanetti fe95326a10 fix some warnings 2014-04-16 01:13:16 +02:00
Michael Zanetti 38d4faedeb also make PluginId typesafe and add some initial discovery code 2014-04-13 19:41:01 +02:00
Michael Zanetti 8d1c7f9c03 add createmethod and setupmethod params
add support for createmethod "auto"
add functional boblight plugin
2014-04-13 10:27:08 +02:00
Michael Zanetti 34ab701f95 add much more test coverage 2014-04-06 03:33:51 +02:00
Michael Zanetti 76bf703fc5 add getsupportedvendors 2014-04-06 00:01:43 +02:00
Michael Zanetti 415a48d659 make things more typesafe 2014-04-05 23:37:55 +02:00
Michael Zanetti 4f679b3bc3 restructure lib a bit. added initial code for the new rules stuff 2014-04-05 22:01:38 +02:00
Michael Zanetti cf9d460bad implemented removeconfigureddevice 2014-04-05 01:55:56 +02:00
Michael Zanetti 044be78064 added methods to query states and properly test state changes on notifications 2014-04-04 22:50:59 +02:00
Michael Zanetti 6dd81e641c some more work on states and the rules doc 2014-04-04 00:10:15 +02:00
Michael Zanetti 2dc18583ec add actions to mockdevice 2014-04-01 23:45:50 +02:00