Michael Zanetti
8fee1bb2e5
Fix duplicate connections on case of retrying
2020-10-15 22:33:36 +02:00
Michael Zanetti
6aaab68cdc
Retry setup if it fails at startup (e.g. network isn't up yet or similar)
2020-10-15 22:33:36 +02:00
Jenkins nymea
eb291a47d5
Merge PR #334 : Silence the warning about not being able to translate plugins
2020-09-08 13:53:52 +02:00
Jenkins nymea
65de093c4a
Merge PR #321 : Make it build with Qt 5.14 and -Wno-deprecated
2020-09-08 13:53:50 +02:00
Michael Zanetti
81ac85dd55
Silence the warning about not being able to translate plugins
2020-09-08 12:06:16 +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
Jenkins nymea
c803a1e81b
Merge PR #322 : Fix update busy flag in GetUpdateStatus API call
2020-08-14 13:09:34 +02:00
Jenkins nymea
54d186b7f0
Merge PR #319 : Fix missing name method override for json handlers
2020-08-14 13:09:34 +02:00
Jenkins nymea
dc536db74e
Merge PR #315 : Use bindValue for composing query strings for the log DB
2020-08-14 13:09:34 +02:00
Jenkins nymea
768b6a877e
Merge PR #314 : Fix conversion of values
2020-08-14 13:09:34 +02:00
Jenkins nymea
bd0072e48f
Merge PR #307 : Loggingcategories
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
Simon Stürz
dd16734ca7
Fix update busy flag in GetUpdateStatus API call
2020-08-07 08:01:30 +02:00
Michael Zanetti
61871a729f
Make it build with Qt 5.14 and -Wno-deprecated
2020-07-31 15:00:16 +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
Simon Stürz
1334bb5bc7
Fix missing name override for json handlers
2020-07-14 16:36:03 +02:00
Jenkins nymea
c5b52da69d
Merge PR #318 : Fix time filter
2020-07-14 11:26:14 +02:00
Jenkins nymea
3aac5df9f9
Merge PR #306 : Vaguely inform the plugin about the origin of actions.
2020-07-14 11:26:14 +02:00
Jenkins nymea
c369bd15aa
Merge PR #305 : Allow emitting events from things directly
2020-07-14 11:26:14 +02:00
Jenkins nymea
7b60f05c64
Merge PR #299 : Store state changes immediately when they change
2020-07-14 11:26:14 +02:00
Michael Zanetti
16f80aa24c
Fix time filter
2020-07-14 11:23:05 +02:00
Michael Zanetti
a4beed9aee
Properly store stringlists
2020-07-10 23:15:05 +02:00
Michael Zanetti
98e5176393
Use bindValue for composing query strings for the log DB
...
Event/action param values might not be escaped properly otherwise
2020-07-05 12:29:38 +02:00
Michael Zanetti
ca041bbd02
Convert recurring UPnP message to a debug print
2020-06-25 23:29:54 +02:00
Michael Zanetti
75afab7eaf
Add nymea logging categories as opposed to just Qt ones
2020-06-17 14:32:35 +02:00
Michael Zanetti
021f2479d9
Vaguely inform the plugin about the origin of actions.
...
Fixes #277
2020-06-16 17:49:41 +02:00
Michael Zanetti
f029184651
Allow emitting events from things directly
2020-06-16 16:16:23 +02:00
Jenkins nymea
a01d5ea5b9
Merge PR #297 : Fix UPnP discovery if wifi comes up late
2020-06-07 19:16:24 +02:00
Jenkins nymea
48fb5f7edb
Merge PR #292 : Check for cloud certificate file before trying to connect
2020-06-07 19:16:23 +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
917c58d145
Merge PR #289 : Add an I2C hardware resource
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
Jenkins nymea
3156264787
Merge PR #283 : Reject duplicate ids in plugin json
2020-06-07 19:16:23 +02:00
Jenkins nymea
60eebfc289
Merge PR #282 : Add support for generic IO connections
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
cf2ce0ca27
Store state changes immediately when they change
2020-05-29 18:51:51 +02:00
Michael Zanetti
dbea7acbb2
Add an I2C hardware resource
2020-05-27 22:44:36 +02:00
Michael Zanetti
7eee989e12
Fix UPnP discovery if wifi comes up late
2020-05-27 00:08:08 +02:00
Michael Zanetti
2fa0730c90
Check for cloud certificate file before trying to connect
2020-05-13 19:07:22 +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
688cde9c9c
Fix translating thing classes
2020-05-04 12:45:45 +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