814 Commits

Author SHA1 Message Date
jenkins
b17c3fa992 Merge PR #613: Properly clean up the TCP server on shutdown 2023-02-21 17:43:26 +01:00
jenkins
e248bffcf2 Merge PR #611: Add information for initialSetup and reconfigure to ThingSetupInfo 2023-02-21 17:43:23 +01:00
Michael Zanetti
2be6032718 Bind a client connection to the token given in the hello call.
This is a prerequisite for enabling dispatching notifications
based on user permissions.
2023-02-13 14:15:10 +01:00
Michael Zanetti
68163f20de Properly clean up the TCP server on shutdown 2022-12-27 20:05:47 +01:00
Michael Zanetti
66ca0afa1f Add information for initialSetup and reconfigure to ThingSetupInfo 2022-12-14 23:39:29 +01:00
jenkins
15ab9c06d1 Merge PR #606: Drop old nymea:cloud support 2022-12-13 21:05:05 +01:00
jenkins
00db64c9c4 Merge PR #605: NetworkDeviceDiscovery: Skip duplicated discovery if there are multiple network interfaces connected to the same network 2022-12-13 21:05:04 +01:00
jenkins
ff1a841352 Merge PR #603: Fix a crash when the same plugin file is loaded twice 2022-12-13 21:05:02 +01:00
jenkins
66c606aa10 Merge PR #600: NetworkDeviceDiscovery: wait for pending MAC address manufacturer lookups before finishing a discovery 2022-12-13 21:04:59 +01:00
jenkins
d2d61bfe58 Merge PR #599: Make init call for python plugins blocking 2022-12-13 21:04:58 +01:00
jenkins
cff3e1ab08 Merge PR #593: Fix permissions for rules, tags and appdata api 2022-12-13 21:04:56 +01:00
Simon Stürz
285abcdd36 NetworkDeviceDiscovery: Skip duplicated discovery if there are multiple network interfaces connected to the same network 2022-12-05 09:14:05 +01:00
Simon Stürz
da6d7b8efe Speed up ping, inform about unfinished ping replies and abort on timeout 2022-12-05 08:55:48 +01:00
Michael Zanetti
7c4b6494bb Drop old nymea:cloud support 2022-12-01 16:37:51 +01:00
Michael Zanetti
9296c1183c Fix permissions for tags and appdata
This ties those namespaces to the things permissions but won't
allow having different tags/appdata per user, which arguably would
be desirable. However, that's currently not that straight forward
to do, as at the moment there is no way to direct jsonrpc notifications
to a single user.
2022-11-30 15:30:50 +01:00
Michael Zanetti
5f8f8b2e62 Fix a crash when the same plugin file is loaded twice
If the same directory is passed twice QPluginLoader
would return the same object for the instance() call.
Deleting that would lead to deleting the instance for
the originally loaded plugin too.
2022-11-25 11:17:02 +01:00
Simon Stürz
8271e527eb NetworkDeviceDiscovery: wait for pending MAC address manufacturer lookups before finishing a discovery 2022-11-10 00:35:43 +01:00
Michael Zanetti
a7e1ffca1f Make init call for python plugins blocking
We don't want to run setupThing() before init() is completed.
This also matches with how C++ plugins work.

Fixes #598
2022-11-09 15:12:18 +01:00
Michael Zanetti
6171a16157 Fix permissions for rules api 2022-11-07 22:48:12 +01:00
Michael Zanetti
0dee8d44de Allow registering list types without their contained objects on JSONRPC 2022-11-06 01:32:57 +01:00
jenkins
d59a6edd27 Merge PR #584: Allow to override default paths using new env variable 2022-10-25 02:37:15 +02:00
jenkins
1d5144fb66 Merge PR #582: Add API to configure the wired network 2022-10-25 02:37:13 +02:00
jenkins
d0e4811849 Merge PR #581: Improve warning information in thing manager 2022-10-25 02:37:11 +02:00
jenkins
21999ba54b Merge PR #578: Network device discovery: fix potential crash on unregister non existing monitor 2022-10-25 02:37:07 +02:00
jenkins
8be69bdeb0 Merge PR #577: Fix editing user scopes 2022-10-25 02:37:05 +02:00
jenkins
439b320cbe Merge PR #576: Network device discovery: create reply for each discovery request 2022-10-25 02:37:04 +02:00
jenkins
3e5e9ac738 Merge PR #574: Add Thing and Things types to script engine 2022-10-25 02:37:03 +02:00
jenkins
094c32ecf1 Merge PR #572: Add API to interact with ZigBee bindings 2022-10-25 02:37:01 +02:00
jenkins
6d30b69a13 Merge PR #570: Fix PyStdOutHandler class name in python engine 2022-10-25 02:37:00 +02:00
jenkins
68c0fad975 Merge PR #564: Expose Zigbee neighbor tables to jsonrpc 2022-10-25 02:36:57 +02:00
Simon Stürz
52722d6cd9 Network device discovery: fix potential crash on unregister non existing monitor 2022-10-25 01:28:33 +02:00
Simon Stürz
b7f5a260ac Update internal reply clean up order. Fix #588 2022-10-25 01:24:10 +02:00
Michael Zanetti
22e75b08df Add Thing and Things types to script engine 2022-10-13 15:18:06 +02:00
Simon Stürz
6734de4b45 Allow to override default paths using new env variable and rename additional paths to *EXTRA_PATH 2022-10-13 15:16:18 +02:00
Simon Stürz
a3b3eecde8 Update debug prints and improve information given by warnings 2022-10-13 12:07:20 +02:00
Michael Zanetti
b4eca2a94f Add API to interact with ZigBee bindings 2022-10-13 11:05:04 +02:00
Michael Zanetti
1fc4c7f2d7 Expose Zigbee neighbor and routing tables to jsonrpc 2022-10-13 10:59:24 +02:00
Michael Zanetti
baab4ed8c6 Add API to configure the wired network 2022-10-06 13:41:30 +02:00
Simon Stürz
5272ab8b9c Add information instructions to bug report request message. 2022-10-03 11:28:18 +02:00
Simon Stürz
5471a5da34 Network device discovery: create reply for each discovery request 2022-10-03 11:28:18 +02:00
Michael Zanetti
6965c66ef0 Fix editing user scopes 2022-09-29 10:15:17 +02:00
jenkins
373d734809 Merge PR #568: Fix warning messages in debug report page 2022-09-23 16:33:49 +02:00
Michael Zanetti
a28e90ebd4 Fix PyStdOutHandler class name in python engine 2022-09-11 20:38:48 +02:00
Michael Zanetti
be1d60e8a3 Fix warning messages in debug report page 2022-09-09 20:06:09 +02:00
Michael Zanetti
327fba5797 Fix creating rules without giving action params that have a default value 2022-09-07 20:25:33 +02:00
jenkins
e2544bdfda Merge PR #554: Remove displayNameEvent property from stateTypes 2022-08-26 12:58:04 +02:00
jenkins
878a9f9042 Merge PR #553: Fix a python plugin crash when trying to login with empty credentials 2022-08-26 12:58:02 +02:00
jenkins
f3b9441861 Merge PR #549: Add support for Z-Wave 2022-08-26 12:57:56 +02:00
jenkins
942c41bc0b Merge PR #548: Allow apps to cache the GetPlugins call on JsonRpc 2022-08-26 12:57:55 +02:00
jenkins
ed7926f84e Merge PR #545: Add connected property to MqttChannel 2022-08-26 12:57:51 +02:00