Commit graph

16 commits

Author SHA1 Message Date
5d858a70ab Introduced a new polling system in the background, which checks active session profiles for dead subprocesses. This has the effect of auto-closing a profile when the user closes the session profile's graphical window or app. 2026-11-01 21:18:38 -05:00
039c162976 Moved global state coordinator functions to a dedicated controller, so that the coordinator isn't circular imported when it doesn't need to be. The underlying functions are not even used in the coordinator, so the original reasons for having them there are no longer relevant 2026-11-01 18:44:59 -05:00
da7d912a0c Tor profile cleanup and error handling. Moved more functions out of ConnectionController 2026-11-01 17:42:48 -05:00
257bb952f7 Session wireguard profiles switched over to the new state management system 2026-11-01 16:46:27 -05:00
0b065fb025 Solved a bug with connections after ticket use, which previously had a threading issue on reconnect. That threading bug had the reconnect hit up wireguard key renegotiation multiple times, causing a subscription error on one of those threads. Now instead, session profiles are still started via a background thread, but when closed via the external X11 window, they trigger a notification to the main UI with @mainthread to disconnect it. This is a temporary workaround to the pre-existing issues with SessionState process management, until that SessionState module can be refactored. 2026-10-29 10:17:38 -04:00
e73512770c State Repo is the one to flip on systemwide UI. Which forces state to match visuals 2026-10-27 09:33:17 -04:00
14e257d091 systemwide wg goes connect -> test -> location check -> mtu check -> port check -> wg renegotiate 2026-10-25 14:25:09 -04:00
25d69d728c Plumbing switched to regular thread (not executor). Introduced Port checking and changing as part of wireguard failure 2026-10-25 09:35:50 -04:00
70ed33bb5b disconnect notifications 2026-10-23 20:05:54 -04:00
f54ed5686a Use of a pre-existing billing code, to then connect 2026-10-22 21:20:59 -04:00
af368db8b7 Ticket Refactor to accept ServerReply objects, and keep the internal flow returning Result objects 2026-10-22 03:31:33 -04:00
2208cedb7e Introduced Location & MTU testing on systemwide Wireguard. As well as IP address testing instead of the previous method. Additionally, 400 status APIs now pass through the APIResponse layer as True to be evaluated by the SeverReply Layer. Finally notifications are better integrated to convey the testing rounds to the end user. 2026-10-21 13:37:21 -04:00
e296e212db edit legacy comments 2026-10-16 18:07:26 -04:00
e8373cf0ab State is cached via a repo 2026-10-16 17:59:14 -04:00
5dc1463862 Singbox on disable, checks if wireguard is active, and kills it 2026-10-15 16:20:44 -04:00
732b17fb4a Introduced new ProfileRepo to cache profiles. All profile access is now coordinated through the ProfileController. And the ProfileController's previous bloat mission-creep of connections, is now moved to it's own service repo 2026-10-15 12:10:49 -04:00