Commit Graph

638 Commits (0.24.0)

Author SHA1 Message Date
Jenkins nymea e6b8d31d8d Merge PR #339: Add support for interface based script events and actions 2020-10-28 19:07:37 +01:00
Jenkins nymea 82c347c3a3 Merge PR #336: Add caching information to client API 2020-10-28 19:07:35 +01:00
Jenkins nymea 907bd3b646 Merge PR #332: Add update interface 2020-10-28 19:07:30 +01:00
Jenkins nymea 6bd094fd72 Merge PR #330: Make the signalStrength state in wirelessconnectable interface optional 2020-10-28 19:07:29 +01:00
Michael Zanetti 4c1361d10d Fix test target name 2020-10-28 17:38:10 +01:00
Michael Zanetti e50eece45c Fix metatype registering for old Qt versions 2020-10-15 22:34:06 +02:00
Michael Zanetti 9f49187dc1 Fix tests and xenial build 2020-10-15 22:34:06 +02:00
Michael Zanetti 16c4fa3345 fix issues in teardown. 2020-10-15 22:34:06 +02:00
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
Michael Zanetti 79dd00cb57 Add support for interface based script events and actions 2020-10-02 13:18:27 +02:00
Michael Zanetti f9cd2a99df Add caching information to client API
This allows JsonHandlers to set a hash for certain API calls.
Clients can use this information to load data for such a call
from a cache instead of calling the method over the network
just to get the same result as last time.
2020-09-15 13:53:19 +02:00
Michael Zanetti e96d5f0d44 Add update interface 2020-09-06 03:11:27 +02:00
Michael Zanetti 60c55f0d85 Make signalStrength state in wirelessconnectable optional 2020-09-06 02:53:57 +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