868 Commits

Author SHA1 Message Date
Simon Stürz
360e287619 Add thing added and removed logic depending on users thing permission 2025-11-19 09:47:00 +01:00
Simon Stürz
82fe7c7ae3 Bump JSON RPC Api to 8.4 2025-11-19 09:46:17 +01:00
Simon Stürz
f77d94ef7b Add initial test for thing based authentication 2025-11-19 09:46:15 +01:00
Simon Stürz
e638c8cab2 Add scope verification and tests 2025-11-19 09:45:54 +01:00
Simon Stürz
cdabfb54a5 Update all guh references to nymea 2025-11-17 16:42:46 +01:00
Simon Stürz
7527fd7495 Add io.nymea DBus interface 2025-11-17 16:42:46 +01:00
Simon Stürz
4d170061fd Update license text and add SPDX identifier 2025-11-17 16:42:41 +01:00
jenkins
cc164e50f7 Merge PR #707: Disable insecure interfaces if configured using env 2025-10-20 13:40:24 +02:00
Simon Stürz
cf681c15c6 Bump API version to 8.3 2025-10-13 16:31:45 +02:00
Simon Stürz
74ae874ae9 Add tests for NYMEA_INSECURE_INTERFACES_DISABLED env 2025-10-13 16:31:45 +02:00
Simon Stürz
a74f747df8 Update JsonRpc debug categories and fix some inlcudes 2025-10-13 16:31:45 +02:00
Simon Stürz
400fff6785 Rename testlib folder to libnymea-tests
Fix multiple imports of QT libs by replacing "+=" with "*="
2025-10-13 09:39:15 +02:00
jenkins
0d85868465 Merge PR #702: Fix some typos in the code base 2025-09-23 14:12:43 +02:00
Simon Stürz
173c318dd3 Add test script for thingclasses 2025-09-11 10:09:56 +02:00
Simon Stürz
685d28f88b Port modbus rtu 2025-09-11 10:09:56 +02:00
Simon Stürz
aa59ddd714 Make testes not parallel 2025-09-11 10:09:52 +02:00
Simon Stürz
2acf7784a6 Update the entire Qt6 code to new signal slot connections
Update logging cathegories and allign coding style
2025-09-11 10:09:24 +02:00
Simon Stürz
f5c4bd16ac Add Qt6 support
Add Qt6 debian packaging
2025-09-11 10:09:24 +02:00
Simon Stürz
4e27699915 Fix some typos 2025-07-02 14:58:49 +02:00
jenkins
95ebffee0c Merge PR #689: Rework network discovery 2025-03-20 14:15:07 +01:00
Simon Stürz
1c6fbc8d1e Add network device mock thing 2025-01-10 09:03:49 +01:00
jenkins
482f64f3ab Merge PR #686: NetworkManager: add wireless device capabilities 2024-12-20 13:39:06 +01:00
Simon Stürz
8744903325 Update JSON RPC API to 8.2 2024-12-20 10:06:40 +01:00
Simon Stürz
ffaa53b04d Add debug API to JSONRPC 2024-12-20 10:06:35 +01:00
Simon Stürz
f013619a45 NetworkManager: add wireless device capabilities 2024-10-18 14:21:53 +02:00
jenkins
17189a6582 Merge PR #666: Update install directory for tests 2024-01-29 12:22:28 +01:00
Simon Stürz
1a1b268421 Update install directory for tests 2024-01-29 09:55:41 +01:00
Michael Zanetti
46e6232021 Enable logging for signal strength by default
Since the new log engine this isn't that heavy on the resources any more
2023-12-29 13:11:20 +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
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
21061e91a0 Merge PR #637: Rework the log engine to use influxdb instead of sql 2023-05-23 11:49:12 +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
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
e9e734dc60 Merge PR #625: Stabilize logging tests 2023-02-21 17:43:41 +01:00
jenkins
9355694c24 Merge PR #620: Refactor NymeaCore class 2023-02-21 17:43:34 +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
51d08f94cf Stabilize logging tests 2023-02-08 19:45:14 +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
jenkins
15ab9c06d1 Merge PR #606: Drop old nymea:cloud support 2022-12-13 21:05:05 +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
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