Commit Graph

36 Commits (91c3cf88a82c652d7af9f6b75bffa812ff42de51)

Author SHA1 Message Date
Tobi 28ea0545ec
Log proper RPC method name for the initial setup 2024-07-30 12:15:40 +02:00
Michael Zanetti 4e509841b0 Rework the log engine to use influxdb instead of sql 2023-05-08 23:38:34 +02:00
jenkins 9355694c24 Merge PR #620: Refactor NymeaCore class 2023-02-21 17:43:34 +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
Michael Zanetti 7c4b6494bb Drop old nymea:cloud support 2022-12-01 16:37:51 +01:00
Michael Zanetti a8b02a4869 Add support for Z-Wave 2022-08-26 00:28:56 +02:00
Michael Zanetti 785f8cf43c Fix additional interface command line parameter 2022-06-10 17:20:50 +02:00
Michael Zanetti 6ab4d49ee1 Add multi user support 2022-02-08 10:36:14 +01:00
Michael Zanetti 717b4f33cc Remove deprecated Devices, Action, Events, States namespaces from JSONRPC 2022-02-08 00:29:07 +01:00
Simon Stürz 72a0db6d0d Implement ModbusRtu JSONRPC API 2021-06-06 00:43:37 +02:00
Michael Zanetti 60de0a3eed Add support for storing application data on the core 2021-04-07 00:23:19 +02:00
Jenkins nymea 8a2d9c7e95 Merge PR #358: Increase the maximum allowed message size in JSONRPC 2020-12-21 18:00:52 +01:00
Michael Zanetti 504b88eddd Increase the maximum allowed message size in JSONRPC
Turns out 10KB can be exceeded with scripting
2020-11-25 14:08:24 +01:00
Simon Stürz 4a520d8ba1 Rename Backend type and define ZigbeeNetworkState within the manager 2020-11-06 18:36:21 +01:00
Michael Zanetti f9cd2a99df Add caching information to client API
This allows JsonHandlers to set a hash for certain API calls.
Clients can use this information to load data for such a call
from a cache instead of calling the method over the network
just to get the same result as last time.
2020-09-15 13:53:19 +02:00
Michael Zanetti 3fc4825c67 Improve networking api
Add support starting an AP and provide ip address info
2020-05-04 16:03:48 +02:00
Michael Zanetti 58c4dcb6c9 Drop internal networkmanager and use libnymea-networkmanager instead 2020-04-23 15:08:02 +02:00
Michael Zanetti b01e8c8ee4 Fix deprecation warning for notifications 2020-03-24 15:22:24 +01:00
Michael Zanetti 8208473302 bump api 2020-03-05 16:16:57 +01:00
Michael Zanetti 3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Michael Zanetti 6e4a0bc84b Add better device setup status details to api 2020-02-10 00:53:04 +01:00
Michael Zanetti fb94178920 Move authentication to Users namespace 2020-02-08 01:30:11 +01:00
Michael Zanetti ec0aa802c5 Add more user management features 2020-02-07 00:33:00 +01:00
Michael Zanetti 8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Jenkins nymea 495b3e1ab6 Merge PR #252: Fix crash when removing a connected transport interface 2020-01-22 23:47:15 +01:00
Jenkins nymea 02f63acb94 Merge PR #250: Qt versions 2020-01-22 23:47:15 +01:00
Michael Zanetti 07cf9e05ae Fix crash when removing a connected transport interface 2020-01-22 23:43:07 +01:00
Michael Zanetti f44b4906a5 Add Qt version info to API 2020-01-21 22:56:28 +01:00
Michael Zanetti a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +01:00
Michael Zanetti 3a9a0a0abc Add scripts api namespace 2019-12-01 00:08:57 +01:00
Michael Zanetti fa1cd3605c Add deprecation warnings 2019-11-04 11:56:24 +01:00
Michael Zanetti 0e7edd5abd cleanup 2019-11-04 10:52:06 +01:00
Michael Zanetti baaa719b6a Restructuring json done 2019-11-01 20:55:45 +01:00
Michael Zanetti bdd9876a88 Allow registering QMetaObjects on JSON api 2019-11-01 20:55:45 +01:00
Michael Zanetti e2cf9cb5c3 More work on the experience mode framework 2019-11-01 20:55:45 +01:00