-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync system's connection state on windows #346
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t-aleksander
added a commit
that referenced
this pull request
Oct 31, 2024
* After configuring the client with enrollment go to the instance and not adding new instance (#255) * change redirect from addInstant to instantPage * del wireguard-go binary * add app handle for opening app icon from dock in macOS (#260) * Delete wireguard-go-aarch64-apple-darwin accidentally added binaries for macOS * Detail view and grid view (#256) * store ClientView preference into database + if single location with no preference then choose detail view * impl ClientView preference in frontend * swap default value in .envrc * delete attribute from SelectedInstance * Fixes in the enrollment process (#262) * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * X64 on lint.yml * first version of toaster for token expiration * add toaster for token expiration * change type of res.data when receiving data from pxoy * Client should remember last instance (#263) * X64 on lint.yml * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * fix active instance bugs (#268) * set new activeLocationId after deleting instance * fix closing modals after deleting instance * del unecessary import * Carousel defguard instances (#261) * 'defguard Instances' now redirect to carousel page * navigate to carousel if instances and tunnels lists are empty * add X64 compile options * prerelease 0.5.0 (#269) * After configuring the client with enrollment go to the instance and not adding new instance (#255) * change redirect from addInstant to instantPage * del wireguard-go binary * add app handle for opening app icon from dock in macOS (#260) * Delete wireguard-go-aarch64-apple-darwin accidentally added binaries for macOS * Detail view and grid view (#256) * store ClientView preference into database + if single location with no preference then choose detail view * impl ClientView preference in frontend * swap default value in .envrc * delete attribute from SelectedInstance * Fixes in the enrollment process (#262) * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * X64 on lint.yml * first version of toaster for token expiration * add toaster for token expiration * change type of res.data when receiving data from pxoy * Client should remember last instance (#263) * X64 on lint.yml * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * fix active instance bugs (#268) * set new activeLocationId after deleting instance * fix closing modals after deleting instance * del unecessary import * Carousel defguard instances (#261) * 'defguard Instances' now redirect to carousel page * navigate to carousel if instances and tunnels lists are empty * add X64 compile options * prerelease 0.5.0 * Version pre 0.5.0 (#270) * prerelease 0.5.0 * update external packages * update rust version from 1.74 to 1.75 --------- Co-authored-by: Aleksander <[email protected]> * Version pre 0.5.0 (#271) * prerelease 0.5.0 * update external packages * update rust version from 1.74 to 1.75 * undo migration file --------- Co-authored-by: Aleksander <[email protected]> * Logs in critical places (#273) * set new activeLocationId after deleting instance * fix closing modals after deleting instance * del unecessary import * add logs about network error * del wireguard-go * add networkError type * Client should remember last instance (#277) * X64 on lint.yml * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * fix None occurence if there are no any type of errors * Update src/pages/client/pages/ClientInstancePage/components/StatsLayoutSelect/StatsLayoutSelect.tsx Co-authored-by: Aleksander <[email protected]> --------- Co-authored-by: Aleksander <[email protected]> * Client should remember last instance (#278) * X64 on lint.yml * save selectedInstance view after closing client * save last selected location from instance after closing client * fix tunnel pages * add X64 * fix None occurence if there are no any type of errors * del cargo.lock * remove None from selected view * Code cleanup; service: log dir is a hidden option * Handle quit in AppState * Bump vite * Install Ctrl-C handler; remove unwrap()s * Bump pnpm to v9 * Add known issue to readme * impl tray menu instance submenu (#289) * impl tray menu instance submenu * refactor handle_tray_event * Apply suggestions from code review Co-authored-by: Adam <[email protected]> * Apply suggestions from code review part 2 Co-authored-by: Adam <[email protected]> * Apply suggestions from code review part 3 * add mfa trigger event --------- Co-authored-by: Adam <[email protected]> * Fix: connect location from tray menu (#291) * del preshared_key from event tray menu * cargo fmt && cargo clippy * enhance ux when the desktop configuration session expires (#292) * fixes * fix tests * feat: config polling (#283) * Update protos * Change log level * add reload tray menu in commands: update_instance & delete_instance * update reload tray menu * swap maybe_update with reload_tray_menu * chore: more logs for enrollment process (#296) * chore: database::models module refactoring (#295) * Typestate for Connection * Typestate for `Tunnel` * Refactor `Settings::init_default` method * Typestate for `WireguardKeys` * Typestate for LocationStats & TunnelStats * Typestate for `InstanceInfo` * Working transaction in polling * All models transaction-ready * Remove superfluous FromRow; code cleanup --------- Co-authored-by: Adam Ciarciński <[email protected]> * CI: stick to X64 self-hosted runner * Fix update_tunnel (#300) * feat: add option to prevent routing all traffic through the vpn (#297) * handle disabling route all traffic option on client * cargo fmt * disable_route_all_traffic -> disable_all_traffic * update protobufs * cleanup, fix dev merge conflict errors * Bump defguard_wireguard_rs to v0.4.8 * Handle gRPC connection loss (#288) * fix: fix locked db issue (#298) * Bump defguard_wireguard_rs to 0.4.9 * Rework instance config fetching (#301) * disconnect all traffic when the option changes * sqlx prepare * rework instance settings fetching * cleanup * fix misleading log * update protos * cargo prepare * fix: failed polling request shouldn't make disconnect fail (#303) * Generate polling token on instance update (#304) * set token on update * emit event after commiting * sqlx prepare * multiple dns servers and search domains (#306) * multiple dns and search domains * capitalize * bump wireguard rs (#307) * bump wireguard version (#308) * Updated wireguard-rs dependency * Build deb packages for arm, remove AppImage (#316) * try building client for both architectures * attempt 2 * add dependency * Revert "add dependency" This reverts commit 77204eb. * Revert "attempt 2" This reverts commit 01948b0. * trigger ci * trigger ci 2 * build only for arm * trigger ci 3 * protobuf compiler * finish arm building * attempt 2 * fix * cleanup * WGApi and route cleanup (#318) * wg-rs version bump to 0.5.1 (#322) * Restart defgaurd-service on re-installation (#321) * fix: fix minor bugs (#323) * fix saving a new tunnel * fix font * allow number input * add messages to error toasts * rephrase * New log watcher (#324) * New log watcher * fix inifnite loop, don't parse empty lines * change logs --------- Co-authored-by: Aleksander <[email protected]> * move config polling to enterprise (#328) * feat: Display all logs in settings (#327) * fix number input * New log watcher * fix inifnite loop, don't parse empty lines * global log watcher 1 * cleanup * fix * fix --------- Co-authored-by: Adam Ciarciński <[email protected]> * Align dev branch with main (#336) * Update README.md * move pre/post command functionality to client (#331) * move command functionality to client * fix builds * fix linter * update workflow * change version to 0.4.1 * fmt * command cleanup --------- Co-authored-by: Robert Olejnik <[email protected]> * Change some logs, update wireguard-rs to 0.5.2 (#337) * change logs 1 * don't poll instance that has no token * check if thread is cancelled before executing the loop code * change logs * fix log levels * change some logs * cleanup * bump wireguard-rs * sqlx prepare * fix config polling comparison bug (#338) * Log improvements (#340) * some log improvements, also updates the documentation url * cleanup * cleanup 2 * sqlx prepare * bump wireguard-rs to 0.5.5 * feat: Sync system's connection state on windows (#346) * sync client connections on windows * add target_os to imports * add target_os to more imports * change log message * Bump client version, move more enterprise logic to enterprise folder (#348) * move the disable enterprise function to the enterprise folder * bump version --------- Co-authored-by: Cyprian <[email protected]> Co-authored-by: Adam Ciarciński <[email protected]> Co-authored-by: Robert Olejnik <[email protected]> Co-authored-by: Jacek Chmielewski <[email protected]> Co-authored-by: cpprian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the client starts, sync already active connections with the application's state