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

29913 Коммитов

Автор SHA1 Сообщение Дата
Lauren Zugai 6d8745a2f4
feat(react): Add React signin Sync web channel events for fx_desktop_v3 + oauth_webchannel_v1
Because:
* We are moving from Backbone to React and want to meet parity with Sync functionality

This commit:
* Tweaks config-fxios script since iOS changed directory nesting
* Adds firefox.fxaLogin and firefox.fxaOAuthLogin web channel events where needed; it should talk to the browser with a happy path login, signin_token_code flow, and signin_totp_code flow
* Return unwrapBKey as part of signin callback data for sync
* Always displays password input for Sync (no cached login)
* Adds temp 'hack' (tempHandleSyncLogin) to allow a hard navigate to CAD to work in these flows
* Fixes bug where we were sending fxaLogin instead of fxaCanLinkAccount. Removed these from signin and signup container pages because we send one on the index page and it's causing multiple Sync dialogs
* Renames signinLocationState in signintotpcode to signinState since it can be set to local storage values
* Tweaks when to display third party auth for Sync (only show in the Sync flow when user does not have a PW set)

closes FXA-9059
2024-03-27 09:35:27 -05:00
Reino Muhl 407c7e3cdb
Merge pull request #16586 from mozilla/fxa-8821-l10n-bundle-load
feat(l10n): add localizer class for payments next
2024-03-22 09:25:27 -04:00
Reino Muhl 695d791b15
feat(l10n): add localizer class for payments next
Because:

* Create a localizer class that can be used by payments next react
  server components.
* Only generate fluent bundles once on startup.

This commit:

* Moves logic from Localizer class, defined in
  `fxa-auth-server/lib/l10n/index.ts`, to a LocalizerBase class.
* Adds LocalizerServer class to be used by payments next.
* Moves nestapp from payments-next app to a library

Closes #FXA-8821
2024-03-22 08:58:53 -04:00
Lisa Chan ee8a93f92f
Merge pull request #16605 from mozilla/FXA-8820
feat(l10n): Add localization scripts/targets to payments-next
2024-03-21 21:10:51 -04:00
Lisa Chan ad714efd00
feat(l10n): Add localization scripts/targets to payments-next 2024-03-21 20:42:55 -04:00
Dan Schomburg e6aacde397
Merge pull request #16577 from mozilla/FXA-8603
task(functional-tests): Fix button click for pocket login
2024-03-21 11:52:12 -07:00
Dan Schomburg a239f8e286
Merge pull request #16507 from mozilla/FXA-9158
task(fxa-settings): Add test coverage for key stretching v2 to signin container tests
2024-03-21 11:49:15 -07:00
Katrina Anderson f27d021b4c
Merge pull request #16584 from mozilla/fxa-8960
test(functional-tests): audit react conversion signup tests
2024-03-21 13:46:52 -04:00
dschom 3e22161e99
task(settings): Add test coverage for k2 key stretching to Signin container
Because:
- We want test coverage for automatically upgrading to a V2 password
- We want test coverage for signing in with a V2 password

This Commit:
- Adds tests for auto upgrading to a V2 password
- Adds tests for signing with a V2 password
- Adds tests for possible error states when upgrading a password
- Adds option to report apollo errors directly in test output
- Cleans up apollo test client warnings & errors
- Switches to using apollo client's mock provider.
  - This was necessary due to the number of gql calls made in these tests
2024-03-21 10:40:05 -07:00
Dan Schomburg 02d9ec523a
Merge pull request #16574 from mozilla/FXA-8600
task(content): Add Mozilla Account(s) to banned password names
2024-03-21 10:30:40 -07:00
dschom c98ede2c58
task(functional-tests): Fix button click for pocket login
Because:
- The test hangs
- The text has changed on this button
- We have decided not target external sites

This Commit:
- Removes the test entirely
2024-03-21 10:23:40 -07:00
Dan Schomburg 8bb66057eb
Merge pull request #16579 from mozilla/FXA-8601
task(admin-panel): Remove 'Firefox Accounts' references
2024-03-21 10:20:01 -07:00
Katrina Anderson 760485e852
test(functional-tests): audit react-conversion signup tests
Because:

* We want to promote stability and sustainability in the functional-tests

This commit:

