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

23882 Коммитов

Автор SHA1 Сообщение Дата
Anna Sobiepanek d7f48dec74
update and add MDN Plus legal docs (#12129)
* update and add MDN Plus legal docs

* chore(deps): updated yarn.lock

Co-authored-by: Florian Dieminger <me@fiji-flo.de>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-03-10 15:50:10 -05:00
Vijay Budhram 829025b129
fix(metrics): Attempt to fix login complete events for mobile (#12090)
* fix(metrics): Attempt to fix login complete for mobile

* chore(deps): updated yarn.lock

Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-03-10 09:41:08 -05:00
dependabot[bot] df319de11c
chore(deps-dev): bump chai from 4.3.4 to 4.3.6 (#12091)
* chore(deps-dev): bump chai from 4.3.4 to 4.3.6

Bumps [chai](https://github.com/chaijs/chai) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.4...v4.3.6)

---
updated-dependencies:
- dependency-name: chai
  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-03-09 09:33:43 -05:00
dependabot[bot] c726f757d5
chore(deps): bump @googlemaps/google-maps-services-js from 3.3.8 to 3.3.10 (#12122)
* chore(deps): bump @googlemaps/google-maps-services-js

Bumps [@googlemaps/google-maps-services-js](https://github.com/googlemaps/google-maps-services-js) from 3.3.8 to 3.3.10.
- [Release notes](https://github.com/googlemaps/google-maps-services-js/releases)
- [Changelog](https://github.com/googlemaps/google-maps-services-js/blob/master/.releaserc)
- [Commits](https://github.com/googlemaps/google-maps-services-js/compare/v3.3.8...v3.3.10)

---
updated-dependencies:
- dependency-name: "@googlemaps/google-maps-services-js"
  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-03-09 09:33:10 -05:00
dependabot[bot] 749e554a69
chore(deps-dev): bump tsconfig-paths from 3.12.0 to 3.13.0 (#12119)
* chore(deps-dev): bump tsconfig-paths from 3.12.0 to 3.13.0

Bumps [tsconfig-paths](https://github.com/dividab/tsconfig-paths) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/dividab/tsconfig-paths/releases)
- [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths
  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-03-09 09:12:55 -05:00
dependabot[bot] cdefad6b4a
chore(deps-dev): bump tap from 15.0.10 to 16.0.0 (#12116)
* chore(deps-dev): bump tap from 15.0.10 to 16.0.0

Bumps [tap](https://github.com/tapjs/node-tap) from 15.0.10 to 16.0.0.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v15.0.10...v16.0.0)

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

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-03-09 09:05:38 -05:00
dependabot[bot] 014363918a
chore(deps): bump aws-sdk from 2.1082.0 to 2.1089.0 (#12117)
* chore(deps): bump aws-sdk from 2.1082.0 to 2.1089.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1082.0 to 2.1089.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1082.0...v2.1089.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  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-03-09 08:52:40 -05:00
dependabot[bot] 89944dec69
chore(deps): bump googleapis from 92.0.0 to 95.0.0 (#12107)
* chore(deps): bump googleapis from 92.0.0 to 95.0.0

Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 92.0.0 to 95.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v92.0.0...googleapis-v95.0.0)

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

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-03-08 08:48:54 -05:00
Lauren Zugai 1b4e7f362b
Merge pull request #12057 from mozilla/issues/11960.FXA-4623
refactor(auth): Move email template subjects/actions out of email.js
2022-03-04 17:18:29 -06:00
Lisa Chan f2a175ae86
refactor(emails): Move email template subjects/actions out of email.js
Because:
* We started this pattern in a previous PR - we prefer template copy to live within the template directory
* We're taking steps to modernize our l10n with Fluent, and if we localized these strings in email.js directly, we would also have to manage l10n IDs here

This commit:
* Creates an includes.json for every email template to house the subject and optional action per template
* Creates an includes.ts for lowRecoveryCodes since it needs logic to determine what the subject is
* Refactors the renderer class accordingly to import these files
* Adds some misisng email.js tests
2022-03-04 16:50:43 -06:00
Ben Bangert eb9c982909
Merge pull request #12094 from mozilla/FXA-4606--subplat-trim-whitespace-on-stripe-metadata-befor
feat(auth): trim whitespace off metadata
2022-03-04 12:22:18 -08:00
Ben Bangert c31ab3a91a
feat(auth): trim whitespace off metadata
Because:

* Extra white space in the metadta values should be ignored.

This commit:

* Trims whitespace on metadata.

Closes #11932
2022-03-04 08:16:37 -08:00
Ivo Plamenac 3914c95e93
Merge pull request #12089 from mozilla/train-227
Train 227 plus 227.1
2022-03-03 15:27:44 -08:00
Ivo Plamenac e14af8f079
Release 1.227.1 2022-03-03 14:46:53 -08:00
Ivo Plamenac 4cc5ad5b34
Merge pull request #12092 from mozilla/train-227-uplift-1
Revert "chore(deps): bump react-dom from 16.14.0 to 17.0.2 (#12036)" …
2022-03-03 14:43:04 -08:00
Reino Muhl 6d9b9c8a80
Revert "chore(deps): bump react-dom from 16.14.0 to 17.0.2 (#12036)" (#12088)
This reverts commit 64f0864fbf.
2022-03-03 14:19:58 -08:00
Reino Muhl b5b3856104
fix(subscriptions): Duplicate charge on cvc fail (#12046)
* fix(subscriptions): Duplicate charge on cvc fail
Because:

* An incorrect card cvc isn't always immediately caught, which causes an
  incomplete subscription. Once the customer corrects the cvc it could
  happen that a new subscription is created, instead of completing the
  existing subscription. As a result, both subscriptions are completed
  and the card is charged twice.

This commit:

* Ensures that only 1 subscription is created and the card is only
  charged once.

Closes #11024
2022-03-03 16:12:04 -05:00
Reino Muhl f31ec81756
Revert "chore(deps): bump react-dom from 16.14.0 to 17.0.2 (#12036)" (#12088)
This reverts commit 64f0864fbf.
2022-03-03 15:50:32 -05:00
fxa-bananafox[bot] db87e7ff45
chore(deps): updated yarn.lock 2022-03-03 19:51:56 +00:00
Ivo Plamenac 80737f8366
Release 1.227.0 2022-03-03 11:35:41 -08:00
dependabot[bot] a9564a092a
chore(deps): bump luxon from 2.3.0 to 2.3.1 (#12043)
* chore(deps): bump luxon from 2.3.0 to 2.3.1

Bumps [luxon](https://github.com/moment/luxon) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: luxon
  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-03-03 10:27:41 -05:00
Lisa Chan 7e8619aa0b
chore(settings): Include additional tests within App component (#12041)
Closes: #11518
2022-03-02 18:49:23 -05:00
dependabot[bot] a3f0f7aec6
chore(deps-dev): bump @testing-library/react from 12.1.2 to 12.1.3 (#12042)
* chore(deps-dev): bump @testing-library/react from 12.1.2 to 12.1.3

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.2 to 12.1.3.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.2...v12.1.3)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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-03-02 17:06:09 -05:00
dependabot[bot] 64f0864fbf
chore(deps): bump react-dom from 16.14.0 to 17.0.2 (#12036)
* chore(deps): bump react-dom from 16.14.0 to 17.0.2

Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.14.0 to 17.0.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react-dom)

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

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-03-02 17:05:28 -05:00
Ben Bangert 3566632b69
Merge pull request #12062 from mozilla/FXA-4570-customer-source-expiring-webhook-failures
feat(auth): get cards with card API
2022-03-02 13:05:48 -08:00
Reino Muhl 68b34a632f
fix(subscriptions): sub invoice api 500 on cancel (#12072)
Because:

* Cancelled subscriptions cause the subsequent invoice API to return a
  500 status code.

This commit:

* Does not attempt to retrieve a subsequent invoice for subscriptions
  that have already been cancelled.

Closes #12071
2022-03-02 15:52:27 -05:00
Dan Schomburg 22b158b2ff
Merge pull request #12073 from mozilla/uplift-main-from-train-226
Uplift main from train 226
2022-03-02 11:30:58 -08:00
Ben Bangert 904af82cab
Merge pull request #12007 from mozilla/ignore-auto-generated-graphql-files
maintenance(admin-panel): Stop formatting auto generated graphql code
2022-03-02 11:29:34 -08:00
dschom 1e21304619
Merge branch 'train-226' into uplift-train-226-to-main 2022-03-02 10:40:47 -08:00
Anna Sobiepanek 6c19425363
update mdn plus logo and add png for email (#12069)
Co-authored-by: Florian Dieminger <me@fiji-flo.de>
2022-03-02 12:29:30 -05:00
Anna Sobiepanek 03b3ede14e
chore(cdn): add mozilla m logo (#12031) 2022-03-02 12:29:13 -05:00
dschom 3242651039
Release 1.226.4 2022-03-02 09:01:42 -08:00
Dan Schomburg 634f9a37c5
Merge pull request #12067 from mozilla/train-226-uplift-3
Train 226 uplift 3
2022-03-02 09:00:23 -08:00
Dan Schomburg 85c20f6582
Train 226.3 (#12061)
* fix(email): remove pooling to fix delivery failures (#12058) (#12060)

Removes mailer connection pool

* Release 1.226.3
2022-03-02 08:45:16 -08:00
Barry Chen ff53dd0ea1
fix(emails): add logger to Container for email notifications script
Because:
 - something in the dependency graph was expecting a logger in the
   Container

This commit:
 - add the logger into the Container
2022-03-02 08:32:32 -08:00
dschom 122f56ea70
maintenance(admin-panel): Stop formatting auto generated graphql code
Because:
- Saving the file results in a different default formatting.

This Commit:
- Adds prettier ignore statements so that the files don't get accidentally formated.

Closes: #
2022-03-01 18:05:16 -08:00
Ben Bangert fadeeec3d9
Merge pull request #12064 from mozilla/deep-dep-graph
fix(emails): add logger to Container for email notifications script
2022-03-01 17:49:34 -08:00
fxa-bananafox[bot] b423bad28f
chore(deps): updated yarn.lock 2022-03-02 01:02:35 +00:00
Barry Chen b392b498d9
fix(emails): add logger to Container for email notifications script
Because:
 - something in the dependency graph was expecting a logger in the
   Container

This commit:
 - add the logger into the Container
2022-03-01 18:58:09 -06:00
fxa-bananafox[bot] 95d02cea47
chore(deps): updated yarn.lock 2022-03-01 22:47:42 +00:00
Ben Bangert c69f529772
feat(auth): get cards with card API
Because:

* We were using a sources retrieve for a card instead of the card
  retrieve for card fetching in the stripe webhook.

This commit:

* Removes card as a source expansion resource and custom loads it
  for the stripe webhook.

Closes #11872
2022-03-01 14:45:37 -08:00
dschom ab76c10970
Release 1.226.3 2022-03-01 13:53:04 -08:00
Dan Schomburg 1657741b7f
fix(email): remove pooling to fix delivery failures (#12058) (#12060)
Removes mailer connection pool
2022-03-01 13:47:53 -08:00
Wil Clouser 2d657eb822
fix(email): remove pooling to fix delivery failures (#12058)
Because:

* We're getting 451 errors from SES saying there is too much time
between requests.  This is an attempt to fix that

This commit:

* Removes pooling so every email gets its own request.

Closes #11939
2022-03-01 13:32:35 -08:00
Vijay Budhram 5a97f2c920
feat(pocket): Add FAQ for pocket migration (#12054) 2022-03-01 12:57:35 -05:00
Reino Muhl bafa58d9e4
fix(coupon): In email hide pay method on 0 invoice (#12038)
* fix(coupon): In email hide pay method on 0 invoice
Because:

* When a discount is applied that results in a zero dollar invoice, do
  not display the Payment Method in emails sent to the customer, since
  no payment was processed.

This commit:

* Hides the payment method from the relevant emails.

Closes #11993
2022-02-28 15:27:48 -05:00
Vijay Budhram aea4cbe07a
feat(google): return provider user id to the oauth client (#11999) 2022-02-28 11:18:21 -05:00
dependabot[bot] f322cebd6f
chore(deps): bump @stripe/stripe-js from 1.22.0 to 1.23.0 (#12035)
* chore(deps): bump @stripe/stripe-js from 1.22.0 to 1.23.0

Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v1.22.0...v1.23.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>

* 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-02-28 10:36:20 -05:00
dependabot[bot] 7b305a3cd4
chore(deps): bump aws-sdk from 2.1068.0 to 2.1081.0 (#12026)
* chore(deps): bump aws-sdk from 2.1068.0 to 2.1081.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1068.0 to 2.1081.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1068.0...v2.1081.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  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-02-28 10:35:41 -05:00
Vijay Budhram d6ce72ab46
fix(l10n): Update unlink account text (#12029)
* fix(l10n): Update unlink account text

* chore(deps): updated yarn.lock

Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-02-28 10:33:49 -05:00