Commit Graph

69 Commits (b35f5f69bf77655ca113b6fd1a477fe452d4be6c)

Author SHA1 Message Date
Simon Stürz b35f5f69bf fixed namespace and added documentation for servers 2019-04-01 20:48:17 +02:00
Simon Stürz 9ff00cb2cd fix documentation temporary 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 b67bd44722 fixed enable disable notification tests 2019-04-01 20:48:17 +02:00
Simon Stürz 85ba7af29c add Rules.EditRule method and Rules.CRuleConfigurationChanged notification 2019-04-01 20:48:17 +02:00
Simon Stürz 5bbf1fc70b rename logging 2019-04-01 20:48:17 +02:00
Simon Stürz a8727407eb added logging category to core and lib 2019-04-01 20:48:17 +02:00
Simon Stürz 9edb3b8b40 fixed rule action setting error 2019-04-01 20:48:17 +02:00
Simon Stürz 4c022b6a7e add documentation 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 90622e5edb improove RuleAction logic
add tests
fix documentation
2019-04-01 20:48:17 +02:00
Simon Stürz a29b3a75eb add documentation 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 6bd8983ec2 added RuleAction and RuleActionParam to RuleEngine 2019-04-01 20:48:17 +02:00
Simon Stürz 7b6c9d3655 add documentation 2019-04-01 20:48:17 +02:00
Simon Stürz 0652646240 added exitActions for state based rules 2019-04-01 20:48:17 +02:00
Simon Stürz 9e10d1a99d added name for rules 2019-04-01 20:48:17 +02:00
Simon Stürz b3e6da87dc fixed rule inactive log event 2019-04-01 20:48:17 +02:00
Simon Stürz d396cd16d2 added test 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 e605a41c37 improve debug print 2019-04-01 20:48:17 +02:00
Michael Zanetti dbe0b47035 fix some comments 2019-04-01 20:48:17 +02:00
Michael Zanetti 56ca42e1ca finish off the stateevaluator handling 2019-04-01 20:48:17 +02:00
Simon Stürz 754f494746 added some more documetations 2019-04-01 20:48:17 +02:00
Simon Stürz 1f697b2b1a added documentation and fixed some doc errors 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 1aba1643f8 first attempt to clean up type system 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 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
Michael Zanetti 5f61ae03a7 make DeviceManager and RuleEngine in GuhCore private
This helps to have a cleaner separation between modules and have a
place to do inter-module checks before modifying data (e.g.
cascade deleting rules when a device is deleted etc)
2019-04-01 20:48:17 +02:00
Michael Zanetti a6725ec4e9 add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti 16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +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 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 7c4354a6e1 add api to do async action executions 2014-05-03 19:59:24 +02:00
Michael Zanetti d4053297c8 add eventdescriptor and paramdescriptor classes to be used with Rules 2014-04-25 00:46:10 +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 2cdefcb1f2 add some debug helpers 2014-04-17 01:42:54 +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 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
Simon Stürz 95f806ccaf added licence to source code 2014-03-31 21:55:33 +02:00
Simon Stürz be4ee5c14d hive -> guh 2014-03-31 20:33:30 +02:00
Michael Zanetti 05537d7b6a Trigger -> Event 2014-01-26 18:39:09 +01:00