* Refactors creation and cleanup of email into a test fixture
* Refactors to use page object with auto-retrying assertions and built-in locators (causes cascading changes into other tests):
  * keyStretchingV2.spec.ts
  * signin.spec.ts
  * syncSignIn.spec.ts
  * webchannel.spec.ts
  * avatar.spec.ts
  * changeEmail.spec.ts
  * connectAnotherDevice.spec.ts
  * relyingParties.spec.ts
  * signUpWithCWTS.ts
* Removes the pre-fill tests since they are generating false positives and a decision on whether the feature will be implemented has not yet been made (see FXA-8794)
  * 'Visits the privacy policy links save information upon return'
  * 'Visits the terms of service links save information upon return'
  * 'Checks that form prefill information is cleared after sign up -> sign out'
* Adds a fixme annotation to the following tests:
  * signup oauth webchannel - sync mobile or FF desktop 123+
  * signup sync desktop v3, verify account

Relates To FXA-8960 & FXA-9360
2024-03-21 13:18:16 -04:00
Vijay Budhram 981c4b85bb
Merge pull request #16612 from mozilla/fxa-9319
chore(scripts): Add back check-users script
2024-03-21 12:26:46 -04:00
Vijay Budhram 072b2ec9b6
chore(scripts): Add back check-users script 2024-03-21 11:10:12 -04:00
Reino Muhl 8fbc5139e2
Merge pull request #16608 from mozilla/dependabot/npm_and_yarn/nx-9fcd29d724
chore(deps-dev): bump the nx group with 7 updates
2024-03-21 10:03:26 -04:00
Vijay Budhram 719e811333
Merge pull request #16603 from mozilla/fxa-9318
chore(tests): Fix production tests
2024-03-21 09:54:15 -04:00
Vijay Budhram 148a7ade08
Merge pull request #16593 from mozilla/fxa-9312
chore(client): Show a better error message when client secret on 123done is not valid
2024-03-21 09:53:38 -04:00
dependabot[bot] 936433bee3
chore(deps-dev): bump the nx group with 7 updates
Bumps the nx group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@nx/eslint-plugin](https://github.com/nrwl/nx/tree/HEAD/packages/eslint-plugin) | `18.0.3` | `18.1.2` |
| [@nx/js](https://github.com/nrwl/nx/tree/HEAD/packages/js) | `18.0.3` | `18.1.2` |
| [@nx/next](https://github.com/nrwl/nx/tree/HEAD/packages/next) | `18.0.3` | `18.1.2` |
| [@nx/node](https://github.com/nrwl/nx/tree/HEAD/packages/node) | `18.0.3` | `18.1.2` |
| [@nx/react](https://github.com/nrwl/nx/tree/HEAD/packages/react) | `18.0.3` | `18.1.2` |
| [@nx/storybook](https://github.com/nrwl/nx/tree/HEAD/packages/storybook) | `18.0.3` | `18.1.2` |
| [@nx/workspace](https://github.com/nrwl/nx/tree/HEAD/packages/workspace) | `18.0.3` | `18.1.2` |


Updates `@nx/eslint-plugin` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/eslint-plugin)

Updates `@nx/js` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/js)

Updates `@nx/next` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/next)

Updates `@nx/node` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/node)

Updates `@nx/react` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/react)

Updates `@nx/storybook` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/storybook)

Updates `@nx/workspace` from 18.0.3 to 18.1.2
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.1.2/packages/workspace)

