269 Commits

Author SHA1 Message Date
Simon Stürz
f74c0ffd63 add logging action ids 2019-04-01 20:48:17 +02:00
Simon Stürz
572f98bc6c add logging tests and clear database method 2019-04-01 20:48:17 +02:00
Simon Stürz
8d979cea51 add coap tests 2019-04-01 20:48:17 +02:00
Simon Stürz
a015865780 fix debugs and plugin settings 2019-04-01 20:48:17 +02:00
Simon Stürz
e454351865 start fixing rules 2019-04-01 20:48:17 +02:00
Simon Stürz
aa5cba8189 add rest methods for testing
update rest tests with new methods
2019-04-01 20:48:17 +02:00
Simon Stürz
a2f7596188 fix debug output for log files
fix #249
2019-04-01 20:48:17 +02:00
Simon Stürz
10497313ea add display pin mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz
057c1cf065 bump version
bump api version
update StateType
2019-04-01 20:48:17 +02:00
Simon Stürz
09d66587ce add tests for rule action param verification
fix #231
2019-04-01 20:48:17 +02:00
Simon Stürz
60067f7c0b fix #143 2019-04-01 20:48:17 +02:00
Simon Stürz
1caab0efdc update license check 2019-04-01 20:48:17 +02:00
Simon Stürz
285d66591a fix lib export for tests 2019-04-01 20:48:17 +02:00
Simon Stürz
3d470bc634 fix libguh-core
add install path for test package
2019-04-01 20:48:17 +02:00
Simon Stürz
5f66f0cbe3 fix remove device method
bump api
2019-04-01 20:48:17 +02:00
Simon Stürz
fb6aa3e068 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
550f8a29f4 add libguh-core target 2019-04-01 20:48:17 +02:00
Simon Stürz
f9c15d689e add execute rule actions 2019-04-01 20:48:17 +02:00
Simon Stürz
7682697c46 add aWATTar plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
9228911a8d fix hue plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
c6cb07f040 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
fd8a65f814 fix plugin tests 2019-04-01 20:48:17 +02:00
Simon Stürz
bae722abc3 add REST plugins, rules and vendors error handling
bump api version
2019-04-01 20:48:17 +02:00
Simon Stürz
8cd6866ffb error handling for devices and deviceclasses resource 2019-04-01 20:48:17 +02:00
Simon Stürz
e070138e4b add tests for push button mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
0fb45733dc added OPTIONS tests and fixed pairing device for REST 2019-04-01 20:48:17 +02:00
Simon Stürz
e0533ee014 fix user agent test (just warning, nor error) 2019-04-01 20:48:17 +02:00
Simon Stürz
0cad43bac2 fix http version test
TODO: close connection if HTTP/1.0
2019-04-01 20:48:17 +02:00
Simon Stürz
b11206cbc8 fix tests and http reply 2019-04-01 20:48:17 +02:00
Simon Stürz
01f9b418a9 fix replies from webserver 2019-04-01 20:48:17 +02:00
Simon Stürz
d759602915 check rest device tests 2019-04-01 20:48:17 +02:00
Simon Stürz
8cc576d12e add client max connections and connection timeout
fix OPTIONS bug
add persistent connection for webserver
2019-04-01 20:48:17 +02:00
Simon Stürz
ba5aedaaab fixed CORS and webserver and tests 2019-04-01 20:48:17 +02:00
Simon Stürz
653043f7b1 add OPTIONS method + CORS 2019-04-01 20:48:17 +02:00
Simon Stürz
d144c58c78 fix other test 2019-04-01 20:48:17 +02:00
Simon Stürz
45a74c1663 fix test 2019-04-01 20:48:17 +02:00
Simon Stürz
b35f5f69bf fixed namespace and added documentation for servers 2019-04-01 20:48:17 +02:00
Simon Stürz
e358fbda71 update man page
fix test scripts
2019-04-01 20:48:17 +02:00
Simon Stürz
214cbb7f3e add websocket tests
bump guh version
add websockets as reccommended dependency
2019-04-01 20:48:17 +02:00
Simon Stürz
345cd53f7e fix websockets test define 2019-04-01 20:48:17 +02:00
Simon Stürz
fc86244018 change ports and add ssl configuration 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
7f87cdd777 fixed reply error 2019-04-01 20:48:17 +02:00
Simon Stürz
84a84b30d0 fix tests and default response 2019-04-01 20:48:17 +02:00
Simon Stürz
1f6cfd4527 add rule tests and rest resource 2019-04-01 20:48:17 +02:00
Simon Stürz
1330ed31a3 fix socket error debug
add edit device by discovery tests
2019-04-01 20:48:17 +02:00
Simon Stürz
8b0e279c0c add more tests for REST resources 2019-04-01 20:48:17 +02:00
Simon Stürz
67131a54d9 add more tests 2019-04-01 20:48:17 +02:00
Simon Stürz
ea9d8d6d90 added more tests
move httprequest and reply to server
added request parsing logic
2019-04-01 20:48:17 +02:00