214 Commits

Author SHA1 Message Date
Michael Zanetti
44dd07950b added ability to configure each server interface individually 2019-04-02 01:02:45 +02:00
Michael Zanetti
63ffc163ba make auth config work 2019-04-02 01:02:45 +02:00
Michael Zanetti
a4658332ff configs can now hold multiple settings per transport type 2019-04-02 01:02:45 +02:00
Michael Zanetti
53cca56fd3 add methods to revoke existing tokens again 2019-04-02 01:02:45 +02:00
Michael Zanetti
08727a07ba Added API authentication 2019-04-02 01:02:45 +02:00
Michael Zanetti
6a4a481f88 remove old cloud handler, cleanup more jsonrpc stuff from TransportInterface 2019-04-02 01:02:45 +02:00
Michael Zanetti
f75a0e7a31 move jsonrpc logic out of transport interface into where it belongs, jsonrpcserver 2019-04-02 01:02:45 +02:00
Michael Zanetti
fcc6ee45fe make it build with -Werror=implicit-fallthrough 2019-04-02 01:02:45 +02:00
Michael Zanetti
45caf66851 initial work on interfaces
have some interfaces defined and in use by DeviceManager and the API.
this can be used to build first prototypes in apps using the interfaces
stuff. Currently the lights interfaces are mostly defined and fully
implemented by the Hue plugin.

TODO: more interfaces to be defined, make more plugins follow
interfaces.
TODO: tests for the interface code
TODO: docs for the interface code
2019-04-02 01:02:45 +02:00
Michael Zanetti
ce123f9352 emit a notification when a plugin config is changed
fixes #418
2019-04-02 01:02:45 +02:00
Michael Zanetti
3577f37e1e fix some docs typos 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
7cfd7bf293 fixed issue #410
fixed issue #405
2019-04-02 01:01:32 +02:00
Simon Stürz
e189f69df2 continue with documentation update and increase json timeout to 15 s 2019-04-02 01:01:32 +02:00
Simon Stürz
28f6263ec0 fix types and network device notifications 2019-04-02 01:01:32 +02:00
Simon Stürz
41adc0d887 continue and improve networkmanager api and functionality 2019-04-02 01:01:32 +02:00
Simon Stürz
d23e2dade2 improve networkmanager api and bump version 2019-04-02 01:01:32 +02:00
Simon Stürz
a3352f4787 improve network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz
27dcedba70 improve and add api for networkmanager 2019-04-02 01:01:32 +02:00
Simon Stürz
00121d66c3 wifi connection working 2019-04-02 01:01:32 +02:00
Simon Stürz
22d5dc1bf6 add network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz
0877e61c2e add language notification
add configuration tests
2019-04-02 01:01:32 +02:00
Simon Stürz
859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz
a5fbc70fc2 fix all params in all plugins 2019-04-02 01:01:19 +02:00
Simon Stürz
3db2fe81d6 begin with translation process 2019-04-02 01:00:52 +02:00
Simon Stürz
25223de636 finalized bluetooth server 2019-04-02 01:00:52 +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
e5f1bce097 add avahi service txt entries
fixed include file
add missing configuration notifications
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
c2399af840 add graphRelevant flag 2019-04-01 20:48:17 +02:00
Simon Stürz
a05b9ad1cb add ruleRelevant flag for statetypes and eventtypes 2019-04-01 20:48:17 +02:00
Simon Stürz
c160e5ba7d bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
a23b3ed46d add index, criticalStateTypeId, primary Action/StateType 2019-04-01 20:48:17 +02:00
Simon Stürz
9076f0ae72 close #325 2019-04-01 20:48:17 +02:00
Simon Stürz
fac55da898 close issue #341 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
9d2ab92d42 add remove policy tests 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
e5d9823c2b add missing docs
first working calendarItem
2019-04-01 20:48:17 +02:00
Simon Stürz
050162c1d4 add timeevent adding tests and validation 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
d1244a9abc add more documentation 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
affcb1ddf6 add basic construction of time management 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
92a5060de6 complete source code documentation 2019-04-01 20:48:17 +02:00
Simon Stürz
4a8db83c8b add DevicePairingInfo
remove name param from devices
close #310
2019-04-01 20:48:17 +02:00