Skip to content
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

Add support for deleting Sync account #596

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

ayoy
Copy link
Contributor

@ayoy ayoy commented Dec 7, 2023

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1201493110486074/1206055891122348/f
iOS PR: duckduckgo/iOS#2244
macOS PR: duckduckgo/macos-browser#1938
What kind of version bump will this require?: Patch

Description:
Add missing delete-account endpoint and update implementation to call it instead of logging out all devices.

Steps to test this PR:

  1. Set up Sync on 2 devices.
  2. Store recovery code.
  3. Click "Turn off and Delete Server Data" on one of the devices.
  4. Verify that both devices are logged out of sync.
  5. Try recovering data using stored recovery code.
  6. Verify that it returns HTTP 401 response code and Sync is not being enabled.

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@ayoy ayoy self-assigned this Dec 7, 2023
@ayoy ayoy marked this pull request as ready for review December 7, 2023 09:54
@ayoy ayoy requested a review from SabrinaTardio December 7, 2023 09:54
@ayoy ayoy assigned SabrinaTardio and unassigned ayoy Dec 7, 2023
Copy link
Contributor

@SabrinaTardio SabrinaTardio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for Fixing this! Now works as expected (well considering we are still not handling errors lol).

@ayoy ayoy merged commit 5ca0b3d into main Dec 7, 2023
10 checks passed
@ayoy ayoy deleted the dominik/sync-delete-account branch December 7, 2023 11:14
samsymons pushed a commit that referenced this pull request Dec 7, 2023
Task/Issue URL: https://app.asana.com/0/1201493110486074/1206055891122348/f

Description:
Add missing delete-account endpoint and update implementation to call it instead of logging out all devices.
samsymons added a commit that referenced this pull request Dec 9, 2023
* hotfix/90.0.0-1:
  Implement deleteAccount Sync endpoint (#596)
  Ensure that LinkPresentation framework is called on main thread (#595)
  No longer excluding the 10.0.0.0/8 range (#594)
samsymons added a commit that referenced this pull request Dec 21, 2023
* main: (39 commits)
  Fix privacy config fetch in debug mode (#606)
  Expose Internal User managing from Config (#610)
  Add Sync feature flags (#607)
  Fix Networking import into TestUtils (#609)
  Add Sync Success Rate pixel (#605)
  Add new logger (#604)
  Prevent VPN server list persistence failures (#603)
  SwiftLint plugin (#393)
  Update autofill to 10.0.2 (#599)
  Remove the reconnect/disconnect logic from the connection tester
  Fix an IPv6 regression. (#598)
  Quality metrics for Sync (#597)
  Report NetP connection attempts, tunnel failures, and latency (#584)
  Implement deleteAccount Sync endpoint (#596)
  Ensure that LinkPresentation framework is called on main thread (#595)
  No longer excluding the 10.0.0.0/8 range (#594)
  Update autofill to 10.0.1 (#591)
  Implement deleteAccount Sync endpoint (#596)
  Ensure that LinkPresentation framework is called on main thread (#595)
  No longer excluding the 10.0.0.0/8 range (#594)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants