260 Commits

Author SHA1 Message Date
Simon Stürz
5eb5c6628b JsonRpc Server: Improve token verification handling depending on the interface configuration 2026-01-29 12:24:28 +01:00
jenkins
6999f96577 Merge PR #719: NymeaCore: class cleanup and statup improvements 2026-01-19 10:09:49 +01:00
Simon Stürz
662e313bd8 Add admin methods for user management 2025-11-19 09:47:01 +01:00
Simon Stürz
ded99e35d4 Add admin management methods 2025-11-19 09:47:01 +01:00
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
b80ad6d839 Add missing thingError fpr IO connections 2025-11-19 09:46:17 +01:00
Simon Stürz
cfe4328776 Fix allowed things loading 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
71cd3561b6 UserManager: Update user database and migrate to version 2 2025-11-19 09:45:54 +01:00
Simon Stürz
88aa22f3a2 UserManager: Add thing based user permissions 2025-11-19 09:45:54 +01:00
Simon Stürz
4d170061fd Update license text and add SPDX identifier 2025-11-17 16:42:41 +01:00
Simon Stürz
cfc13d6984 NymeaCore: class cleanup and statup improvements 2025-11-15 15:36:09 +01:00
Simon Stürz
e8244e9313 Disable insecure interfaces if configured using 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
3ea7639b9d Make TI backend support configurable 2025-09-23 14:11:48 +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
00fc81405b NetworkDiscovery: Fix possible crash on monitor cleanup
DateTime: Improve performance by using static current QDateTime method
2025-04-14 12:02:15 +02:00
jenkins
482f64f3ab Merge PR #686: NetworkManager: add wireless device capabilities 2024-12-20 13:39:06 +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
795e541e01 Merge PR #679: Log proper RPC method name for the initial setup 2024-10-01 16:53:52 +02:00
jenkins
fb29d24265 Merge PR #678: modbus RTU: add platform configuration 2024-10-01 16:53:51 +02:00
Simon Stürz
87ed98b72f modbus RTU: add platform configuration 2024-08-07 11:09:19 +02:00
Tobi
28ea0545ec
Log proper RPC method name for the initial setup 2024-07-30 12:15:40 +02:00
Simon Stürz
ce7d075af2 Remove unused signal 2024-03-26 08:38:57 +01: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
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
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
cff3e1ab08 Merge PR #593: Fix permissions for rules, tags and appdata api 2022-12-13 21:04:56 +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
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
1d5144fb66 Merge PR #582: Add API to configure the wired network 2022-10-25 02:37:13 +02:00
jenkins
3e5e9ac738 Merge PR #574: Add Thing and Things types to script engine 2022-10-25 02:37:03 +02:00
Michael Zanetti
22e75b08df Add Thing and Things types to script engine 2022-10-13 15:18:06 +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