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

31459 Коммитов

Автор SHA1 Сообщение Дата
Barry Chen 4fdf5b572d
chore(test perf): log the duration of auth test server start/stop 2024-09-25 09:30:52 -07:00
Barry Chen 83dc649b52
deps(sentry): upgrade Sentry to version 8
Because:
 - Sentry 8 is the latest version

This commit:
 - deletes some integration code since Sentry does it automatically
 - updates code to use the Sentry 8 API
 - updates a few proxyquire calls because they were cause module not
   found errors in CI
2024-09-25 08:56:02 -07:00
Dan Schomburg b327092b7e
Merge pull request #17605 from mozilla/FXA-7896
task(settings): Display password requirements inline
2024-09-25 08:29:27 -07:00
Valerie Pomerleau 3c418ca743
Merge pull request #17603 from mozilla/reduce-key-PDF-image-size
adjust illustration size in recovery key PDF
2024-09-25 08:28:17 -07:00
Lisa Chan e5b4faf6bd
Merge pull request #17693 from mozilla/fix_details
fix(payments-next): Revise Details component
2024-09-25 11:28:03 -04:00
Lisa Chan b802c22139
fix(payments-next): Revise Details component 2024-09-25 10:18:57 -04:00
dschom 9529c2975f
revision 1
This commit should be squashed!
2024-09-24 18:35:50 -07:00
Reino Muhl 9649619c56
Merge pull request #17673 from mozilla/fxa-10429-config-no-cms
fix(cms): no cms config errors on data merge
2024-09-24 18:02:35 -04:00
Wil Clouser da8aaf433c
Merge pull request #17684 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-495d56844e
chore(deps): bump the npm_and_yarn group with 2 updates
2024-09-24 13:57:06 -07:00
Julian Poyourow be76b0d610
Merge pull request #17617 from mozilla/FXA-10112
fix(auth): strapi client cachebust and key server setup
2024-09-24 13:53:07 -07:00
dependabot[bot] 154f920e59
chore(deps): bump the npm_and_yarn group with 2 updates
Bumps the npm_and_yarn group with 2 updates: [jose](https://github.com/panva/jose) and [postcss](https://github.com/postcss/postcss).


Updates `jose` from 5.9.2 to 5.9.3
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v5.9.2...v5.9.3)

Updates `postcss` from 8.4.46 to 8.4.47
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.46...8.4.47)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 20:12:35 +00:00
Julian Poyourow 025f8caee2
Merge pull request #17668 from mozilla/FXA-7584
feat(payments-cart): add currency to cart
2024-09-24 11:59:54 -07:00
Lisa Chan b23cd152e4
Merge pull request #17676 from mozilla/FXA-9365
feat(payments-next): Add button to show/hide product details when viewing page on mobile
2024-09-24 14:38:39 -04:00
Lisa Chan 8d5ea056e1
feat(payments-next): Add button to show/hide product details when viewing page on mobile 2024-09-24 13:57:42 -04:00
julianpoyourow c90fbeb815
feat(payments-cart): add currency to cart
Because:

- We want to determine currency based on the tax address provided by the
  customer

This commit:

- Automatically determines the tax address and currency based on their
  IP address
- Allows user to update their tax address, thereby updating their
  currency

Closes FXA-7584
2024-09-24 17:13:06 +00:00
dschom 0c6c7807f6
task(settings): Display password requirements inline and update warning copy
Because:
- We are improving UX
- Balloon UI pattern were problematic on mobile
- We have updated copy / mesaging about password resets

This Commit:
- Adds new components that dispay password criteria inline
- Removes info about passwords and encryption
- Adds in new copy informing users about password resets
- Updates tests to check for appropriate copy
2024-09-24 08:45:52 -07:00
Lisa Chan ed2b733670
Merge pull request #17666 from mozilla/FXA-10439
feat(payments-next): Add information message to PurchaseDetails when a valid coupon is applied to cart
2024-09-24 09:15:49 -04:00
Lisa Chan 5b52b3ebe7
feat(payments-next): Add info message under Product Details when valid coupon is added to cart 2024-09-23 18:06:11 -04:00
Reino Muhl a93fb0f45e
fix(cms): no cms config errors on data merge
Because:

- On mapping data from the CMS to Stripe price and product metadata,
  for some prices the CMS data could not be found, resulting in error
  "No CMS config".
- The number of stripeLegacyPlan's returned by the CMS was limited to 10
  entries.

This commit:

- Adds a limit of 200, which is double the current expected Stripe
  Legacy Plans a RP is expected to have.

Closes #FXA-10429
2024-09-23 18:04:52 -04:00
Valerie Pomerleau c90e1ab06d
Merge pull request #17630 from mozilla/FXA-7894
feat(settings): Update AccountRecoveryConfirmKey to new design with hint
2024-09-23 14:38:57 -07:00
Valerie Pomerleau b141e9b3cd
fix delete button stuck in loading state 2024-09-23 14:00:09 -07:00
Valerie Pomerleau 3796159aac
feat(settings): Update AccountRecoveryConfirmKey to new design with hint
Because:

* We are updating the design of the AccountRecoveryConfirmKey page
* We want to show the storage hint that users have had the option of saving

This commit:

* Update AccountRecoveryConfirmKey page content, l10n, stories, test

Closes #FXA-7894
2024-09-23 14:00:09 -07:00
Wil Clouser 6e2d6d1f39
Merge pull request #17654 from mozilla/dependabot/npm_and_yarn/swc-node/register-1.10.9
chore(deps-dev): bump @swc-node/register from 1.9.2 to 1.10.9
2024-09-23 10:14:36 -07:00
Wil Clouser 87f12bc668
Merge pull request #17653 from mozilla/dependabot/npm_and_yarn/nest-winston-1.10.0
chore(deps): bump nest-winston from 1.9.4 to 1.10.0
2024-09-23 10:14:07 -07:00
Reino Muhl cfac715549
Merge pull request #17656 from mozilla/fxa-10436-sp2-l10n-fixes
fix(payments-legacy): support cms localization
2024-09-23 12:41:29 -04:00
Barry Chen c7238745ab
Merge pull request #17658 from mozilla/FXA-10430-user-id-metrics
fix(metrics): use Settings' currentAccount directly for uid
2024-09-23 09:34:37 -07:00
Vijay Budhram 7b28ed8146
Merge pull request #17665 from mozilla/fxa-10445
fix(tests): Skip Chrome when doing Sync base test
2024-09-23 12:09:28 -04:00
Barry Chen e1a3673c50
fix(metrics): use Settings' currentAccount directly for uid
Because:
 - the account uid in the Settings Glean metrics context does not change
   when the user signs in

This commit:
 - uses Settings' currentAccount function to get the account whenever
   Glean sets a metric with the current account uid
2024-09-23 11:04:44 -05:00
Davey Alvarez f158ad56d8
Merge pull request #17648 from mozilla/FXA-8295-Add-next-version-endpoint
feat(next): add __version__ route for next app
2024-09-23 08:32:08 -07:00
Davey Alvarez 51a0ae6d6c
Merge pull request #17640 from mozilla/FXA-10098-Page-Generic-Error-page
feat(next): add error page to subscription checkout flow
2024-09-23 08:31:48 -07:00
Vijay Budhram f648a8d356
fix(tests): Skip Chrome when doing Sync base test 2024-09-23 10:50:58 -04:00
Reino Muhl b5a67cef1d
fix(payments-legacy): support cms localization
Because:

- Legacy mapper was not using localization data from the CMS

This commit:

- Updated legacy mapper to utilize localization data.

