Commit graph

30 commits

Author SHA1 Message Date
fad5f99fb6 Prereq checks introduced. And diagnostic steps on create profile. 2026-11-09 11:55:33 -05:00
b396695721 Edit warnings and respawn 2026-11-08 18:40:33 -05:00
37fae8a116 Config manager now ensures configs, as I transition away from connection_enable having all responsibility. Also updating locations now triggers respawn 2026-11-08 15:20:21 -05:00
b11625f1e8 Improved profile edit flow, with location and protocols checks. State mangement and config checks 2026-11-08 13:46:04 -05:00
ee49e41977 Introduced Support for Changing Profile Type 2026-11-08 10:22:07 -05:00
a01bd42122 Tweaks for Edit profile functionality as well as shifting to using protocol enums over connection.code 2026-11-07 20:25:34 -05:00
87cc90ffb1 Transition to using protocol enums and the protocol attribute in profiles, and away from connection.code 2026-11-07 12:35:02 -05:00
a64523d7a2 Removed type check from creating objects for performance. And moved update profile into a service folder 2026-11-07 10:17:47 -05:00
ffd1080d03 Transitioned Delete functionality to the model's data service (away from the model itself). And setup destroy service to be run as a background thread, which means disable separately 2026-11-06 21:05:35 -05:00
413d301086 Transition BaseProfile model functions to an isolated service model_manipulator for creating objects and saving to disk. 2026-11-06 19:11:52 -05:00
4afbcd02a7 Provide core filters for GUI fast profile state to use 2026-11-05 15:30:07 -05:00
920ba56403 Profile Controller now routes to the Repo and Profile Object Creator service 2026-11-05 11:46:23 -05:00
02cc80b152 Creation of Profile objects now happens in core, instead of GUI 2026-11-05 11:19:40 -05:00
7390939291 Introduced an Error Checking loop for Session networking, similar to what is already implemented in Systemwide, with the same ConnectionRecovery dataclass module. But most of these steps/functions have been moved from being in systemwide wireguard itself, to isolated modules (that session's network loop now calls upon). The reason for this change, is so that in a future transition, systemwide can refactor to re-using them also. On a different note, for ip checking, now asyncio is used for session profiles with a proxy port. While threading and multi-process que is used for systemwide profiles. 2026-11-02 14:27:40 -05:00
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