Граф коммитов

29447 Коммитов

Автор SHA1 Сообщение Дата
Ben Bangert b21ae8b5c5
Merge pull request #16243 from mozilla/FXA-8824-create-adr-for-queue-processing-choice
feat(auth): add adr for google cloud tasks
2024-01-24 15:08:52 -08:00
Ben Bangert bb4ffe3cc1
feat(auth): add adr for google cloud tasks
Because:

* We want to explain the architecture decision around using Google cloud
  tasks for job queuing.

This commit:

* Adds an ADR for using Google cloud tasks for job queuing.

Closes FXA-8824
2024-01-24 14:48:02 -08:00
Ben Bangert 19f9442474
Merge pull request #16259 from mozilla/feat/backstage-metadata-setup-1
feat(backstage): setup initial backstage metadata
2024-01-24 14:10:57 -08:00
Valerie Pomerleau 1558bc05ff
feat(copy): Update references to Firefox Monitor with Mozilla Monitor
Because:

* Monitor is rebranding

This commit:

* Update all references and l10n strings and terms from Firefox Monitor to Mozilla Monitor
* Update link to monitor's site

Closes #FXA-9036
2024-01-24 14:06:29 -08:00
Ben Bangert a7e69629e6
feat(backstage): setup initial backstage metadata
Because:

* We want to test Backstage for software catalog uses.

This commit:

* Adds a catalog-info.yaml file to the root of the repo, with individual
  entries for each package.
2024-01-24 13:33:37 -08:00
Valerie Pomerleau 51bd68acfe
Merge pull request #16240 from mozilla/FXA-8751
feat(auth): Add atLeast18AtReg value to account
2024-01-24 08:40:17 -08:00
Meghan Sardesai 2387132bb0
Merge pull request #16267 from mozilla/hackathon-error-page
feat(next): Hackathon error page
2024-01-23 22:05:15 -08:00
Meghan Sardesai 317f5eb7fc
feat(next): Hackathon error page
Because:

* We want to start building out pages in preparation for M3.

This commit:

* Introduces a fully accessible desktop version for the error page.
* Hackathon demo.
2024-01-24 00:39:31 -05:00
Vijay Budhram 8ab33974dd
feat(oauth): Update oauth webchannel auth broker to support desktop
Co-authored-by: Vijay Budhram <vbudhram@gmail.com>
Co-authored-by: Tarik Eshaq <tarikeshaq@gmail.com>
2024-01-23 14:57:33 -05:00
Valerie Pomerleau e6d5833e9a
feat(auth): Add atLeast18AtReg value to account
Because:

* Some RPs (currently only Moz Social) would like to know if users were at least 18 at time of account registration to prevent asking users a second time if we've already confirmed at COPPA check that they are at least 18

This commit:

* Adds a new atLeast18AtReg column in the account database, with default set to null for existing accounts
* At account registration via backbone or React, checks if the submitted age is at least 18 and store the response as a boolean value (we do not store the exact age)
* Makes this value available to RPs at the v1/profile endpoint via account/profile

Closes #FXA-8751
2024-01-22 22:13:41 -08:00
Peter deHaan b9ab56b06e
Merge branch 'main' into fxa-8971/functional-test-eslint 2024-01-22 10:07:29 -08:00
Reino Muhl e54ec667ad
Merge pull request #16266 from mozilla/fxa-8852-next-page-refresh-error
fix(next): error on page refresh
2024-01-22 12:38:38 -05:00
Reino Muhl 5090aa6887
fix(next): error on page refresh
Because:

* Async function in render logic caused hydration error on page refresh

This commit:

* Remove async from `getFormatedMsg` wrapper function

