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

28456 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 509506d149
chore(deps): bump apollo-server-core from 2.26.0 to 2.26.2
Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 2.26.0 to 2.26.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-core@2.26.2/packages/apollo-server-core)

---
updated-dependencies:
- dependency-name: apollo-server-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 22:24:41 +00:00
Dan Schomburg cb20a648fe
Merge pull request #15734 from mozilla/fix-oom-in-create-fxa-image
task(ci): Include max-old-space-size node option in build.sh
2023-08-30 17:26:25 -04:00
dschom e114e823d9
task(ci): Include max old space node option in build.sh
Because:
- The CI job `Create FxA Image` ran out of memory

This Commit:
- Applies the the `--max-old-space-size=7168` node option, which should prevent the OOM.
2023-08-30 14:20:43 -07:00
Dan Schomburg c2fd3cdd7f
Merge pull request #15733 from mozilla/change-net-cat-install
task(ci): Fix netcat install after updating docker base image to node:18.17-slim
2023-08-30 16:54:36 -04:00
Dan Schomburg a20aa0689c
Merge pull request #15731 from mozilla/increase-intergration-resource-class
task(ci): Make integration tests run on large resource class
2023-08-30 16:52:36 -04:00
dschom 992115594b
task(ci): Fix netcat install after updating docker base image to node:18.17-slim 2023-08-30 13:39:01 -07:00
dschom 5f5700a5ed
task(ci): Fix train 266 issues
Because:
- Fixes projects param on integration tests in flows other than test_pull_request
- Defaults to large resource class for integration tests (for now)
2023-08-30 13:30:16 -07:00
Ben Bangert 3c96bb79da
Merge pull request #15727 from mozilla/contentful-manager-typed-config
refactor: use typed config for Contentful client
2023-08-30 11:13:20 -07:00
Ankita Shrivastava 3831002681
Merge pull request #15709 from mozilla/disable-funnel-metrics-test
test(subplat): disable the funnel metrics test
2023-08-30 13:13:03 -04:00
Bianca Danforth 6e3a0a695a
refactor: use typed config for Contentful client
Because:

* We'd like to be able to use Nest-Typed-Config with a structured config file that can be validated at runtime if desired.

This commit:

* Adds a typed config class for the Contentful client.
* Reference PR: https://github.com/mozilla/fxa/pull/15724

Closes #No ticket
2023-08-30 13:04:34 -04:00
Vijay Budhram 7a0e5fe351
Merge pull request #15728 from mozilla/dependabot/npm_and_yarn/adobe/css-tools-4.3.1
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1
2023-08-30 10:22:22 -04:00
dependabot[bot] e84cbe2f22
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.1 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 00:24:17 +00:00
Dan Schomburg d29151935c
Merge pull request #15698 from mozilla/nx/ci-build-cache
task(CI): Improve nx caching for CI pipelines
2023-08-29 17:22:00 -04:00
Barry Chen 74d0dc0c4d
Merge pull request #15726 from mozilla/FXA-7405-reg-success-glean
feat(metrics): add backend Glean ping for reg_acc_created
2023-08-29 16:15:06 -05:00
Barry Chen 2658818820
feat(metrics): add backend Glean ping for reg_acc_created 2023-08-29 14:08:08 -05:00
dschom d96797ae6a
task(CI): Improve nx caching for CI pipelines
Because:
- Not all CI operations where taking advantage of NX caches

This Commit:
- Adjusts nx.json config to ensure correct caching behavior
- Adjusts nx.json config to ensure proper target chains. ie build is dependent on pre-build
- Uses nx to directly run integration tests
- Uses nx to directly run unit tests
- Phases out dependency on generated .list files
- Ensures 'start up' for services for functional tests is done with nx and uses nx caches.
- Creates nx tags to facilitate test commands
- Fixes linter errors encountered
- Updates docker images to nx for builds
- Updates nx ignore files
2023-08-29 11:19:54 -07:00
Vijay Budhram a3d72787ad
Merge pull request #15716 from mozilla/FXA-8141
fix(react): Grab service name from integration in AccountRecoveryConfirmKey
2023-08-29 12:21:02 -04:00
Ben Bangert 386845185a
Merge pull request #15724 from mozilla/refactor/use-typed-config-for-paypal-client
refactor: use typed config for paypal client
2023-08-29 07:56:00 -07:00
Ben Bangert ae0230f7bb
refactor: use typed config for paypal client
Because:

* The paypal client config is a basic interface, and we'd like to be
  able to use Nest-Typed-Config with a structured config file.

