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

31673 Коммитов

Автор SHA1 Сообщение Дата
Valerie Pomerleau c7f37c144a
Merge pull request #17851 from mozilla/FXA-10416
feat(auth): Update 'sync' service references to account for 'relay'
2024-10-23 10:35:23 -07:00
Valerie Pomerleau 901fcad5bd
Merge pull request #17886 from mozilla/fxa-relay-v
feat(tests): Add functional tests for Relay
2024-10-23 10:35:13 -07:00
Reino Muhl 5e45bb879a
Merge pull request #17878 from mozilla/fxa-7581-checkout-changes
feat(next): use confirmation token in checkout
2024-10-23 13:04:50 -04:00
Vijay Budhram 3d93105d67
feat(tests): Add functional tests for relay 2024-10-23 13:03:19 -04:00
Valerie Pomerleau b99f1468bd
feat(auth): Update 'sync' service referes to account for 'relay'
Because:

* Sign in to the browser will be possible for Relay in addition to Sync

This commit:

* Account for service='relay' where we previously only expected 'sync'
* Update the service passed from fxa-settings to auth to account for either service or clientId as used in oauth_client_info
* Update tests

Closes #FXA-10416
2024-10-23 09:57:29 -07:00
Reino Muhl 1a64d9078b
feat(next): use confirmation token in checkout
Because:

- Update Stripe checkout to use confirmation token instead of payment
  method while creating subscription and confirming the payment intent.

This commit:

- Updates the frontend to create a ConfirmationToken instead of payment
  method
- Updates Stripe Checkout to use ConfirmationToken
- Updates Stripe Checkout to confirm payment intent

Closes #FXA-7581
2024-10-23 12:30:08 -04:00
Lauren Zugai 0973e18492
Merge pull request #17869 from mozilla/FXA-10313
feat(sync): Implement browser service=relay logic and UX
2024-10-23 11:17:46 -05:00
Lisa Chan a12ceb916e
Merge pull request #17867 from mozilla/FXA-10547
feat(payments-next): Component: SignedIn
2024-10-23 12:13:48 -04:00
Vijay Budhram 6c691f5b5a
Merge pull request #17876 from mozilla/fxa-10003
fix(tests): Add Sync OAuth to playwright and update tests
2024-10-23 11:37:04 -04:00
Vijay Budhram 4f71490f95
fix(tests): Add Sync OAuth to playwright and update tests 2024-10-23 11:03:51 -04:00
Lisa Chan 322fccaa0d
feat(payments-next): Component: SignedIn 2024-10-23 10:20:36 -04:00
Julian Poyourow 2d204e7f92
Merge pull request #17860 from mozilla/FXA-10536
fix(eligibility): use offeringId instead of productId for eligibility
2024-10-23 00:12:34 -07:00
Lauren Zugai f8bf525f6b
feat(sync): Implement browser service=relay logic and UX
Because:
* We want to support this new 'sync optional' flow to allow users to sign into the browser without being signed into Sync, beginning with Relay

This commit:
* Allows service=relay query param with our oauth flow
* Adds logic to content-server reliers/fxa-settings integrations to check for this browser-but-not-Sync Relay case
* Makes conditional email-first UX changes for service=relay
* Makes conditional Signup UX changes for service=relay
* Adjusts web channel messages for fxaLogin and fxaOAuthLogin, for signin and signup

closes FXA-10313, closes FXA-10377
2024-10-22 17:28:46 -05:00
Wil Clouser 448557a85c
Merge pull request #17877 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-d139e40797
chore(deps): bump the npm_and_yarn group with 2 updates
2024-10-22 13:53:01 -07:00
dependabot[bot] 2479473532
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 [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware).


Updates `jose` from 5.9.4 to 5.9.6
- [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.4...v5.9.6)

