58 Commits

Author SHA1 Message Date
Michael Zanetti
ce123f9352 emit a notification when a plugin config is changed
fixes #418
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
22d5dc1bf6 add network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz
642b5c8331 basic networkmanager functionality 2019-04-02 01:01:32 +02:00
Simon Stürz
503939b559 update plugininfo compiler 2019-04-02 01:00:52 +02:00
Simon Stürz
3db2fe81d6 begin with translation process 2019-04-02 01:00:52 +02:00
Simon Stürz
ec0a9a5c9d basic bluetooth server infrastructure 2019-04-02 01:00:41 +02:00
Simon Stürz
62eafb58ee fix #283
fix #303

small bug fixes and add logging for rule enable/disable and rule action execution
2019-04-01 20:48:17 +02:00
Simon Stürz
aeef3717fe finish basic settings 2019-04-01 20:48:17 +02:00
Simon Stürz
69a8d881d2 add cloud JSON RPC
basic functionality working
2019-04-01 20:48:17 +02:00
Simon Stürz
9edc4395d6 remove websocket compiler flag
add cloud connection basic structure
2019-04-01 20:48:17 +02:00
Simon Stürz
f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz
e5d9823c2b add missing docs
first working calendarItem
2019-04-01 20:48:17 +02:00
Simon Stürz
5f32c11810 add timemanager
add evaluation of calendaritem
add pack/unpack methods
2019-04-01 20:48:17 +02:00
Simon Stürz
80e7d289f7 adding basic structure of time management to the api 2019-04-01 20:48:17 +02:00
Simon Stürz
1ef6c80e79 add editDevice method 2019-04-01 20:48:17 +02:00
Simon Stürz
449c224da0 fix tests and remove mockdevices name param 2019-04-01 20:48:17 +02:00
Simon Stürz
b2763cafd0 add device name
clean up guhCore
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
fc9b6f1887 add device parent child relation
add remove policy to REST
expand remove policy
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
b35f5f69bf fixed namespace and added documentation for servers 2019-04-01 20:48:17 +02:00
Simon Stürz
5a3c7a6cfb first working REST call
add httpreply and httprequest to lib
2019-04-01 20:48:17 +02:00
Simon Stürz
27a8db73d8 added tests
added httpreply
first working version of webserver
2019-04-01 20:48:17 +02:00
Simon Stürz
f1dd14527e prepared tcp server and mock server for webserver
add TransportInterface
add basic structure of webserver
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
a8727407eb added logging category to core and lib 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
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
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
Simon Stürz
8eaa447cb1 fixed main and added RunningMode 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
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
ca8717d2a0 split tests into different files 2014-05-03 23:55:08 +02:00