-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This pull request introduces support for a new StateOnPartial state in the controller, enhancing the VPN's state management. It also adds an ActivationPrincipal enum to track whether a connection was initiated by a user or an extension, along with corresponding permission checks for deactivation. Additionally, this update includes several new methods and refines existing ones to handle the new state and activation principal, ensuring improved VPN control and security. * WORKS only tests missing * Add tests * Remove backdoor >:( * Todo: get a spellchecker for vscode * Skip StateConnecting for the Extension * Bonus: Remove unused State, making this PR state Neutral * Lint * Update tests/functional/helper.js Co-authored-by: Lesley Norton <lesley@mozilla.com> * Update src/controller.h Co-authored-by: Lesley Norton <lesley@mozilla.com> * revert oops * Fix functionalTests * ugh --------- Co-authored-by: Lesley Norton <lesley@mozilla.com>
- Loading branch information
1 parent
d943cd8
commit c34e159
Showing
19 changed files
with
413 additions
and
123 deletions.
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
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.