Updates `http-proxy-middleware` from 2.0.0 to 2.0.7
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.0...v2.0.7)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: http-proxy-middleware
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 20:12:04 +00:00
Davey Alvarez 3e90b9808d
Merge pull request #17850 from mozilla/FXA-7575-Page-Success
feat(next): Update success page, add latest invoice to cart data
2024-10-22 12:53:20 -07:00
Davey Alvarez 4c3a787aaa
Update success page 2024-10-22 12:10:57 -07:00
Vijay Budhram 5c1fd7eab9
Merge pull request #17847 from mozilla/fxa-10484
feat(metrics): Add scopes to Glean access token check event
2024-10-22 14:26:15 -04:00
Wil Clouser d44d053c6b
Merge pull request #17875 from mozilla/dependabot/npm_and_yarn/babel/types-7.25.8
chore(deps-dev): bump @babel/types from 7.22.5 to 7.25.8
2024-10-22 07:30:16 -07:00
Wil Clouser 18bf30a287
Merge pull request #17872 from mozilla/dependabot/npm_and_yarn/sentry-988c8e09c1
chore(deps): bump the sentry group with 4 updates
2024-10-22 07:29:49 -07:00
dependabot[bot] 6e8376b737
chore(deps-dev): bump @babel/types from 7.22.5 to 7.25.8
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.22.5 to 7.25.8.
- [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.8/packages/babel-types)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 07:31:29 +00:00
dependabot[bot] 14d1d82292
chore(deps): bump the sentry group with 4 updates
Bumps the sentry group with 4 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript), [@sentry/nextjs](https://github.com/getsentry/sentry-javascript), [@sentry/node](https://github.com/getsentry/sentry-javascript) and [@sentry/opentelemetry](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/browser` from 8.34.0 to 8.35.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.34.0...8.35.0)

Updates `@sentry/nextjs` from 8.34.0 to 8.35.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.34.0...8.35.0)

Updates `@sentry/node` from 8.34.0 to 8.35.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.34.0...8.35.0)

