Commit Graph
25 Commits
Author SHA1 Message Date
Kenneth Skovhede 179d1ceb47 Make controller Async
This PR has a large blast radius because it takes the final step and bumps up the Controller to be fully async.

We have historically done a piece-by-piece update, so all operations were already async but the controller interface was kept synchronous.

With this update, the controller is now fully async and all tests are updated.

Most places where the new C# compiler warns about function names not ending in `Async` were also adressed, giving a massive refactor change.

Functionally, no changes are done.
2026-05-13 15:04:13 +02:00
Kenneth Skovhede 05d91e6052 Websocket for remote management
This PR adds websocket messages so the FE does not have to use polling to update the view state.
2026-05-08 19:10:01 +02:00
Kenneth Skovhede 50d79d573c Handle expired links
This PR updates the code that handles remote connections to detect server emitted error messages and log them.

Prior to this PR an expired link would make the UI appear to be sort-of connected with no indication of why it would not fully connect.
2026-04-29 15:26:27 +02:00
Kenneth Skovhede b26782ddf1 Improve config speed from console
This PR updates the remove configuration to receive configuration directly on connection, instead of waiting for the server to send it.

This also adds a hibernation setting that will let the server tell the client to stop connecting for a while which can reduce resource consumption at the cost of not being always available.
2026-04-21 14:47:03 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede 7769d92112 Guard against sending extra header.
If the remote client is sending an extra unwanted header, just ignore it.
2025-10-23 14:54:21 +02:00
Marcelo C. 614f047dbb Sets infinite timeout for HTTP clients
Ensures that long-running HTTP requests, such as downloads and uploads, do not timeout prematurely.

This change configures specific HttpClient instances with an infinite timeout to accommodate operations that may take an extended period. The default 100s timeout is retained for some operations like registration, where a long delay may indicate a problem.
2025-06-12 10:33:13 -03:00
Kenneth Skovhede 91836deb5a Adjusted logging to prevent logging messages with no useful information 2025-05-30 08:11:21 +02:00
Kenneth Skovhede b754caccc3 Added metadata to reports to report current update channel 2025-03-25 12:34:54 +01:00
Kenneth Skovhede cbb639651a Added support for handling control messages.
This enables automatic reporting setup via remote management.
2025-03-03 17:39:25 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede 6c3735fc56 Fixed the no-response timeout to follow the heartbeat interval. 2024-11-19 22:20:46 +01:00
Kenneth Skovhede 6d72ff2c2f Increased heartbeat period and reduced log-spam on the information level. 2024-11-14 11:41:18 +01:00
Kenneth Skovhede ae004d37c1 Made the reconnect logic more robust 2024-10-03 08:46:34 +02:00
Kenneth Skovhede 08dd1631b7 Manually handling the reconnects.
Common handling of time-delayed events.
2024-10-02 14:50:35 +02:00
Kenneth Skovhede 6ecbaa6da1 Fixed timeout logic 2024-10-01 08:42:34 +02:00
Kenneth Skovhede 1b9363e23a Added logic and error handling for requests 2024-09-28 18:53:35 +02:00
Kenneth Skovhede 344e6c2480 Made byte[] encoding explicit 2024-09-28 17:07:52 +02:00
Kenneth Skovhede 938fc16509 Updated protocol 2024-09-28 16:08:57 +02:00
Kenneth Skovhede 227b8d6dca Added feature to keep the remote control setting, and reconnect on startup.
Updated message types to fit the procotol.
2024-09-27 16:14:40 +02:00
Kenneth Skovhede 4f21937b42 Updated message types to fit procotol 2024-09-25 11:35:03 +02:00
Kenneth Skovhede 3bafe74c0a More work on getting the protocol fixed 2024-09-23 23:18:36 +02:00
Kenneth Skovhede 68c57bc64f Added certificate url for obtaining new certificates 2024-09-23 11:45:12 +02:00
Kenneth Skovhede 550397cd70 Switched to using a single common certificate implementation 2024-09-20 09:42:21 +02:00
Kenneth Skovhede 669e90704d Initial work on supporting a secure remote control connection. 2024-09-18 11:07:59 +02:00