-
Notifications
You must be signed in to change notification settings - Fork 151
VPN-6084: save new server info on iOS, even if disconnected #11206
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
Merged
mcleinman
merged 48 commits into
main
from
vpn-6084-always-update-config-in-network-extension
May 5, 2026
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
52bbc78
VPN-5455 App Intents
mcleinman a190543
small tweaks
mcleinman b1495e4
Merge branch 'main' into vpn-5455-app-intents
mcleinman 3412046
first pass at translation script
mcleinman 805f525
whoops
mcleinman def9296
add files to xcode for building
mcleinman 52dc373
allow for chinese
mcleinman 243144f
error handling for turning on VPN
mcleinman c3d48f2
improve 'turn off' error handling
mcleinman a3dc6cc
improve feedback
mcleinman ebd763b
fix color
mcleinman 9c8a5cf
adding in city names - but translations aren't working yet
mcleinman 5a2c07e
update format
mcleinman 474dad5
use string IDs to allow string interpolation to work
mcleinman 81ab23a
add checks
mcleinman 5c2dfca
increase liklihood of showing image
mcleinman 99a2276
skip notifications when appropriate
mcleinman 707a6b8
fix failing tests
mcleinman 4255eed
a couple more Siri phrasings
mcleinman fa77dec
add to l10n readme
mcleinman 65f2fe6
use generic placeholder for
mcleinman 12fb3c6
the linter thinks it will be happier if it knows Siri exists, but onc…
mcleinman 17ee8f6
VPN-6084 save new server info on iOS, even if disconnected
mcleinman 1ddbc44
fix
mcleinman 3dda22b
fewer changes needed
mcleinman 3875e37
formatting improvements
mcleinman b1e4e16
PR feedback
mcleinman 5f3cc00
one translation block per intent phrase set
mcleinman db1d77a
make more generic
mcleinman 6365dc9
Merge branch 'vpn-5455-app-intents' into vpn-6084-always-update-confi…
mcleinman 4d65b58
PR feedback
mcleinman 0801e61
Update src/translations/strings.yaml
mcleinman 75e5e56
Update scripts/utils/generate_xcstrings.py
mcleinman 4632ffb
Update scripts/utils/generate_xcstrings.py
mcleinman f43d5ca
PR feedback
mcleinman 63084b0
linting
mcleinman b439cd5
fix formatting
mcleinman e405fb5
fix comments
mcleinman 2eb0baf
Merge branch 'main' into vpn-5455-app-intents
mcleinman 970bb51
fix failing iOS build - ensure it is successful even for new strings
mcleinman cfa1d6c
fix linter issue from github merge
mcleinman 1cd40a4
PR feedback
mcleinman 71e1914
Merge branch 'vpn-5455-app-intents' into vpn-6084-always-update-confi…
mcleinman d8afaf9
Merge branch 'main' into vpn-6084-always-update-config-in-network-ext…
mcleinman b08c2f9
make linter happy
mcleinman 91c2561
Merge branch 'main' into vpn-6084-always-update-config-in-network-ext…
mcleinman 3fb7593
early return as needed
mcleinman 61fb06c
better linting
mcleinman 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Just some nits on the API:
canSendUpdatedConfig(), the default implementation can be a no-op for platforms that don't support it.virtual void sendUpdatedConfig(const InterfaceConfig& entryConfig, const InterfaceConfig& exitConfig) {};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.
I wanted to avoid some future state where a developer doesn't realize that isn't implemented everywhere, and calls it as if it is. Another way of handling this that I considered is just adding a big scary comment in the code around this function that explains the situation. However, I also wanted something in the logs - and unless we make the default implementation a bit chunkier by handling logging, that has to come from
controller.cpp- and thus I believe we'd need to have the boolean check so we can log something if it is not implemented. I still prefer the way I did it, but I do realize it adds a little bit of overhead here - if you feel strongly, let me know and I'll remove the boolean and log line, and replace it with some scary warning in a code comment.Good call. Updated.