Closes #FXA-8852
2024-01-22 11:45:42 -05:00
Dan Schomburg 3a7f25624d
Merge pull request #16249 from mozilla/FXA-8719.2
task(auth): Support V2 credential format
2024-01-19 15:58:21 -08:00
Peter deHaan 625c9ac4fe
chore(tests): Revert some more functional-tests autofixes 2024-01-19 15:55:25 -08:00
Peter deHaan f34db271ad
chore(tests): Revert some functional-tests autofixes 2024-01-19 14:31:22 -08:00
dschom 35c6e68895
PR Feedback - Adding test coverage for account/stub and account/finish_setup
- Fixes issues with userId in supplied in grant
- Adds ability to get a finishSetupToken
2024-01-19 12:21:52 -08:00
Lisa Chan 9aadaa50d2
Merge pull request #16261 from mozilla/success_page
chore(payments): Create Success Page
2024-01-19 14:01:15 -05:00
Lisa Chan cd5bac1a35
chore(payments): Success Page 2024-01-19 11:18:03 -05:00
Valerie Pomerleau 22185609b5
Merge pull request #16252 from mozilla/FXA-8927-simplified
feat(react): Full prod rollout of react signup
2024-01-18 15:22:09 -08:00
Valerie Pomerleau 0881a3931a
feat(react): Full prod rollout of react signup
Because:

* We are flipping the switch to 100% react signup

This commit:

* Set fullProdRollout for react signUpRoutes to true
* Update functional-tests - skip backbone specific signup tests if showReactApp set to true for signUpRoutes
* Conditionally skip force_auth signup tests (not ported to React)
* Fix password validation issues in react signup form (was causing the submit button to remain disabled in tests)
* Remove canChangeEmail logic in React signup and associated test
* Update other tests that are failing with the rollout

Closes #FXA-8927, FXA-8882
2024-01-18 15:01:07 -08:00
Lauren Zugai 26f074e9e8
Merge pull request #16260 from mozilla/organize-authandsetup-routes
refactor(react): Small adjustment to organize App routes by alphabetized flow
2024-01-18 17:01:06 -06:00
Lauren Zugai f8e523e8de
refactor(react): Small adjustment to organize App routes by alphabetized flow
Because:
* We've got a lot of routes under AuthAndAccountSetupRoutes that could be better organized

This commit:
* Creates sections of routes with comment above each section, and organizes first by section comment alphabetically, then by path name within sections
2024-01-18 15:43:15 -06:00
Lauren Zugai 0f3adea88c
refactor(sync): Remove 'Looking for Firefox Sync?' link from home page
Because:
* Sync Desktop is moving to the OAuth flow. We could rely on a webchannel message to receive the OAuth params, but checked with Product to see if we want to keep this link, who gave the OK for removal as it is confusing in its current state since users reach the Sync flow through the browser

This commit:
* Removes this link and info banner

closes FXA-8907
2024-01-18 14:51:13 -06:00
dschom 30be338bb6
PR Feedback - null wrapWrapKbVersion2 case 2024-01-18 12:20:38 -08:00
dschom 0acd014f94
PR Feedback - use typeof NAMESPACE 2024-01-18 11:46:29 -08:00
dschom bce667101f
PR Feedback - Add license 2024-01-18 11:45:57 -08:00
dschom 00856bd974
PR Feedback - can just stub a v1 account 2024-01-18 10:20:39 -08:00
dschom f429663cd2
PR Feedback - Fix camel casing 2024-01-18 10:11:54 -08:00
dschom dce3709678
PR Feedback - Don't set wrapWrapKb2 on stub account 2024-01-18 10:11:18 -08:00
dschom fdef5ced05
PR Feedback - Remove debug try catch 2024-01-18 10:09:32 -08:00
dschom 365d747e72
PR feedback 2024-01-17 10:55:09 -08:00
Julian Poyourow 3da48c2293
Merge pull request #16254 from mozilla/FXA-8967
fix(auth): add signal handling to paypal processor script
2024-01-17 10:24:51 -08:00
dschom 0538589f63
PR Feedback
- Fix refactor damage
2024-01-17 09:57:19 -08:00
Lauren Zugai 21aa3ae419
Merge pull request #16244 from mozilla/FXA-7439
fix(sync): Request + set signedInUser from Sync in Settings
2024-01-17 11:48:12 -06:00
dschom a33a0b5a41
PR Feedback
- Renaming authPW2 to authPWVersion2
- Renaming wrapKb2 to wrapKbVersion2
2024-01-17 09:16:58 -08:00
dschom 447da5eaf6
PR Feedback
(will squash before merge!)
2024-01-17 09:16:58 -08:00
dschom 1d9b18b3fa
task(auth): Support V2 credential format
Because:
- We want to add support for up coming changes to key stretching in the auth server first
- We want to ensure all changes are backwards compatible

