877 Commits

Author SHA1 Message Date
Jenkins nymea
59747e03c1 Merge PR #268: Add units: newton, newtonmeter and rpm 2020-02-23 23:38:29 +01:00
Jenkins nymea
f4cbf5c47c Merge PR #261: Add Users API 2020-02-23 23:38:28 +01:00
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
1515733ff8 Stabilize logging tests 2020-02-18 16:28:40 +01:00
Simon Stürz
9e8301f6ef Bump JSON RPC version and plugin api version 2020-02-17 15:47:51 +01:00
Michael Zanetti
c08fb3bdb5 fix tests 2020-02-10 13:22:31 +01:00
Michael Zanetti
6e4a0bc84b Add better device setup status details to api 2020-02-10 00:53:04 +01:00
Michael Zanetti
3015130c8f update translations 2020-02-10 00:52:14 +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
59f30ad9d3 Merge PR #250: Qt versions 2020-01-29 21:44:34 +01:00
Jenkins nymea
da60ca7b6f Merge PR #249: Add Bluetooth media icon 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
56517ce491 Merge PR #241: Improve log DB housekeeping performance 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
02f63acb94 Merge PR #250: Qt versions 2020-01-22 23:47:15 +01:00
Jenkins nymea
7e4b09f3c2 Merge PR #249: Add Bluetooth media icon 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
2d08e7a028 Merge PR #241: Improve log DB housekeeping performance 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
f44b4906a5 Add Qt version info to API 2020-01-21 22:56:28 +01:00
Michael Zanetti
e785327425 Update JSON api
Not bumbing version number as this will go in together with
other branches that already bump the version
2020-01-16 13:15:04 +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
21f61b89a2 add qtquick to build dependencies, needed by tests 2020-01-06 19:17:58 +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
d579192b49 stabilize test 2019-12-21 21:42:42 +01:00
Michael Zanetti
127aacf2f4 add copyright headers 2019-12-19 10:44:35 +01:00
Michael Zanetti
6e69e13538 add missing files 2019-12-16 12:27:09 +01:00
Michael Zanetti
b2960f5f62 fix typo 2019-12-16 12:23:26 +01:00
Michael Zanetti
4426f5a61e Drop test that won't work any more 2019-12-16 12:07:20 +01:00
Michael Zanetti
b6a3a8e0bf fix typos in api doc 2019-12-16 11:35:38 +01:00
Michael Zanetti
331966c8dd Bump JSON api version 2019-12-16 11:26:32 +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
5a36c2347f fix logging system to cope with the qml output redirection 2019-12-01 00:08:57 +01:00
Michael Zanetti
22f7654444 bump some version numbers 2019-12-01 00:08:57 +01:00
Michael Zanetti
d4081195d4 Some more work on the script engine 2019-12-01 00:07:35 +01:00
Michael Zanetti
b97e4e5b0c Add support for JS device plugins 2019-12-01 00:07:35 +01:00
Jenkins nymea
387ce07bf3 Merge PR #234: Weaken password requirements a bit 2019-12-01 00:05:00 +01:00
Michael Zanetti
212ccc8596 remove unneeded processQueue 2019-11-30 23:56:56 +01:00
Michael Zanetti
64a494e44a Fix tests that didn't wait long enough for log entries to be written 2019-11-28 20:47:55 +01:00
Michael Zanetti
1f0e00cb9d Update tests 2019-11-25 12:33:57 +01:00