Commit Graph

516 Commits (0ba6db296b3ebd25d5f306961c4e61ebde34893c)

Author SHA1 Message Date
Michael Zanetti 79cc563eb0 docs guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti 36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti 1442691029 guhapplication -> nymeaapplication 2019-04-08 13:55:15 +02:00
Michael Zanetti ba3e527a05 guhservice -> nymeaservice 2019-04-08 13:55:15 +02:00
Michael Zanetti f50770f36f guhdbusservice -> nymeadbusservice 2019-04-08 13:55:15 +02:00
Michael Zanetti da9fe61044 guhconfiguration -> nymeaconfiguration 2019-04-08 13:55:15 +02:00
Michael Zanetti 559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti 39fc071ed6 defines GUH_* -> NYMEA_* 2019-04-08 13:55:15 +02:00
Michael Zanetti 22533fb23c guhd -> nymead 2019-04-08 13:55:15 +02:00
Michael Zanetti 4be14f1904 libguh-core -> libnymea-core 2019-04-08 13:55:15 +02:00
Michael Zanetti eb316a7a0c libguh -> libnymea 2019-04-08 13:55:15 +02:00
Michael Zanetti 167ac6f3c3 AWS: move from MbedTLS to OpenSSL for the connection
There seems to be a crash in Amazon's MbedTLS code, let's see
if openssl behaves better
2019-04-08 13:55:15 +02:00
Simon Stürz 568cb749b1 Add debug interface resources and styles.css file 2019-04-08 13:55:15 +02:00
Simon Stürz ecb0052123 Update help messages 2019-04-08 13:55:15 +02:00
Michael Zanetti 562e7aa89d update how id names are generated
include the deviceClass/plugin name in all defines to avoid collisions
between deviceClasses within the same file. So far this hasn't
really been an issue because using idName we could set random ids.

Now interfaces dictate the names, so having multiple deviceClasses
in one file and both implementing the same interface would clash.

This also should improve readability in the plugins code as we won't
have ids like: "bridgeConnected" and "connected" available which
easily causes the developer to accidentally use "connected" where
instead "bridgeConnected" should be used (I actually found some
bugs like this while updating plugins for this). The new style
would force those states to be named like e.g. "bridgeConnected"
and "lightConnected" which are not as easy to mix up.
2019-04-08 13:55:15 +02:00
Michael Zanetti a75c8a4b33 update how debug categories are read in plugins 2019-04-08 13:55:15 +02:00
Michael Zanetti 1167001b0b don't autmatically run translations compiler
instead add a manual "translations" target
2019-04-08 13:55:15 +02:00
Simon Stürz 8f6154903b Change something in the server for triggering doc build in this branch 2019-04-08 13:55:15 +02:00
Simon Stürz 183e164ed3 Apply review comments and fix upnp 2019-04-08 13:55:15 +02:00
Simon Stürz 691473bcb1 Add bluetooth debug chategory and continue work on bluetooth le manager 2019-04-02 01:02:45 +02:00
Michael Zanetti 99aa833ce8 add pushbutton auth 2019-04-02 01:02:45 +02:00
Michael Zanetti 5337f225eb add keepalive api 2019-04-02 01:02:45 +02:00
Michael Zanetti 949583ed93 introduce "Traffic" and "Debug" categories and change command line parsing to allow override -p 2019-04-02 01:02:45 +02:00
Michael Zanetti 0f262116b6 implement node js bridge, mostly working, some issues still 2019-04-02 01:02:45 +02:00
Michael Zanetti 275e3b3921 added cloud connection 2019-04-02 01:02:45 +02:00
Michael Zanetti daf8f4533f make the devicemanager save all the states (unless opted out in plugin.json) 2019-04-02 01:02:45 +02:00
Simon Stürz 6a9759eb62 egg mod 2019-04-02 01:02:45 +02:00
Simon Stürz 8fbaded63a prevent remaining in shutdown loop 2019-04-02 01:02:45 +02:00
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
Simon Stürz 07e2b87665 prevent double shotdown 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 69bf56af09 fix packet fragmentation on TCP layer 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
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 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