This Commit:
- Updates test to use approach for the client side stretch where:
   - Stretch uses 650k iterations
   - Client salt uses random value instead of user's original email
- Updates tests to run using both V1 and V2 credentials
- Updates database to support new  columns for housing V2 credentials
- Updates account models accordingly
- Adds statsd metrics to track use of v2 credentials
- Updates CI tests to run remote integration tests for V2 credentials
2024-01-17 09:16:57 -08:00
Reino Muhl ec66fc05eb
Merge pull request #16248 from mozilla/remove-customer-error-handling
feat(auth): update remove customer error handling
2024-01-17 11:55:08 -05:00
Reino Muhl 607c50a0ca
feat(auth): update remove customer error handling
Because:

* removeFirestoreCustomer should reject with error so that it can be
  handled by consumers.

This commit:

* Adds StripeFirestoreError and StripeFirestoreMultiError to
  stripe-firestore
* removeFirestoreCustomer rejects with error

Closes #FXA-8839
2024-01-17 11:25:28 -05:00
Vijay Budhram b39983825b
Merge pull request #16242 from mozilla/fxa-8838
feat(delete): Move account delete route handler to account delete manager
2024-01-17 11:20:47 -05:00
Vijay Budhram ae92c27932
feat(delete): Move account delete route handler to account delete manager class 2024-01-17 10:55:55 -05:00
Meghan Sardesai bc74e04ed6
Merge pull request #16253 from mozilla/FXA-8804
fix(payments): update resubscribe dialog to use PayPal when present
2024-01-17 07:49:41 -08:00
Lauren Zugai 2928296e13
Merge pull request #16256 from mozilla/FXA-8854
chore(react): Port over some missing pieces of signup functional tests
2024-01-17 09:17:46 -06:00
Meghan Sardesai 2ce17bf93a
fix(payments): update resubscribe dialog to use PayPal when present
Because:

* Reconfirm dialog only checked for existence of credit card and not `payment_provider`.

This commit:

* Checks for existence of PayPal as `payment_provider` and provides alternative copy if true.

Closes FXA-8804
2024-01-17 09:33:22 -05:00
Peter deHaan 7b7d3acec9
chore(lint): Fix fxDesktopV3ForceAuth tests 2024-01-16 18:59:41 -08:00
Peter deHaan 0e807e600c
chore(lint): Add playwright/recommended rules for functional-tests 2024-01-16 15:23:45 -08:00
Lauren Zugai 4db434fd15
chore(react): Port over some missing pieces of signup functional tests
Because:
* We want to transfer relevant tests to React signup

This commit:
* Adds a couple missing web channel message checks in our React signup tests, ports content-server's saveEventForTests
* Changes the desktop v3 UA to our likely min supported version, tests for web channel events sent by the browser instead of sending a custom list since we respond to the first event received, which the browser sends automatically
* Adjusts oauth web channel to waitForURL before checking for the web channel event

fixes FXA-8854
2024-01-16 17:17:39 -06:00
Peter deHaan a8553f6bb0
chore(lint): Add eslint:recommended rules for functional-tests 2024-01-16 15:08:06 -08:00
Julian Poyourow 7d7ac40c4c
fix(auth): add signal handling to paypal processor script
Because:
* Kube can sometimes terminate pods, and we should be handling exit
  signals in scripts in general.
* We haven't been releasing locks in the case of pod termination.

This commit:
* Adds signal handling to the paypal processor script.

Closes FXA-8967
2024-01-16 15:04:40 -08:00