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

26101 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 25d21468ef
chore(deps): bump lint-staged from 10.2.11 to 13.0.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.11 to 13.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.11...v13.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 14:12:23 +00:00
Barry Chen f40a8ca40a
Merge pull request #14258 from mozilla/dependabot/npm_and_yarn/opentelemetry/instrumentation-xml-http-request-0.33.0
chore(deps): bump @opentelemetry/instrumentation-xml-http-request from 0.32.0 to 0.33.0
2022-10-14 09:10:19 -05:00
Barry Chen d60a7ad08d
Merge pull request #14259 from mozilla/dependabot/npm_and_yarn/babel/preset-typescript-7.18.6
chore(deps): bump @babel/preset-typescript from 7.16.7 to 7.18.6
2022-10-14 09:09:06 -05:00
Barry Chen 7e90ef91ad
Merge pull request #14260 from mozilla/dependabot/npm_and_yarn/stylelint-14.13.0
chore(deps-dev): bump stylelint from 14.9.1 to 14.13.0
2022-10-14 09:07:19 -05:00
dependabot[bot] cc2621d804
chore(deps-dev): bump stylelint from 14.9.1 to 14.13.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.9.1 to 14.13.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.9.1...14.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:14:00 +00:00
dependabot[bot] 75a70072cf
chore(deps): bump @babel/preset-typescript from 7.16.7 to 7.18.6
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.16.7 to 7.18.6.
- [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.18.6/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>
2022-10-14 06:12:43 +00:00
dependabot[bot] 8e10fd0c4f
chore(deps): bump @opentelemetry/instrumentation-xml-http-request
Bumps [@opentelemetry/instrumentation-xml-http-request](https://github.com/open-telemetry/opentelemetry-js) from 0.32.0 to 0.33.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/experimental/v0.32.0...experimental/v0.33.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/instrumentation-xml-http-request"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:11:51 +00:00
Ben Bangert 651792a59a
Merge pull request #14252 from mozilla/FXA-5764
feat(auth): allow including tax amounts for PayPal DoReferenceTransaction
2022-10-13 11:00:50 -07:00
Bianca Danforth 55e494787a
feat(auth): allow including tax amounts for PayPal DoReferenceTransaction
Because:

* We want to charge users sales tax and ensure it shows up on PayPal invoices.

This commit:

* Includes the tax amount as an optional argument into DoReferenceTransaction.
*

Closes #FXA-5764
2022-10-13 13:33:55 -04:00
Bianca Danforth 16740d19f7
Merge pull request #14238 from mozilla/train-243
Release 1.243.0, 1.243.1, 1.243.2
2022-10-13 10:28:28 -04:00
Barry Chen 34933b303f
Merge pull request #14245 from mozilla/dependabot/github_actions/slackapi/slack-github-action-1.23.0
chore(deps): bump slackapi/slack-github-action from 1.22.0 to 1.23.0
2022-10-13 08:49:11 -05:00
Barry Chen 1f21dc408c
Merge pull request #14236 from mozilla/dependabot/npm_and_yarn/testing-library/dom-8.19.0
chore(deps-dev): bump @testing-library/dom from 8.11.2 to 8.19.0
2022-10-13 08:48:49 -05:00
Barry Chen 6ea52d94ac
Merge pull request #14235 from mozilla/dependabot/npm_and_yarn/stylelint-config-prettier-9.0.3
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.3
2022-10-13 08:48:13 -05:00
dependabot[bot] 106d8467a4
chore(deps): bump slackapi/slack-github-action from 1.22.0 to 1.23.0
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 06:27:24 +00:00
Bianca Danforth 5ee014377c
Release 1.243.2 2022-10-12 17:25:51 -04:00
Bianca Danforth adced23877
Merge pull request #14243 from mozilla/train-243-uplift-2
Train 243 uplift 2
2022-10-12 17:24:21 -04:00
Bianca Danforth ee35c90b83
fix(auth): use relative import on fxa-auth-server modules
Because:

* There's some discrepancy in how imports work between local and stage (FXA-6051).

This commit:

* Fixes the immediate error (long term fix is in FXA-6051).

Closes #FXA-6070
2022-10-12 16:33:12 -04:00
Bianca Danforth 53156d3216
Merge pull request #14242 from mozilla/FXA-6070
fix(auth): use relative import on fxa-auth-server modules
2022-10-12 16:30:56 -04:00
Bianca Danforth 2d4b781d39
fix(auth): use relative import on fxa-auth-server modules
Because:

* There's some discrepancy in how imports work between local and stage (FXA-6051).

This commit:

* Fixes the immediate error (long term fix is in FXA-6051).

Closes #FXA-6070
2022-10-12 16:16:10 -04:00
Ben Bangert 8f069c1240
Merge pull request #14241 from mozilla/FXA-6068-auth-server-tests-don-t-pass-locally-due-to-mysql
fix(auth): test for proper mysql response
2022-10-12 13:02:51 -07:00
Ben Bangert 41d19078b1
fix(auth): test for proper mysql response
Because:

* We updated the local mysql to a version that doesn't pass auth-server
  tests.

This commit:

* Drops the local mysql to a version that the test passes.

Closes #FXA-6068.
2022-10-12 12:19:49 -07:00
Bianca Danforth 722964b318
Release 1.243.1 2022-10-12 14:58:01 -04:00
Bianca Danforth 7058f1cd7c
Merge pull request #14240 from mozilla/train-243-uplift-1
Train 243 uplift 1
2022-10-12 14:54:53 -04:00
dschom c6bc02a773
bug(auth): Fix typo in function name
Because:
- We broke the 'suppressTracing' tracing call during a refactor

This Commit:
- Renames the call in fxa-auth from suppressTracing to suppressTrace.
2022-10-12 14:36:26 -04:00
Vijay Budhram 4b025a0c11
Merge pull request #14237 from mozilla/fxa-5475
fix(sentry): Don't report to sentry when user disables metrics
2022-10-12 14:18:37 -04:00
Ben Bangert 5596022779
Merge pull request #14230 from mozilla/FXA-5649-update-stripe-subscription-creation-for-stripe-tax
feat(auth): add tax via ip for new stripe subscriptions
2022-10-12 11:14:16 -07:00
Dan Schomburg c7f06e04f2
Merge pull request #14239 from mozilla/FXA-6065
bug(auth): Fix typo in function name
2022-10-12 11:01:54 -07:00
Vijay Budhram 99368ad633
fix(sentry): Don't report to sentry when user disables metrics 2022-10-12 13:54:10 -04:00
dschom 889182078d
bug(auth): Fix typo in function name
Because:
- We broke the 'suppressTracing' tracing call during a refactor

This Commit:
- Renames the call in fxa-auth from suppressTracing to suppressTrace.
2022-10-12 10:43:39 -07:00
Ben Bangert a0ceace6ee
feat(auth): add tax via ip for new stripe subscriptions
Because:

* We want to switch to Stripe Tax calculations for taxing new
  Stripe subscriptions.

This commit:

* Adds the IP for Stripe Tax to calculate appropriate tax for further
  subscriptions and enables it for a new Stripe subscription if the
  user is in a taxable location.

Closes: FXA-5649
2022-10-12 10:23:03 -07:00
Bianca Danforth 154649d3e5
Release 1.243.0 2022-10-12 13:12:03 -04:00
Julian Poyourow 81bf47fd69
Merge pull request #14227 from mozilla/FXA-5381-mock-iap-util
feat(auth-server): mock iap subscriptions util
2022-10-12 09:43:51 -07:00
Lauren Zugai 1c95b1509a
Merge pull request #14231 from mozilla/FXA-5973
fix(login): Redirect users to '/pair' from CAD in various entrypoints
2022-10-12 11:32:17 -05:00
Julian Poyourow 71cee26951
feat(auth-server): mock iap subscriptions util
Because:

* It's hard to test IAP locally since the emulator resets every time you
  restart local services

This commit:

* Adds a util for easily creating IAP subscriptions locally

Closes FXA-5381
2022-10-12 09:27:21 -07:00
Lauren Zugai a787d6c310
fix(login): Redirect users to '/pair' from CAD in various entrypoints
This commit:
* Keeps users that just logged in or signed up via the Sync flow on the CAD page, and redirects already logged in users to '/pair'

Because:
* We want to take users to '/pair' when they click "Connect another device" from all entrypoints, while displaying the CAD page to users that just logged in or created an account

Fixes FXA-5952, FXA-5973
2022-10-12 11:09:41 -05:00
Lauren Zugai 5baf7276d1
Merge pull request #14166 from mozilla/FXA-5884
chore(docs): Add ADR summarizing l10n / i18n improvements RFC
2022-10-12 11:08:06 -05:00
Reino Muhl af77b817d0
Merge pull request #14154 from mozilla/fxa-5676-stripe-tax-emails
feat(subscriptions): add tax to sub emails
2022-10-12 11:33:59 -04:00
Wil Clouser 5a27c3d403
Merge pull request #14232 from bcolsson/gettext-extract-improve
chore(l10n): reduce redundant gettext review requests
2022-10-12 08:12:09 -07:00
Dan Schomburg f7c03c4eaf
Merge pull request #14233 from mozilla/FXA-6063
bug(auth): Don't mutate objects sent into logger
2022-10-12 08:09:25 -07:00
Reino Muhl 614939b1db
feat(subscriptions): add tax to sub emails
Because:

- We are adding Stripe Tax to new customers and might need to display
  the tax value in emails.
- Conditionally show discount and tax values in templates, so that
  duplicate templates can be removed.

This commit:

- Adds a new partial subscriptionCharges, which includes the new tax
  value, as well as other charges related values, including Subtotal,
  Discount, invoice number and total. These values are conditionally
  included in the email, if a value is provided.
- Adds the subscriptionCharges to the following email templates
  - subscriptionFirstInvoice
  - subscriptionSubsequentInvoice
- Remove the following discount templates that are no longer necessary.
  - subscriptionFirstInvoiceDiscount
  - subscriptionSubsequentInvoiceDiscount

Closes #fxa-5676
2022-10-12 11:02:25 -04:00
dschom 46feb02a10
bug(auth): Fix mutation on object sent into logging
Because:
- We noticed a defect during checkout with paypal.
- The logger was adding a traceId to a logged response object.

This Commit:
- Updates the logger so data provided to the logger isn't mutated.
2022-10-12 07:47:00 -07:00
Lisa Chan e075170ca4
Merge pull request #14228 from mozilla/docs_update
docs(auth-server): Wrong error code mapping in fxa-auth-server
2022-10-12 09:34:10 -04:00
Lisa Chan 356ee63fa1
docs(auth-server): Wrong error code mapping in fxa-auth-server 2022-10-12 09:20:13 -04:00
dependabot[bot] c8552f46d2
chore(deps-dev): bump @testing-library/dom from 8.11.2 to 8.19.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.11.2 to 8.19.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.11.2...v8.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 06:24:43 +00:00
dependabot[bot] 98f1a3dda6
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.3
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.3.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 06:23:29 +00:00
Vijay Budhram 2462343261
Merge pull request #14189 from mozilla/chore/update-firestore-to-6-3-0
chore(deps): bump @google-cloud/firestore from 5.0.2 to 6.3.0
2022-10-11 21:13:53 -04:00
Julian Poyourow 20305aaff8
Merge pull request #14217 from mozilla/FXA-6035-prevent-duplicate-subscriptions
fix(auth-server): check for duplicate subs when creating subscription
2022-10-11 17:48:01 -07:00
Bryan Olsson e6899f4b33
chore(l10n): improve checking of reviewer status to reduce redundant review requests 2022-10-11 16:45:57 -07:00
Dan Schomburg a0cb3283a1
Merge pull request #14222 from mozilla/FXA-6021/2-add-otel-collector
task(shared) - Add service to capture client side traces
2022-10-11 16:36:15 -07:00
Julian Poyourow dae393cdab
fix(auth-server): consolidate stripe-webhook capability service
Because:

* Both stripe handler and stripe webhook imported capability service
  independently

This commit:

* Uses capability service from stripe handler

Closes FXA-6035
2022-10-11 16:35:58 -07:00