Commit Graph

35 Commits (373af5bde54c52f7d56ad8092fa60ce350b0c08d)

Author SHA1 Message Date
Michael Zanetti 373af5bde5 add tests for loading/storing rules to disk 2019-04-01 20:47:51 +02:00
Michael Zanetti 08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00
Michael Zanetti 21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti bbd05ca7fd align jsonrpc param descriptions with the rest of the type system 2014-06-08 17:08:51 +02:00
Michael Zanetti b07433a8b5 Add discoveryParams to DeviceClass
Fixes #12
2014-05-05 20:40:02 +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 c54e289403 added a mechanism to bump the version
added a test that checks for JSONRPC api changes and enforces a version bump
2014-05-03 17:22:44 +02:00
Michael Zanetti 7c3ffbd5d6 make executeAction more verbose 2014-04-28 23:52:05 +02:00
Michael Zanetti e4c007070f add vendorId to DeviceClass in JSONRPC
Fixes #6
2014-04-28 21:09:04 +02:00
Michael Zanetti df001695a1 convert ActionType to use ParamType instead of variants,
extend tests
2014-04-28 20:22:17 +02:00
Michael Zanetti d4053297c8 add eventdescriptor and paramdescriptor classes to be used with Rules 2014-04-25 00:46:10 +02:00
Michael Zanetti 2e8f031d74 Fixes #3 2014-04-24 21:47:45 +02:00
Simon Stürz 2a372dd240 added google mail notification plugin
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti 807f9ccd5c fix param json api definition 2014-04-18 04:49:52 +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 33e64038fa fix discovery response in json 2014-04-14 00:16:08 +02:00
Michael Zanetti c56ebcb6a2 also implement async replies 2014-04-13 22:40:49 +02:00
Michael Zanetti a5eb0ef759 some more checks 2014-04-13 17:58:33 +02:00
Michael Zanetti b85aa3072e fix rules again 2014-04-13 14:07:35 +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 c027bb1481 reenable strict argument checking, now that we can mark parameters as optional 2014-04-06 01:32:46 +02:00
Michael Zanetti 913d544386 fix vendor in introspect, write a test for it 2014-04-06 00:41:38 +02:00
Michael Zanetti 76bf703fc5 add getsupportedvendors 2014-04-06 00:01:43 +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 044be78064 added methods to query states and properly test state changes on notifications 2014-04-04 22:50:59 +02:00
Michael Zanetti 30776744c2 "params" are always optional (in terms of json parsing) 2014-04-02 01:13:32 +02:00
Michael Zanetti ca9c9fffb9 make json parsing a bit more verbose 2014-04-02 01:09:38 +02:00
Simon Stürz 95f806ccaf added licence to source code 2014-03-31 21:55:33 +02:00
Michael Zanetti 61a7a68ee0 added JSONRPC.Version and JSONRPC.SetNotificationStatus 2014-03-30 01:14:39 +01:00
Michael Zanetti 05537d7b6a Trigger -> Event 2014-01-26 18:39:09 +01:00
Michael Zanetti 4a4c3b9941 refactor json api declaration a bit 2014-01-25 04:39:22 +01:00
Michael Zanetti 0d69170cef complete rules in json api 2014-01-25 02:07:54 +01:00
Michael Zanetti 02c8e6e4b4 reworked jsonrpc server.
added introspection
all calls and responses have now param validation
2014-01-20 01:13:43 +01:00