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

23555 Коммитов

Автор SHA1 Сообщение Дата
Reino Muhl 628fb0c211
chore(docs): update storybook publish links (#11609)
* fix(storybook): update storybook publish links
Because:

* Latest versions of Storybook builds are no longer published to Github
  pages.

This commit:

* Update docs to indicate new location where Storybooks are published.

Closes #11468
2022-01-13 10:20:15 -05:00
Vijay Budhram 643c12606e
feat(google): Add backend support for google auth (#11499) 2022-01-12 21:14:21 -05:00
Wil Clouser beaa5d61f3
Merge pull request #11566 from mozilla/docs
docs(README): remove duplicate docs
2022-01-12 12:18:15 -08:00
Reino Muhl 2f2cf02a08
fix(email): Storybook fixes for invoice discount (#11606)
Because:

* New email template storybook file contains identical data to existing
  template.

This commit:

* Updates storybook file to accurately represent the new template.

Closes #
2022-01-12 11:41:24 -05:00
Barry Chen 39377d88a3
Revert "chore(deps): bump autoprefixer from 9.8.8 to 10.4.2" (#11605) 2022-01-12 10:14:22 -06:00
Barry Chen d8bfa133d6
Merge pull request #11600 from mozilla/train-223
main <- 223.2
2022-01-12 09:44:48 -06:00
dependabot[bot] af79f5d552
chore(deps-dev): bump @storybook/addon-controls from 6.3.12 to 6.4.12 (#11602)
* chore(deps-dev): bump @storybook/addon-controls from 6.3.12 to 6.4.12

Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls) from 6.3.12 to 6.4.12.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.4.12/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.12/addons/controls)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-12 09:41:06 -06:00
Barry Chen 4b8660b8c0
Merge pull request #11601 from mozilla/dependabot/npm_and_yarn/autoprefixer-10.4.2
chore(deps): bump autoprefixer from 9.8.8 to 10.4.2
2022-01-12 09:36:18 -06:00
fxa-bananafox[bot] 69803345a9
chore(deps): updated yarn.lock 2022-01-12 06:12:22 +00:00
dependabot[bot] 854eb5c4da
chore(deps): bump autoprefixer from 9.8.8 to 10.4.2
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.8 to 10.4.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.8...10.4.2)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 06:12:09 +00:00
Lisa Chan 4bfdcf2480
fix(auth-server): Legal and Privacy links are not displayed in the plaintext version of the templates (#11549)
Closes #11498
2022-01-11 18:39:06 -05:00
Barry Chen 9593c9f0e5
Release 1.223.2 2022-01-11 17:18:14 -06:00
Barry Chen 03e23f31c9
Merge pull request #11598 from mozilla/train-223-uplift
Train 223 uplift for 223.2
2022-01-11 17:16:13 -06:00
Bianca Danforth 3a419bd0bf
FXA-4418 chore(auth): make customer address format consistent
Because:
* We want to update the Stripe customer address the same way for Stripe and PayPal customers.

This commit:
* Removes the city from a PayPal user's address, as it is not needed.
* Converts the state for a PayPal user to a state code.

Closes: #11577
2022-01-11 16:32:34 -06:00
Barry Chen 6b376c56ed
feat(subscriptions): save promo code to subscription metadata (#11595)
Because:
 - we need a sure way of finding the applied promotion code for a
   subscription
 - subscription.discount is null when a one time coupon is used

This commit:
 - save the applied promotion code to the subscription metadata
2022-01-11 16:32:34 -06:00
Danny Coates c909fde867
fix(email): lower the maxMessages sent via nodemailer before creating a new connection
fixes #11575
2022-01-11 16:32:34 -06:00
Vijay Budhram 2611a980d1
chore(deps): switch from git to https for deps (#11587)
* chore(deps): switch from git to https for deps

See https://github.blog/2021-09-01-improving-git-protocol-security-github/

* fix(git): Use `https://` instead of `git://` for packages

Co-authored-by: Barry Chen <bchen@mozilla.com>
2022-01-11 16:28:42 -06:00
Bianca Danforth 0e2ebd5980
Merge pull request #11584 from mozilla/FXA-4418-tweak-customer-location-format 2022-01-11 17:06:34 -05:00
Barry Chen fe749ba9e8
feat(subscriptions): save promo code to subscription metadata (#11595)
Because:
 - we need a sure way of finding the applied promotion code for a
   subscription
 - subscription.discount is null when a one time coupon is used

This commit:
 - save the applied promotion code to the subscription metadata
2022-01-11 15:57:14 -06:00
Danny Coates ddf2c44d9b
Merge pull request #11596 from mozilla/FXA-4417
fix(email): lower the maxMessages sent via nodemailer before creating a new connection
2022-01-11 13:40:15 -08:00
Danny Coates 3faeca26c6
fix(email): lower the maxMessages sent via nodemailer before creating a new connection
fixes #11575
2022-01-11 13:11:15 -08:00
dependabot[bot] f44aee4f68
chore(deps): bump @nestjs/config from 1.1.5 to 1.1.6 (#11583)
* chore(deps): bump @nestjs/config from 1.1.5 to 1.1.6

Bumps [@nestjs/config](https://github.com/nestjs/config) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/nestjs/config/releases)
- [Changelog](https://github.com/nestjs/config/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/config/compare/1.1.5...1.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-11 15:26:37 -05:00
Danny Coates ec4e980f6a
Merge pull request #11568 from mozilla/dependabot/npm_and_yarn/playwright-1.17.2
chore(deps-dev): bump playwright from 1.17.1 to 1.17.2
2022-01-11 11:42:01 -08:00
Danny Coates 8079cd5956
update playwright to 1.17.2 in circleci 2022-01-11 11:22:25 -08:00
fxa-bananafox[bot] 8faaa69a78
chore(deps): updated yarn.lock 2022-01-11 11:22:25 -08:00
dependabot[bot] fe6a0a7e72
chore(deps-dev): bump playwright from 1.17.1 to 1.17.2
Bumps [playwright](https://github.com/Microsoft/playwright) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.17.1...v1.17.2)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 11:22:24 -08:00
Bianca Danforth af27813c03
FXA-4418 chore(auth): make customer address format consistent
Because:
* We want to update the Stripe customer address the same way for Stripe and PayPal customers.

This commit:
* Removes the city from a PayPal user's address, as it is not needed.
* Converts the state for a PayPal user to a state code.

Closes: #11577
2022-01-11 13:40:24 -05:00
dependabot[bot] a97ec5bb77
chore(deps-dev): bump @babel/cli from 7.16.7 to 7.16.8 (#11582)
* chore(deps-dev): bump @babel/cli from 7.16.7 to 7.16.8

Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.16.7 to 7.16.8.
- [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.16.8/packages/babel-cli)

---
updated-dependencies:
- dependency-name: "@babel/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-11 12:46:24 -05:00
Vijay Budhram c1f0a3682a
chore(deps): switch from git to https for deps (#11587)
* chore(deps): switch from git to https for deps

See https://github.blog/2021-09-01-improving-git-protocol-security-github/

* fix(git): Use `https://` instead of `git://` for packages

Co-authored-by: Barry Chen <bchen@mozilla.com>
2022-01-11 12:21:56 -05:00
dependabot[bot] 6cf6924f4b
chore(deps): bump @google-cloud/firestore from 5.0.1 to 5.0.2 (#11570)
* chore(deps): bump @google-cloud/firestore from 5.0.1 to 5.0.2

Bumps [@google-cloud/firestore](https://github.com/googleapis/nodejs-firestore) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/googleapis/nodejs-firestore/releases)
- [Changelog](https://github.com/googleapis/nodejs-firestore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-firestore/compare/v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: "@google-cloud/firestore"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-10 11:35:49 -06:00
dependabot[bot] efa100f254
chore(deps): bump keyv from 4.0.4 to 4.0.5 (#11569)
* chore(deps): bump keyv from 4.0.4 to 4.0.5

Bumps [keyv](https://github.com/jaredwray/keyv) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/jaredwray/keyv/releases)
- [Commits](https://github.com/jaredwray/keyv/commits)

---
updated-dependencies:
- dependency-name: keyv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-10 11:35:20 -06:00
dependabot[bot] f532ea87a9
chore(deps): bump async from 3.2.2 to 3.2.3 (#11567)
* chore(deps): bump async from 3.2.2 to 3.2.3

Bumps [async](https://github.com/caolan/async) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-10 11:34:40 -06:00
dependabot[bot] e124aad7d9
chore(deps-dev): bump @playwright/test from 1.17.1 to 1.17.2 (#11571)
* chore(deps-dev): bump @playwright/test from 1.17.1 to 1.17.2

Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.17.1...v1.17.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-10 11:31:48 -06:00
Wil Clouser b8bcadf01a
docs(README): remove duplicate docs
Because:
* We have formal docs in another repository

This commit:
* Removes the duplicate docs
2022-01-07 16:48:18 -08:00
Reino Muhl 11f68667b0
fix(subscriptions): l10n fix payment method header (#11562)
Because:

* Hard coded prefix can't be translated for different locales.

This commit:

* Removes hard coded prefix from header, and instead provides a new
  message that can be translated by.

Closes #11560
2022-01-07 17:03:33 -05:00
Ben Bangert 3743d7876a
Merge pull request #11563 from mozilla/FXA-4356-followup
feat(auth): followup cleanup for FXA-4356
2022-01-07 13:59:13 -08:00
dependabot[bot] 7018a5c488
chore(deps): bump @babel/preset-typescript from 7.16.5 to 7.16.7 (#11531)
* chore(deps): bump @babel/preset-typescript from 7.16.5 to 7.16.7

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.16.5 to 7.16.7.
- [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.16.7/packages/babel-preset-typescript)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-07 14:56:29 -06:00
Ben Bangert c8e71980f0
feat(auth): followup cleanup for FXA-4356
Because:

* Some cleanups were missed in the prior PR.

This commit:

* Adds remaining clean-ups for FXA-4356.
2022-01-07 11:50:19 -08:00
Ben Bangert 1295abafb6
Merge pull request #11548 from mozilla/FXA-4356
feat(auth): add coupon validation
2022-01-07 11:49:07 -08:00
Ben Bangert 28ed143af1
feat(auth): add coupon validation
Because:

* We want to know if coupons are created with product
  requirements as we enforce them differently.

This commit:

* Reports a product restriction on a coupon to Sentry if one is
  created in Stripe.

Closes #11427
2022-01-07 11:27:05 -08:00
dependabot[bot] 5f15dd4c79
chore(deps): bump async-wait-until from 2.0.9 to 2.0.12 (#11552)
* chore(deps): bump async-wait-until from 2.0.9 to 2.0.12

Bumps [async-wait-until](https://github.com/devlato/async-wait-until) from 2.0.9 to 2.0.12.
- [Release notes](https://github.com/devlato/async-wait-until/releases)
- [Changelog](https://github.com/devlato/async-wait-until/blob/master/CHANGELOG.md)
- [Commits](https://github.com/devlato/async-wait-until/compare/2.0.9...2.0.12)

---
updated-dependencies:
- dependency-name: async-wait-until
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-07 10:34:19 -05:00
dependabot[bot] 43c4bdebd3
chore(deps-dev): bump jest from 27.4.3 to 27.4.7 (#11551)
* chore(deps-dev): bump jest from 27.4.3 to 27.4.7

Bumps [jest](https://github.com/facebook/jest) from 27.4.3 to 27.4.7.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.3...v27.4.7)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-07 10:33:22 -05:00
dependabot[bot] b71db1acdd
chore(deps-dev): bump sass from 1.45.1 to 1.46.0 (#11550)
* chore(deps-dev): bump sass from 1.45.1 to 1.46.0

Bumps [sass](https://github.com/sass/dart-sass) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.45.1...1.46.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-01-07 10:32:25 -05:00
Barry Chen 9b0198569b
Merge pull request #11521 from mozilla/train-223
Release 1.223.0
2022-01-07 09:25:44 -06:00
Danny Coates 63d9ba5e94
Merge pull request #11501 from mozilla/enable-sub-test-dev
chore(tests): enable subscribe test on dev
2022-01-06 13:01:20 -08:00
Danny Coates 662e56cfbd
chore(tests): enable subscribe test on dev 2022-01-06 11:28:18 -08:00
Barry Chen 4000a6ad01
Release 1.223.1 2022-01-06 12:44:04 -06:00
Barry Chen ae23592bbf
Merge pull request #11547 from mozilla/train-223-uplift
Train 223 uplift for 223.1
2022-01-06 12:42:02 -06:00
Dan Schomburg 262116b8eb
bug(auth): Don't fail when l10n id is missing from en bundle (#11530)
Because:
- Failing on a missing l10n id was probably too aggressive at the moment

This commit:
- Comments out the code that requires all data-l10n-ids to be present in the en bundle
- Comments out the code that auto generates data-l10n-args
- Removes tests that are now NA

Additional Info:
Emails are failing on stage because en locales folder is not there. When testing locally however, it is.
2022-01-06 12:24:40 -06:00
Barry Chen 8dc88f1fa7
fix(ts): fix auth-server TS errors (#11544)
* fix(ts): fix auth-server TS errors

Co-authored-by: Bianca Danforth <bdanforth@mozilla.com>
2022-01-06 12:24:17 -06:00