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

DDGSync module #253

Merged
merged 88 commits into from
Mar 10, 2023
Merged

DDGSync module #253

merged 88 commits into from
Mar 10, 2023

Conversation

ayoy
Copy link
Contributor

@ayoy ayoy commented Mar 8, 2023

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/72649045549333/1203756807343786/f
iOS PR: N/A (iOS app is not affected)
macOS PR: duckduckgo/macos-browser#1015
What kind of version bump will this require?: Major

Description:
Add DDGSync module with initial support for Sync API:

  • Signup, login and logout-device endpoints are implemented and proven to work.
  • Endpoints for sending/receiving updates are not supported in the UI yet and are subject to change. They are basically in the same shape as implemented by Brindy several months ago.
  • Network communication has been rewritten to use APIRequest.

Steps to test this PR:
Follow testing steps in the macOS PR.

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 marked this pull request as ready for review March 9, 2023 07:14
Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

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

LGTM! but since I wrote a decent chunk of it, I'll let @bwaresiak approve it

@brindy brindy removed their assignment Mar 9, 2023
@ayoy
Copy link
Contributor Author

ayoy commented Mar 9, 2023

Added a small change to support encrypting device names and passing device type to signup and login endpoints: 2fe3f9b

Copy link
Collaborator

@bwaresiak bwaresiak left a comment

Choose a reason for hiding this comment

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

Great job!

@ayoy ayoy merged commit 6d0b89a into main Mar 10, 2023
@ayoy ayoy deleted the dominik/ddg-sync branch March 10, 2023 11:30
samsymons added a commit that referenced this pull request Apr 4, 2023
# By Alexey Martemyanov (8) and others
# Via GitHub
* main:
  Make FeatureName a struct so it can be extended from client code (#276)
  add count of all bookmarks in domain to view model (#272)
  Configuration updates optimizations (#269)
  Roll-back InteractiveUserScript (#268)
  Update C-S-S to 4.4.4 (#260)
  Add invalid payload pixel handler (#264)
  Fix Error pixel misfiring on valid scenario (#261)
  add didCancelNavigationAction (#262)
  Opt-outable private API usage (#254)
  HTTPS upgrade threading (#256)
  DDGSync module (#253)
  fix delayed new window with empty url creation handling (#255)
  remove major tracker network (#251)
  Enable username&password passed in URL (#245)
  fix assertion for popup about:blank navigations without WKNavigation (#247)
  fix about: scheme fragments dropping (#246)
  Unify Configuration Management (#241)

# Conflicts:
#	Package.resolved
#	Package.swift
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.

3 participants