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

26778 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6ad8b3571c
chore(deps): bump @opentelemetry/exporter-jaeger from 1.7.0 to 1.8.0
Bumps [@opentelemetry/exporter-jaeger](https://github.com/open-telemetry/opentelemetry-js) from 1.7.0 to 1.8.0.
- [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/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/exporter-jaeger"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 19:13:44 +00:00
Barry Chen efc67e50af
Merge pull request #14554 from mozilla/close-stale-PRs
chore(GH Actions): auto-close stale PRs
2022-11-29 13:12:41 -06:00
Vijay Budhram a8747c7f36
Merge pull request #14532 from mozilla/dependabot/npm_and_yarn/nestjs/core-9.2.0
chore(deps): bump @nestjs/core from 9.1.1 to 9.2.0
2022-11-29 14:08:16 -05:00
Ben Bangert 9a4edc7de1
Merge pull request #14550 from mozilla/FXA-6386-tax-id-is-missing-from-automatic-tax-customers
feat: always run tax id code
2022-11-29 09:40:36 -08:00
Dan Schomburg 0cac3548ab
Merge pull request #14546 from mozilla/FXA-6312
task(ci): Enable docker layer caching
2022-11-29 09:05:57 -08:00
Barry Chen f7bb883395
chore(GH Actions): auto-close stale PRs
Because:
 - people can always re-open their PRs

This commit:
 - use a GH action to auto-close "stale" PRs
2022-11-29 10:37:54 -06:00
Lauren Zugai 68753e5b1b
Merge pull request #14549 from mozilla/FXA-6372
fix(build): Update content-server bg path reference for cache bust
2022-11-29 10:08:28 -06:00
Meghan Sardesai c7d668bb22
fix(l10n): add fallback text for (primarily payment) errors
Because:

* We want to ensure users know what the error is by providing clear fallback text instead of error ids in the event localization fails

This commit:

* Provides fallback text and updated tests for CouponForm and PaymentErrorView
* Updates variable and function names to reflect whether they return the error id or message

Closes #13045
2022-11-28 23:24:05 -05:00
Ben Bangert 94c36f0312
feat: always run tax id code
Because:

* We should always check if there's a tax id for the currency used
  and add it.

This commit:

* Updates the tax id code to always check if a tax id is needed for the
  current currency.

Closes FXA-6386.
2022-11-28 15:06:54 -08:00
Lauren Zugai 32fe1461d1
fix(build): Update content-server bg path reference for cache bust
Because:
* The FF logo isn't showing up after build

This commit:
* Updates the background path reference recently introduced in tailwind.css so our usemin:css grunt task finds the path and replaces it at the build step with the hashed version

Fixes FXA-6372
2022-11-28 16:05:12 -06:00
Ankita Shrivastava 553e3d41de
Increase resource size and enable subplat tests to run on local CircleCi 2022-11-28 15:42:15 -05:00
Vijay Budhram 981fe0bf11
Merge pull request #14538 from mozilla/dependabot/npm_and_yarn/playwright/test-1.28.1
chore(deps-dev): bump @playwright/test from 1.27.1 to 1.28.1
2022-11-28 15:33:28 -05:00
Barry Chen ba9d40b4b5
Merge pull request #14543 from mozilla/FXA-6373-realpath
chore(l10n): fix clone script for masOS post-Ventura
2022-11-28 14:23:43 -06:00
dschom 37aead86ae
task(ci): Enable docker layer caching
Because:
- We want to speed up build times

This Commit:
- Adds docker_layer_caching directive
- Makes sure buildkit is enabled where possible
2022-11-28 11:39:03 -08:00
dependabot[bot] 9882959f21
chore(deps-dev): bump @playwright/test from 1.27.1 to 1.28.1
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.27.1 to 1.28.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.27.1...v1.28.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:51:14 +00:00
Vijay Budhram cc99eead16
Merge pull request #14544 from mozilla/update-playwright
chore(deps): Update playwright docker to v1.28.0
2022-11-28 13:45:45 -05:00
Vijay Budhram 3e3a51cc9a
chore(deps): Update playwright docker to v1.28.0 2022-11-28 12:42:47 -05:00
Barry Chen b04f0d7118
chore(l10n): fix clone script for masOS post-Ventura
Because:
 - `realpath` is now in macOS but it does not have a `-m` option

This commit:
 - add minimal extra check for the `-m`
2022-11-28 11:22:26 -06:00
Meghan Sardesai 097ba0d56d
fix(payments): update stories for PlanDetails to include tax
Because:

* Taxes were not being shown in stories

This commit:

* Adds Context so Stripe Tax feature flag can be updated to show taxes in PlanDetails stories (where applicable).
* Changes isMobile to optional with default set to false so it does not have to be explicitly set in each story.
* Cleans up stories and format by removing redundant and/or unnecessary code.

Closes FXA-6320
2022-11-25 23:55:51 -05:00
Lisa Chan 681d1f9a2b
Merge pull request #14536 from mozilla/update_vpn_icon
chore(icon): Add updated Mozilla VPN product icon to CDN
2022-11-23 15:22:10 -05:00
Vijay Budhram ef767a6f76
Merge pull request #14524 from mozilla/fxa-6259
fix(metrics): Use `visibilitychange` and `pagehide` to emit metrics in iOS
2022-11-23 14:54:44 -05:00
Meghan Sardesai b33ef2aa56
Merge pull request #14535 from mozilla/train-246
Train 246
2022-11-23 14:52:24 -05:00
Lisa Chan c1408a19d1
chore(icon): Add updated Mozilla VPN product icon to CDN 2022-11-23 14:45:54 -05:00
Ankita Shrivastava c427ffb819
Merge pull request #14533 from mozilla/add-circleci-split
test(functional): add parallelism and circleci split to functional tests
2022-11-23 14:24:10 -05:00
Meghan Sardesai 61284ccdaa
Release 1.246.0 2022-11-23 13:36:04 -05:00
Reino Muhl ff389eb953
Merge pull request #14513 from mozilla/fxa-6165-immediate-subscription-cancellation
feat(subscription): immediate sub cancel email
2022-11-23 13:02:50 -05:00
Reino Muhl d3810197c8
feat(subscription): immediate sub cancel email
Because:

* When a subscription is cancelled immediately, an failed payments email
  is sent to the customer, even when no failed payments ocurred.

This commit:

* Update the customer.subscription.deletion event handler, to send
  subscriptionCancellation emails when a subscription is cancelled
  immediately
* Update subscriptionCancellation email copy to support immediate
  cancellation.

Closes #FXA-6165
2022-11-23 12:44:15 -05:00
Lauren Zugai c79b3161cc
Merge pull request #14509 from mozilla/FXA-6271-content-server-react-ADR
docs(adr): upgrade content server to react adr
2022-11-23 11:33:44 -06:00
Reino Muhl 4d3bc8313a
Merge pull request #14493 from mozilla/payment-form-followup
feat(payments): update PaymentForm storybook
2022-11-23 12:32:29 -05:00
Dan Schomburg b8064c2583
Merge pull request #14526 from mozilla/FXA-6282
bug(auth): Fix missing traceids in logs
2022-11-23 09:15:01 -08:00
Meghan Sardesai abc0b2404c
Merge pull request #14427 from mozilla/FXA-6164-loading
fix(payments): add loading state while fetching plan eligibility
2022-11-23 12:14:48 -05:00
Dan Schomburg c114afef74
Merge pull request #14525 from mozilla/FXA-6260
task(ci): Create docker image for CI
2022-11-23 09:02:45 -08:00
Meghan Sardesai 3f8aa0ab02
fix(payments): add loading state while fetching plan eligibility
Because:

* The API could take time to return eligibility result, at which point a page would have already loaded for the user and then refreshed with the updated state.

This commit:

* Adds loading state while fetching plan eligibility

Closes FXA-6164 and FXA-6254
2022-11-23 12:02:38 -05:00
Julian Poyourow 9e7304338b
Merge pull request #14523 from mozilla/FXA-6297
fix(auth-server): stripe tax not applied to PayPal subscriptions
2022-11-23 09:02:29 -08:00
Reino Muhl a317976bc0
feat(payments): update PaymentForm storybook
Because:

* As part of tailwind conversion we are updating storybook as well.

This commit:

* Updates PaymentForm and LoadingSpinner storybooks.
* Update webpack config not to remove viewbox from SVGs.

Closes #
2022-11-23 11:54:47 -05:00
Dan Schomburg 01062841f8
Merge pull request #14527 from mozilla/FXA-5763
task(content): Move speed-trap library into fxa-shared
2022-11-23 08:43:17 -08:00
dependabot[bot] 0ddf3d63be
chore(deps): bump @nestjs/core from 9.1.1 to 9.2.0
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.1.1 to 9.2.0.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.1.1...v9.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 15:40:07 +00:00
Vijay Budhram b5807c6d02
Merge pull request #14530 from mozilla/dependabot/npm_and_yarn/opentelemetry/api-1.3.0
chore(deps): bump @opentelemetry/api from 1.2.0 to 1.3.0
2022-11-23 10:36:59 -05:00
Vijay Budhram b80db7de98
fix(metrics): Use `visibilitychange` and `pagehide` to emit metrics 2022-11-23 10:36:48 -05:00
Vijay Budhram 2ab3cc2856
Merge pull request #14529 from mozilla/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.44.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.41.0 to 5.44.0
2022-11-23 10:24:51 -05:00
Ankita Shrivastava e5d8cd8ae4
Merge pull request #14486 from mozilla/password-test-playwright
test(functional): rewrite password tests using playwright
2022-11-23 10:22:41 -05:00
Ankita Shrivastava 8baa32c5ac
test(functional): add parallelism and circleci split to functional tests 2022-11-23 08:26:15 -05:00
dependabot[bot] eb1a8824e6
chore(deps): bump @opentelemetry/api from 1.2.0 to 1.3.0
Bumps [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js) from 1.2.0 to 1.3.0.
- [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/v1.2.0...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 06:08:20 +00:00
dependabot[bot] 1f2c2cf633
chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.41.0 to 5.44.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.44.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 06:07:25 +00:00
dschom 59f2c5acac
task(content): Move speed-trap library into fxa-shared
Because:
- There are some issues for timing metrics we are producing.
- Timing values come from the speed trap library, but this library is no longer maintained.

This Commit:
- Takes the source for the speed-trap library (from node_modules/speed-trap), and ports it into fxa-shared.
- Makes some minor adjustments so the code passes
2022-11-22 19:08:20 -08:00
dschom de864fc93e
task(ci): Create docker image for CI
Because:
- We are in the process of experimenting with CI pipeline optimizations

This Commit:
- Creates a new docker image that can be used in other CI jobs.
- This base image comes pre-populated with node_modules, dist folders, and l10n repos.
2022-11-22 18:38:30 -08:00
Mill ea58348f54
docs(adr): upgrade content server to react adr
Because:

* As we plan work for migrating the remaining content-server routes to
  React, we need to nail down decisions regarding gql usage, where to
house the new routes, and how to plan for an incremental rollout

This commit:

* Adds an ADR summarizing the decision processes

Closes #https://mozilla-hub.atlassian.net/browse/FXA-6271

Co-authored-by: Lauren Zugai <lauren@zugai.com>
2022-11-22 17:38:50 -06:00
Dan Schomburg 65909aa79c
Merge pull request #14426 from mozilla/dependabot/npm_and_yarn/jwks-rsa-3.0.0
chore(deps): bump jwks-rsa from 2.1.4 to 3.0.0
2022-11-22 14:45:01 -08:00
dschom 94b26efbdf
bug(auth): Fix missing traceids in logs
Because:
- During a previous refactor the ability to add traceIds to logs broke.

This Commit:
- Uses TracingProvider.getCurrent() instead of trying to directly access TracingProvider.nodeTracing which is private.
2022-11-22 14:24:24 -08:00
Barry Chen 50ac7a4a94
Merge pull request #14440 from vpomerleau/FXA-5998-add-missing-l10n-in-fxa-react
feat(fxa-react): Add missing l10n to fxa-react
2022-11-22 13:46:18 -06:00