Michael Zanetti
414d25c870
fix time events for rules
...
old code would compare QTime == QTime() every second which might not trigger
if e.g. milliseconds don't match. New code checks the interval between the
last check and the current one.
2019-04-02 01:02:45 +02:00
Simon Stürz
9c8097919d
update license header
2019-04-02 01:02:06 +02:00
Simon Stürz
859c5b0df8
add paramTypesId and close #302
2019-04-02 01:01:21 +02:00
Simon Stürz
f5ee163c48
update copy right line
2019-04-01 20:48:17 +02:00
Simon Stürz
5237ba09c1
clean up
2019-04-01 20:48:17 +02:00
Simon Stürz
12a2d8009d
fix unpacking/packing methods
...
add first rest row for calendarItems
2019-04-01 20:48:17 +02:00
Simon Stürz
af500f353c
improoved rule engine and rule verification
2019-04-01 20:48:17 +02:00
Simon Stürz
03381cc25c
add shutdown and SIG quit signal capture
...
update manpage
2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96
update plugins and add state desciptor validation
2019-04-01 20:48:17 +02:00
Simon Stürz
f9c15d689e
add execute rule actions
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
12a93c0898
add forward declarations
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
85ba7af29c
add Rules.EditRule method and Rules.CRuleConfigurationChanged notification
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
f0d7fbd3f5
bump guh version and add a more specific rule error
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
6bd8983ec2
added RuleAction and RuleActionParam to RuleEngine
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
Michael Zanetti
240c5e36d6
implement a logging framework
2019-04-01 20:48:17 +02:00
Michael Zanetti
56ca42e1ca
finish off the stateevaluator handling
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
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
9d21f32366
allow calling AddRule with a single eventDescriptor but also with a list
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
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
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
Michael Zanetti
05537d7b6a
Trigger -> Event
2014-01-26 18:39:09 +01:00
Michael Zanetti
ebbae7f0da
added a first test suite
2014-01-26 17:12:15 +01:00
Michael Zanetti
a7bbba1999
moar docs
2014-01-26 03:54:30 +01:00
Michael Zanetti
52c2b3bfaf
added api to remove rules
2014-01-25 02:52:08 +01:00
Michael Zanetti
c54b14e8ef
make use of states in ruleengine
2014-01-04 04:38:53 +01:00
Michael Zanetti
742499d0fa
added back trigger
2014-01-02 20:42:45 +01:00
Simon Stürz
f4b6a70735
trigger changed id..
2014-01-02 18:06:58 +01:00
Michael Zanetti
373eb6b332
drop triggers too
2014-01-02 16:38:51 +01:00
Michael Zanetti
7a87dc7696
change how actions are stored. they don't belong to a device but into the rules engine
2014-01-02 14:51:31 +01:00
Michael Zanetti
e30a533391
add simple rule engine
2014-01-02 00:54:47 +01:00