65 Commits

Author SHA1 Message Date
Michael Zanetti
9b07216768 Add system api to configure the system time
This gets rid of the locally kept time zone which caused issues
in plugins and the ScriptEngine.
2019-12-15 12:44:14 +01:00
Michael Zanetti
ec15e664e1 cleanup warnings and allow setting "unknown" debug categories 2019-11-06 13:38:22 +01:00
Michael Zanetti
3cbd01c1d2 drop all pack/unpack methds 2019-11-03 21:24:16 +01:00
Michael Zanetti
baaa719b6a Restructuring json done 2019-11-01 20:55:45 +01:00
Michael Zanetti
5e3bc2acbd Drop JsonTypes class by distributing logic to json handlers
This is required in order to be able to be more flexible in registering
new types/methods.
2019-11-01 20:46:55 +01:00
Michael Zanetti
0d00342b3a fix tests 2019-10-30 17:35:43 +01:00
Michael Zanetti
9b1b6d86e6 Allow more granular notification subscriptions in API 2019-10-19 14:13:48 +02:00
Michael Zanetti
7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00
Michael Zanetti
51f5538772 Improve the PIC to detect duplicate UUIDs, give metter messages. Clean up mock plugin. 2019-07-15 22:55:11 +02:00
Michael Zanetti
06763e6d2b Improve logging in testtimemanager and add some more explicit tests for calendar items crossing midnight 2019-04-08 13:55:15 +02:00
Michael Zanetti
371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00
Michael Zanetti
681b306b1b fix rules with time descriptors to follow the same logic 2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f fix typos as reported by Krazy2 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
34d68ab38a guhtestbase -> nymeatestbase 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Simon Stürz
2d7070417f enable maxwarnings again 2019-04-02 01:02:45 +02:00
Simon Stürz
3e3bf83422 add timeevent tests for state based rules 2019-04-02 01:02:45 +02:00
Simon Stürz
74397da6c1 add state/calendarItem/event tests 2019-04-02 01:02:45 +02:00
Simon Stürz
bf2c94469e remove maximum of warnings 2019-04-02 01:02:45 +02:00
Simon Stürz
b1196c2ae3 state and calendaritem tests 2019-04-02 01:02:45 +02:00
Simon Stürz
497c710ae1 add tests for time and state based rules 2019-04-02 01:02:45 +02:00
Simon Stürz
78f17180a5 fix daily calendaritem evaluation 2019-04-02 01:02:45 +02:00
Simon Stürz
625109f550 Fix loadSaveTimeDescriptor test and improve debug output of rule engine 2019-04-02 01:02:45 +02:00
Michael Zanetti
e3fb32f0c4 remove debug print 2019-04-02 01:02:45 +02:00
Michael Zanetti
e3c57c226b fix tests 2019-04-02 01:02:45 +02:00
Simon Stürz
2e4b02099b update license headers 2019-04-02 01:02:21 +02:00
Simon Stürz
89c766e782 remove invalid test 2019-04-02 01:01:21 +02:00
Simon Stürz
eb692c986e fix documentations and time tests 2019-04-02 01:01:21 +02:00
Simon Stürz
1e15e37f4a fix invalid test and add sqlite driver build dependency 2019-04-02 01:00:41 +02:00
Simon Stürz
174a83cd0b remove invalid test 2019-04-02 01:00:41 +02:00
Simon Stürz
427d37bdbe remove always test for timemanager (still some problems there) 2019-04-01 20:48:17 +02:00
Simon Stürz
27f24aeecd fix daily calendaritem 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
d885403eac update ws2812
fix time tests
2019-04-01 20:48:17 +02:00
Simon Stürz
188fdb7cee fix calendar imten hourly 60 min 2019-04-01 20:48:17 +02:00
Simon Stürz
9283edb357 fix missing remove rule 2019-04-01 20:48:17 +02:00
Simon Stürz
d4f2d9fc8e fix time tests 2019-04-01 20:48:17 +02:00
Simon Stürz
bc611ca8aa add clear action history 2019-04-01 20:48:17 +02:00
Simon Stürz
fd753eb08d fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
f3848c5daa clean up code and debug outputs 2019-04-01 20:48:17 +02:00
Simon Stürz
5b6554352e update rule consistency 2019-04-01 20:48:17 +02:00
Simon Stürz
e7ee05f017 add load / save timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz
d713e3ba29 add store load timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz
83ef72e254 fix yearly repeating option for time event item 2019-04-01 20:48:17 +02:00
Simon Stürz
8bb991897b add time event tests for monthly and yearly 2019-04-01 20:48:17 +02:00
Simon Stürz
05a7aae467 add weekly tests 2019-04-01 20:48:17 +02:00
Simon Stürz
23de273b0e first timeEvent tests 2019-04-01 20:48:17 +02:00
Simon Stürz
ae51660e79 add yearly tests 2019-04-01 20:48:17 +02:00