Commit Graph

626 Commits (d4889b5b7855a28839d122d7c2a0db6f51150933)

Author SHA1 Message Date
Michael Zanetti b870140608 Add tests, fix shutdown 2020-10-15 22:34:06 +02:00
Michael Zanetti 8fee1bb2e5 Fix duplicate connections on case of retrying 2020-10-15 22:33:36 +02:00
Jenkins nymea 70c9c7f495 Merge PR #323: Fix cleanig up tags that are not needed any more 2020-08-14 13:09:34 +02:00
Michael Zanetti 1066e768c9 Fix cleaning up of tags that are not needed any more 2020-08-13 17:40:08 +02:00
Michael Zanetti 399f406d10 fixes 2020-07-27 19:38:21 +02:00
Michael Zanetti 5002fad6d9 fix tests 2020-07-26 01:00:29 +02:00
Michael Zanetti 85146abca5 Fix type conversions of values
This fixes 5 issues in regard to types of values:

1) Default values for params in the metadata were not converted properly,
most visibly on integer values being loaded as double values.

2) Param values coming in from jsonrpc were not converted properly.

3) The plugin might set state values with invalid types or being out of range.

4) If, for some reason (e.g. earlier versions of nymea, or a plugin setting
its own params in code with a wrong type), there was a param value with a
wrong type in the system, we stored that wrong type and restored it on loading
of plugin params while instead it really should be converted to the specified
type in the ParamType.

5) If a plugin is not loaded for a configured thing, the old code would
not initialize the states properly but upon shutdown save those invalid
values to the cache.
2020-07-15 00:22:43 +02:00
Jenkins nymea 7337105073 Merge PR #291: Fix thing class translations 2020-06-07 19:16:23 +02:00
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
Jenkins nymea b1521c8207 Merge PR #286: Log DB schema 4 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 318a71725f Fix plugins translations 2020-05-04 13:39:20 +02:00
Michael Zanetti bb30a451b3 New DB schema version
* Store plaintext values in log db again
* Use msecs precision instead of secs
* rename column deviceId to thingId
2020-05-04 11:32:42 +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
Jenkins nymea 59bfd9ba83 Merge PR #275: Add a displayMessage for errors to browsing operations 2020-04-05 14:43:23 +02:00
Michael Zanetti 710de8ae06 Update API description. Not bumping version as this will merge with another api bump anyways 2020-03-25 00:39:09 +01:00
Michael Zanetti dfc593358d Add Radio Paradise icon support in the browser 2020-03-17 13:18:00 +01:00
Michael Zanetti 8fd3bf8a55 Update docs 2020-03-17 13:17:05 +01:00
Michael Zanetti bcb35bf9d7 fix testrules 2020-03-06 11:26:19 +01:00
Michael Zanetti b715c2788f bump version 2020-03-05 22:44:56 +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
Jenkins nymea 55081538de Merge PR #270: Stabilize logging tests 2020-02-23 23:38:29 +01:00
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 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