Commit Graph

48 Commits (38afa00b3071b98e30e2aa19e5d488cf9de91fdb)

Author SHA1 Message Date
Simon Stürz 1688a6b24c added database updated notification
fixed notification tests
fixed datetime notification id
bump api version
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 f566867f88 fix rule engine
remove debug from tune
2019-04-01 20:48:17 +02:00
Simon Stürz 01b92e325a add rule active status to rule details
add rule active status changed notification
add RuleDescription (and change API Rules.GetRules method)
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 5d88998fa1 fixed device edit notification 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
Simon Stürz a39a38f993 added rules notifications 2019-04-01 20:48:17 +02:00
Simon Stürz bb03280583 added device added/removed notification 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 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 a7ca7621d4 fixed documentation warinings 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
Michael Zanetti baf0884a59 fix logging of sync action executions 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 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 23a09278a2 changed style color and improved icon
added GuhCore documentation for completeness
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 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 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 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 21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti 70f6f783b9 add a test for triggering events 2014-05-04 14:21:58 +02:00
Michael Zanetti ca8717d2a0 split tests into different files 2014-05-03 23:55: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 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 b85aa3072e fix rules again 2014-04-13 14:07:35 +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 5a6d7bf2ba states implemented 2014-04-04 01:34:13 +02:00
Michael Zanetti 6dd81e641c some more work on states and the rules doc 2014-04-04 00:10:15 +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