2436 Commits

Author SHA1 Message Date
Michael Zanetti
f97e5bf4d0 more work 2020-10-15 22:34:06 +02:00
Michael Zanetti
59c1c8e9f2 some more work 2020-10-15 22:34:06 +02:00
Michael Zanetti
68e9c82758 run a thread for each call 2020-10-15 22:34:06 +02:00
Michael Zanetti
125aee7153 Some more python plugin stuff 2020-10-15 22:34:06 +02:00
Michael Zanetti
13d10b8aa0 some more python plugin work 2020-10-15 22:34:06 +02:00
Michael Zanetti
31cf425b79 intermediate 2020-10-15 22:34:06 +02:00
Michael Zanetti
a2e6d9e185 Add an event loop 2020-10-15 22:34:06 +02:00
Michael Zanetti
380e962bd1 some more work on python plugins 2020-10-15 22:34:06 +02:00
Michael Zanetti
a21315efc5 some more hacking 2020-10-15 22:34:06 +02:00
Michael Zanetti
d17b44c83d Initial attempt to support python plugins 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
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
a0add78af0 Jenkins release build 0.23.1 2020-09-08 13:53:53 +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
15eed2f131 Merge PR #324: README.md: fix license version 2020-09-08 13:53:51 +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
Radek Dostál
81d12ab372 README.md: fix license version
This should have been already included in commit
8f5536ba1a2cc1f5bf96146b5f0469b5401f6585 Update copyright

Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
2020-08-19 12:50:13 +02:00
Jenkins nymea
2ca4b2f32f Jenkins release build 0.23.0 2020-08-14 13:09:38 +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
7ba9bc2add Merge PR #320: Rework garage door interfaces 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
4dfe8eb37b Merge PR #317: 0.23 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
075046ff70 Add simplegaragedoor 2020-08-01 00:26:22 +02:00
Michael Zanetti
f66c3c4a60 add new interfaces to qrc 2020-07-31 17:42:51 +02:00
Michael Zanetti
dfb62108fe inherit properly 2020-07-31 17:22:06 +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
655e3a7f38 Rework garage door interfaces 2020-07-31 12:52:50 +02:00
Michael Zanetti
399f406d10 fixes 2020-07-27 19:38:21 +02:00
Michael Zanetti
680f574e41 don't use dcCore in the lib 2020-07-27 18:15:45 +02:00
Michael Zanetti
5002fad6d9 fix tests 2020-07-26 01:00:29 +02:00
Michael Zanetti
db81d6f145 Bump version to 0.23 2020-07-23 17:30:52 +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
8f7002dedb Jenkins release build 0.22.0 2020-07-14 11:26:16 +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
9603dc60f9 Merge PR #300: 0.22 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
Bernhard Trinnes
bf0dec0925 Translated using Weblate (German)
Currently translated at 100.0% (86 of 86 strings)

Translation: nymea/nymead
Translate-URL: http://translate.nymea.io/projects/nymea/nymead/de/
2020-07-13 13:26:56 +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