745 Commits

Author SHA1 Message Date
Jenkins nymea
a81b484635 Merge PR #396: Don't call thingRemoved() when a thing didn't complete the setup 2021-04-19 11:38:17 +02:00
Michael Zanetti
dab8764584 Refresh setup status before proceeding 2021-02-24 17:42:16 +01:00
Michael Zanetti
e52b45c815 fix tests 2021-01-04 18:02:26 +01:00
Michael Zanetti
386fa12a89 Bump api version 2021-01-04 17:20:07 +01:00
Michael Zanetti
30a0469212 Update tests 2021-01-02 14:33:15 +01:00
Jenkins nymea
a418c9b1de Merge PR #367: Add a UnitMilliSeconds 2020-12-21 18:00:58 +01:00
Jenkins nymea
fab755f9af Merge PR #364: Allow filtering GetThingClasses for thingClassIds 2020-12-21 18:00:56 +01:00
Jenkins nymea
58ba2c9733 Merge PR #360: Allow building the plugininfocompiler standalone 2020-12-21 18:00:54 +01:00
Jenkins nymea
8a2d9c7e95 Merge PR #358: Increase the maximum allowed message size in JSONRPC 2020-12-21 18:00:52 +01:00
Jenkins nymea
ee911e2824 Merge PR #349: Add state based value comparison in rules 2020-12-21 18:00:43 +01:00
Jenkins nymea
2d132ab57e Merge PR #346: Add ZigBee hardware resource and network management 2020-12-21 18:00:42 +01:00
Simon Stürz
d51327b97a Update JSON RPC descriptions and rename Zigbee to ZigBee 2020-12-16 12:59:00 +01:00
Michael Zanetti
d999d1c715 Allow building the plugininfocompiler standalone
This is required to be able to build a "native" version of the pic
without having to build all the dependencies pulled in by the
HardwareManager.
2020-12-14 23:37:43 +01:00
Michael Zanetti
30f69e619b Add a UnitMilliSeconds 2020-12-11 17:30:58 +01:00
Michael Zanetti
b9be92df2e Add state based value comparison in rules 2020-12-04 16:16:55 +01:00
Michael Zanetti
4a41df3cf6 Allow filtering GetThingClasses for thingClassIds 2020-12-03 12:00:47 +01:00
Michael Zanetti
504b88eddd Increase the maximum allowed message size in JSONRPC
Turns out 10KB can be exceeded with scripting
2020-11-25 14:08:24 +01:00
Simon Stürz
929ef2fb5d Update API json 2020-11-18 12:23:02 +01:00
Simon Stürz
0c4a23a487 Bump JSON ROC API version 2020-11-16 16:29:45 +01:00
Simon Stürz
897b49b1f3 Add zigbee notifications to enable/disable JSONRPC tests 2020-11-16 16:07:54 +01:00
Simon Stürz
ab9a497df8 Bump api version containing new Zigbee namespace 2020-11-16 10:20:58 +01:00
Jenkins nymea
0879d379e7 Merge PR #350: Allow second level domains in email addresses 2020-11-11 10:55:28 +01:00
Michael Zanetti
14516106b7 Allow second level domains in email addresses 2020-11-02 15:15:23 +01:00
Jenkins nymea
90291286df Merge PR #345: Don't use deprecated QString::sprintf and qVariantFromValue 2020-10-28 19:07:42 +01:00
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
166b16689f Don't use deprecated QString::sprintf and qVariantFromValue 2020-10-26 15:59:38 +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