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

Pass config to Autofill script #61

Merged
merged 38 commits into from
Feb 21, 2022
Merged

Pass config to Autofill script #61

merged 38 commits into from
Feb 21, 2022

Conversation

SlayterDev
Copy link
Contributor

@SlayterDev SlayterDev commented Feb 3, 2022

Task/Issue URL: https://app.asana.com/0/72649045549333/1201640241287329/f
Tech Design URL: https://app.asana.com/0/481882893211075/1201716942816252/f
CC:

Description:

Steps to test this PR:

  1. Use with this pr: https://app.asana.com/0/0/1201760729306248/f
  2. Modify privacy config manager to use embedded config
  3. Ensure autofill is enabled in macos-config.json
  4. Visit https://duckduckgo.com/email/ and ensure you can sign in
  5. Visit https://privacy-test-pages.glitch.me/autofill/modal.html and https://privacy-test-pages.glitch.me/autofill/form-submission.html and ensure they behave as expected

OS Testing:

  • macOS 10.15
  • macOS 11

Internal references:

Software Engineering Expectations
Technical Design Template

mallexxx and others added 25 commits October 28, 2021 12:34
* add delegate calls after autofilling

* upd with AutofillType
* Finish note support.

* Note database migration

* Begin working on identities

* Further work on Identities

* Consolidate database migrations.

* Fill out remaining credit card functions.

* Remove unneeded credit card properties.

* Further autofill API work.

* Support cardholder name.

* Fix unit test compilation failures.

* Remove an incorrect marker comment.

* Add better credit card validation.

* Bump the Autofill commit.

* Add tests for the new autofill Get methods.

* Clean up the database access calls.

* Clean up a number of SwiftLint warnings and errors.

* Update the Autofill commit.

* Fill in the autofill type delegate methods.

* Ignore the release script.

* Bump autofill

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>

Co-authored-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
* Bump autofill to version 3.3.0

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>

* Update the duckduckgo-autofill submodule commit.

Co-authored-by: Sam Symons <sam@samsymons.com>
* Upgrade the credit card number field to L2.

* Correctly provide the last name for Identity autofill.

* Allow the SecureVaultFactory to return the crypto classes only.

* Ensure that addressStreet2 is encoded and read correctly.

* Update the migration to remove the old column.

* Generate a display title and subtitle for notes.

* Add a new error type for if no L1 key is available.
* Initial refactoring of content blocking to enable sharing between platforms

* Extracted Content Rules script

* Tweaks based on Mac OS X implementation

* Expand API to enable checking for result of the requested compilation

* Add option to obtain PrivacyFeature settings dictionary

* Add Surrogates user script

* API Tweaks

* Fix tests

* Content Blocking reference tests

* More Pixels

* Add tests for User Scripts and Tracker allowlist

* Reuse sha256 code in tests

* Better Privacy Config tests
* Bump autofill pointer

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>

* Bump autofill revision

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>

* Bump autofill to latest version

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
* Initial implementation to support multiple rules lists

* Make API open for inheritance

* Fix few bugs, update tests

* CTL delegate WIP

* Update ContentBlockerRulesUserScript.swift

* Update ContentBlockerRulesUserScript.swift

* Refactor Content Blocker User Script

* Add missing change information

* Expand error reporting API

* Unit tests for error reporting

* Workaround for missing TDS at startup issue

* Move model processing to work queue

* Kill the app only in case main TDS rule list fails to compile

* Allow for non-TDS rule lists to fail compilation in case setup fails

* Add check for embedded TDS compilation

Co-authored-by: Bartek Waresiak <bartek@duckduckgo.com>
Co-authored-by: ladamski@duckduckgo.com <ladamski@duckduckgo.com>
* Add platform.name to BrowserServices kit

* be explicit about supported platform names
Co-authored-by: ladamski@duckduckgo.com <ladamski@duckduckgo.com>
* Have all bundle resources copied to the root directory.

* Remove a duplicate file.
Base automatically changed from release/friends-and-family to main February 9, 2022 13:12
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!

@SlayterDev SlayterDev merged commit a263b2f into main Feb 21, 2022
@SlayterDev SlayterDev deleted the brad/autofill-config branch February 21, 2022 14:58
samsymons added a commit that referenced this pull request Feb 23, 2022
* main:
  Content blocking rules caching and publishing (#54)
  Pass config to Autofill script (#61)
  Embed reference tests as submodule (#66)
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.

9 participants