849 Commits

Author SHA1 Message Date
jenkins
7e4afba769 Merge PR #655: NetworkDeviceDiscovery: Update warning regarding multiple IPs for one MAC address. 2023-11-29 14:13:36 +01:00
jenkins
7ca78aff08 Merge PR #654: Make script runtime errors appear in the script console 2023-11-29 14:13:35 +01:00
jenkins
856c3503ee Merge PR #653: LogEngine: provide possibility to disable the log engine 2023-11-29 14:13:34 +01:00
jenkins
4765e1174f Merge PR #651: Make possibleValues for states dynamic and translatable 2023-11-29 14:13:32 +01:00
Simon Stürz
abc4c128b1 NetworkDeviceDiscovery: Update warning regarding multiple IPs for one MAC address. 2023-10-17 10:19:34 +02:00
Michael Zanetti
748e599537 Make script runtime errors appear in the script console 2023-09-12 13:39:07 +02:00
Simon Stürz
84dca158b3 LogEngine: provide possibility to disable the log engine 2023-08-22 09:21:03 +02:00
Michael Zanetti
0c09e07112 Add support for connection to actionExecuted in scripts 2023-08-01 10:53:14 +02:00
Michael Zanetti
4b3ec64e58 Make possibleValues for states dynamic and translatable 2023-08-01 10:45:41 +02:00
jenkins
cdc93ebf05 Merge PR #639: NetworkDeviceDiscovery: perform reachability verification ping 2023-05-23 11:49:13 +02:00
jenkins
21061e91a0 Merge PR #637: Rework the log engine to use influxdb instead of sql 2023-05-23 11:49:12 +02:00
jenkins
8a2d736840 Merge PR #635: Fix multiple ragisterTransport calls on reconfiguring interfaces 2023-05-23 11:49:09 +02:00
jenkins
2cd6db2b8f Merge PR #630: Add location setting 2023-05-23 11:49:05 +02:00
Michael Zanetti
4e509841b0 Rework the log engine to use influxdb instead of sql 2023-05-08 23:38:34 +02:00
Simon Stürz
c161e4df09 NetworkDeviceDiscovery: perform reachability verification ping 2023-05-05 11:04:32 +02:00
Michael Zanetti
2385ea33a0 Fix multiple ragisterTransport calls on reconfiguring interfaces 2023-03-18 01:02:27 +01:00
jenkins
4c29386bbd Merge PR #629: Drop cloud settings which aren't used any more 2023-02-21 17:43:45 +01:00
jenkins
9f4c3bc27a Merge PR #628: Allow users with ControlThings permission to read things logs 2023-02-21 17:43:44 +01:00
jenkins
b0b1ff6b58 Merge PR #624: Create indices on entries table of log db 2023-02-21 17:43:40 +01:00
jenkins
44209a24c1 Merge PR #623: NetworkDeviceMonitor: Fix initial reachable state using internal caches 2023-02-21 17:43:38 +01:00
jenkins
6dcdc89c90 Merge PR #622: Manually check for Bluetooth before instantiating QtBluetooth 2023-02-21 17:43:37 +01:00
jenkins
9355694c24 Merge PR #620: Refactor NymeaCore class 2023-02-21 17:43:34 +01:00
jenkins
8cb4a264e9 Merge PR #618: Use dynamic min/max values for io connections 2023-02-21 17:43:33 +01:00
jenkins
13a5519a94 Merge PR #616: network device monitor: Clean up pending ping replies properly 2023-02-21 17:43:30 +01:00
jenkins
74c8c53b7c Merge PR #614: Enqueue priority jobs instead of prepending 2023-02-21 17:43:27 +01:00
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
3a8fa74fcf Add location information to NymeaConfiguration 2023-02-18 22:35:02 +01:00
Michael Zanetti
15bcff1e6f Drop cloud settings which aren't used any more
Actually not bumping the jsonrpc version which in theory is a violation,
however, the largest part of this has been gone already with the bump to
7.0 and no known client applications are using this anways any more.
2023-02-16 14:07:35 +01:00
Michael Zanetti
5ea014a507 Allow users with ControlThings permission to read things logs 2023-02-13 14:29:03 +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
fe128723ae Create indices on entries table of log db
This greatly improves performance when querying logs for
a single thing or a single state/event/action.
2023-02-07 12:12:57 +01:00
Michael Zanetti
25e3975618 Manually check for Bluetooth before instantiating QtBluetooth 2023-02-02 11:37:22 +01:00
Simon Stürz
1ac8802035 NetworkDeviceMonitor: Fix initial reachable state using internal caches 2023-02-01 23:47:32 +01:00
Michael Zanetti
92197cb97c Refactor NymeaCore class
This moves all the things and rules logic away from NymeaCore
into their respective modules where it belongs.

One major change is the removal of the removePolicy functionality.
This was somewhat broken as it was only working for rules but not
for all the other modules like scripts, experiences etc. After
an attempt to create something that works with all modules it
really seemed that this does not make a lot of sence after all,
given that updating rules would in most cases leave something
very broken behind and removing them was the only sane thing to do.

On the other hand, experience plugins may not work well with such
a policy eithre as they may require to do their own special thing.

So in the end the removePolicy was dropped altogether. Apps should
instead figure out themselves what removal of a thing may imply and
inform the user about that beforehand.
2023-01-24 17:56:04 +01:00
Michael Zanetti
937b032f3c Use dynamic min/max values for io connections 2023-01-12 22:54:25 +01:00
Simon Stürz
adf85cc15c network device monitor: clean up pending ping replies properly during shutdown 2023-01-12 15:56:03 +01:00
Michael Zanetti
800d876655 Enqueue priority jobs instead of prepending
Keeping a second queue for priority jobs instead of just
prepending them to keep them properly sorted if multiple
priority jobs are coming in.
2022-12-27 23:53:27 +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