35 Commits

Author SHA1 Message Date
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
9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02:00
Michael Zanetti
d362ce913e Add a displayMessage for errors to browsing operations 2020-03-25 00:22:34 +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
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
Michael Zanetti
6e4a0bc84b Add better device setup status details to api 2020-02-10 00:53:04 +01:00
Michael Zanetti
fb94178920 Move authentication to Users namespace 2020-02-08 01:30:11 +01:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti
fa1cd3605c Add deprecation warnings 2019-11-04 11:56:24 +01:00
Michael Zanetti
5be6e6e19d Deprecate Actions/Events/States namespaces 2019-11-04 10:52:36 +01:00
Michael Zanetti
0e7edd5abd cleanup 2019-11-04 10:52:06 +01:00
Michael Zanetti
3cbd01c1d2 drop all pack/unpack methds 2019-11-03 21:24:16 +01:00
Michael Zanetti
11a388d729 implement stubs for AddDelivery and GetDeliveries 2019-11-01 20:55:45 +01:00
Michael Zanetti
bdd9876a88 Allow registering QMetaObjects on JSON api 2019-11-01 20:55:45 +01:00
Michael Zanetti
5e3bc2acbd Drop JsonTypes class by distributing logic to json handlers
This is required in order to be able to be more flexible in registering
new types/methods.
2019-11-01 20:46:55 +01:00
Michael Zanetti
977247e950 Complete setup api 2019-10-31 13:09:26 +01:00
Michael Zanetti
7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00
Michael Zanetti
b4ae1919ba cleanup fixes 2019-07-25 15:56:18 +02:00
Michael Zanetti
1608e07d99 BrowserItems in rules working 2019-07-25 15:56:18 +02:00
Michael Zanetti
4e7557f964 add locale option 2019-07-25 15:56:18 +02:00
Michael Zanetti
ff337bf8b6 Make browser item execution work async too 2019-07-25 15:56:18 +02:00
Michael Zanetti
57f68bcdc0 More work on adding a Device browser 2019-07-25 15:56:18 +02:00
Michael Zanetti
933d92ab06 Intermediate commit (device browser) 2019-07-25 15:56:18 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Michael Zanetti
77a3e851bd Add support for device settings 2019-07-04 13:33:50 +02:00
Michael Zanetti
5808da8f86 Make the initial handshake (JSONRPC.Hello) mandatory. 2019-04-10 12:43:03 +02:00
Michael Zanetti
8ebd1ddc4e Rework translation mechanism
This branch moves the translation logic out of the DevicePlugin
into the JsonRpc layers (JsonRpcHandlers and Rest handlers) and
deprecates the Configuration.SetLanguage method call. Instead
it adds a "locale" property in the JSONRPC.Hello message. This
will allow multiple clients to connect to a single core using
different languages.
2019-04-08 16:49:24 +02:00
Michael Zanetti
5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Michael Zanetti
d956df8483 Allow overriding device parameters from discovered devices 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti
4be14f1904 libguh-core -> libnymea-core 2019-04-08 13:55:15 +02:00