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

24014 Коммитов

Автор SHA1 Сообщение Дата
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
dschom 9529c2975f
revision 1
This commit should be squashed!
2024-09-24 18:35:50 -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
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
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
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
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
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
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
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
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
Valerie Pomerleau 3b185ed54b
Merge pull request #17616 from mozilla/FXA-10390
fix(settings): Use single input code component in ConfirmResetPassword
2024-09-19 11:29:36 -07:00
dependabot[bot] 1d062b846b
chore(deps-dev): bump @babel/plugin-transform-typescript
Bumps [@babel/plugin-transform-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-typescript) from 7.24.4 to 7.25.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.2/packages/babel-plugin-transform-typescript)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 06:55:18 +00:00
Valerie Pomerleau 0a0f4ac4e1
fix(settings): Fix error message if account deletion fails
Because:

* Incorrect password error was shown for all errors with account deletion

This commit:

* Show correct localized error message
* Show in tooltip if incorrect password, otherwise use alertBar

Closes #FXA-10392
2024-09-18 15:57:40 -07:00
Vijay Budhram a43a9ca37b
Merge pull request #17615 from mozilla/fxa-10395
fix(pairing): Remove the signin link when pairing fails
2024-09-18 13:14:23 -04:00
Wil Clouser 7d87e3cc02
Merge pull request #17631 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-b4c845693e
chore(deps): bump the npm_and_yarn group with 2 updates
2024-09-18 08:54:11 -07:00
Wil Clouser 25421f4ac5
Merge pull request #17635 from mozilla/dependabot/npm_and_yarn/jquery-ui-1.14.0
chore(deps): bump jquery-ui from 1.13.2 to 1.14.0
2024-09-18 08:13:24 -07:00
Vijay Budhram bc582e8d8a
Merge pull request #17614 from mozilla/fxa-10080
feat(recovery): Add functionality of `do it later` in inline recovery key
2024-09-18 10:28:34 -04:00
dependabot[bot] a116690170
chore(deps): bump jquery-ui from 1.13.2 to 1.14.0
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.2...1.14.0)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 07:26:37 +00:00
dependabot[bot] a5195721c8
chore(deps): bump the npm_and_yarn group with 2 updates
Bumps the npm_and_yarn group with 2 updates: [next](https://github.com/vercel/next.js) and [postcss](https://github.com/postcss/postcss).


Updates `next` from 14.2.3 to 14.2.10
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.3...v14.2.10)

Updates `postcss` from 8.4.45 to 8.4.46
- [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.45...8.4.46)

---
updated-dependencies:
- dependency-name: next
  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-18 02:55:35 +00:00
Valerie Pomerleau 59a31b78ff
fix(settings): Use single input code component in ConfirmResetPassword
Because:

* Split input component is not recommended for accessibility

This commit:

* Remove the SplitInputGroup component
* Update the FormVerifyTotp component to use a single input
* Update component to only accept numeric or alphanumeric characters and only submit if pattern matches
* Update tests
* Limits updates to the ConfirmResetPassword page to limite side-effects of changes
* Adds small animation on banner render to smooth the transition
* Ensure only one banner shown at a time on the ConfirmResetPassword page

Closes #FXA-10309
2024-09-17 14:09:47 -07:00
Barry Chen 33814cb2c4
Merge pull request #17625 from mozilla/FXA-10323-init-glean-metrics
feat(metrics): set available ping metrics during Glean init
2024-09-17 11:06:59 -07:00
Vijay Budhram cff6277492
Merge pull request #17626 from mozilla/fxa-10431
fix(bug): Only show account recovery promo if the user has Sync-able devices
2024-09-17 14:04:17 -04:00
Vijay Budhram 71a35a0c06
fix(bug): Only show account recovery promo if the user has Sync-able devices 2024-09-17 13:09:49 -04:00
Vijay Budhram a15e9d7cd0
fix(bug): Only show account recovery promo if the user has Sync-able devices 2024-09-17 12:47:45 -04:00
Vijay Budhram 937828bf5a
feat(recovery): Add functionality of `do it later` in inline recovery key 2024-09-17 11:45:25 -04:00
Barry Chen 5a80a63555
feat(metrics): set available ping metrics during Glean init
Because:
 - we want to send known metric values in the automatic page load events

This commit:
 - set the available metrics when initializing Glean, before any page
   load events
2024-09-17 07:50:08 -05:00
dschom 6c73f6cf8b
bug(settings): Code should exit after navigation 2024-09-16 14:46:47 -07:00
Vijay Budhram cf5934912c
fix(pairing): Remove the signin link when pairing fails 2024-09-16 13:38:26 -04:00
Wil Clouser 99181a17f8
Merge pull request #17611 from mozilla/dependabot/npm_and_yarn/pm2-5.4.2
chore(deps): bump pm2 from 5.3.0 to 5.4.2
2024-09-16 07:52:52 -07:00
dependabot[bot] 554426931e
chore(deps): bump jose from 5.8.0 to 5.9.2
Bumps [jose](https://github.com/panva/jose) from 5.8.0 to 5.9.2.
- [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.8.0...v5.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 07:26:38 +00:00
dependabot[bot] b1fe4d5e52
chore(deps): bump pm2 from 5.3.0 to 5.4.2
Bumps [pm2](https://github.com/Unitech/pm2) from 5.3.0 to 5.4.2.
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Unitech/pm2/compare/5.3.0...v5.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 07:12:07 +00:00
Valerie Pomerleau dea2cd7c08
Merge pull request #17604 from mozilla/rename-reset-password-redesign-folder
rename ResetPasswordRedesign folder to ResetPassword
2024-09-13 12:16:00 -07:00
Dan Schomburg f8eaff4f4c
Merge pull request #17602 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-9e830f68d7
chore(deps): bump the npm_and_yarn group with 2 updates
2024-09-13 11:35:00 -07:00
Valerie Pomerleau b7d3616fb1
rename ResetPasswordRedesign folder to ResetPassword 2024-09-13 11:22:47 -07:00
dschom ad35189ba2
task(settings,content,auth): Add account uid to gling pings 2024-09-13 09:45:22 -07:00