Commit graph

34 commits

Author SHA1 Message Date
c3bdd9c5db If all profiles fail to load, it does a database recovery (migration/wipe) 2026-11-10 14:39:39 -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
02cc80b152 Creation of Profile objects now happens in core, instead of GUI 2026-11-05 11:19:40 -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
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
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
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
257bb952f7 Session wireguard profiles switched over to the new state management system 2026-11-01 16:46:27 -05: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
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
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
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
b64971d96d dev env undo 2026-10-23 20:33:26 -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
a7b733db0d Functions added for wiping tickets when expired (the entire ticket cycle). Also general error fixing for the payments flow 2026-10-19 19:44:23 -04:00
840c2ccb58 Improved State Management integrated with the UI upgrades, to evaluate failed zombie systemwide connections. And then prompt the user if they'd like to evaluate them for re-use, or close it. 2026-10-19 16:32:43 -04:00
fcace28890 Introduced a Global State Management system, with a repo cache and notifications to the UI. 2026-10-18 21:16:52 -04:00
06e5470c4d Don't show a popup if there's nothing to say 2026-10-17 17:26:53 -04:00
9ca0809ceb Stable repeat Ticketing flow 2026-10-17 14:24:06 -04:00
1f4b37dbe9 Improved Multi-payment-cycle management. Moved check_paid and mark_paid to isolated service. Setup primary configuration to track ticket setup 2026-10-17 11:33:39 -04:00
e8373cf0ab State is cached via a repo 2026-10-16 17:59:14 -04:00
81002cd76d The Plumbing now allows for the service to provide it's own function_choice when it returns a result. Separetly, a new type_checker wrapper is now available for use. And finally, the config model now passes around the same instance as a singleton to avoid new file operations to just read 2026-10-14 18:16:13 -04:00
7ba8e1e6d3 Plumbing stable for GUI to call upon via inserted ENUM DICT 2026-10-13 21:19:49 -04:00
10e46cd8ea New refactored Use of tickets and payment of tickets loops/state, integrated with existing system 2026-10-11 12:33:21 -04:00
f9698ced68 Support for multiple invoices being managed through a global payment cycle 2026-10-10 15:25:36 -04:00
6982f46c37 ServerReply model initiated client-side, and used for wireguard config replies. 2026-09-30 18:50:19 -04:00
77c7123d73 Prepartion of univerisal cross-platform plumbing. And introduction of v2 billing/invoices 2026-09-28 17:30:08 -04:00