53 Commits

Author SHA1 Message Date
Michael Zanetti
39fc071ed6 defines GUH_* -> NYMEA_* 2019-04-08 13:55:15 +02:00
Michael Zanetti
99aa833ce8 add pushbutton auth 2019-04-02 01:02:45 +02:00
Michael Zanetti
a31adc5a18 more stabilizing, new api changes added 2019-04-02 01:02:45 +02:00
Michael Zanetti
0c4289b92c add JSONRPC.Hello method
it might happen that the auto-sent welcome message is lost.
this is a way for the client to retrieve it again.
2019-04-02 01:02:45 +02:00
Michael Zanetti
fc87cc5528 make username (email) case insensitive 2019-04-02 01:02:45 +02:00
Michael Zanetti
53cca56fd3 add methods to revoke existing tokens again 2019-04-02 01:02:45 +02:00
Michael Zanetti
08727a07ba Added API authentication 2019-04-02 01:02:45 +02:00
Michael Zanetti
165f61ee20 fix tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
ce123f9352 emit a notification when a plugin config is changed
fixes #418
2019-04-02 01:02:45 +02:00
Simon Stürz
9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz
859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz
f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz
5c334c2521 bump api and fix some tests 2019-04-01 20:48:17 +02:00
Simon Stürz
ed4794f43a fix logging tests 2019-04-01 20:48:17 +02:00
Simon Stürz
edfadb6c88 change test order 2019-04-01 20:48:17 +02:00
Simon Stürz
b841fd03d6 state changed notification 2019-04-01 20:48:17 +02:00
Simon Stürz
adff8306b3 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
da7cfc27f8 fix backtace output
fix some tests to make sure they have enough time to verify
2019-04-01 20:48:17 +02:00
Simon Stürz
c1a4d35387 fix test (TODO: find a better solution) 2019-04-01 20:48:17 +02:00
Simon Stürz
d3cb1317af add backtrace method and SIGSEGV 2019-04-01 20:48:17 +02:00
Simon Stürz
1ef6c80e79 add editDevice method 2019-04-01 20:48:17 +02:00
Simon Stürz
449c224da0 fix tests and remove mockdevices name param 2019-04-01 20:48:17 +02:00
Simon Stürz
e060d27a57 add checkNotifications 2019-04-01 20:48:17 +02:00
Simon Stürz
1c46a99412 add extra verify 2019-04-01 20:48:17 +02:00
Simon Stürz
6aeb18d674 fix JSONRPC tests 2019-04-01 20:48:17 +02:00
Simon Stürz
557baff39d add websocket server 2019-04-01 20:48:17 +02:00
Simon Stürz
85f6b441c9 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
e8053a1df5 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
1688a6b24c added database updated notification
fixed notification tests
fixed datetime notification id
bump api version
2019-04-01 20:48:17 +02:00
Simon Stürz
91afe4f29e add guhserver namespace to server 2019-04-01 20:48:17 +02:00
Simon Stürz
523b954933 speed up tests 2019-04-01 20:48:17 +02:00
Simon Stürz
b67bd44722 fixed enable disable notification tests 2019-04-01 20:48:17 +02:00
Simon Stürz
23f3a35a83 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
9ee5eb20a9 first version of alarm 2019-04-01 20:48:17 +02:00
Simon Stürz
69ca5c4713 bump api version
add tests for rule active changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz
265207914a added tests for DeviceParamsChanged (edit device) 2019-04-01 20:48:17 +02:00
Simon Stürz
b7b286e599 added tests for RuleAdded and RuleRemoved notifications
fixed notification bug in rulehandler
2019-04-01 20:48:17 +02:00
Simon Stürz
26ac948f98 added notification tests for DeviceRemoved and DeviceAdded 2019-04-01 20:48:17 +02:00
Simon Stürz
2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Michael Zanetti
240c5e36d6 implement a logging framework 2019-04-01 20:48:17 +02:00
Michael Zanetti
aad334c799 switch json api to better type system and enhance error reporting 2019-04-01 20:48:17 +02:00
Michael Zanetti
1aba1643f8 first attempt to clean up type system 2019-04-01 20:48:17 +02:00
Michael Zanetti
08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00
Michael Zanetti
21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti
8c4332cbab 2 small test additions to complete jsonrpc tests 2014-05-05 00:40:05 +02:00
Michael Zanetti
0110e3a8eb test the handshake message 2014-05-05 00:35:06 +02:00
Michael Zanetti
21c14cd6db add some more tests for invalid json messages 2014-05-05 00:23:04 +02:00
Michael Zanetti
d84319fdcc Finish off param handling. New param structures now used everywhere.
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti
76d2dbb4f3 added tests for all sorts of executeAction 2014-05-04 19:01:41 +02:00
Michael Zanetti
384690bb23 add a test for async device creation 2014-05-04 04:49:19 +02:00