---
updated-dependencies:
- dependency-name: "@nx/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/next"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/storybook"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
- dependency-name: "@nx/workspace"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: nx
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:37:26 +00:00
Reino Muhl a34d120fb5
Merge pull request #16609 from mozilla/dependabot/npm_and_yarn/sentry-763ca9ee20
chore(deps): bump the sentry group with 3 updates
2024-03-21 09:23:26 -04:00
Reino Muhl f545ad3e00
Merge pull request #16610 from mozilla/dependabot/npm_and_yarn/open-telemetry-eac913dfd6
chore(deps): bump the open-telemetry group with 4 updates
2024-03-21 09:22:48 -04:00
Reino Muhl 308aba27f8
Merge pull request #16611 from mozilla/dependabot/npm_and_yarn/winston-3.12.0
chore(deps): bump winston from 3.11.0 to 3.12.0
2024-03-21 09:22:12 -04:00
dependabot[bot] ee828af47c
chore(deps): bump winston from 3.11.0 to 3.12.0
Bumps [winston](https://github.com/winstonjs/winston) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.11.0...v3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 07:12:21 +00:00
dependabot[bot] 1f34bde8c2
chore(deps): bump the open-telemetry group with 4 updates
Bumps the open-telemetry group with 4 updates: [@opentelemetry/auto-instrumentations-node](https://github.com/open-telemetry/opentelemetry-js-contrib), [@opentelemetry/instrumentation-document-load](https://github.com/open-telemetry/opentelemetry-js-contrib), [@opentelemetry/instrumentation-user-interaction](https://github.com/open-telemetry/opentelemetry-js-contrib) and [@opentelemetry/instrumentation-xml-http-request](https://github.com/open-telemetry/opentelemetry-js).


Updates `@opentelemetry/auto-instrumentations-node` from 0.41.1 to 0.43.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.41.1...auto-instrumentations-node-v0.43.0)

Updates `@opentelemetry/instrumentation-document-load` from 0.35.0 to 0.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/host-metrics-v0.35.0...redis-common-v0.36.0)

Updates `@opentelemetry/instrumentation-user-interaction` from 0.35.0 to 0.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/host-metrics-v0.35.0...redis-common-v0.36.0)

Updates `@opentelemetry/instrumentation-xml-http-request` from 0.48.0 to 0.49.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.48.0...experimental/v0.49.1)

---
updated-dependencies:
- dependency-name: "@opentelemetry/auto-instrumentations-node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: open-telemetry
- dependency-name: "@opentelemetry/instrumentation-document-load"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: open-telemetry
- dependency-name: "@opentelemetry/instrumentation-user-interaction"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: open-telemetry
- dependency-name: "@opentelemetry/instrumentation-xml-http-request"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: open-telemetry
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 07:09:40 +00:00
dependabot[bot] 255529ef81
chore(deps): bump the sentry group with 3 updates
Bumps the sentry group with 3 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript), [@sentry/node](https://github.com/getsentry/sentry-javascript) and [@sentry/opentelemetry-node](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/browser` from 7.100.1 to 7.107.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/7.100.1...7.107.0)

Updates `@sentry/node` from 7.103.0 to 7.107.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/7.103.0...7.107.0)

Updates `@sentry/opentelemetry-node` from 7.100.1 to 7.107.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/7.100.1...7.107.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  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-node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 07:02:14 +00:00
Lisa Chan 2e55eda99e
Merge pull request #16575 from mozilla/FXA-7518
feat(shared-assets): Create library for shared assets
2024-03-20 19:20:35 -04:00
Lisa Chan 25bcf355ed
feat(shared-assets): Create library for shared assets 2024-03-20 18:54:49 -04:00
Vijay Budhram 9b1bd85ee0
chore(tests): Fix production tests 2024-03-20 16:49:59 -04:00
Ben Bangert f86d3911b9
Merge pull request #16602 from mozilla/chore/use-dependabot-groups
chore: use dependabot groups to align dep updates
2024-03-20 13:31:15 -07:00
Ben Bangert 0667df0896
chore: use dependabot groups to align dep updates
Because:

* We want some dependencies to be updated together.

This commit:

* Configures groups for the larger dependencies that
  should be updated together.
2024-03-20 13:30:38 -07:00
Vijay Budhram 6fd6bdbeed
chore(client): Show a better error message when client secret on 123done 2024-03-20 16:13:37 -04:00
Barry Chen 9b73c011e8
Merge pull request #16599 from mozilla/FXA-9286-backend-glean-oauth-client-id
fix(metrics): use the service metric value as OAuth client id
2024-03-20 15:00:36 -05:00
Barry Chen 0f28616563
fix(metrics): use the service metric value as OAuth client id
Because:
 - we want to populate the OAuth client id value in our backend Glean
   events more reliably
   - for OAuth RPs the content-server put the OAuth client id into the
     service property of the metrics context

This commit:
 - uses the service value as the OAuth client id in Glean events if the
   value is shaped like an OAuth client id
