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

2364 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 2e230d2365
chore(deps): bump the npm_and_yarn group with 3 updates
Bumps the npm_and_yarn group with 3 updates: [jose](https://github.com/panva/jose), [postcss](https://github.com/postcss/postcss) and [webpack](https://github.com/webpack/webpack).


Updates `jose` from 5.7.0 to 5.8.0
- [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.7.0...v5.8.0)

Updates `postcss` from 8.4.41 to 8.4.42
- [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.41...8.4.42)

Updates `webpack` from 5.89.0 to 5.94.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0)

---
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
- dependency-name: webpack
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 20:27:44 +00:00
dependabot[bot] 394da58e25
chore(deps): bump @stripe/stripe-js from 3.3.0 to 4.3.0
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 3.3.0 to 4.3.0.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v3.3.0...v4.3.0)

---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 07:32:01 +00:00
Reino Muhl a6f53a713f
Merge pull request #17333 from mozilla/fxa-10157-payments-sentry-logging
feat(payments): add sentry reporting to apiClient
2024-08-09 12:24:41 -04:00
dependabot[bot] 359750db25
chore(deps): bump uuid and @types/uuid
Bumps [uuid](https://github.com/uuidjs/uuid) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid). These dependencies needed to be updated together.

Updates `uuid` from 9.0.1 to 10.0.0
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0)

Updates `@types/uuid` from 7.0.3 to 10.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 06:37:48 +00:00
Reino Muhl d89aae2caa
feat(payments): add sentry reporting to apiClient
Because:

- Unknown errors increased a few months ago, without any logging or
  reporting to Sentry.

This commit:

- For unknown API errors report an issue to Sentry.
- Update fxa-profile-server to allow additional Sentry headers, similar
  to auth-server

