15 Commits

Author SHA1 Message Date
Michael Zanetti
192bdac209 Fix webserver tests
canonicalFilePath() behavior seems to have changed at some point
and not existing files outside the public dir will return a 404
rather than a 403. Ideally the logic would be fixed to first
check for the file being outside the public directory, directly
returning a 403, then checking if the file exists, return a 404
if not, and lastly check for permissions on the file and return
a 403 again of denied. However, that would result in a bigger
change.

Also, the tests were failing all along if syslog exists but is
not readable (code is ok, just bad test) but none of our
autotesters seemed to have such a setup till now.
2022-04-23 00:23:21 +02:00
Michael Zanetti
47add31e63 Add configuration for the tunnel proxy server 2022-02-08 11:00:09 +01:00
Michael Zanetti
30a0469212 Update tests 2021-01-02 14:33:15 +01:00
Michael Zanetti
bf88664d90 Silence the webserver even more
Enough is enough. Now we only print warnings if there is something
wrong on our side, but not any more if the client sends bad
requests.
2020-12-11 13:07:30 +01:00
Michael Zanetti
2f17a86506 Fix the webserver for serving static files 2020-09-23 00:49:37 +02:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Jenkins nymea
27ca2f3174 Merge PR #247: Generate a version.h file 2020-01-22 23:47:15 +01:00
Michael Zanetti
a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +01:00
Michael Zanetti
9c7694c133 Update company name 2019-12-27 00:29:58 +01:00
Michael Zanetti
03b8be22d6 Drop old REST server 2019-11-01 20:14:00 +01:00
Michael Zanetti
de11e11469 Update ZeroConf names when the server is renamed 2019-07-04 17:13:01 +02:00
Michael Zanetti
253972cb9a Abstract ZeroConf into a platform plugin 2019-05-23 05:35:03 +02:00
Michael Zanetti
9e2d495f9a Fix JsonRpc server breaking transports upon guard timer timeouts 2019-04-16 19:48:56 +02:00
Simon Stürz
e51508ee33 Update webserver debug output, add WebServerTraffic category and fix favicons for debugserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00