3163 Commits

Author SHA1 Message Date
jenkins
d88e5e1681 Merge PR #621: Update copyright to 2023 2023-02-21 17:43:35 +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
5d3492c788 Merge PR #617: Require min/max values for pressuresensors 2023-02-21 17:43:31 +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
f27299d263 Merge PR #615: Require min/max values for co2sensors 2023-02-21 17:43:29 +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
0477ce4507 Merge PR #612: Enable logging for thermostat states 2023-02-21 17:43:25 +01:00
jenkins
e248bffcf2 Merge PR #611: Add information for initialSetup and reconfigure to ThingSetupInfo 2023-02-21 17:43:23 +01:00
jenkins
27e6df3bab Merge PR #610: Improve debug logging filter arguments 2023-02-21 17:43:22 +01:00
jenkins
0ca34e91c3 Merge PR #594: Bind a client connection to the token given in the hello call. 2023-02-21 17:43:20 +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
jenkins
b409fbe3be Jenkins release build 1.6.3 2023-02-01 12:17:51 +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
Simon Stürz
528d4c9919 Update copyright to 2023 2023-01-24 15:06:02 +01:00
jenkins
5ea0fbe156 Jenkins release build 1.6.2 2023-01-16 14:35:34 +01:00
Michael Zanetti
937b032f3c Use dynamic min/max values for io connections 2023-01-12 22:54:25 +01:00
Michael Zanetti
fea635edcf Require min/max values for pressuresensors 2023-01-12 22:52:39 +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
08c0a09957 Require min/max values for co2sensors 2022-12-31 12:35:41 +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
8e0c8eda41 Enable logging for thermostat states 2022-12-24 21:09:10 +01:00
jenkins
d43b9dc737 Jenkins release build 1.6.1 2022-12-23 11:32:14 +01:00
Michael Zanetti
88aab9e639 Update translations 2022-12-23 10:59:30 +01:00
Michael Zanetti
ebfbb75818 Improve debug logging filter arguments
This disables the info category by default, with the exception of the
Application category. And allows enabling info and debug categories
indidually. Also adds a -q (quiet) flag to silence even warnings.
For convenience, enabling a debug category will implicitly enable
the according info and warning categories.
2022-12-23 10:59:25 +01:00
Michael Zanetti
66ca0afa1f Add information for initialSetup and reconfigure to ThingSetupInfo 2022-12-14 23:39:29 +01:00
jenkins
deef044909 Jenkins release build 1.6.0 2022-12-13 21:05:09 +01:00
jenkins
c6b899ea63 Merge PR #609: Update mac address vendor database 2022-12-13 21:05:08 +01:00
jenkins
1d268e2205 Merge PR #608: Add vibrationsensor interface 2022-12-13 21:05:06 +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
375c513186 Merge PR #601: Allow registering lists of ThingId on json rpc 2022-12-13 21:05:00 +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
jenkins
6cce82c088 Merge PR #591: Allow registering list types without their contained objects on JSONRPC 2022-12-13 21:04:55 +01:00
jenkins
8bd402d808 Merge PR #590: Fix suggestLogging property not working for eventTypes 2022-12-13 21:04:54 +01:00
jenkins
f22d1e55a4 Merge PR #589: Add a childlock interface 2022-12-13 21:04:52 +01:00
jenkins
57f3c83445 Merge PR #585: Update systemd service dependecies to dbus.socket 2022-12-13 21:04:51 +01:00
Simon Stürz
6a08de4763 Ping: Clean up replies properly if they get deleted before finished 2022-12-12 11:12:11 +01:00
Simon Stürz
436fe2c5d7 Update mac address vendor database 2022-12-12 09:47:22 +01:00
Michael Zanetti
bbc8e54ebc Add vibrationsensor interface 2022-12-06 22:56:13 +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