Closes #FXA-10436
2024-09-23 10:28:15 -04:00
Davey Alvarez b0fb42cb04
create version route for next app 2024-09-20 16:05:27 -07:00
Davey Alvarez f946bdf12f
Set up error boundary for cart checkout flow 2024-09-20 16:01:05 -07:00
Valerie Pomerleau 811374e473
Merge pull request #17659 from mozilla/fix-formverifytotp-ftl
remove stray word in ftl string
2024-09-20 15:40:07 -07:00
Valerie Pomerleau 6c88a4f000
remove stray word in ftl string 2024-09-20 14:37:43 -07:00
Vijay Budhram 1e54de0d87
Merge pull request #17637 from mozilla/fxa-10081
feat(tests): Add functional test for inline recovery key and settings promo
2024-09-20 16:06:16 -04:00
Vijay Budhram dd5969eb7a
feat(tests): Add tests for inline recovery key and settings promo 2024-09-20 15:22:44 -04:00
Ankita Shrivastava 00bc5d2fcb
Merge pull request #17628 from mozilla/run-tests-in-chromium
chore(functional_test): run playwright functional tests in chromium browser
2024-09-20 14:14:23 -04:00
Reino Muhl fdd532a716
Merge pull request #17627 from mozilla/fxa-10087-next-glean-view
feat(next): glean emit view event
2024-09-20 12:28:16 -04:00
Lauren Zugai 912524433f
Merge pull request #17629 from mozilla/FXA-10079
feat(recovery-key): Make inline recovery key flow functional + navigate desktop Sync signins
2024-09-20 11:09:10 -05:00
Lauren Zugai 7e12934c39
feat(recovery-key): Make inline recovery key flow functional + navigate desktop Sync signins
Because:
* We want to encourage Sync signin users to create an account recovery key

This commit:
* Moves and refactors part of FlowRecoveryKeyHint into new component for sharing
* Sets ups the create recovery key and hint handlers in container component, call where needed
* Queries if recovery key exists after signin if sync, stores PW-related data into sensitiveDataClient
* Navigates signing in desktop Sync flow users without a recovery key to this new flow before taking them to CAD, if the feature flag is on

closes FXA-10079
2024-09-20 10:36:56 -05:00
Ankita Shrivastava 18bd695cc8
chore(functional_test): run playwright functional tests in chromium browser 2024-09-20 11:08:15 -04:00
dependabot[bot] e8fc2098f0
chore(deps-dev): bump @swc-node/register from 1.9.2 to 1.10.9
Bumps [@swc-node/register](https://github.com/swc-project/swc-node) from 1.9.2 to 1.10.9.
- [Release notes](https://github.com/swc-project/swc-node/releases)
- [Commits](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.9.2...@swc-node/register@1.10.9)

---
updated-dependencies:
- dependency-name: "@swc-node/register"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 07:15:30 +00:00
dependabot[bot] e9be2d49af
chore(deps): bump nest-winston from 1.9.4 to 1.10.0
Bumps [nest-winston](https://github.com/gremo/nest-winston) from 1.9.4 to 1.10.0.
- [Commits](https://github.com/gremo/nest-winston/compare/v1.9.4...v1.10.0)

---
updated-dependencies:
- dependency-name: nest-winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 07:14:58 +00:00
Valerie Pomerleau 6f16ec5828
Merge pull request #17647 from mozilla/fix-form-totp-l10n
fix(l10n): fix typo in FormVerifyTotp ftl file
2024-09-19 15:18:03 -07:00
Valerie Pomerleau 4b99a81fe2
fix typo in FormVerifyTotp ftl file 2024-09-19 14:54:35 -07:00
Barry Chen 794bf5755c
Merge pull request #17636 from mozilla/FXA-9398-forgot-token-auth
feat(recovery): fetch recovery key status with passwordForgotToken
2024-09-19 14:42:13 -07:00
Barry Chen 4958413d88
feat(recovery): fetch recovery key status with passwordForgotToken
Because:
 - we want to allow the user to get their recovery key status with the
   'passwordForgotToken' they received during the reset password flow

This commit:
 - adds passwordForgotToken to the allowed auth strategies for the
   /recoveryKey/exists auth-server endpoint
   - removes the optional auth config on the endpoint
   - updates the auth client to use the passwordForgotToken to access
     that endpoint
 - returns the recovery key hint along with the exists status
 - passes the hint in Setting when navigating post-reset
2024-09-19 16:01:28 -05:00
Reino Muhl 7dd569d383
feat(next): glean emit view event
Because:

- Record SubPlat P1 metric view event using glean

This commit:

- Adds payments-metrics library
- Adds PaymentsGleanManager to format events data and CMS data into the
  required format for Glean events recording.
- Adds PaymentsGleanService to handle metrics events emitted by Next.js
- Adds the manager and service to the NestApp
- Adds new config values to payments-next for Glean reporting
- Emit view event from Checkout start page

Closes #FXA-10087
2024-09-19 15:38:27 -04:00