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

30783 Коммитов

Автор SHA1 Сообщение Дата
Vijay Budhram c1cd08f326
fix(input): Show text keyboard for recovery code input 2024-06-10 12:36:47 -04:00
Lauren Zugai cde378a085
Merge pull request #17097 from mozilla/session-signin-token-fix
fix(react): Address signin_token_code invalid token error + totp check
2024-06-08 09:32:09 -05:00
Dan Schomburg 6bac87d213
Merge pull request #17098 from mozilla/FXA-9826
fix(signin): Fix redirect to /subscriptions after signin
2024-06-07 17:42:20 -07:00
Valerie Pomerleau 61698366c9
fix(signin): Fix redirect to /subscriptions after signin
Because:

* Redirect back to /subscriptions after signin was not working

This commit:

* Pass the redirectTo as search param
* Validate the redirectTo and if valid navigate there after signin

Closes #FXA-9826
2024-06-07 17:03:18 -07:00
Lauren Zugai 55b2eb2f4b
fix(react): Address signin_token_code invalid token error + totp check
Because:
* Users would be taken to the 2FA page from signin_token_code when they hadn't yet verified 2FA
* There's an edgecase at least in Sync signin causing an invalid token code on this page

This commit:
* Checks for totp verified instead of totp exists
* Uses the sessionToken passed into the component instead of useSession, which was causing console errors

fixes FXA-9836
2024-06-07 18:03:55 -05:00
Dan Schomburg e74a3c4b8e
Merge pull request #17093 from mozilla/FXA-9802 2024-06-07 12:14:54 -07:00
dschom 89cc6f893f
bug(event-broker): Recently added profile change events were being rejected
Because:
- The events were rejected because the 'ts' field was missing
- In auth server this added in by the logger, so it wasn't initially detected

This Commit:
- Adds the ts field to all profileDataChange events emitted by admin-server
- Updates the DTO support additional optional fields
2024-06-07 11:36:43 -07:00
Lauren Zugai 38bf0d62fe
Merge pull request #17090 from mozilla/FXA-9791
fix(react): Send missing piece of fxaLogin web channel message for Sync login
2024-06-07 12:40:33 -05:00
Dan Schomburg 223a87e97d
Merge pull request #17091 from mozilla/add-test-for-v1-ks-login
task(functional-tests): Add test showing that v1 ks passwords continue to work after upgrade.
2024-06-07 10:35:23 -07:00
dschom 73e5ab0acd
task(functional-tests): Add test showing that v1 ks passwords continue to work after upgrade. 2024-06-07 09:52:28 -07:00
Lauren Zugai 272d28404d
fix(react): Send missing piece of fxaLogin web channel message for Sync login
Because:
* Users are signed into the browser, but Sync is "off"

This commit:
* Adds { services: sync: {} }  to the fxaLogin web channel message to start Sync

fixes FXA-9791
2024-06-07 11:45:10 -05:00
Dan Schomburg 727a1a511a
Merge pull request #17084 from mozilla/FXA-9782
bug(settings): Use correct current key stretch version for signin unblock
2024-06-06 12:53:44 -07:00
dschom f510a8593c
bug(settings): Use correct current key stretch version for signin unblock
Because:
- We were always using v1 ks
- This won't work for an account that has been upgraded to v2 ks

This Commit:
- Gets client salt and current ks version for account
- Fixes bug in gql. The version field should have been called currentVersion.
2024-06-06 12:28:57 -07:00
Barry Chen 2765219735
Merge pull request #17081 from mozilla/FXA-9697-signin-unblock-react
fix(signin): retry signin unblock with signup email
2024-06-06 13:31:47 -05:00
Dan Schomburg d6740aa75e
Merge pull request #17082 from mozilla/skip-email-on-upgrade
bug(auth): Don't send password change email on v2 keystrech upgrade
2024-06-06 11:22:23 -07:00
Dan Schomburg 64690bd72a
Merge pull request #17077 from mozilla/fix-admin-server-startup
bug(admin-server): Fixes broken startup behavior
2024-06-06 09:39:56 -07:00
dschom 84307a10f2
bug(auth): Don't send password change email on v2 keystrech upgrade
Because:
- The email was still going out, even though the previous change attempted to stop this
- The logic to determine whether or not we were in upgrade state was always false

