Simon Stürz
7650b3ec23
Update MAC address database
2023-02-21 12:37:37 +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
Simon Stürz
bba746c83c
Fix method to convert phases from string
2023-02-10 22:15:30 +01:00
Michael Zanetti
51d08f94cf
Stabilize logging tests
2023-02-08 19:45:14 +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
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
Michael Zanetti
289362fefc
Allow registering lists of ThingId on json rpc
2022-11-12 23:59:25 +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