Updates `@sentry/opentelemetry` from 8.34.0 to 8.35.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.34.0...8.35.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/opentelemetry"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 07:23:12 +00:00
Vijay Budhram e4132340e9
Merge pull request #17858 from mozilla/fxa-10558
feat(2fa): Add metrics for 2FA password reset, add `use different account` link
2024-10-21 12:32:18 -04:00
Barry Chen a874b901cb
Merge pull request #17868 from mozilla/FXA-10516-customs
fix(customs): add rate limiting action
2024-10-21 11:30:48 -05:00
Vijay Budhram 7f175f51a3
Merge pull request #17859 from mozilla/fxa-10555
fix(bugs): Send low recovery codes email when consuming during password reset
2024-10-21 12:28:37 -04:00
Vijay Budhram 5e31286d9a
fix(bugs): Send low recovery codes email when consuming during password reset 2024-10-21 11:28:53 -04:00
Wil Clouser 89fec3f801
Merge pull request #17864 from mozilla/dependabot/npm_and_yarn/nx-cloud-19.1.0
chore(deps-dev): bump nx-cloud from 19.0.0 to 19.1.0
2024-10-21 07:36:31 -07:00
Wil Clouser 8630c036d4
Merge pull request #17866 from mozilla/dependabot/npm_and_yarn/browserslist-4.24.0
chore(deps): bump browserslist from 4.23.0 to 4.24.0
2024-10-21 07:35:51 -07:00
dependabot[bot] a2e611b84f
chore(deps): bump browserslist from 4.23.0 to 4.24.0
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.23.0 to 4.24.0.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.23.0...4.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 07:01:06 +00:00
dependabot[bot] cf80d96986
chore(deps-dev): bump nx-cloud from 19.0.0 to 19.1.0
Bumps [nx-cloud](https://github.com/nrwl/nx) from 19.0.0 to 19.1.0.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/compare/19.0.0...19.1.0)

---
updated-dependencies:
- dependency-name: nx-cloud
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 07:00:06 +00:00
julianpoyourow 05ccfcd7ff
fix(eligibility): use offeringId instead of productId for eligibility
Because:

- Product IDs can be shared between multiple offerings

This commit:

- Switches to comparing offering apiIdentifiers (offering IDs) rather
  than productIds

Closes FXA-10536
2024-10-18 21:30:46 +00:00
Lauren Zugai ad7a75dc8c
Merge pull request #17816 from mozilla/FXA-10528
refactor(settings): Create OAuthNative integration, rename OAuth integration to OAuthWeb
2024-10-18 15:15:04 -05:00
Lauren Zugai 7e7c89b38b
refactor(settings): Create OAuthNative integration, rename OAuth integration to OAuthWeb
Because:
* We need some cleanup around our integrations for better separation of concerns, clarity, and shared checks/ methods

This commit:
* Creates a new OAuthNative integration type intended for oauth iOS/Android sync, oauth desktop, and future relay/sync optional work
* Renames OAuthIntegration to OAuthWebIntegration
* Removes accountNeedsPermissions cruft that we aren't supporting in React at the moment
* Improves test coverage

closes FXA-10528
2024-10-18 14:36:37 -05:00
Vijay Budhram 8364d55f01
feat(2fa): Add metrics for 2FA password reset, add `use different account` link 2024-10-18 14:47:39 -04:00
Lisa Chan 5bf120eb6d
Merge pull request #17846 from mozilla/FXA-7580
feat(payments-next): Sign-in/sign-up form
2024-10-18 14:31:13 -04:00
Barry Chen c62d3e03f4
fix(customs): add rate limiting action 2024-10-18 12:21:12 -05:00
Wil Clouser 15e3d06b26
Merge pull request #17857 from mozilla/dependabot/npm_and_yarn/postcss-normalize-13.0.1
chore(deps): bump postcss-normalize from 10.0.1 to 13.0.1
2024-10-18 08:20:05 -07:00
Wil Clouser 19a25ecc9e
Merge pull request #17835 from mozilla/dependabot/npm_and_yarn/radix-ui/react-form-0.1.0
chore(deps): bump @radix-ui/react-form from 0.0.3 to 0.1.0
2024-10-18 08:19:31 -07:00
Wil Clouser 7ab493a6b6
Merge pull request #17834 from mozilla/dependabot/npm_and_yarn/stylelint-16.10.0
chore(deps-dev): bump stylelint from 16.9.0 to 16.10.0
2024-10-18 08:18:08 -07:00
Lisa Chan 05906c16c8
feat(payments-next): Sign-in/sign-up form 2024-10-18 09:33:06 -04:00
dependabot[bot] 9a1f713508
chore(deps): bump postcss-normalize from 10.0.1 to 13.0.1
Bumps [postcss-normalize](https://github.com/csstools/postcss-normalize) from 10.0.1 to 13.0.1.
- [Release notes](https://github.com/csstools/postcss-normalize/releases)
- [Changelog](https://github.com/csstools/postcss-normalize/blob/main/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-normalize/commits)

---
updated-dependencies:
- dependency-name: postcss-normalize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-18 07:21:56 +00:00
Ben Bangert e68f99a17e
Merge pull request #17849 from mozilla/feat/add-db-metrics
feat: add metrics to db methods
2024-10-17 14:45:13 -07:00
Reino Muhl c2479c644b
Merge pull request #17837 from mozilla/fxa-7586-paypal-initial-hooks
feat(next): paypal createOrder and onApprove hooks
2024-10-17 15:56:56 -04:00
Reino Muhl 10588e1120
feat(next): paypal createOrder and onApprove hooks
Because:

- Submit PayPal checkout to payments-next

This commit:

- Add logic to PayPal button createOrder and onApprove hooks.

Closes #FXA-7586
2024-10-17 15:11:31 -04:00
Ben Bangert a3ea394a7a
feat: add metrics to db methods
Because:

* We want to see db changes in graphs to identify odd behavior.

This commit:

* Adds metrics to most db methods with tags indiciating result.
2024-10-17 19:08:17 +00:00
Davey Alvarez b575985538
Merge pull request #17839 from mozilla/FXA-7587-PayPal-Implement-onError-and-onInit-hooks
feat(next): Add enabled and onError hooks to paypal component
2024-10-17 11:03:50 -07:00
Vijay Budhram 41a8f4c68d
feat(metrics): Add scopes to Glean access token check event 2024-10-17 13:50:36 -04:00
Valerie Pomerleau adaff7f781
Merge pull request #17840 from mozilla/FXA-10557
fix(fxa-settings): Show correct email for signin after reset
2024-10-17 10:47:16 -07:00
Ben Bangert 6cdeb114fa
Merge pull request #17838 from mozilla/refactor/auth-db-to-ts
refactor(auth): minimal conversion of db/index to ts
2024-10-17 10:20:13 -07:00
Reino Muhl 4d57420dc7
Merge pull request #17845 from mozilla/fxa-7574-generic-loading-page
feat(next): add a generic loading page
2024-10-17 12:58:26 -04:00