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

Require authentication for login export #494

Merged
merged 7 commits into from
Apr 1, 2022

Conversation

samsymons
Copy link
Collaborator

@samsymons samsymons commented Mar 31, 2022

Task/Issue URL: https://app.asana.com/0/1177771139624306/1202053082503796/f
Tech Design URL:
CC:

Description:

This PR adds an authentication step when exporting logins.

Steps to test this PR:

  1. Enable Autofill authentication in preferences, and then try to export logins - verify that you get an authentication prompt.
    1a. Verify that canceling the authentication prompt exits the import flow, you should get no further windows appearing
    1b. Verify that authenticating shows the export window
  2. Check that the export window contains a red disclaimer label, and that it is laid out correctly (that is, not truncated in any way)

Testing checklist:

  • Test with Release configuration
  • Test proper deallocation of tabs
  • Make sure committed submodule changes are desired

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@tomasstrba tomasstrba self-assigned this Apr 1, 2022
@tomasstrba tomasstrba self-requested a review April 1, 2022 10:23
Copy link
Contributor

@tomasstrba tomasstrba left a comment

Choose a reason for hiding this comment

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

LGTM! 💯 👍

@@ -31,6 +31,24 @@ extension NSView {
subView.widthAnchor.constraint(equalTo: widthAnchor).isActive = true
}

func wrappedInContainer(padding: CGFloat = 0) -> NSView {
Copy link
Contributor

Choose a reason for hiding this comment

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

Very nice, Sam! 💯

@tomasstrba tomasstrba assigned samsymons and unassigned tomasstrba Apr 1, 2022
@samsymons samsymons merged commit a86a9c8 into develop Apr 1, 2022
@samsymons samsymons deleted the sam/require-authentication-for-password-export branch April 1, 2022 22:07
samsymons added a commit that referenced this pull request Apr 4, 2022
# By Tomas Strba (5) and others
# Via GitHub
* develop:
  Refresh the Autofill panel after importing (#496)
  Require authentication for login export (#494)
  Observations database clearing improvements (#495)
  Fix handling external schemes in address bar (#493)
  New autoconsent rules and move tab cleanup out of onCommitted (#489)
  Safari CSV Passwords import +LastPass, 1Password (#483)
  Split preferences into multiple screens and add an option to show full URL (#487)
  Color of hover label fixed (#497)
  Add AMP links protection (#488)
  Enhancements of fire button options (#484)
  Rename Logins+ to Autofill (#492)
  new tab page low hanging fruit (#491)
  Fix threading issues in Autoconsent (#478)
  Navigation bar improvement: CMD + back or CMD + forward opens a new tab (#486)
  TextField refactored to TextView in order to make it scrollable (#481)
  More Xcode cleaning (#485)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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