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

26601 Коммитов

Автор SHA1 Сообщение Дата
Barry Chen d81e6cb196
Merge pull request #14547 from mozilla/FXA-298-shared-js-to-ts
chore(typescript): convert more of fxa-shared to TS
2022-12-01 11:38:23 -06:00
Vijay Budhram 1329ab7c72
Merge pull request #14574 from mozilla/dependabot/npm_and_yarn/nestjs/testing-9.2.1
chore(deps-dev): bump @nestjs/testing from 9.1.1 to 9.2.1
2022-12-01 11:17:20 -05:00
Barry Chen 5171313ed1
Merge pull request #14575 from mozilla/dependabot/npm_and_yarn/typescript-eslint/parser-5.45.0
chore(deps-dev): bump @typescript-eslint/parser from 5.43.0 to 5.45.0
2022-12-01 09:06:11 -06:00
dependabot[bot] 1a0771bf53
chore(deps-dev): bump @typescript-eslint/parser from 5.43.0 to 5.45.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.43.0 to 5.45.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.45.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 06:18:21 +00:00
dependabot[bot] 1d1f96d533
chore(deps-dev): bump @nestjs/testing from 9.1.1 to 9.2.1
Bumps [@nestjs/testing](https://github.com/nestjs/nest) from 9.1.1 to 9.2.1.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.1.1...v9.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 06:16:55 +00:00
Barry Chen 95cded6e96
chore(typescript): convert more of fxa-shared to TS
Because:
 - there were some JS in fxa-shared in fxa-shared that can be converted
   to TS

This commit:
 - convert some shared JS to TS
2022-11-30 17:31:23 -06:00
Lisa Chan 1169f8ad1b
Merge pull request #14466 from vpomerleau/FXA-5448-remove-custom-tailwind-variations-included-in-v3
feat(tailwind): Remove custom Tailwind variations provided by v3
2022-11-30 17:39:41 -05:00
Valerie Pomerleau e9cded0ba7
feat(tailwind): Update Tailwind config for Tailwind v3
Because:

- Tailwind v3 provides more classes by default, so many custom variations included in our Tailwind config are no longer needed.
- Tailwind v3 enables JIT engine by default, and purges all unused utilites from the css build. While this reduces file size, it also becomes difficult to debug styling with browser dev tools.

This commit:

- Removes custom variations in fxa-react's tailwind.js when they are included by default in Tailwind v3.
- Removes custom variations that are no longer in use in fxa packages.
- Updates bento menu component to use default TW inset class.
- Tested build-css to ensure output css compiles with no errors.
- Does not remove fontSize definitions even though provided by Tailwind v3, as explicit declaration is currently needed for fxa-settings's design guide.
- Safelist all tailwind patterns in dev mode to enable in-browser styling with tailwind utilities.

Closes #FXA-5448, FXA-6235
2022-11-30 10:59:02 -08:00
Barry Chen 23953a4edf
Merge pull request #14553 from mozilla/dependabot/npm_and_yarn/type-fest-3.3.0
chore(deps-dev): bump type-fest from 3.2.0 to 3.3.0
2022-11-30 11:29:16 -06:00
Wil Clouser 406b018f0d
Merge pull request #14566 from mozilla/bug1800568
fix(settings): fix broken link
2022-11-30 08:43:46 -08:00
Meghan Sardesai c3ce37ff32
Merge pull request #13146 from mozilla/FXA-5184
fix(l10n): add fallback text for payment and subscription errors
2022-11-30 11:25:00 -05:00
Wil Clouser 9a4a296335
fix(settings): fix broken link
Because:

* This link is broken

This commit:

* Updates to the correct link

Closes https://bugzilla.mozilla.org/show_bug.cgi?id=1800568
2022-11-30 08:08:48 -08:00
dependabot[bot] 7a4c95006a
chore(deps-dev): bump type-fest from 3.2.0 to 3.3.0
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](https://github.com/sindresorhus/type-fest/compare/v3.2.0...v3.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 16:07:50 +00:00
Barry Chen 1b077f0a87
Merge pull request #14539 from mozilla/dependabot/npm_and_yarn/opentelemetry/exporter-jaeger-1.8.0
chore(deps): bump @opentelemetry/exporter-jaeger from 1.7.0 to 1.8.0
2022-11-30 10:03:24 -06:00
Meghan Sardesai e4fb1b88f6
Merge pull request #14562 from mozilla/train-246
Train 246.1
2022-11-30 10:36:10 -05:00
Ankita Shrivastava ef96fcbe30
Merge pull request #14542 from mozilla/run-subscription-tests-on-CI
Increase resource size and fix a few flaky tests and enable subplat tests to run on CircleCi
2022-11-30 09:05:03 -05:00
Meghan Sardesai 46ecffe40b
Release 1.246.1 2022-11-29 17:39:56 -05:00
Meghan Sardesai b545066ede
Merge pull request #14561 from mozilla/train-246-uplift-1
Train 246 uplift 1
2022-11-29 17:35:45 -05:00
Reino Muhl 1db8a59e3b
fix(subscription): return sourceCountry for valid tax location status
Because:

* When a customer, who uses PayPal as their payment method and who's tax
  location could be determined by Stripe from their IP, subscribes
  for their 2nd subscription, the `subscriptions/new-paypal` endpoint
  returns with a 500 error code.
* After the 500 error code, in Sentry, an issue is shown with message
  `ValidationError: "sourceCountry" is required`.

This commit:

* First tries to retrieve the sourceCountry from the tax location,
  before using the customer address.

Closes #FXA-6378
2022-11-29 17:03:12 -05:00
Ben Bangert 4cbcf8e727
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-29 17:02:26 -05:00
Lauren Zugai b4718c5b5d
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-29 17:00:37 -05:00
Reino Muhl 1fdadf9a18
Merge pull request #14560 from mozilla/fxa-6378-customer-not-updated
fix(subscription): return sourceCountry for valid tax location status
2022-11-29 16:46:19 -05:00
Reino Muhl bf5664caf9
fix(subscription): return sourceCountry for valid tax location status
Because:

* When a customer, who uses PayPal as their payment method and who's tax
  location could be determined by Stripe from their IP, subscribes
  for their 2nd subscription, the `subscriptions/new-paypal` endpoint
  returns with a 500 error code.
* After the 500 error code, in Sentry, an issue is shown with message
  `ValidationError: "sourceCountry" is required`.

This commit:

* First tries to retrieve the sourceCountry from the tax location,
  before using the customer address.

Closes #FXA-6378
2022-11-29 15:42:17 -05:00
millsoper 74eeb4f3af
Merge pull request #14488 from vpomerleau/FXA-5750-convert-content-server-info-banner-to-tailwind
refactor(content-server): Convert info banner styling to tailwind
2022-11-29 12:16:06 -08:00
Valerie Pomerleau fdc0c0b8ca
refactor(content-server): Convert info banner styling to tailwind
Because:

- We plan to convert content-server to a similar stack as `fxa-settings`, which includes React and Tailwind. Error state styling has already been converted to Tailwind, and other states (.info, .success, .dismiss) should be converted to match in preparation for the larger conversion of content-server to React.

Commit:

- Remove .info, .success, .dismiss styling from state.scss and main.css
- Add Tailwind classes to state.css for .info, .success, .dismiss classes used in info banners.
- Modify banner styling to match AlertBar styling in fxa-settings
- Modify tooltip dismiss button styling
- Improve a11y of banner and tooltip dismiss button
- Update test to account for dismiss button changed from text to img element

Closes #FXA-5750
2022-11-29 11:43:20 -08:00
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
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