47 Commits

Author SHA1 Message Date
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
567027e99f remove options tests 2019-11-01 20:14:00 +01:00
Michael Zanetti
371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00
Michael Zanetti
5bca8e730e enable rest for rest tests 2019-04-08 13:55:15 +02:00
Michael Zanetti
86c7a7bec6 update tests 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
34d68ab38a guhtestbase -> nymeatestbase 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti
dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti
22533fb23c guhd -> nymead 2019-04-08 13:55:15 +02:00
Simon Stürz
829c59ccca Fix plugin config debug test options call 2019-04-08 13:55:15 +02:00
Simon Stürz
dc06950278 Fix plugin config debug test 2019-04-08 13:55:15 +02:00
Simon Stürz
db159398b0 Add plugins test 2019-04-08 13:55:15 +02:00
Simon Stürz
ac4eb3d8b2 Fix OPTIONS test for syslog file 2019-04-08 13:55:15 +02:00
Simon Stürz
eafa59b32f Improve code coverage and debug server handler 2019-04-08 13:55:15 +02:00
Simon Stürz
0b2161896d Fix test for OPTIONS method call 2019-04-08 13:55:15 +02:00
Simon Stürz
6e0175393c Make test save against unreadable syslog 2019-04-08 13:55:15 +02:00
Simon Stürz
5e69772035 Add debug server interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
b0098701d4 fix rest tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
57ba2b25c2 make tests work again 2019-04-02 01:02:45 +02:00
Michael Zanetti
8ec89ad939 update testwebserver to use SSL encryption 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
f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz
0eafc2f0fb add some basic httpreply calls 2019-04-01 20:48:17 +02:00
Simon Stürz
88706ccbc6 fix count 2019-04-01 20:48:17 +02:00
Simon Stürz
b003cc6a68 fix webserver tests 2019-04-01 20:48:17 +02:00
Simon Stürz
8f387688e4 fix webserver test 2019-04-01 20:48:17 +02:00
Simon Stürz
3438d74ee4 fetch icons test 2019-04-01 20:48:17 +02:00
Simon Stürz
e4d7d0d1c5 add vendor requests and server xml tests 2019-04-01 20:48:17 +02:00
Simon Stürz
45e7e4798e begin upnp tests 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
01f9b418a9 fix replies from webserver 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
fc86244018 change ports and add ssl configuration 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
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
Simon Stürz
b86a062a87 added deviceresources and first tests 2019-04-01 20:48:17 +02:00
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
27a8db73d8 added tests
added httpreply
first working version of webserver
2019-04-01 20:48:17 +02:00