Commit graph

179 commits

Author SHA1 Message Date
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
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
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
4096196849 Moved UI state update on restore systemwide verification from the repo to the controller 2026-11-02 20:22:21 -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
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
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
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
d7f953b907 Improved UI feedback on connections, sync, and use of tickets. 2026-10-24 16:22:52 -04:00
68c47f9a8c broken imports and reduced logger clutter on startup 2026-10-24 11:48:43 -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
af368db8b7 Ticket Refactor to accept ServerReply objects, and keep the internal flow returning Result objects 2026-10-22 03:31:33 -04:00
ed517f4568 Direct httpx2 IP address checking, instead of subprocess for connection tests. 2026-10-19 21:36:22 -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
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
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
5dee318aa4 Wireguard now checks if it needs to disable singbox based on systemstate. Also eliminated content from profilecontroller that was no longer being used for subscriptions, and causing circular import issues 2026-10-15 19:30:34 -04:00
6107a355f9 Improved singbox cleanup process. And added support for killing wireguard profiles inside end_singbox. 2026-10-15 19:02:47 -04:00
ba3ce97e34 moving commented out imports that were shifted when the profile_connections got it's own module 2026-10-15 16:26:18 -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
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
10e46cd8ea New refactored Use of tickets and payment of tickets loops/state, integrated with existing system 2026-10-11 12:33:21 -04:00
6a445eba41 Ticket Inovices Stable with Big Bang Refactor. Still need to resolve issues with ticket billing invoice config already existing 2026-10-10 18:27:02 -04:00
f9698ced68 Support for multiple invoices being managed through a global payment cycle 2026-10-10 15:25:36 -04:00
52b3e1ba94 Big Bang Refactor of Payments. Introduced a new paymentdata singleton that stores data across pages and on disk. Also introduced a suite of functions for handling payments 2026-10-07 13:29:19 -04:00
57774ae697 Infrastructure for payments overhaul. With state storage for billing, type checking, enums, and serialization. Also plan sql further refined 2026-10-04 20:07:56 -04:00
90dd9b309f Confirm Location's protocol support on edit 2026-10-03 17:27:34 -04:00
b132265a04 Location model shifts to boolean types. This will force a migration via Constants DB version. 2026-10-03 16:55:22 -04:00
9627b1861d Introduced new model: Plan. This differs from the legacy subscriptions because its based on time in months and supports multiple protocols at once in a list enum format 2026-10-03 14:47:38 -04:00
f2922b02a0 Enabled support for editing systemwide profile protocols including vless/hysteria2 2026-10-03 11:39:57 -04:00
77c7123d73 Prepartion of univerisal cross-platform plumbing. And introduction of v2 billing/invoices 2026-09-28 17:30:08 -04:00
d35fc0db4b Bug fixes and tweaks for transitions 2026-09-21 12:35:37 -04:00
b29a44cf95 Phasing out legacy dict for Result Objects 2026-08-27 11:47:01 -04:00
ced69bfa4f Use Ticket Controller returns Return objects 2026-08-26 09:56:38 -04:00
f038f7a8da Error type handling 2026-08-24 16:06:03 -04:00