1269 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
807c2bc385 move certificategerneator to a separate file 2019-04-02 01:02:45 +02:00
Michael Zanetti
e4cb51bf8e drop debug print 2019-04-02 01:02:45 +02:00
Michael Zanetti
232193cbfc enable ssl on plain TCP socket too 2019-04-02 01:02:45 +02:00
Michael Zanetti
fdaff9d202 fix websocket tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
5c89a04b74 update all rest tests to use SSL 2019-04-02 01:02:45 +02:00
Michael Zanetti
8ec89ad939 update testwebserver to use SSL encryption 2019-04-02 01:02:45 +02:00
Michael Zanetti
82c0e0bca6 randomize certificate serial number 2019-04-02 01:02:45 +02:00
Michael Zanetti
cd22106cdc tweak certificate generation so tha Chomium can deal with it too 2019-04-02 01:02:45 +02:00
Michael Zanetti
101ddc2331 read proper settings in upnpdiscovery 2019-04-02 01:02:45 +02:00
Michael Zanetti
424150dc8a hook up global ssl config with webserver 2019-04-02 01:02:45 +02:00
Michael Zanetti
d478f98990 update build-depends 2019-04-02 01:02:45 +02:00
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