Commit graph

332 commits

Author SHA1 Message Date
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
b32e3a0c14 After effects of enum change 2026-11-08 10:21:40 -05:00
16a6499c72 Enum mismatch on expired invoices being shown the correct error prompts on ticket setup 2026-11-08 10:20:54 -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
788c9f8cc4 Name change for a service folder. Renamed keys_and_verifications to config_tools. Renamed module wireguard_keys to wireguard_configs. 2026-11-06 20:04:20 -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
71e7dc5cb1 Cross-protocol Firewall kill made easier to access 2026-11-05 18:17:37 -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
728a6bd51c Improved error handling for SudoScript 2026-11-03 16:55:25 -05:00
4096196849 Moved UI state update on restore systemwide verification from the repo to the controller 2026-11-02 20:22:21 -05:00
b073ce2fa5 tweak, increase timeout for async 2026-11-02 14:57:58 -05:00
a9f45b43aa Making sure Tor is recognized in location checking 2026-11-02 14:53:51 -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
62d2d15858 Transition to the same tests for wireguard systemwide as for session 2026-11-02 08:32:05 -05:00
9ade83b454 Moving threading setup to inside the function, to avoid threads at the same time locking up the connection test 2026-11-02 08:31:01 -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
7c291997b2 atexit moved to ui repo 2026-11-01 19:55:31 -05:00
df751949a4 Increase the timeouts 2026-11-01 19:54:31 -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
af3050106f Notifies on sync complete for the UI 2026-10-30 15:01:41 -04:00
57206dde46 Singbox dependency check in the launcher, forwards to GUI error handler to coordinate setup 2026-10-30 08:55:02 -04:00
9948ac0454 Improved initial load state management for evaluation on background, but kill sessions on mainthread 2026-10-29 19:49:47 -04: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
9022c1ff05 Only use controller to modify system state, never the model directly, because it bypasses the repo 2026-10-27 17:08:14 -04:00
295f34c8f9 Plumbing and wireguard loop fixed, via using the controller only to modify systemstate, and fixing a bug in the plumbing for the 'no option' functions being run without execute 2026-10-27 17:05:20 -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
b6275269b5 Result Error Chain Ledger 2026-10-26 21:37:28 -04:00
958c906f30 Respawn ticket use working 2026-10-26 18:45:01 -04:00
f53661fc60 Improved Systemwide Wireguard Error Flow, to cache each stage of progress to the end of the loop, and prompt the user on each choice. 2026-10-25 20:55:19 -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
d7f953b907 Improved UI feedback on connections, sync, and use of tickets. 2026-10-24 16:22:52 -04:00
c4a3e6c948 Improved UI feedback on connections. And new plumbing UI data structure and prompts for stacktrace errors 2026-10-24 13:13:06 -04:00
68c47f9a8c broken imports and reduced logger clutter on startup 2026-10-24 11:48:43 -04:00
b64971d96d dev env undo 2026-10-23 20:33:26 -04:00
70ed33bb5b disconnect notifications 2026-10-23 20:05:54 -04:00
bf9063b1f8 Refactor of Ticket flow. Stable to get confirmed Result via CLI. Not yet GUI 2026-10-23 19:32:12 -04:00
8dca35d5c9 New payment flow confirms paid status and updates. Solved the previous issue with repeat invoices attempting to get a new invoice but being told its paid without an invoice. 2026-10-23 16:05:59 -04:00
00ef301baf Relying on end_singbox now, instead of a dedicated helper for mini-takedown 2026-10-22 21:50:43 -04:00
8a72ae76fd Fixed a bug in teardown of failed attempt, to properly kill firewall 2026-10-22 21:49:24 -04:00
f54ed5686a Use of a pre-existing billing code, to then connect 2026-10-22 21:20:59 -04:00
b68d1ea6bd removal of unused importS 2026-10-22 16:00:44 -04:00