Michael Zanetti
d1b57be370
Make python plugins optional during the build process
2020-11-30 20:00:04 +01:00
Simon Stürz
bbc03066b4
Remove node reachable evaluation and move it to the network itself
2020-11-30 17:43:29 +01:00
Simon Stürz
66dbcc03af
Remove node initializer since init process will be handled by the plugins
2020-11-28 14:28:23 +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
8749789322
Give plugins access to the coordinator IEEE address for unicast bindings
2020-11-25 13:05:27 +01:00
Simon Stürz
527989fe7c
Ignore the coordinator node in the zigbee resource
2020-11-19 14:37:44 +01:00
Simon Stürz
e2cbffeebd
Make backend type dynamic and introduce GetAvailableBackends
2020-11-18 12:23:02 +01:00
Simon Stürz
2e6f68bc41
Fix typo in alert interface
2020-11-18 12:23:02 +01:00
Simon Stürz
97b1623e27
Add platform network creation
2020-11-18 12:23:02 +01:00
Michael Zanetti
bfc4476019
allow the same plugin fetching a zigbeenode multiple times
...
inform the zigbeemanager about things finishing loading
2020-11-16 22:18:19 +01:00
Michael Zanetti
57ec37712a
tell the zigbee resource when we're done loading things
2020-11-16 17:58:13 +01:00
Michael Zanetti
7ab98f65f7
Improve the plugin <-> node matching mechanism
...
* A ZigbeeNode can now only be claimed by 1 plugin.
* Unhandled nodes will now be re-evaluated on restart as there might
have been new plugins installed which could handle this node now.
2020-11-16 15:15:28 +01:00
Simon Stürz
255a6dc090
Move zigbeemanager include into the cpp
2020-11-16 14:50:16 +01:00
Simon Stürz
3ae8baaa40
Remove serialport module since not required any more in nymea
2020-11-16 12:50:56 +01:00
Simon Stürz
ab9a497df8
Bump api version containing new Zigbee namespace
2020-11-16 10:20:58 +01:00
Simon Stürz
16bc4684e1
Experiment with binding and attribute report configuration
2020-11-16 07:55:33 +01:00
Simon Stürz
18d607319e
Ping rx on when idle devices after network running
2020-11-12 17:48:53 +01:00
Simon Stürz
e9b5b618b2
Implement remove node into the resource and missing network state changed signal handling
2020-11-12 13:26:55 +01:00
Simon Stürz
685948f8c8
Merge branch 'zigbee-hardware-resource' of github.com:guh/nymea into zigbee-hardware-resource
2020-11-12 11:42:04 +01:00
Simon Stürz
a3ba16d111
Add node debugging and load network before starting it in any case
2020-11-12 11:33:06 +01:00
Michael Zanetti
4b493ac51d
provisoric handling for node removal
2020-11-12 11:27:31 +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
b1173a3c35
Enable missing signal, fix lib exports
2020-11-07 00:24:54 +01:00
Michael Zanetti
af09702c31
first stab on the adding a plugin api
2020-11-06 19:22:19 +01:00
Simon Stürz
033d62a98d
Fix double header and cpp definition due to rebase error
2020-11-06 19:04:52 +01:00
Simon Stürz
5d467de47d
Introduce centralized node initializer for unified network behaviour
2020-11-06 18:36:22 +01:00
Simon Stürz
b6a6371021
Add enabled property for network as dummy for future implementation
2020-11-06 18:36:22 +01:00
Simon Stürz
203badf0c7
Improve zigbee api and add serial number
2020-11-06 18:36:22 +01:00
Simon Stürz
5ed9769427
Fix network added/removed notification parameter name
2020-11-06 18:36:22 +01:00
Simon Stürz
ee00d31ce5
Add node added and removed signals into the zigbee manager without the coordinator node
2020-11-06 18:36:22 +01:00
Simon Stürz
c3508acc23
Pass nodes into the zigbee resource and implement available for resource
2020-11-06 18:36:22 +01:00
Simon Stürz
cdf8b171f9
Finish zigbee network joining as first version
2020-11-06 18:36:22 +01:00
Simon Stürz
6edf6977a4
Add factory reset network and start implementing permit join mechanism
2020-11-06 18:36:21 +01:00
Simon Stürz
7585f30639
Basic network adding and removing working
2020-11-06 18:36:21 +01:00
Simon Stürz
a7cb0e4e26
Add network settings loading and saving
2020-11-06 18:36:21 +01:00
Simon Stürz
19216b5f04
Add Zigbee settings and prepare network creation and loading
2020-11-06 18:36:21 +01:00
Simon Stürz
61d0b96b42
Add GetAvailableAdapters to zigbee handler
2020-11-06 18:36:21 +01:00
Simon Stürz
4a520d8ba1
Rename Backend type and define ZigbeeNetworkState within the manager
2020-11-06 18:36:21 +01:00
Simon Stürz
afc97fd244
Renabe libnymea-zigbee debug category for better understanding from where this category comes from
2020-11-06 18:36:21 +01:00
Simon Stürz
6e72689c56
Make use of nymea logging categories and offer libnymea-zigbee ZigbeeNetwork logging category within nymea to enable
2020-11-06 18:36:21 +01:00
Simon Stürz
915cd25a7d
Update zigbee resource logging category
2020-11-06 18:35:50 +01:00
Simon Stürz
0f0b903af8
Clean up source and dependencies and make build against libnymea-zigbee
2020-11-06 18:35:50 +01:00
Michael Zanetti
228a4f9f9c
fixx da build
2020-11-06 18:35:50 +01:00
Simon Stürz
9052472150
Sort source and header file for core lib
2020-11-06 18:35:50 +01:00
Simon Stürz
7cb995767c
Add zigbee serial port for api
2020-11-06 18:34:54 +01:00
Simon Stürz
fb74df8f81
Start integrating zigbee into nymea
2020-11-06 18:34:54 +01:00
Michael Zanetti
14516106b7
Allow second level domains in email addresses
2020-11-02 15:15:23 +01:00
Jenkins nymea
a9c4717bfb
Merge PR #343 : Suppress recurring warning about missing user agents in http requests
2020-10-28 19:07:41 +01:00
Jenkins nymea
c956988f32
Merge PR #341 : Add an API keys provider plugin mechanism
2020-10-28 19:07:39 +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
49e4c1caae
Merge PR #338 : Fix the webserver for serving static files
2020-10-28 19:07:36 +01:00
Jenkins nymea
82c347c3a3
Merge PR #336 : Add caching information to client API
2020-10-28 19:07:35 +01:00
Jenkins nymea
0f442abe43
Merge PR #335 : Fix a potential crash in logging handlers
2020-10-28 19:07:34 +01:00
Jenkins nymea
694b070f05
Merge PR #310 : Add support for Python plugins
2020-10-28 19:07:25 +01:00
Jenkins nymea
db98f60556
Merge PR #309 : Don't call thingRemoved() on the plugin in case of reconfiguring
2020-10-28 19:07:24 +01:00
Michael Zanetti
61a07c3bb1
Add a command line argument for additional server interfaces
2020-10-27 09:44:00 +01:00
Michael Zanetti
dcae305625
Add an API keys provider plugin mechanism
2020-10-20 19:44:47 +02:00
Michael Zanetti
e53beffb4a
Suppress recurring warning about missing user agents in http requests
2020-10-19 18:47:01 +02:00
Michael Zanetti
befda2ec00
Revert back to qDebug, we're not ready for qInfo yet
2020-10-15 22:34:06 +02:00
Michael Zanetti
8aa2feb7c6
Make python plugins appear in the logging categories list
2020-10-15 22:34:06 +02:00
Michael Zanetti
15eead0976
Properly catch stdout and stderr and redirect it to qmessagelogger
2020-10-15 22:34:06 +02:00
Michael Zanetti
85f742a38d
Add ThingActionInfo.paramValue() method
2020-10-15 22:34:06 +02:00
Michael Zanetti
dbe5fab122
also build on bionic
2020-10-15 22:34:06 +02:00
Michael Zanetti
a9ae885cfa
Also accept python 3.7
2020-10-15 22:34:06 +02: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
d4889b5b78
Make it build with 0.23
2020-10-15 22:34:06 +02:00
Michael Zanetti
fdbdb02c16
Make it compatible with python 3.5
2020-10-15 22:34:06 +02:00
Michael Zanetti
be01d4c802
Restrict import paths to not use random python libs in the system
2020-10-15 22:34:06 +02:00
Michael Zanetti
75f4877f82
add settingChangedHandler, fix some issues, cleanup some warnings
2020-10-15 22:34:06 +02:00
Michael Zanetti
3436e9b998
drop usage of asyncio and run everything regularly threaded
2020-10-15 22:34:06 +02:00
Michael Zanetti
64e7d2784c
checkpoint asyncio
2020-10-15 22:34:06 +02:00
Michael Zanetti
1018083052
add 2 missing data type conversions
2020-10-15 22:34:06 +02:00
Michael Zanetti
78e37f0d87
Fix shutdown
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
746f3e4121
fix actions cleanup
2020-10-15 22:34:06 +02:00
Michael Zanetti
b0b480a539
drop some debugs
2020-10-15 22:34:06 +02:00
Michael Zanetti
dadffcb784
some fixes
2020-10-15 22:34:06 +02:00
Michael Zanetti
3296d4b417
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
f132c6b006
some more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
0cbd1ff5ec
Clenaup and polish types.
2020-10-15 22:34:06 +02:00
Michael Zanetti
a90841401c
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
1ce5d5980d
some fixes
2020-10-15 22:34:06 +02:00
Michael Zanetti
8aa91292fe
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
85c9d93ccd
Somoe type fixes
2020-10-15 22:34:06 +02:00
Michael Zanetti
c7f957f201
some more python plugin work
2020-10-15 22:34:06 +02:00
Michael Zanetti
5d0751ae27
fix thread syncronisation
2020-10-15 22:34:06 +02:00
Michael Zanetti
3c47e59811
some more work
2020-10-15 22:34:06 +02:00
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
Michael Zanetti
79dd00cb57
Add support for interface based script events and actions
2020-10-02 13:18:27 +02:00
Michael Zanetti
2f17a86506
Fix the webserver for serving static files
2020-09-23 00:49:37 +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
4d480f7c3b
Fix a potential crash in logging handlers
2020-09-09 19:19:42 +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
Michael Zanetti
d529a27df1
fix mocks to properly deal with the new way of reconfiguring
2020-09-01 13:45:14 +02:00
Michael Zanetti
573a2c061a
Don't call thingRemoved() on the plugin in case of reconfiguring
...
Reasoning:
a) Currently, the API behaves inconsistently. While reconfiguring
a "justAdd" thing, it did call thingRemoved, however, reconfiguring a thing
that uses pairing did not.
b) The old implementation did not consider childs. Reconfiguring a
justAdd thing which has childs was calling thingRemoved on the parent only
but not its childs.
c) If we'd fix this by calling thingRemoved() for all flows and childs
we'd end up in hells kitchen as we can't know about the new state of childs
after the reconfiguration, so we can't just automatically add all the childs
back ourselves, the plugin needs to do that. This in turn would mean that
childs would get new ids which then breaks rules and stuff.
So the conclusion has been to just re-run the setup and the plugin implementation
is in charge for then checking the existing childs and calling autoThingDisappeared()
as needed.
WARNING: This also implies that we need to fix some plugins which currently rely
on thingRemoved to be called for reconfiguration and might create duplicate
connections or similar now.
2020-09-01 13:45:14 +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
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
Michael Zanetti
58c4dcb6c9
Drop internal networkmanager and use libnymea-networkmanager instead
2020-04-23 15:08:02 +02:00
Michael Zanetti
1531a38297
Make the duplicate UUID check more strict
2020-04-08 13:57:31 +02:00
Michael Zanetti
46245a2a6b
Add better messages when failing to load a plugin
2020-04-07 19:46:16 +02:00
Jenkins nymea
deba851a08
Merge PR #281 : Fix remving of things without plugin
2020-04-05 14:43:24 +02:00
Jenkins nymea
777dba7439
Merge PR #278 : Fix initialization of ScriptState values on startup
2020-04-05 14:43:24 +02:00
Jenkins nymea
59bfd9ba83
Merge PR #275 : Add a displayMessage for errors to browsing operations
2020-04-05 14:43:23 +02:00
Jenkins nymea
e64d293d2b
Merge PR #274 : Allow removal of discovered child things
2020-04-05 14:43:23 +02:00
Jenkins nymea
7c3143a9ea
Merge PR #273 : Add better error reporting when a client fails to establish the encryption channel
2020-04-05 14:43:23 +02:00
Jenkins nymea
a062ab44cf
Merge PR #272 : Fix param values getting lost in ScriptEvents
2020-04-05 14:43:23 +02:00
Michael Zanetti
6b0697182d
Fix a crash when removing a thing without plugin
2020-04-05 14:41:12 +02:00
Michael Zanetti
944c0b8b5a
Properly initialize ScriptState values
2020-04-05 11:54:32 +02:00
Michael Zanetti
045a3606a2
fix typo when refactoring
2020-04-05 11:52:09 +02:00
Michael Zanetti
d362ce913e
Add a displayMessage for errors to browsing operations
2020-03-25 00:22:34 +01:00
Michael Zanetti
b01e8c8ee4
Fix deprecation warning for notifications
2020-03-24 15:22:24 +01:00
Michael Zanetti
a53e714f25
Allow removing child things if they're not autocreated
2020-03-20 11:11:46 +01:00
Michael Zanetti
e388d46bc6
Add better error reporting if SSL fails to establish a connection
2020-03-20 10:18:29 +01:00
Michael Zanetti
8f846434b9
Fix loading of pluginmetadata
2020-03-19 18:17:39 +01:00
Michael Zanetti
d82054df5d
Fix param values getting lost in ScriptEvents
2020-03-18 18:16:00 +01:00
Michael Zanetti
16e731e5e2
fix a bug in the device handler
2020-03-17 15:32:44 +01:00
Michael Zanetti
8fd3bf8a55
Update docs
2020-03-17 13:17:05 +01:00
Michael Zanetti
a894d27a18
Update script api
2020-03-05 19:50:15 +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
6b4640d412
Merge PR #265 : Keep devices without plugins in the system
2020-02-23 23:38:28 +01:00
Jenkins nymea
c662657ce5
Merge PR #264 : Fix ScriptAction qqmlparserstatus
2020-02-23 23:38:28 +01:00
Jenkins nymea
690031a77c
Merge PR #263 : Fix some issues reported by valgrind
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
db43d2ca6c
rename file and add copyright header
2020-02-10 14:22:43 +01:00
Michael Zanetti
ee30ece5c2
Delete devices before plugins when shuttting down
2020-02-10 13:00:24 +01:00
Michael Zanetti
68e9fe1ba1
Cache device classes and keep devices with missing plugins in the system
2020-02-10 00:53:28 +01:00
Michael Zanetti
6e4a0bc84b
Add better device setup status details to api
2020-02-10 00:53:04 +01:00
Michael Zanetti
c0d0e13b71
Fix ScriptAction qqmlparserstatus
2020-02-09 19:06:44 +01:00
Michael Zanetti
b12e203572
Fix some smally memory leaks reported by valgrind
2020-02-09 15:54:23 +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
401a42a78c
Merge PR #252 : Fix crash when removing a connected transport interface
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
b7ac4ec806
Merge PR #248 : Disconnect all slots of nymea:core on shutdown
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
1554c568eb
Merge PR #245 : Use a more unique nonce for the remote connection
2020-01-29 21:44:34 +01:00
Jenkins nymea
56b0570231
Merge PR #244 : Subscribe to the entire device namespace in nymea:cloud MQTT
2020-01-29 21:44:34 +01:00
Jenkins nymea
8b992870a3
Merge PR #243 : Update device names when changed by the plugin
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
85c29ab4b5
Merge PR #240 : Update company name
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
Michael Zanetti
8f5536ba1a
Update copyright
2020-01-23 20:07:26 +01:00
Jenkins nymea
495b3e1ab6
Merge PR #252 : Fix crash when removing a connected transport interface
2020-01-22 23:47:15 +01:00
Jenkins nymea
02f63acb94
Merge PR #250 : Qt versions
2020-01-22 23:47:15 +01:00
Jenkins nymea
5cbace14bf
Merge PR #248 : Disconnect all slots of nymea:core on shutdown
2020-01-22 23:47:15 +01:00
Jenkins nymea
27ca2f3174
Merge PR #247 : Generate a version.h file
2020-01-22 23:47:15 +01:00
Jenkins nymea
f82bc6949c
Merge PR #245 : Use a more unique nonce for the remote connection
2020-01-22 23:47:15 +01:00
Jenkins nymea
ce4348143a
Merge PR #244 : Subscribe to the entire device namespace in nymea:cloud MQTT
2020-01-22 23:47:15 +01:00
Jenkins nymea
670bda1e28
Merge PR #243 : Update device names when changed by the plugin
2020-01-22 23:47:15 +01:00
Jenkins nymea
2d08e7a028
Merge PR #241 : Improve log DB housekeeping performance
2020-01-22 23:47:15 +01:00
Jenkins nymea
74be126d76
Merge PR #240 : Update company name
2020-01-22 23:47:15 +01:00
Jenkins nymea
e256ac034d
Merge PR #238 : Add System Time API
2020-01-22 23:47:14 +01:00
Michael Zanetti
07cf9e05ae
Fix crash when removing a connected transport interface
2020-01-22 23:43:07 +01:00
Michael Zanetti
f44b4906a5
Add Qt version info to API
2020-01-21 22:56:28 +01:00
Michael Zanetti
de0395f115
Disconnect all slots of nymea:core on shutdown
2020-01-15 14:17:01 +01:00
Michael Zanetti
a21dde0289
Generate a version.h file instead of passing it via DEFINES
2020-01-15 12:39:35 +01:00
Michael Zanetti
744f25312b
Cleanup as code review suggests
2020-01-15 12:32:32 +01:00
Michael Zanetti
7d615293c5
Use a more unique nonce for the remote connection
2020-01-10 13:31:31 +01:00
Michael Zanetti
03c8e8d114
Improve log DB housekeeping performance
...
Getting row count on a db with approx 200000 entries on an RPi takes
about 500ms. To avoid this, this branch keeps better track of entries
in the DB and only queries DB count if we can't calculate it ourselves.
Trimming itself takes some 150ms. To reduce those calls it changes the
threshold of when to trim the DB from a fixed value of 100 to 1% of
maxDBSize.
Last but not least, getLogEntry() calls are now prioritized over
appendLogEntry() calls in order to stay responsive to client apps even
if the DB is overloaded with a huge job queue.
If the job queue grows to over 1000 jobs, logs of the same device/type
will be discared to avoid log flooding.
2020-01-05 23:46:51 +01:00
Michael Zanetti
7374652121
Subscribe to the entire device namespace in nymea:cloud NQTT
...
This allows the REST proxy to establish remote connections.
2020-01-05 20:37:13 +01:00
Michael Zanetti
b3ebbc18c0
Update device names when changed by the plugin
2020-01-05 14:58:02 +01:00
Michael Zanetti
9c7694c133
Update company name
2019-12-27 00:29:58 +01:00
Michael Zanetti
b2960f5f62
fix typo
2019-12-16 12:23:26 +01:00
Michael Zanetti
b6a3a8e0bf
fix typos in api doc
2019-12-16 11:35:38 +01:00
Michael Zanetti
4e70f0f5f8
build with older Qt
2019-12-16 11:16:26 +01:00
Michael Zanetti
9b07216768
Add system api to configure the system time
...
This gets rid of the locally kept time zone which caused issues
in plugins and the ScriptEngine.
2019-12-15 12:44:14 +01:00
Michael Zanetti
24cecf9d47
Add tests for the scriptengine
2019-12-10 18:49:28 +01:00
Michael Zanetti
dd70129a4d
Add ScriptAlarm
2019-12-10 00:22:49 +01:00
Michael Zanetti
9ecb2d0af4
Support params
2019-12-08 22:13:36 +01:00
Michael Zanetti
5ae3af6cbf
Only install our filter once
2019-12-02 00:02:14 +01:00
Michael Zanetti
22bacf09e1
fix build
2019-12-01 01:14:26 +01:00
Michael Zanetti
5a36c2347f
fix logging system to cope with the qml output redirection
2019-12-01 00:08:57 +01:00
Michael Zanetti
bffdf9cb88
add copyright headers
2019-12-01 00:08:57 +01:00
Michael Zanetti
ebf4d83286
Make it build with Qt 5.5
2019-12-01 00:08:57 +01:00
Michael Zanetti
9a52345700
fix notifications
2019-12-01 00:08:57 +01:00
Michael Zanetti
53a79c52d6
fixes
2019-12-01 00:08:57 +01:00
Michael Zanetti
3c274b04ab
More work on scripting
2019-12-01 00:08:57 +01:00
Michael Zanetti
3a9a0a0abc
Add scripts api namespace
2019-12-01 00:08:57 +01:00
Michael Zanetti
6ab6f8a80b
tune script types a bit
2019-12-01 00:08:57 +01:00
Michael Zanetti
d4081195d4
Some more work on the script engine
2019-12-01 00:07:35 +01:00
Michael Zanetti
0f75be0fa4
Require Qt 5.12 for ScriptDevicePlugin
2019-12-01 00:07:35 +01:00
Michael Zanetti
4c0c95b1a8
Add a ScriptEngine
2019-12-01 00:07:35 +01:00
Michael Zanetti
fd401a850a
cleanup
2019-12-01 00:07:35 +01:00