This Commit:
- Fixes the logic to determine whether or not we were in upgrade state
2024-06-06 09:11:53 -07:00
Barry Chen 87f6d29b8d
fix(signin): retry signin unblock with signup email
Because:
 - the React + gql-api sign in unblock does not handle the "incorrect
   email" error when the user sign in with a new primary email

This commit:
 - retries the unblock sign in with the original sign up email
2024-06-06 11:11:17 -05:00
Vijay Budhram 3c9b246a55
Merge pull request #17040 from mozilla/fxa-9695
fix(auth): add class for sensitive data that is passed between components
2024-06-06 12:06:36 -04:00
Vijay Budhram 42bee19b20
fix(auth): add class to store sensitive data that is passed between react components 2024-06-06 11:38:57 -04:00
dschom 75665f996c
bug(admin-server): Fixes broken startup behavior
Because:
- Admin server wasn't starting up cleanly
- NotifierService dependencies weren't being provided

This Commit:
- Adds MozLoggerService to providers
- Adds LegacyStatsDProvider to providers
- Removes SentryModule, which is deprecated in favor of direct initialization
2024-06-05 16:18:05 -07:00
Julian Poyourow 1f9be8cdf0
Merge pull request #17072 from mozilla/FXA-9705
chore(libs): restructure stripe lib into responsibility-driven structure
2024-06-05 11:17:05 -07:00
Dan Schomburg d5febb972a
Merge pull request #17064 from mozilla/FXA-9663-p2
bug(settings): Login breaking after swapping secondary and primary emails.
2024-06-05 10:21:12 -07:00
Reino Muhl e2bce3937a
Merge pull request #17062 from mozilla/pull-legal-docs
chore(docs): Latest legal PDFs
2024-06-05 13:15:29 -04:00
Ben Bangert 6dd26c9a5a
Merge pull request #17066 from mozilla/dependabot/npm_and_yarn/react-router-dom-6.23.1
chore(deps): bump react-router-dom from 6.22.1 to 6.23.1
2024-06-05 09:39:30 -07:00
Pdf Bot c711297153
chore(docs): Latest legal PDFs 2024-06-05 12:30:50 -04:00
Reino Muhl a35fcdaab0
Merge pull request #17051 from mozilla/fxa-9707-no-prompt-replace-redirect
feat(oauth): prompt none redirect replace history
2024-06-05 12:17:44 -04:00
Reino Muhl 4dc167db78
Merge pull request #17075 from mozilla/fix-payments-cart-date-test
fix(cart): remove updateAt on createAccountCustomer
2024-06-05 12:16:41 -04:00
dschom 0cfad2e98b
bug(settings): Login breaking after swapping secndary and primary emails.
Because:
- We found a bug that occurred during sign in  after swapping secondary and primary emails.

This Commit:
- Makes sure to send up the 'originalEmail'
2024-06-05 09:13:40 -07:00
Lisa Chan 18e5d172b0
Merge pull request #17056 from mozilla/FXA-9708
fix(payments-next): Implement a11y improvements
2024-06-05 11:57:22 -04:00
Reino Muhl 7573630585
fix(cart): remove updateAt on createAccountCustomer
Because:

- AccountCustomerManager.createAccountCustomer included updateAt as a
  parameter even though it wasn't used.

This commit:

- Remove updateAt from createAccountCustomer and update related files.

Closes #
2024-06-05 11:21:21 -04:00
Lisa Chan f9f670fb2e
fix(payments-next): Implement a11y improvements 2024-06-05 10:55:43 -04:00
Valerie Pomerleau 7798b2b631
Merge pull request #17073 from mozilla/FXA-9773
fix(storybook): Ensure stories are loading
2024-06-04 16:24:30 -07:00
Valerie Pomerleau eaaa20d11f
fix(storybook): Ensure stories are loading
Because:

* Many stories were not loading

This commit:

* Re-add react import where it was missing

Closes #FXA-9773
2024-06-04 15:56:09 -07:00
Vijay Budhram bc175137e5
Merge pull request #17070 from mozilla/fxa-9768
feat(crypto): Update webpack config to use vendored crypto relier
2024-06-04 18:38:15 -04:00
Vijay Budhram 9c65c93c34
feat(crypto): Update webpack config to use vendored crypto relier 2024-06-04 17:52:36 -04:00
Valerie Pomerleau f81af111ed
Merge pull request #17063 from mozilla/FXA-9612
feat(functional-tests): Functional tests for reset password with code
2024-06-04 13:58:38 -07:00
Valerie Pomerleau 263de460fd
feat(functional-tests): Functional tests for reset password with code
Because:

* We have a new password reset flow that uses confirmation codes instead of link

This commit:

* Remove backbone resetPassword playwright page object model (POM), no longer in use
* Move all reset password tests out of react-conversion folder, and into new resetPassword folder with subfolders for resetPasswordWithLink and resetPasswordWithCode
* Mark the functional tests for reset password with link for deletion with ticket number
* Add new tests updated for reset password with code flow in resetPasswordWithCode folder
* Fix bug with password strength bubble not displayed due to discontinued onFocus metric

Closes #FXA-9612
2024-06-04 13:25:42 -07:00
Valerie Pomerleau 2b8b0f5aec
Merge pull request #17054 from mozilla/FXA-9724
fix(settings): Disable ConfirmResetPassword submit button
2024-06-04 11:38:52 -07:00
Valerie Pomerleau a9f23b29df
fix(settings): Disable ConfirmResetPassword submit button
Because:

* Form submission should be disabled when there was an error on submit
* Re-enable submit after the code is changed
* We want to prevent the user from accidentally hitting the verification limit by submitting the same wrong code too many times
* We do not want the submit button to be disabled if the error is caused by a resend code error

This commit:

* Update the conditions where the submit button in FormVerify code component is disabled
* Remove the aria-label on submit button that was reading the code
* Separate the resend code error state from code verification error state
* Clear all banners before code verification and code resend to make way for new messages

Closes #FXA-9724
2024-06-04 11:33:08 -07:00
Reino Muhl e2707929f3
Merge pull request #17043 from mozilla/add-partial-stack-startup-scripts
feat(many): add partial stack startup scripts
2024-06-04 13:41:04 -04:00
julianpoyourow de2ad977c9
chore(libs): restructure stripe lib into responsibility-driven structure 2024-06-04 16:53:26 +00:00
Reino Muhl 05d7265292
feat(many): add partial stack startup scripts
Because:

- During development it could be useful to start only parts of the stack
  needed for development on specific domains.

This commit:

- Provides additional stack startup options to only start specific parts
  of the stack, by using nx projects and tags.

Closes #FXA-9771
2024-06-04 11:41:51 -04:00
Lauren Zugai 78941c699c
Merge pull request #17013 from mozilla/FXA-9595
feat(metrics): Add Glean view events on supp_allow and auth_allow
2024-06-04 09:47:50 -05:00
dependabot[bot] 75ba4ffbf0
chore(deps): bump react-router-dom from 6.22.1 to 6.23.1
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.1 to 6.23.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.23.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 07:06:31 +00:00
Wil Clouser 5a0611a6c4
chore(deps): remove pins on two unused packages 2024-06-03 16:27:23 -07:00
Ben Bangert 7575d8bf7a
Merge pull request #17037 from mozilla/dependabot/npm_and_yarn/google-cloud/opentelemetry-cloud-trace-exporter-2.2.0
chore(deps): bump @google-cloud/opentelemetry-cloud-trace-exporter from 2.1.0 to 2.2.0
2024-06-03 16:24:05 -07:00
Ben Bangert aec2fe3f78
Merge pull request #17038 from mozilla/dependabot/npm_and_yarn/stripe-15.8.0
chore(deps): bump stripe from 15.4.0 to 15.8.0
2024-06-03 15:11:42 -07:00
Ben Bangert 2c43a9430e
Merge pull request #17057 from mozilla/FXA-9741-vendor-fxa-crypto-relier
feat: vendor fxa-crypto-relier as crypto-relier
2024-06-03 14:54:58 -07:00
Lauren Zugai c603422517
Merge pull request #17053 from mozilla/FXA-9752
feat(metrics): Add reg_complete backend glean event for third party auth new account creation
2024-06-03 16:23:57 -05:00