2024-03-20 13:17:38 -05:00
Vijay Budhram be90f582b7
Merge pull request #16597 from mozilla/dependabot/npm_and_yarn/eslint-config-next-14.1.4
chore(deps-dev): bump eslint-config-next from 14.0.1 to 14.1.4
2024-03-20 13:25:42 -04:00
Vijay Budhram 5fe72a5164
Merge pull request #16596 from mozilla/dependabot/npm_and_yarn/ws-8.16.0
chore(deps-dev): bump ws from 8.14.2 to 8.16.0
2024-03-20 13:24:59 -04:00
dependabot[bot] d2e44dc2db
chore(deps-dev): bump eslint-config-next from 14.0.1 to 14.1.4
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 14.0.1 to 14.1.4.
- [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/commits/v14.1.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 06:39:18 +00:00
dependabot[bot] 167d9aa53e
chore(deps-dev): bump ws from 8.14.2 to 8.16.0
Bumps [ws](https://github.com/websockets/ws) from 8.14.2 to 8.16.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 06:35:08 +00:00
Julian Poyourow f0d27b9e74
Merge pull request #16535 from mozilla/FXA-8888
feat(paypal): Add paypal repository
2024-03-19 10:04:13 -07:00
Katrina Anderson 15e7887c1a
Merge pull request #16585 from mozilla/fxa-9280
test(functional-tests): remove tests for back button
2024-03-19 12:44:35 -04:00
Julian Poyourow 473ba056bb
feat(paypal): Add paypal repository
Because:

* We want to be able to interact with the paypalCustomer table from the
  new libs structure

This commit:

* Adds a paypalCustomer repository

Closes FXA-8888
2024-03-19 09:17:01 -07:00
Lauren Zugai 06e74a7331
Merge pull request #16589 from mozilla/dependabot/npm_and_yarn/ramda-0.29.1
chore(deps): bump ramda from 0.26.1 to 0.29.1
2024-03-19 10:05:20 -05:00
Lauren Zugai 0013852185
Merge pull request #16590 from mozilla/dependabot/npm_and_yarn/grunt-contrib-cssmin-5.0.0
chore(deps): bump grunt-contrib-cssmin from 4.0.0 to 5.0.0
2024-03-19 10:01:59 -05:00
dependabot[bot] a65533fcfd
chore(deps): bump grunt-contrib-cssmin from 4.0.0 to 5.0.0
Bumps [grunt-contrib-cssmin](https://github.com/gruntjs/grunt-contrib-cssmin) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-cssmin/releases)
- [Changelog](https://github.com/gruntjs/grunt-contrib-cssmin/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt-contrib-cssmin/compare/v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: grunt-contrib-cssmin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 06:26:02 +00:00
dependabot[bot] 2dc8830b4e
chore(deps): bump ramda from 0.26.1 to 0.29.1
Bumps [ramda](https://github.com/ramda/ramda) from 0.26.1 to 0.29.1.
- [Release notes](https://github.com/ramda/ramda/releases)
- [Changelog](https://github.com/ramda/ramda/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ramda/ramda/compare/0.26.1...v0.29.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 06:25:11 +00:00
Katrina Anderson 1eae8926c5
test(functional-tests): remove tests for back button
Closes FXA-9280
2024-03-18 17:29:48 -04:00
Lauren Zugai 23527ada49
Merge pull request #16541 from mozilla/dependabot/npm_and_yarn/workbox-webpack-plugin-7.0.0
chore(deps): bump workbox-webpack-plugin from 6.6.0 to 7.0.0
2024-03-18 16:07:53 -05:00
dependabot[bot] 2c88423ccb
chore(deps): bump workbox-webpack-plugin from 6.6.0 to 7.0.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 6.6.0 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v6.6.0...v7.0.0)

---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 20:19:16 +00:00
Lauren Zugai 11289b5203
Merge pull request #16568 from mozilla/dependabot/npm_and_yarn/stylelint-16.2.1
chore(deps-dev): bump stylelint from 15.10.1 to 16.2.1
2024-03-18 15:18:10 -05:00
Lauren Zugai 7e40e9dfea
Merge pull request #16583 from mozilla/dependabot/npm_and_yarn/nodemon-3.1.0
chore(deps-dev): bump nodemon from 2.0.19 to 3.1.0
2024-03-18 15:15:06 -05:00
Lauren Zugai bdefda06d0
Merge pull request #16581 from mozilla/dependabot/npm_and_yarn/nx/jest-18.1.1
chore(deps-dev): bump @nx/jest from 18.0.3 to 18.1.1
2024-03-18 15:13:40 -05:00