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
Jenkins nymea
de82c4aa8e
Merge PR #487 : Fix a crash when removing a currently connected transport
2022-03-27 19:49:23 +02:00
Simon Stürz
3eb3b8ad8a
Fix tunnel proxy configuration and make it independent from the cloud configuration
2022-03-01 13:51:27 +01:00
Simon Stürz
1e132a49ac
Improve debug print for TunnelProxy
2022-02-08 11:00:09 +01:00
Michael Zanetti
3e94a1a4e8
fix typo
2022-02-08 11:00:09 +01:00
Michael Zanetti
47add31e63
Add configuration for the tunnel proxy server
2022-02-08 11:00:09 +01:00
Simon Stürz
fea2ae0866
Add new line for json rpc data sending
2022-02-08 11:00:09 +01:00
Simon Stürz
106961557b
Fix typo in several places
2022-02-08 11:00:09 +01:00
Simon Stürz
8b09f26ac3
Add tunnel proxy server
2022-02-08 11:00:09 +01:00
Michael Zanetti
6ab4d49ee1
Add multi user support
2022-02-08 10:36:14 +01:00
Michael Zanetti
8e9adec8d8
Fix a crash when removing a currently connected transport
...
Both, the TCP transport as well as the WebSocket transport were
crashing on this, but with different bugs.
2021-12-20 23:27:07 +01:00
Simon Stürz
df42273ed1
Undo add pending connection
2021-08-09 16:28:35 +02:00
Simon Stürz
ad78a13303
Make use of addPendingConnection in order to keept the incomming connection mechanism working
2021-08-05 13:48:32 +02:00
Michael Zanetti
167187a4fb
Fix some includes to be more flexible on finding headers
2021-05-11 22:41:42 +02:00
Jenkins nymea
01e9ad8916
Merge PR #337 : Support for configuring logging and filtering states/events
2021-02-25 11:26:56 +01:00
Michael Zanetti
30a0469212
Update tests
2021-01-02 14:33:15 +01:00
Simon Stürz
64a5ffbd37
Fix warning and pointer initialization
2020-12-30 00:15:08 +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
Jenkins nymea
a9c4717bfb
Merge PR #343 : Suppress recurring warning about missing user agents in http requests
2020-10-28 19:07:41 +01:00
Michael Zanetti
e53beffb4a
Suppress recurring warning about missing user agents in http requests
2020-10-19 18:47:01 +02:00
Michael Zanetti
2f17a86506
Fix the webserver for serving static files
2020-09-23 00:49:37 +02:00
Michael Zanetti
e388d46bc6
Add better error reporting if SSL fails to establish a connection
2020-03-20 10:18:29 +01: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
977247e950
Complete setup api
2019-10-31 13:09:26 +01:00
Michael Zanetti
7f0f2d1d09
Rework devicemanager and plugin api
2019-10-16 17:56:49 +02:00
Michael Zanetti
bbd18b4f65
Fix a debug print to avoid spamming the log
2019-09-06 21:47:17 +02:00
Michael Zanetti
a385188d37
More work on the device browser
2019-07-25 15:56:18 +02:00
Jenkins
bd3aaf1877
Merge PR #184 : Update ZeroConf names when the server is renamed
2019-07-22 12:16:57 +02:00
Michael Zanetti
d24abfe3d0
Move devicemanager's implementation out of libnymea into libnymea-core
2019-07-15 22:52:52 +02:00
Michael Zanetti
de11e11469
Update ZeroConf names when the server is renamed
2019-07-04 17:13:01 +02:00
Michael Zanetti
5ed3e73974
Fix some typos
2019-06-21 21:22:01 +02:00
Jenkins
7b1df33df2
Merge PR #177 : Flush client buffers before terminating a connection
2019-06-19 23:52:18 +02:00
Jenkins
fd7c99ebfe
Merge PR #170 : Abstract ZeroConf into a platform plugin
2019-06-19 23:52:18 +02:00
Michael Zanetti
dd32a187c3
Use close() instead of abort() when dropping clients
2019-06-18 16:23:10 +02:00
Michael Zanetti
253972cb9a
Abstract ZeroConf into a platform plugin
2019-05-23 05:35:03 +02:00
Michael Zanetti
ec727a1165
Don't use namespaces in headers in an inheritative way.
2019-05-09 18:33:26 +02:00
Michael Zanetti
9e2d495f9a
Fix JsonRpc server breaking transports upon guard timer timeouts
2019-04-16 19:48:56 +02:00
Michael Zanetti
5808da8f86
Make the initial handshake (JSONRPC.Hello) mandatory.
2019-04-10 12:43:03 +02:00
Michael Zanetti
8ebd1ddc4e
Rework translation mechanism
...
This branch moves the translation logic out of the DevicePlugin
into the JsonRpc layers (JsonRpcHandlers and Rest handlers) and
deprecates the Configuration.SetLanguage method call. Instead
it adds a "locale" property in the JSONRPC.Hello message. This
will allow multiple clients to connect to a single core using
different languages.
2019-04-08 16:49:24 +02:00
Michael Zanetti
d956df8483
Allow overriding device parameters from discovered devices
2019-04-08 13:55:15 +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
cb38dc0853
add license headers
2019-04-08 13:55:15 +02:00
Michael Zanetti
5847d6831d
add support for an MQTT hardware resource
2019-04-08 13:55:15 +02:00
Michael Zanetti
751359c528
added missing files
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