141 Commits

Author SHA1 Message Date
Jenkins nymea
bf3a29b868 Merge PR #290: Add support for restarting nymea in the system api 2020-06-07 19:16:23 +02:00
Jenkins nymea
fecce90ba3 Merge PR #288: Improve networking API 2020-06-07 19:16:23 +02:00
Jenkins nymea
94152ebe78 Merge PR #287: Drop internal networkmanager and use libnymea-networkmanager instead 2020-06-07 19:16:23 +02:00
Michael Zanetti
82703de061 Fixes after testing/review 2020-06-07 19:15:39 +02:00
Michael Zanetti
322bcf56a6 Add support for inverting the connections 2020-05-09 19:14:02 +02:00
Michael Zanetti
4e509d75f8 Add tests, some fixes/improvements 2020-05-05 21:04:07 +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
28624e264d Add support for restarting nymea in system api 2020-05-01 21:19:22 +02:00
Michael Zanetti
9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02:00
Michael Zanetti
a859be9371 Fix introspect according to how the api behaved already 2020-04-23 15:39:15 +02:00
Michael Zanetti
58c4dcb6c9 Drop internal networkmanager and use libnymea-networkmanager instead 2020-04-23 15:08:02 +02:00
Michael Zanetti
d362ce913e Add a displayMessage for errors to browsing operations 2020-03-25 00:22:34 +01:00
Michael Zanetti
b01e8c8ee4 Fix deprecation warning for notifications 2020-03-24 15:22:24 +01:00
Michael Zanetti
16e731e5e2 fix a bug in the device handler 2020-03-17 15:32:44 +01:00
Michael Zanetti
8fd3bf8a55 Update docs 2020-03-17 13:17:05 +01:00
Michael Zanetti
8208473302 bump api 2020-03-05 16:16:57 +01:00
Michael Zanetti
2fbbaeda97 More work 2020-03-03 16:54:55 +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
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
ace4c70fe4 Merge PR #247: Generate a version.h file 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
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
27ca2f3174 Merge PR #247: Generate a version.h file 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
a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +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
bffdf9cb88 add copyright headers 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
fd401a850a cleanup 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
Michael Zanetti
c7dd26d525 cleanup, fix last tests 2019-11-16 00:44:08 +01:00
Michael Zanetti
3eac06de6e Threaded log database
This
a) makes the log db threaded by using QtConcurrent to run queries in a
different thread but still keeps ordering of the queries and always
only allows a single query at a time (QSql is not threadsafe). This fixes
removeDevice calls failing if we take more than $jsonprc_timeout to clean
a deleted device from the DB and keeps nymead responsive during that too.

b) generally improces performance of the system by not requiring operations
(emitting events, changing states) to wait for the sync log db entry to be
made.

c) drops some of the houskeeping code on nymea startup. While this will still
do log db housekeeping if the DB exceeds maxDbSize, it will not run
housekeeping on the DB any more at application startup. Reasoning for this
is that there have been reports of rules/log entries beimg destroyed if a
plugin can't be found at application startup. Given our general direction
of working towards more dynamic plugin loading, this might happen more often
in the future and we sure don't want to destroy rules etc when we just
temporarily miss a plugin.

d) tries to fix issue #226 by rotating the DB not only when it fails to open
initially, but also when it fails to insert new entries.
2019-11-15 18:33:10 +01:00
Michael Zanetti
ec15e664e1 cleanup warnings and allow setting "unknown" debug categories 2019-11-06 13:38:22 +01:00
Michael Zanetti
25152c5e27 Add readonly feature to JSONRPC 2019-11-06 00:06:03 +01:00