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
2ad30eca94
Add support for a Bluetooth Media icon
2020-01-16 12:40:00 +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
Simon Stürz
e2d80de4a4
Update man pages
2020-01-10 12:55:26 +01:00
Simon Stürz
b8b2edc4c1
Update debian copyright
2020-01-10 12:51:57 +01:00
Simon Stürz
0629d22488
Update year to 2020
2020-01-10 12:48:20 +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
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
716df71180
Support units in interfaces
...
Adds validation for units in interfaces
2020-01-05 14:51:00 +01:00
Michael Zanetti
9c7694c133
Update company name
2019-12-27 00:29:58 +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
e07deaa904
Tighten system/update/zeroconf api versioning a bit
2019-12-19 00:26:25 +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
4e70f0f5f8
build with older Qt
2019-12-16 11:16:26 +01:00
Michael Zanetti
d6705e0f5a
Add discovery mode to userandpassword mock device
2019-12-15 14:27:08 +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
7a8f868c54
Recommend QtQuick to be installed
2019-12-02 12:51:30 +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
Michael Zanetti
bffdf9cb88
add copyright headers
2019-12-01 00:08:57 +01:00
Michael Zanetti
c9d4d03de4
always enable qml logging
2019-12-01 00:08:57 +01:00
Michael Zanetti
ebf4d83286
Make it build with Qt 5.5
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
9a52345700
fix notifications
2019-12-01 00:08:57 +01:00
Michael Zanetti
53a79c52d6
fixes
2019-12-01 00:08:57 +01:00
Michael Zanetti
3c274b04ab
More work on scripting
2019-12-01 00:08:57 +01:00
Michael Zanetti
3a9a0a0abc
Add scripts api namespace
2019-12-01 00:08:57 +01:00
Michael Zanetti
6ab6f8a80b
tune script types a bit
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
0f75be0fa4
Require Qt 5.12 for ScriptDevicePlugin
2019-12-01 00:07:35 +01:00
Michael Zanetti
4c0c95b1a8
Add a ScriptEngine
2019-12-01 00:07:35 +01:00
Michael Zanetti
f562503d6d
Add missing dpkg dependency
2019-12-01 00:07:35 +01:00
Michael Zanetti
fd401a850a
cleanup
2019-12-01 00:07:35 +01:00
Michael Zanetti
e47a4062ee
Fix loading of JS plugins
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