1255 Commits

Author SHA1 Message Date
Michael Zanetti
66870dccfe add support for auto generated self-signed certificates for SSL encryption 2019-04-02 01:02:45 +02:00
Michael Zanetti
2b4972de52 move also transports into servermanager so we can share ssl config etc
This makes WebSocketServer pick up the global SSL configuration from
ServerManager.
2019-04-02 01:02:45 +02:00
Michael Zanetti
39e1807f94 add methods to revoke existing tokens 2019-04-02 01:02:45 +02:00
Michael Zanetti
3ce92d6bc9 use TimeManager instead of plain QDateTime 2019-04-02 01:02:45 +02:00
Michael Zanetti
a9ec17220a fix issues from review 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
1b08bfb1d7 bump json api version 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
4768644c4e fix suddenly failing tests 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
452f7fb209 fix the rule evaluation the first time it is called after a startup.
cought by more restrictive compiler warning settings
2019-04-02 01:02:45 +02:00
Michael Zanetti
6c2aabb457 add in source build artifacts to .gitignore
this makes it easier to use when building debian packages,
for instance when using crossbuilder a lot
2019-04-02 01:02:45 +02:00
Michael Zanetti
301cf7501b drop arch specification from rsync again 2019-04-02 01:02:45 +02:00
Michael Zanetti
46553c8922 try :any again 2019-04-02 01:02:45 +02:00
Michael Zanetti
7965df7d95 no native here 2019-04-02 01:02:45 +02:00
Michael Zanetti
c680f0ae18 use package format 3.0 (native) so we can depend on rsync:native 2019-04-02 01:02:45 +02:00
Michael Zanetti
6f9c4a1a87 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti
7bfc594f96 use native rsync 2019-04-02 01:02:45 +02:00
Michael Zanetti
6814bea8cd fix python dependency for crossbuilding 2019-04-02 01:02:45 +02:00
Simon Stürz
ef4311df02 fix copyright 2019-04-02 01:02:45 +02:00
Michael Zanetti
8b8acec3b7 remove genericelements plugin from tests package 2019-04-02 01:02:45 +02:00
Michael Zanetti
2677ad0afd fix some more paths 2019-04-02 01:02:45 +02:00
Michael Zanetti
4e47a28267 fix tests lib dir 2019-04-02 01:02:45 +02:00
Michael Zanetti
6122bbc706 fix linker path 2019-04-02 01:02:45 +02:00
Michael Zanetti
a4d69c0389 removed plugins from dpkg too 2019-04-02 01:02:45 +02:00
Michael Zanetti
195fb2ba63 removed all plugins, except the mock one which is required for testing 2019-04-02 01:02:45 +02:00
Michael Zanetti
1c35e6be59 drop todo which is actually done now 2019-04-02 01:02:45 +02:00
Michael Zanetti
89d8d371f6 update plugins to use the interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti
c0cb9ac2e7 bump json version 2019-04-02 01:02:45 +02:00
Michael Zanetti
f223da3467 reenable all the device plugins 2019-04-02 01:02:45 +02:00
Michael Zanetti
4fc0ef01fa add a test 2019-04-02 01:02:45 +02:00
Michael Zanetti
f48a1d185b add docs for interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti
37f2e47ca5 make this static, not needed for every plugin 2019-04-02 01:02:45 +02:00
Michael Zanetti
ce3a21bd4e revert unneeded change 2019-04-02 01:02:45 +02:00
Michael Zanetti
85c96f6b4f revert change in devicemanager 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
e9818e9caf blabla 2019-04-02 01:02:45 +02:00
Michael Zanetti
067948ff02 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti
27ea8ae13f bla 2019-04-02 01:02:45 +02:00
Michael Zanetti
445bdae46e don't build guh-doc package in nodoc 2019-04-02 01:02:45 +02:00
Michael Zanetti
62f09bfbbb bump 2019-04-02 01:02:45 +02:00
Michael Zanetti
f09c712420 bump changelog 2019-04-02 01:02:45 +02:00
Michael Zanetti
25980d3df9 dev-tools need to be native 2019-04-02 01:02:45 +02:00
Michael Zanetti
5453f45f96 nodoc, not nodocs 2019-04-02 01:02:45 +02:00
Michael Zanetti
5ce47a4fb1 this should do now 2019-04-02 01:02:45 +02:00
Michael Zanetti
b457bbaa02 print build options 2019-04-02 01:02:45 +02:00
Michael Zanetti
e21740a852 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti
f6bb4c9209 fix typo 2019-04-02 01:02:45 +02:00