-
Notifications
You must be signed in to change notification settings - Fork 14
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
Subscription oauth api v2 #3580
Open
federicocappelli
wants to merge
77
commits into
main
Choose a base branch
from
fcappelli/subscription_oauth_api_v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 62 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
88549ff
Initial auth v2 adoption
federicocappelli 9b2e7ba
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 4fa2b0a
DI done
federicocappelli 0d333af
token v1/v2 exchange fixed, token providing improved
federicocappelli b79e8eb
new log
federicocappelli 18b8fe6
tokencontainer codable
federicocappelli e6cc664
vpn token propagation
federicocappelli 00c4cbc
more logs
federicocappelli 4bcc286
keychain type unification
federicocappelli 875e880
keychain fix
federicocappelli 92014b4
init improvements
federicocappelli 8dc4078
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 09eee50
codablehelper
federicocappelli ffb9ecd
it works!
federicocappelli dcccf44
fixing unit tests
federicocappelli 6ddece0
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 62ddb64
unit tests fixes
federicocappelli 975d8ac
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli a121c06
unit tests fixed
federicocappelli d3e657c
BSK > branch
federicocappelli 5ccd25b
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 08bf3f0
lint
federicocappelli 1ef216e
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 9032b69
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli b5a3f43
unit tests improvments
federicocappelli 6dc2e1f
varius
federicocappelli 89b338a
work-ish
federicocappelli eda12c9
asd
federicocappelli b1a42fc
reverting minor changes
federicocappelli d77d465
Merge branch 'main' into fcappelli/vpn_error_2
federicocappelli 97d1681
subscription purchase notification fixed
federicocappelli d313d32
unit tests fixes
federicocappelli 584bc20
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 7bad6bd
unit tests
federicocappelli 828fd5f
lint and bsk update
federicocappelli 22d9290
unit test fix
federicocappelli 6f0aafb
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli b21b30d
bsk update
federicocappelli 8002ec0
bsk update
federicocappelli 14ee67e
code cleanup
federicocappelli 9f6d6f4
schema language reverted
federicocappelli ad293c9
background token refresh
federicocappelli d89f4a8
BSK update
federicocappelli e89f9a8
DBP cleanup
federicocappelli 651d070
DBP logger added
federicocappelli 3a6fec1
DBP fix
federicocappelli 5e66674
BSK update
federicocappelli 647123b
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli fac05ef
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 39adf17
TestUtils removed from BSK
federicocappelli a0d5a7a
BSK update and lint
federicocappelli a1bfa12
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 107fe1e
restore sub final web page display fixed
federicocappelli 4924945
first stage of fixing the VPN
federicocappelli 1518416
subscription signout notification parametrised
federicocappelli 01038cf
debug crash temp fixed
federicocappelli 0098e5c
subscription manager initial data load improved, pixels added
federicocappelli 358ea03
lint
federicocappelli 9eaf062
subscription cache bug fix
federicocappelli c77e374
bug fixing
federicocappelli d321469
some changes requested in the PR
federicocappelli a2470eb
pr changes
federicocappelli d0ca705
pixels added
federicocappelli 39b30fc
cleanup
federicocappelli de72420
settings subscription status logic improved
federicocappelli c29989b
legacy token support implemented in VPN, migration improved
federicocappelli ca8f251
pr comments addressed
federicocappelli f737f2d
bsk updated
federicocappelli 21f3732
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 4d2d595
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli 7284019
Subscription stuff renamed
federicocappelli e5ec1bd
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli e98529a
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli bbde6d6
BSK updated
federicocappelli f11debc
Merge branch 'main' into fcappelli/subscription_oauth_api_v2
federicocappelli f3a5d24
BSK update
federicocappelli 445fe07
Tunnel controller now refreshes the token after passing it to the VPN
federicocappelli 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
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
64 changes: 64 additions & 0 deletions
64
DuckDuckGo.xcodeproj/xcshareddata/xcschemes/Unit Tests.xcscheme
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1620" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES" | ||
buildArchitectures = "Automatic"> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
shouldAutocreateTestPlan = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "AA585D8F248FD31400E9A3E2" | ||
BuildableName = "Unit Tests.xctest" | ||
BlueprintName = "Unit Tests" | ||
ReferencedContainer = "container:DuckDuckGo.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "AA585D7D248FD31100E9A3E2" | ||
BuildableName = "DuckDuckGo.app" | ||
BlueprintName = "DuckDuckGo Privacy Browser" | ||
ReferencedContainer = "container:DuckDuckGo.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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.
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.
I think this comment is wrong (confused by the comment above no longer being accurate)
If there are profile queries, we don't disable it, we want the agent to be running. We restart it rather than disable it (to help with the flakeyness of login items)
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.
Thanks, modified with "Restarting agent"