Michael Zanetti
ec5da8db07
Enable notifications by default if an interface doesn't require authentication
2019-04-02 01:02:45 +02:00
Michael Zanetti
f68d47c5a8
fix typo
2019-04-02 01:02:45 +02:00
Michael Zanetti
759942b037
fix config initialisation when there's an old config around
2019-04-02 01:02:45 +02:00
Michael Zanetti
b1136ba2a4
fix upnp discovery request
2019-04-02 01:02:45 +02:00
Michael Zanetti
25c50d4c8a
print canonical path instead of plain one
2019-04-02 01:02:45 +02:00
Michael Zanetti
6a34ad46c8
fix file path verification in webserver
2019-04-02 01:02:45 +02:00
Michael Zanetti
a8b3cc30ca
drop #ifdef SNAPPY from guhconfig... we'll prepare configs in the packaging step now
2019-04-02 01:02:45 +02:00
Michael Zanetti
7977144b64
fix missing entry in introspect
2019-04-02 01:02:45 +02:00
Michael Zanetti
ec7c515745
drop some debug prints
2019-04-02 01:02:45 +02:00
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
232193cbfc
enable ssl on plain TCP socket too
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
424150dc8a
hook up global ssl config with webserver
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
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
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
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
e3c57c226b
fix tests
2019-04-02 01:02:45 +02:00
Michael Zanetti
f45e093cf1
don't access TimeManager at this point...
...
besides, we want the given timestamp anyways
2019-04-02 01:02:45 +02:00
Michael Zanetti
414d25c870
fix time events for rules
...
old code would compare QTime == QTime() every second which might not trigger
if e.g. milliseconds don't match. New code checks the interval between the
last check and the current one.
2019-04-02 01:02:45 +02:00
Michael Zanetti
98748e800d
make logging optional
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
2e4b02099b
update license headers
2019-04-02 01:02:21 +02:00
Simon Stürz
9c8097919d
update license header
2019-04-02 01:02:06 +02:00
Simon Stürz
2d7b59f713
fix test method for setting the time
2019-04-02 01:01:32 +02:00
Simon Stürz
7cfd7bf293
fixed issue #410
...
fixed issue #405
2019-04-02 01:01:32 +02:00
Simon Stürz
a64441bdf5
fix plugin path for snap
2019-04-02 01:01:32 +02:00
Simon Stürz
51a4dda185
translations installation path
2019-04-02 01:01:32 +02:00
Simon Stürz
1f47d00c22
continue snappy packaging
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
68d0ed1b34
update source documentation
2019-04-02 01:01:32 +02:00
Simon Stürz
655d79d8e6
fix reconnection
2019-04-02 01:01:32 +02:00
Simon Stürz
feed7ac396
fix networkmanager device type
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
8045b5a0e7
fix reconnection
2019-04-02 01:01:32 +02:00
Simon Stürz
62948a8229
add keep alive controll
2019-04-02 01:01:32 +02:00