Commit graph

78 commits

Author SHA1 Message Date
829feb5939 The profile object now has a ticket field. It's now none by default. Also the profile object is passed in, for the use of tickets, both for GUI and core. 2026-08-15 14:09:34 -04:00
31488f790e Introduced Ticket/Billing-Code Respawn, with dual paths on the ticket prep orchestration, it's helper functions, and the main prep controller. This introduced the functions, which were tested with a demo CLI client and local server, and appears to be stable. Server-side endpoints will be pushed as well. Note: This update couples profile slot ids more closely with which ticket slot id is being used for it, but they are not yet officially tied. In the future, they should be. 2026-08-14 19:36:22 -04:00
951802fe5c Improved Singbox Setup Error handling for edge cases 2026-08-12 15:57:51 -04:00
b84bb2eefa Singbox setup modules, which includes installation, download, move to sudo folder, and sudo setup scripts. Added a model, endpoint, and the ability to sync that model. (Related note: Server-side prepared the endpoint, and stocked with real data.) And also the sync service modules were adjusted to handle new data types more smoothly, before they had errors. As part of that sync flow change, the CachedSync metadata model was transitioned to ints instead of strings, with default 0 values. This should in theory migrate all clients without further changes needed. 2026-08-12 13:11:12 -04:00
c3b50460cd IP address checking for singbox enforced in singbox runner 2026-08-10 17:58:31 -04:00
9d0d140467 Singbox Orchestration! Significant progress made on singbox flow, we now have a working: 1) Configure via singbox_configure. 2) Enable/disable directly via singbox module. 3) Enable/disable with full orchestration via singbox_runner. 4) process id utils isolated. 5) Singbox takedown uses JSON & process id, but not yet coordinating a mismatch. Also in this update: Transition traditional wireguard subscription post/get requests to the new HTTPx system. 2026-08-10 15:49:47 -04:00
320037a2b1 EncryptedProxy configuration path setup, but not yet functional. Pydantic models for each protocol are being setup. 2026-08-06 20:58:36 -04:00
983924303d importlib for assets such as yaml 2026-08-06 15:29:26 -04:00
8da4978498 Linter bug fixes. Mostly undeclared, unused, or missing imports. One or two outright typos. There's still issues with undeclared types that need to be fixed after api connection refactor is fully implemented. 2026-08-05 12:03:11 -04:00
b70818f774 Added a forced sync at startup if there's no DB pre-existing, to handle a bug in GUI with no application versions. Isolated application_version database calls to their own module. And fixed a bug in SyncController to catch if application_version updates and split them into the different tables. 2026-08-05 02:45:52 -04:00
46c8721a1a Sync from the main app streamlines into the Connect module, to do async bulk sync. Additionally ApplicationVersion was transitioned from manual SQL to the ORM, for easier compatibility with the newer sync system. The side effect functions of this have been tested to be stable. 2026-08-04 20:17:45 -04:00
ed055f338d Introduced Connect Module, which manages HTTPx Clients, solves network/DNS issues, and coordinates Tor Bootstraps. Introduced async & single endpoint full workflows. This version is stable and tested for DNS & Tor problems. Also modified Configuration to be Pydantic, instead of @dataclass_json, and changed the connection type to enums. Further, there's a new enum function to get the new enum types, but the legacy function exists for backwards compatability. 2026-08-03 16:59:39 -04:00
bf22f764d0 Singbox takedown modules, with a graceful shutdown, then kill, then searching for processes with the phrase. And doing tunnel checks inbetween 2026-07-29 18:58:59 -04:00
5377b7348b Introduced Singbox Proxy Feature Start Utility & Script. But it's not yet integrated to be used 2026-07-29 15:04:33 -04:00
1baaa4042c Separation of performing subprocess commands, parsing them for error strings, and handling those errors as enum types. Systemwide error handling was introduced via a wrapper to all systemwide functions requiring the sudo scripts. 2026-07-23 18:41:52 -04:00
4d6f810100 Setup Script & Actual Firewall DNS Scripts. As well as optional functions to do automated setups 2026-07-22 20:37:20 -04:00
ff493455b3 Introduced Managed DNS settings to Wireguard, which is redundant for nmcli. However, this same framework can be used for other protocols or implementations. 2026-07-22 14:04:50 -04:00
c4ffe9be3c Integration of Firewall feature to Systemwide Wireguard 2026-07-21 09:44:03 -04:00
bd34f456b5 Introduced IP-interface-based killswitch support for systemwide wireguard, on enable only. This version is stable and working for enable only, with a test script in the fileslot. And fixed GUI's object save creation. Additionally rolled back Connection data models to previous non-enum version. 2026-07-20 13:07:04 -04:00
703fe57c12 Introduce Base profile types on load, which gradually will switch over on save/edits. Transition Connections to using Enum instead of raw strings. 2026-07-18 16:44:54 -04:00
00d6fc7738 Pushed Edit Profile GUI logic into core. Cut ProfileController's role in this, and setup an isolated update_profile function to pass saves to the model 2026-07-17 22:33:00 -04:00
5235f168a3 Clarify/comment unused function 2026-07-17 12:40:38 -04:00
532a82f685 Added support for functions to Clear any model. It's use-case here is to clear the CachedSync model, but the function would be good for anything going forward. 2026-07-17 12:35:44 -04:00
c75026c834 Adjusted imports in migrations 2026-07-17 09:50:36 -04:00
4fb84b47d0 LocationController was missing some definitions. Also migrations was changed to do imports inside the function using session management tools. And finally Tor networking requests fixed DNS problem labels, increasd timeouts, and streamined ip address reuse. 2026-07-17 09:29:49 -04:00
3977a5b695 Migrations Transition Stable for old versions of the app to update the schema 2026-07-16 15:35:03 -04:00
a085586448 Version bump for the Migrations and Database handling 2026-07-15 19:02:07 -04:00
a9b6b9ffe3 Robust Database Error Handling & Migrations System. For New Client upgrades (Operational Errors) & Old Clients with New JSON keys from an API (TypeErrors). We also added an SQL generic handling wrapper for use across any project or function. 2026-07-15 19:00:16 -04:00
0e9d82d2bb Tweaked the wording of client side database check messages to make them more user friendly 2026-07-14 20:58:23 -04:00
093e9aacd8 Comment clarity on pre-existing Connections, and support for vless and hysteria2 in the connection model 2026-07-03 17:24:49 -04:00
d382a2ce9e Session Management allows for checks on table existence for db version 2026-07-01 13:29:34 -04:00
1d23b34ad6 Supports Flexible YAML paths from parent directory 2026-07-01 10:06:14 -04:00
69834d85d5 Introduced Database Compatibility checks for old or new versions with different schemas 2026-06-28 21:49:19 -04:00
2aa077a400 Big Transition: Location & Operator turned into SQLAlchemy models. This forces a change across baseprofile, Locationcontroller, and even GUIs type handling 2026-06-27 17:10:28 -04:00
dc46d4136a Sync streamline introduced for cached data 2026-06-22 17:30:42 -04:00
dfdcb78fff Bug Fix with Deleting Systemwide WG Profiles, where it wasn't triggering the delete because the folder didn't exist, and was hidden behind sudo protection 2026-05-21 14:00:56 -04:00
75d026651a Introduced Anonymous Ticket Billing Options 2026-05-04 15:33:50 -04:00
a3a9fb8843 Integrate Simplified Privacy essentials library 2026-03-16 16:37:00 +01:00
0ab1ac4168 Update file management-related logic 2026-02-11 09:48:08 +01:00
3c216b21b5 Improve connection management-related logic 2026-01-20 06:54:56 +01:00
531f5cdf3c Add support for stateful Tor sessions 2026-01-18 05:15:18 +01:00
6dfd5993a2 Update and refactor existing codebase 2026-01-18 05:02:54 +01:00
f32d0a8986 Improve connection management-related logic 2026-01-08 22:40:23 +01:00
8c51e85a70 Update and refactor policy-related logic 2025-11-27 14:22:45 +01:00
272fa5f93b Improve interpreter exit-related logic 2025-11-24 09:08:41 +01:00
b887b8d2ff Improve presentation of model member variables 2025-11-18 02:44:16 +01:00
b2e260475b Add support for non-proxy capable locations 2025-11-18 02:40:41 +01:00
68a8c511ce Update file management-related logic 2025-11-10 01:54:49 +01:00
321ddbd8f0 Add support for security incident artifact compilation 2025-11-05 17:54:39 +01:00
18f50c67fb Add support for WireGuard endpoint verification 2025-11-05 02:24:21 +01:00