This commit:

* Adds a typed config class for the paypal client.
2023-08-28 15:56:33 -07:00
Ben Bangert 33ff19c697
Merge pull request #15721 from mozilla/chore/update-ts-to-522
chore: update to TS 5.2.2
2023-08-28 15:12:35 -07:00
Ben Bangert 54f0c2e7a2
chore: update to TS to 5.2.2 and Node to 18.17.1
Because:

* We want to use the latest typescript features.

This commit:

* Updates to TypeScript 5.2.2.
* Updates to Node 18.17.1 as OOM would occur frequently with 18.14.
* Updates CI to use a large instance with increased memory for Node.
2023-08-28 14:47:29 -07:00
Barry Chen b31226b2d9
Merge pull request #15702 from mozilla/FXA-8183-await-glean
fix(metrics): await Glean submissions
2023-08-28 15:01:51 -05:00
Julian Poyourow fa60097da7
Merge pull request #15717 from mozilla/polish-injectable
chore(libs): add injectable to all library classes, centralize nest
2023-08-28 12:36:00 -07:00
Julian Poyourow 5b6060df51
chore(libs): add injectable to all library classes, centralize nest
Because:

* We want to easily be able to consume library classes within NestJS.
Adding the injectable decorator to all library classes means we can do
so with ease, but also doesn't prevent us from using the class outside
of the NestJS DI system.
* We want all dependencies (such as nest) centralized to the main
package.json

This commit:

* Adds the injectable decorator to every library class.
* Centralizes the NestJS dependency to the root package.json.

Closes: no relevant issue - polish PR.
2023-08-28 11:54:12 -07:00
Vijay Budhram e31f28c49d
Merge pull request #15722 from mozilla/fxa-revert-ios-bug
revert(bug): Revert settings redirect in graphql to fix ios pairing bug
2023-08-28 14:37:02 -04:00
Vijay Budhram 15d813d80d
revert(bug): Revert settings redirect in graphql to fix ios pairing bug 2023-08-28 13:48:53 -04:00
Dan Schomburg 82218c8732
Merge pull request #15703 from mozilla/FXA-8148
task(admin): Show if password is set on account
2023-08-28 12:53:01 -04:00
dschom 4ed12f08ef
task(admin): Show if password is set on account
Because:
- We need to know if an accounts password was set

This Commit:
- Adds a row for Password Set
- Exposes the verifierSetAt field to the front end
- Uses verifierSetAt to determine if a password was set
- Fixes bug where dev mode wasn't starting due wrong path
- Fixes bug where StrictMode was stopping lazy queries from executing
2023-08-28 09:16:57 -07:00
Dan Schomburg 28ee596947
Merge pull request #15718 from mozilla/FXA-8123
bug(settings): Fix missing connected service name after password reset
2023-08-28 12:02:47 -04:00
Wil Clouser 5bb0d99131
Merge pull request #15668 from mozilla/20230808docs
chore(docs): clarify API request requirement
2023-08-28 07:50:40 -07:00
Barry Chen ceb88fa511
Merge pull request #15720 from SphinxKnight/patch-1
Follow-up of #15195 / dead link in readme
2023-08-28 07:50:15 -05:00
SphinxKnight 0ec56feba6
Follow-up of #15195 2023-08-28 09:22:27 +02:00
Lauren Zugai d9aaf42d4c
fix(react): Grab service name from integration in AccountRecoveryConfirmKey
Because:
* We were only rendering the default service name

This commit:
* Sets the service name from the integration
* Sets up mock integration functions for that page and creates interfaces file for that page

closes FXA-8141
2023-08-25 14:31:40 -04:00
dschom 387b951b1c
bug(settings): Fix missing connected service name after password reset
Because:
- Service name was blank for connected device after going through password reset flow

This Commit:
- Makes sure user agent propagates from graphql to auth-server
- Adds tests for our gql decorator class
- Adds logic to functional test to ensure the service name isn't blank
2023-08-25 11:06:01 -07:00
Ivo Plamenac c7057c6f2a
Merge pull request #15706 from mozilla/fix-auth-startup-tsconfig-paths
fix(auth): could not resolve ts paths on startup
2023-08-23 14:57:49 -07:00
Ben Bangert 780f3a8add
Merge pull request #15712 from mozilla/refactor/kysley-cart-manager
refactor: switch to kysley cart manager
2023-08-23 12:58:05 -07:00
Ben Bangert 832347e64c
refactor: switch to kysley cart manager
Because:

* We want to try out kysley for all db operations including the cart
  manager.

This commit:

* Switches the cart manager to use kysley.
2023-08-19 19:07:46 -07:00
Ben Bangert b2d68e6860
Merge pull request #15707 from mozilla/FXA-6623-create-accountmanager-class-in-fxa-account-package
feat: add account manager class
2023-08-18 14:12:21 -07:00
Lauren Zugai 8f42446150
Merge pull request #15708 from mozilla/react-validation-fix
fix(react): class-validator decorator tweaks around query params
2023-08-18 14:26:51 -05:00
Lauren Zugai c7c18e08e6
fix(react): class-validator decorator tweaks around query params
Because:
* Some validation checks are incorrect since params are always strings unless transformed, causing a blank page to show in some cases

This commit:
* Uses the 'isBooleanString' decorator instead of 'isBoolean' until we can better validate with (probably) a custom decorator
2023-08-18 13:35:50 -05:00
Ankita Shrivastava 024b4d7f4b
test(subplat): disable the funnel metrics test 2023-08-18 13:50:20 -04:00
Ben Bangert 0be6fd95c5
feat: add account manager class
Because:

* We want to have a single place to manage account related operations in
  the database layer.

This commit:

* Adds a new AccountManager class and account package.

Closes #FXA-6623
2023-08-18 09:06:28 -07:00
Reino Muhl dd7ff9639d
fix(auth): could not resolve ts paths on startup
Because:

* auth-server was failing to start after deploy due to tsconfig paths
  not resolving to the relevant libraries.

This commit:

* Adds a tsc-alias to build step to resolve alias paths to relative
  paths.

Closes
2023-08-18 10:22:16 -04:00
Barry Chen 754bf33511
fix(metrics): await Glean submissions
Because:
 - hashing the uid is async (`crypto.subtle.digest`), thus making the
   Glean ping calls async.  And preferably we don't block the UI on
   metrics.  However, we cannot overlap (not await) multiple Glean
   pings.  When that happened with the successful registration
   submission event overlapping the registration confirmation view
   event, we "lost" all the succession registration event because that
   event has an empty event name.  And the confirmation view event was
   submitted with the properties of the successful registration
   submission event.

This commit:
 - calls and awaits the ping submissions in order inside GleanMetrics
2023-08-17 17:02:45 -05:00
Vijay Budhram 295130c0b3
Merge pull request #15701 from mozilla/dependabot/npm_and_yarn/storybook-addon-mock-4.2.1
chore(deps-dev): bump storybook-addon-mock from 4.0.0 to 4.2.1
2023-08-17 10:30:37 -04:00
Vijay Budhram 7a7c89d08d
Merge pull request #15699 from mozilla/dependabot/npm_and_yarn/mjml-browser-4.14.1
chore(deps-dev): bump mjml-browser from 4.13.0 to 4.14.1
2023-08-17 10:29:33 -04:00
dependabot[bot] 14be29217e
chore(deps-dev): bump storybook-addon-mock from 4.0.0 to 4.2.1
Bumps [storybook-addon-mock](https://github.com/nutboltu/storybook-addon-mock) from 4.0.0 to 4.2.1.
- [Release notes](https://github.com/nutboltu/storybook-addon-mock/releases)
- [Commits](https://github.com/nutboltu/storybook-addon-mock/compare/4.0.0...4.2.1)

---
updated-dependencies:
- dependency-name: storybook-addon-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 08:10:16 +00:00
dependabot[bot] d39f63ce3a
chore(deps-dev): bump mjml-browser from 4.13.0 to 4.14.1
Bumps [mjml-browser](https://github.com/mjmlio/mjml/tree/HEAD/packages/mjml-browser) from 4.13.0 to 4.14.1.
- [Release notes](https://github.com/mjmlio/mjml/releases)
- [Commits](https://github.com/mjmlio/mjml/commits/v4.14.1/packages/mjml-browser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 06:58:18 +00:00
Vijay Budhram 4df8bda415
Merge pull request #15681 from mozilla/dependabot/npm_and_yarn/expose-loader-4.1.0
chore(deps): bump expose-loader from 1.0.3 to 4.1.0
2023-08-16 14:04:01 -04:00
Vijay Budhram b56326bb18
Merge pull request #15647 from mozilla/dependabot/npm_and_yarn/storybook/testing-library-0.2.0
chore(deps-dev): bump @storybook/testing-library from 0.0.14-next.2 to 0.2.0
2023-08-16 13:54:15 -04:00