62 Commits

Author SHA1 Message Date
Simon Stürz
ab9df2711a Fix webserver disabled resource response flow 2025-11-19 09:56:23 +01:00
Simon Stürz
29ba4625e8 Add resource enable/disable handling 2025-11-19 09:56:23 +01:00
Simon Stürz
2a309ce596 Move static file reply creation to the resource 2025-11-19 09:56:23 +01:00
Simon Stürz
40182978e0 Implement webserver resource mechanism 2025-11-19 09:56:22 +01:00
Simon Stürz
cdabfb54a5 Update all guh references to nymea 2025-11-17 16:42:46 +01:00
Simon Stürz
4d170061fd Update license text and add SPDX identifier 2025-11-17 16:42:41 +01:00
Simon Stürz
835c1d9dd2 Update deprecated signals qt version handling 2025-09-11 10:09:56 +02:00
Simon Stürz
2acf7784a6 Update the entire Qt6 code to new signal slot connections
Update logging cathegories and allign coding style
2025-09-11 10:09:24 +02:00
Simon Stürz
f5c4bd16ac Add Qt6 support
Add Qt6 debian packaging
2025-09-11 10:09:24 +02:00
jenkins
6dcdc89c90 Merge PR #622: Manually check for Bluetooth before instantiating QtBluetooth 2023-02-21 17:43:37 +01:00
Michael Zanetti
25e3975618 Manually check for Bluetooth before instantiating QtBluetooth 2023-02-02 11:37:22 +01:00
Michael Zanetti
68163f20de Properly clean up the TCP server on shutdown 2022-12-27 20:05:47 +01:00
Simon Stürz
a3b3eecde8 Update debug prints and improve information given by warnings 2022-10-13 12:07:20 +02:00
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