Closes #FXA-10157
2024-08-06 10:59:54 -04:00
dependabot[bot] 1df56250ca
chore(deps): bump react-router-dom from 6.23.1 to 6.26.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.23.1 to 6.26.0.
- [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.26.0/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-08-02 06:55:22 +00:00
Lauren Zugai 91d4b4ae78
feat(newsletters): Add back mozilla-accounts slug to SubPlat default
Because:
* We want to support both default newsletters

This commit:
* Adds back previously removed 'mozilla-accounts' slug
2024-07-31 14:19:04 -05:00
Lauren Zugai 70fdab31f8
feat(newsletters): Update default newsletter slug for SubPlat
Because:
* We want the default case for the switch statement handling newsletters to be shown across products, and a newsletter slug update was requested for this

This commit:
* Updates the default newsletter slug in SubPlat and updates test

fixes FXA-10027
2024-07-31 13:14:16 -05:00
Barry Chen 352e1b7c2b
feat(metrics): populate metric values for content server backend Glean
Because:
 - the content server backend Glean pings did not have actual values for
   most of their metrics

This commit:
 - populates the "common" metrics in the ping
   - the approach is currently based on the /metrics-flow request; we
     can evolve it as necessary as we support more events
 - combines the node-uap based useragent lib in auth server into the one
   in fxa-shared, since the content server backend need the "device
   type"
2024-07-25 20:22:25 -05:00
Ben Bangert d39fca36e5
chore: update nx to 19.5.1 and typescript to 5.5.3
Because:

* nx 19.5.1 has been released
* typescript 5.5.3 has been released

This commit:

* updates nx to 19.5.1
* updates typescript to 5.5.3
2024-07-23 22:37:41 +00:00
Reino Muhl 2419c8eb9c
Hide PayPal button until init success 2024-06-27 13:07:33 -04:00
Reino Muhl 6c358bbd06
fix(payments): hide paypal on paypal init failure
Because:

- When the paypal button fails to load during initialization, for
  example when there is a PayPal sandbox outage, the subscription
  checkout page loads into an error, instead of hiding the PayPal
  button.
- This has resulted in a confusing user experience, as well as causing
  unrelated functional test failures due to the error page being shown.

This commit:

- If the PayPal button does not successfully finish it's onInit
  function, then hide the PayPal button instead of showing an error
  message.
- If any other PayPal error occurs, continue showing the error page.

Closes #FXA-9886
2024-06-27 13:07:33 -04:00
Lisa Chan 93c3d6c209
Merge pull request #17138 from mozilla/FXA-9457
feat(payments-server): Show coupon name in in Subscription Management
2024-06-21 12:34:16 -04:00
Lisa Chan c467ce4a4f
feat(payments-server): Show coupon name in in Subscription Management 2024-06-21 09:42:29 -04:00
Ben Bangert 39efc8ddf4
chore: update nx to 19.3
Because:

* We want to use the latest version of Nx.

This commit:

* Updates Nx to 19.3.
2024-06-20 17:34:39 +00: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
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
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
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
Reino Muhl d078477821
feat(many): add support for libs in webpack apps
Because:

- Could not import libs/* into apps using webpack
- Some apps failed with compilation errors when switching branches
- Imports from libs/assets used relative paths instead of the alias

This commit:

- Adds support for libs/* into apps using webpack
- Replaces all relative paths for libs/assets with the alias

Closes #FXA-9559
Closes #FXA-9313
2024-05-29 16:58:40 -04:00
dependabot[bot] 4e9683dfcd
chore(deps): bump @stripe/react-stripe-js from 2.5.0 to 2.7.1
Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 2.5.0 to 2.7.1.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/react-stripe-js/compare/v2.5.0...v2.7.1)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 07:21:47 +00:00
dependabot[bot] 4b8f353266
chore(deps): bump @babel/preset-typescript from 7.23.3 to 7.24.1
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.23.3 to 7.24.1.
- [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.24.1/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 07:06:37 +00:00
dependabot[bot] ea7f49d07d
chore(deps-dev): bump supertest from 6.3.0 to 7.0.0
Bumps [supertest](https://github.com/ladjs/supertest) from 6.3.0 to 7.0.0.
- [Release notes](https://github.com/ladjs/supertest/releases)
- [Commits](https://github.com/ladjs/supertest/compare/v6.3.0...v7.0.0)

---
updated-dependencies:
- dependency-name: supertest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 07:18:23 +00:00
dependabot[bot] 617b1e8f7d
chore(deps): bump @stripe/stripe-js from 3.0.7 to 3.3.0
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 3.0.7 to 3.3.0.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v3.0.7...v3.3.0)

---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 07:31:39 +00:00
dependabot[bot] a4e8984b1c
chore(deps): bump @babel/core and @types/babel__core
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) and [@types/babel__core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/babel__core). These dependencies needed to be updated together.

Updates `@babel/core` from 7.22.8 to 7.24.4
- [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.24.4/packages/babel-core)

Updates `@types/babel__core` from 7.1.14 to 7.20.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/babel__core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 18:51:27 +00:00
Reino Muhl e3e2e5027b
chore(nx): Update all nx to 18.3.1
Because:

* Update root and packages to latest nx

This commit:

* Updates all nx to latest version, 18.3.1

Closes #
2024-04-17 13:50:39 -04:00
Reino Muhl c9537151d2
Merge pull request #16716 from mozilla/readd-lint-payments-server
chore(payments): readd lint to fxa-payments-server
2024-04-15 11:10:46 -04:00
Lisa Chan 7553e3823c
Merge pull request #16710 from mozilla/dependabot/npm_and_yarn/babel/preset-react-7.24.1
chore(deps): bump @babel/preset-react from 7.23.3 to 7.24.1
2024-04-15 10:43:36 -04:00
Reino Muhl 026268380f
chore(payments): readd lint to fxa-payments-server
Because:

* Lint script was accidentally removed from fxa-payments-server.

This commit:

* Readd lint script to fxa-payments-server.

Closes #
2024-04-15 10:31:40 -04:00
Meghan Sardesai 8c7b72d7a4
fix(lint): correct lint errors causing CI failures in payments
Because:

* We want to make sure our code is properly linted and passing Circle CI.

This commit:

* Fixes lint errors causing failures in Circle CI tests for payments.
2024-04-15 09:34:06 -04:00
dependabot[bot] ae93cd1c39
chore(deps): bump @babel/preset-react from 7.23.3 to 7.24.1
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.23.3 to 7.24.1.
- [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.24.1/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 06:52:40 +00:00
dependabot[bot] 86a7c0fb93
chore(deps-dev): bump nx from 18.0.3 to 18.2.4
Bumps [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) from 18.0.3 to 18.2.4.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.2.4/packages/nx)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 08:21:24 -04:00
dschom acd46546ec
task(content,payments,settings): Enable sentry INP
Because:
- FID (First Input Delay) metric is going away

This commit:
- Turns on INP (Interaction to Next Paint) in the sentry's browser tracing integration

Note, INP is not currently supported by firefox :(
2024-04-04 12:39:41 -07:00
Vijay Budhram f1734b0a37
Merge pull request #16652 from mozilla/dependabot/npm_and_yarn/redux-promise-middleware-6.2.0
chore(deps): bump redux-promise-middleware from 6.1.2 to 6.2.0
2024-04-02 11:05:25 -04:00
dependabot[bot] b32e18b6e4
chore(deps-dev): bump postcss-import from 16.0.0 to 16.1.0
Bumps [postcss-import](https://github.com/postcss/postcss-import) from 16.0.0 to 16.1.0.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/16.0.0...16.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 06:20:58 +00:00
dependabot[bot] eca27231f7
chore(deps): bump redux-promise-middleware from 6.1.2 to 6.2.0
Bumps [redux-promise-middleware](https://github.com/pburtchaell/redux-promise-middleware) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/pburtchaell/redux-promise-middleware/releases)
- [Commits](https://github.com/pburtchaell/redux-promise-middleware/compare/6.1.2...6.2.0)

---
updated-dependencies:
- dependency-name: redux-promise-middleware
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 06:18:22 +00:00
dependabot[bot] 4749295702
chore(deps): bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 09:00:10 +00:00
Lisa Chan 25bcf355ed
feat(shared-assets): Create library for shared assets 2024-03-20 18:54:49 -04:00
Reino Muhl 87af41143b
Merge pull request #16570 from mozilla/fxa-8823-l10n-scripts-v2
feat(l10n): update l10n ftl scripts for nx apps v2
2024-03-18 11:41:01 -04:00
dschom b70bdbb23f
task(payments): Fix doc on accountsCdn config
Because:
- The doc string still referenced firefox accounts

This Commit:
- Updates the doc string to say Mozilla Accounts
2024-03-15 12:00:06 -07:00
dependabot[bot] c06b6e9bb7
chore(deps-dev): bump @storybook/addon-actions from 7.6.4 to 8.0.0
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions) from 7.6.4 to 8.0.0.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.0/code/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 19:59:41 +00:00
Ben Bangert c23e78eeed
Merge pull request #16563 from mozilla/chore/update-tsconfig-for-node-20
chore: update Node to 20 LTS, TypeScript, tsconfig
2024-03-14 12:56:34 -07:00
Ben Bangert c28b061257
chore: update Node to LTS 20, TypeScript, tsconfig
Because:

* We want to update to Node 20 LTS.
* We want to target the JS output of Node 20.
* We want to use the latest TypeScript 5.4

This commit:

* Updates the Node version to 20 LTS.
* Updates the TypeScript version and related TS libs
  to 5.4.
* Updates tsconfig for the new Node 20 target.
2024-03-14 11:54:20 -07:00
Reino Muhl f80ba7ff45
feat(l10n): update l10n ftl scripts for nx apps v2
Because:

* Fluent ftl files need to be added to apps in the nx apps/ directory.

This commit:

* Updates bundle and prime scripts to support the apps/ directory, without affecting existing packages apps.

Closes #FXA-8823
2024-03-14 10:41:02 -04:00
Reino Muhl a4cb70fa6c
Revert "feat(l10n): update l10n ftl scripts for nx apps" 2024-03-13 15:47:02 -04:00
Dan Schomburg 3f02bd5952
Revert "chore: update node to LTS 20" 2024-03-13 10:00:47 -07:00
Ben Bangert 618ac1cd4f
Merge pull request #16555 from mozilla/chore/update-node-dep-20
chore: update node to LTS 20
2024-03-13 07:42:11 -07:00
dependabot[bot] 92697b3600
chore(deps): bump browserslist from 4.22.3 to 4.23.0
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.22.3 to 4.23.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.22.3...4.23.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-03-13 06:30:41 +00:00
Ben Bangert a022106a34
chore: update node to LTS 20
Because:

* We want to use the latest LTS version of node.

This commit:

* Updates the .nvmrc/Dockerfile and package.json
  files to use node 20.
2024-03-12 18:25:24 -07:00
Reino Muhl d5e218063f
Merge pull request #16528 from mozilla/fxa-8823-l10n-scripts
feat(l10n): update l10n ftl scripts for nx apps
2024-03-11 14:38:57 -04:00