-
Notifications
You must be signed in to change notification settings - Fork 16
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
Implement VPN control through UDS #2767
Merged
Merged
Changes from 47 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
f2ba091
WIP
diegoreymendez c1c2cc9
Merges the latest from main
diegoreymendez 3fc5b47
Fixes some issues with the last merge
diegoreymendez ff186b4
WIP
diegoreymendez 49d54fc
Merges the latest from main, and fixes several conflicts
diegoreymendez 6ec61cc
UDS connect works, yay
diegoreymendez 55785b0
UDS works to start and stop the VPN
diegoreymendez 6a12545
Added some documentation comments
diegoreymendez 61005c4
Fixes some VPN uninstallation issues
diegoreymendez 0cfb28e
Merges some of the latest code
diegoreymendez 5956148
Cleaning up the code, uninstallation works through UDS
diegoreymendez 1a31735
WIP
diegoreymendez dada24f
Refactors AppLauncher to become a generic package that can be used fo…
diegoreymendez 290fd0e
Removes some unnecessary code
diegoreymendez 638e154
Code cleanup
diegoreymendez 0c88755
Fix swiflint
diegoreymendez 00ed927
Rolls back an unintentional change
diegoreymendez 7790de4
Rolls back an unintentional change
diegoreymendez e77ec42
Rolls back an unintentional change
diegoreymendez 57f67c6
Removes the UDS helper which should not have been committed here
diegoreymendez 24f4e8b
Fixes the unit tests
diegoreymendez 9e4b0f9
Integratest the latest from diego/app-launcher-code-cleanup
diegoreymendez 60ad00f
Removes a file that was left by a merge issue
diegoreymendez 508a7bc
Adds VPNAppLauncher
diegoreymendez 1b83b83
Code cleanup... adds VPN app launch commands in a package of its own
diegoreymendez 3af7d9c
Merges the latest from the base branch
diegoreymendez 8130985
Fixes a swiftlint warning
diegoreymendez 6a8fb11
Merge branch 'diego/app-launcher-code-cleanup' into diego/unix-domain…
diegoreymendez 62678ee
Added a missing import
diegoreymendez 23b3d07
Fixes build issues
diegoreymendez 103a2ee
Merge branch 'diego/app-launcher-code-cleanup' into diego/unix-domain…
diegoreymendez 263c65e
Final implementation
diegoreymendez 670ef4e
Code cleanup
diegoreymendez cb822e7
Cleanup
diegoreymendez 7e11af6
Code cleanup
diegoreymendez 7d0eecd
swiftlint corrections
diegoreymendez 1bb914c
Removes an unnecessary gitignore file
diegoreymendez 356c33d
Resolves some merge conflicts with main
diegoreymendez 7d9b868
Fixes a unit test
diegoreymendez 2c9bdf2
Merges the latest from the base branch
diegoreymendez e7a4fe0
Removes some unnecessary code
diegoreymendez 4146c95
Fixes several compilation warnings
diegoreymendez b67ade9
Unifies the VPN IPC into a single IPC client
diegoreymendez ed687c3
Merges the latest from main
diegoreymendez e86b837
Fixes UDS for our App Store builds
diegoreymendez b54b765
Fixes an issue with the VPN status after uninstallation
diegoreymendez 7444d25
Renames the browser installation pixels from ipc to uds
diegoreymendez f6b0541
Improves the VPN agent startup logs
diegoreymendez 39336be
Removes an unnecessary switch
diegoreymendez c1901dd
Rolls back unintentional changes
diegoreymendez 456d1c1
Merge branch 'main' into diego/unix-domain-sockets
diegoreymendez 3b80fb7
Addresses PR feedback
diegoreymendez 37a9c7a
Rolls back an unintentional change
diegoreymendez 2ff5397
Update DuckDuckGo/Waitlist/IPCServiceLauncher.swift
diegoreymendez 8bb9a03
Removes an unused file
diegoreymendez 6980b81
Merges an upstream conflict
diegoreymendez a686e5c
Removed some commented code
diegoreymendez 2d83596
Better documents an empty code path
diegoreymendez 21b481c
Adds some basic tests for UDS
diegoreymendez a5a495d
Resolves some swiftlint warnings
diegoreymendez 7ea3609
Changes a fatal error for a pixel and an assertion
diegoreymendez 9eaf4ed
Shares a resource to avoid code duplication
diegoreymendez 0d27a05
Removes some commented code
diegoreymendez ce4b52c
Removes two unnecessary keychain access groups
diegoreymendez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
diegoreymendez marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we need to store this as a property when it's already a singleton?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. In fact storing is bad.
I changed this to use a calculated var so that we don't access global state within methods directly (when possible). This makes methods a bit more future proof in making it easier to add tests for them.