360 Commits

Author SHA1 Message Date
Jenkins nymea
8165d7c9c5 Merge PR #257: Add more detailed setup status to API 2020-02-23 23:38:28 +01:00
Jenkins nymea
bfb14fe4ae Merge PR #256: Cleanup Rule definition in introspection 2020-02-23 23:38:28 +01:00
Michael Zanetti
ee30ece5c2 Delete devices before plugins when shuttting down 2020-02-10 13:00:24 +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
Jenkins nymea
845b9ab209 Merge PR #253: Update copyright 2020-01-29 21:44:34 +01:00
Jenkins nymea
401a42a78c Merge PR #252: Fix crash when removing a connected transport interface 2020-01-29 21:44:34 +01:00
Jenkins nymea
59f30ad9d3 Merge PR #250: Qt versions 2020-01-29 21:44:34 +01:00
Jenkins nymea
b7ac4ec806 Merge PR #248: Disconnect all slots of nymea:core on shutdown 2020-01-29 21:44:34 +01:00
Jenkins nymea
ace4c70fe4 Merge PR #247: Generate a version.h file 2020-01-29 21:44:34 +01:00
Jenkins nymea
1554c568eb Merge PR #245: Use a more unique nonce for the remote connection 2020-01-29 21:44:34 +01:00
Jenkins nymea
56b0570231 Merge PR #244: Subscribe to the entire device namespace in nymea:cloud MQTT 2020-01-29 21:44:34 +01:00
Jenkins nymea
8b992870a3 Merge PR #243: Update device names when changed by the plugin 2020-01-29 21:44:34 +01:00
Jenkins nymea
56517ce491 Merge PR #241: Improve log DB housekeeping performance 2020-01-29 21:44:34 +01:00
Jenkins nymea
85c29ab4b5 Merge PR #240: Update company name 2020-01-29 21:44:34 +01:00
Jenkins nymea
44a403f0e4 Merge PR #238: Add System Time API 2020-01-29 21:44:34 +01:00
Michael Zanetti
114c381e4d fix typo in docs 2020-01-29 21:40:47 +01:00
Michael Zanetti
ba6219bfd6 Cleanup Rule definition in introspection
As per feedback from client development
2020-01-29 15:16:29 +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
Jenkins nymea
5cbace14bf Merge PR #248: Disconnect all slots of nymea:core on shutdown 2020-01-22 23:47:15 +01:00
Jenkins nymea
27ca2f3174 Merge PR #247: Generate a version.h file 2020-01-22 23:47:15 +01:00
Jenkins nymea
f82bc6949c Merge PR #245: Use a more unique nonce for the remote connection 2020-01-22 23:47:15 +01:00
Jenkins nymea
ce4348143a Merge PR #244: Subscribe to the entire device namespace in nymea:cloud MQTT 2020-01-22 23:47:15 +01:00
Jenkins nymea
670bda1e28 Merge PR #243: Update device names when changed by the plugin 2020-01-22 23:47:15 +01:00
Jenkins nymea
2d08e7a028 Merge PR #241: Improve log DB housekeeping performance 2020-01-22 23:47:15 +01:00
Jenkins nymea
74be126d76 Merge PR #240: Update company name 2020-01-22 23:47:15 +01:00
Jenkins nymea
e256ac034d Merge PR #238: Add System Time API 2020-01-22 23:47:14 +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
de0395f115 Disconnect all slots of nymea:core on shutdown 2020-01-15 14:17:01 +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
744f25312b Cleanup as code review suggests 2020-01-15 12:32:32 +01:00
Michael Zanetti
7d615293c5 Use a more unique nonce for the remote connection 2020-01-10 13:31:31 +01:00
Michael Zanetti
03c8e8d114 Improve log DB housekeeping performance
Getting row count on a db with approx 200000 entries on an RPi takes
about 500ms. To avoid this, this branch keeps better track of entries
in the DB and only queries DB count if we can't calculate it ourselves.
Trimming itself takes some 150ms. To reduce those calls it changes the
threshold of when to trim the DB from a fixed value of 100 to 1% of
maxDBSize.

Last but not least, getLogEntry() calls are now prioritized over
appendLogEntry() calls in order to stay responsive to client apps even
if the DB is overloaded with a huge job queue.

If the job queue grows to over 1000 jobs, logs of the same device/type
will be discared to avoid log flooding.
2020-01-05 23:46:51 +01:00
Michael Zanetti
7374652121 Subscribe to the entire device namespace in nymea:cloud NQTT
This allows the REST proxy to establish remote connections.
2020-01-05 20:37:13 +01:00
Michael Zanetti
b3ebbc18c0 Update device names when changed by the plugin 2020-01-05 14:58:02 +01:00
Michael Zanetti
9c7694c133 Update company name 2019-12-27 00:29:58 +01:00
Michael Zanetti
b2960f5f62 fix typo 2019-12-16 12:23:26 +01:00
Michael Zanetti
b6a3a8e0bf fix typos in api doc 2019-12-16 11:35:38 +01:00
Michael Zanetti
4e70f0f5f8 build with older Qt 2019-12-16 11:16:26 +01:00
Michael Zanetti
9b07216768 Add system api to configure the system time
This gets rid of the locally kept time zone which caused issues
in plugins and the ScriptEngine.
2019-12-15 12:44:14 +01:00
Michael Zanetti
24cecf9d47 Add tests for the scriptengine 2019-12-10 18:49:28 +01:00
Michael Zanetti
dd70129a4d Add ScriptAlarm 2019-12-10 00:22:49 +01:00
Michael Zanetti
9ecb2d0af4 Support params 2019-12-08 22:13:36 +01:00
Michael Zanetti
5ae3af6cbf Only install our filter once 2019-12-02 00:02:14 +01:00
Michael Zanetti
22bacf09e1 fix build 2019-12-01 01:14:26 +01:00
Michael Zanetti
5a36c2347f fix logging system to cope with the qml output redirection 2019-12-01 00:08:57 +01:00