Commit Graph

52 Commits (1f6cfd4527ea8537b31925bfef9279d8d22d71c2)

Author SHA1 Message Date
Simon Stürz 5a3c7a6cfb first working REST call
add httpreply and httprequest to lib
2019-04-01 20:48:17 +02:00
Simon Stürz 478c832ec8 add some tests and add documentation to httpreply 2019-04-01 20:48:17 +02:00
Simon Stürz f1dd14527e prepared tcp server and mock server for webserver
add TransportInterface
add basic structure of webserver
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 5bbf1fc70b rename logging 2019-04-01 20:48:17 +02:00
Simon Stürz a8727407eb added logging category to core and lib 2019-04-01 20:48:17 +02:00
Simon Stürz 5af2067308 bump api versio
bump guh version
added tests for edit device
added tests for edit device (rediscovery)
added device params changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz 2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Simon Stürz a39a38f993 added rules notifications 2019-04-01 20:48:17 +02:00
Simon Stürz f0d7fbd3f5 bump guh version and add a more specific rule error 2019-04-01 20:48:17 +02:00
Simon Stürz 90622e5edb improove RuleAction logic
add tests
fix documentation
2019-04-01 20:48:17 +02:00
Simon Stürz f26ec0fa47 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz 0603b8a3b7 fixed tests and bump api 2019-04-01 20:48:17 +02:00
Simon Stürz 48b09ecf01 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz 9e10d1a99d added name for rules 2019-04-01 20:48:17 +02:00
Simon Stürz c1a0895a3f added Uint and Color to base types 2019-04-01 20:48:17 +02:00
Simon Stürz d4f94c8b8c bump API version 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 5cd3154b64 add possibility to disable/enable rules
Fixes #58
2019-04-01 20:48:17 +02:00
Michael Zanetti 66f4a361a1 add Events.GetEventType
Fixes #59
2019-04-01 20:48:17 +02:00
Michael Zanetti 63fb728269 bump version 2019-04-01 20:48:17 +02:00
Michael Zanetti f75c7abde4 bump api version 2019-04-01 20:48:17 +02:00
Michael Zanetti de6b60734e Decouple the json timeout from the actual error code.
Fixes #50
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 b252ff9706 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti 824464e09b fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti be90f47f63 more work on rules
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00
Michael Zanetti a6725ec4e9 add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti 16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +02:00
Michael Zanetti 21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti 0110e3a8eb test the handshake message 2014-05-05 00:35:06 +02:00
Michael Zanetti edb6c956e6 drop some debug prints 2014-05-04 04:53:08 +02:00
Michael Zanetti c54e289403 added a mechanism to bump the version
added a test that checks for JSONRPC api changes and enforces a version bump
2014-05-03 17:22:44 +02:00
Michael Zanetti c1ed5054c8 bring back the welcome message
Fixes #4
2014-04-28 20:44:49 +02:00
Simon Stürz 2a372dd240 added google mail notification plugin
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti fe95326a10 fix some warnings 2014-04-16 01:13:16 +02:00
Michael Zanetti c56ebcb6a2 also implement async replies 2014-04-13 22:40:49 +02:00
Michael Zanetti a5eb0ef759 some more checks 2014-04-13 17:58:33 +02:00
Michael Zanetti c027bb1481 reenable strict argument checking, now that we can mark parameters as optional 2014-04-06 01:32:46 +02:00
Michael Zanetti 415a48d659 make things more typesafe 2014-04-05 23:37:55 +02:00
Michael Zanetti 4f679b3bc3 restructure lib a bit. added initial code for the new rules stuff 2014-04-05 22:01:38 +02:00
Michael Zanetti 044be78064 added methods to query states and properly test state changes on notifications 2014-04-04 22:50:59 +02:00
Michael Zanetti 5a6d7bf2ba states implemented 2014-04-04 01:34:13 +02:00
Michael Zanetti 6dd81e641c some more work on states and the rules doc 2014-04-04 00:10:15 +02:00
Michael Zanetti ca9c9fffb9 make json parsing a bit more verbose 2014-04-02 01:09:38 +02:00
Michael Zanetti 66890e3161 added a new mockdevice plugin 2014-04-01 00:21:19 +02:00
Simon Stürz 95f806ccaf added licence to source code 2014-03-31 21:55:33 +02:00
Simon Stürz be4ee5c14d hive -> guh 2014-03-31 20:33:30 +02:00
Michael Zanetti 61a7a68ee0 added JSONRPC.Version and JSONRPC.SetNotificationStatus 2014-03-30 01:14:39 +01:00