125 Commits

Author SHA1 Message Date
Simon Stürz
191936e235 Load debug categories from settings and allow configuration using debug interface 2019-10-08 16:20:20 +02:00
Simon Stürz
b4f32c073a Add dynamic logging filter elements for core and plugins in the livelog view 2019-10-08 16:19:42 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Michael Zanetti
0b8cb56d55 Add PlatformZeroConf to debug categories 2019-05-27 20:11:57 +02:00
Michael Zanetti
afa1126e6e More work on the system management api 2019-05-18 00:51:51 +02:00
Michael Zanetti
3944e94699 Initial work on an integrated system update mechanism 2019-05-02 12:14:16 +02:00
Michael Zanetti
9e2d495f9a Fix JsonRpc server breaking transports upon guard timer timeouts 2019-04-16 19:48:56 +02:00
Jenkins
0434ad22d2 Merge PR #150: Workaround zeroconf breaking because of broken multicast hardware 2019-04-12 13:42:30 +02:00
Jenkins
6ac1d43739 Merge PR #138: Rework translation mechanism 2019-04-12 13:42:30 +02:00
Michael Zanetti
b23d7c820e Clean up avahi debug messages 2019-04-12 11:59:28 +02:00
Michael Zanetti
50aa691087 Add test, fix some issues with loading internal and built-in plugin translations 2019-04-08 16:49:31 +02:00
Michael Zanetti
8ebd1ddc4e Rework translation mechanism
This branch moves the translation logic out of the DevicePlugin
into the JsonRpc layers (JsonRpcHandlers and Rest handlers) and
deprecates the Configuration.SetLanguage method call. Instead
it adds a "locale" property in the JSONRPC.Hello message. This
will allow multiple clients to connect to a single core using
different languages.
2019-04-08 16:49:24 +02:00
Simon Stürz
b5b613df00 Change copyright year to 2019 2019-04-08 16:38:47 +02:00
Michael Zanetti
948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Michael Zanetti
c6d9bdd75c Make loading and tearing down of the core more predictable 2019-04-08 13:55:15 +02:00
Simon Stürz
e51508ee33 Update webserver debug output, add WebServerTraffic category and fix favicons for debugserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
8d05f984c0 mqtt broker now working 2019-04-08 13:55:15 +02:00
Michael Zanetti
371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00
Simon Stürz
a0c2143c4b Add status report generator and finish debug interface improvements 2019-04-08 13:55:15 +02:00
Michael Zanetti
4d704a3f5c second take on using Qt logging filters 2019-04-08 13:55:15 +02:00
Michael Zanetti
83168772f3 fix issues from code review 2019-04-08 13:55:15 +02:00
Simon Stürz
ff66e366b4 Add bluetooth server debug categories and improve bluetooth server behaviour 2019-04-08 13:55:15 +02:00
Simon Stürz
711d667661 Update main translation context 2019-04-08 13:55:15 +02:00
Simon Stürz
ef2643b600 Update translations context 2019-04-08 13:55:15 +02:00
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
eb316a7a0c libguh -> libnymea 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
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
daf8f4533f make the devicemanager save all the states (unless opted out in plugin.json) 2019-04-02 01:02:45 +02:00
Michael Zanetti
08727a07ba Added API authentication 2019-04-02 01:02:45 +02:00
Michael Zanetti
98748e800d make logging optional 2019-04-02 01:02:45 +02:00
Simon Stürz
2e4b02099b update license headers 2019-04-02 01:02:21 +02:00