1303 Commits

Author SHA1 Message Date
Simon Stürz
436ccaa2f5 Place easteregg 2019-04-02 01:02:45 +02:00
Simon Stürz
e4fa93b679 Prevent guh from shutdown twice 2019-04-02 01:02:45 +02:00
Michael Zanetti
921c13c656 add sslEnabled flags to avahi txt record, fix something in avahi :D 2019-04-02 01:02:45 +02:00
Simon Stürz
07e2b87665 prevent double shotdown 2019-04-02 01:02:45 +02:00
Michael Zanetti
40c87c00a6 move libguh-core over to guhd 2019-04-02 01:02:45 +02:00
Michael Zanetti
2d33034a12 fix websocket server tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
b0098701d4 fix rest tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
daea0fa44b add libguh as dependency to libguh-core 2019-04-02 01:02:45 +02:00
Michael Zanetti
57ba2b25c2 make tests work again 2019-04-02 01:02:45 +02:00
Michael Zanetti
4b3518661f make libguh-core a proper lib 2019-04-02 01:02:45 +02:00
Michael Zanetti
4beb296439 autogenerate the "index" property to not bother the plugin developer with it 2019-04-02 01:02:45 +02:00
Michael Zanetti
69bf56af09 fix packet fragmentation on TCP layer 2019-04-02 01:02:45 +02:00
Bernhard Trinnes
6c28e51c1e Create CODE_OF_CONDUCT.md 2019-04-02 01:02:45 +02:00
Michael Zanetti
cb4908dc92 prefer ssl connections rather than plaintext ones in upnp discovery response 2019-04-02 01:02:45 +02:00
Michael Zanetti
651e0bd3d8 fix mixup in upnp discovery response 2019-04-02 01:02:45 +02:00
Michael Zanetti
314129a76f add a test to benchmark database performance 2019-04-02 01:02:45 +02:00
Michael Zanetti
d800f6cf4f try to fix broken databases (by rotating the old file and starting a new one) 2019-04-02 01:02:45 +02:00
Michael Zanetti
c40a9eaa45 don't cache settings... use the settings file directly 2019-04-02 01:02:45 +02:00
Michael Zanetti
b3ea0d1a1b add debug print 2019-04-02 01:02:45 +02:00
Michael Zanetti
1451ba9a46 fix crash if a JsonReply times out but we still get a result afterwards 2019-04-02 01:02:45 +02:00
Simon Stürz
028b21fcb8 fixing translation path for snap packages 2019-04-02 01:02:45 +02:00
Michael Zanetti
d74f208a30 fix broadcast of UPnP information
also fixes a Unexpected null receiver warning which might happen now
because of the timing of various deleteLater() calls on disconnect
2019-04-02 01:02:45 +02:00
Michael Zanetti
c605bf15fe fix compilation with Qt <= 5.4 (Debian jessie still has that) 2019-04-02 01:02:45 +02:00
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
f43afd7692 bump guh version 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
1e15095b08 fix tests 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
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