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

26601 Коммитов

Автор SHA1 Сообщение Дата
Dan Schomburg eab978c6ed
Merge pull request #14395 from mozilla/update-admin-server-readme
task(admin-server): Update readme with notes about gql schema generation
2022-11-03 13:28:28 -07:00
Ankita Shrivastava 8e5ff01109
test(functional): rewrite totp tests using playwright 2022-11-03 16:21:41 -04:00
Lauren Zugai 7d23b06d32
Merge pull request #14396 from mozilla/revert-14372-dependabot/npm_and_yarn/babel-loader-9.0.0
Revert "chore(deps): bump babel-loader from 8.2.2 to 9.0.0"
2022-11-03 15:19:43 -05:00
Vijay Budhram 76c40fe89d
Merge pull request #14386 from mozilla/dependabot/npm_and_yarn/dateformat-4.6.3
chore(deps): bump dateformat from 4.3.1 to 4.6.3
2022-11-03 16:19:19 -04:00
Vijay Budhram 3af1b6a780
Merge pull request #14383 from mozilla/dependabot/npm_and_yarn/babel/preset-env-7.19.4
chore(deps): bump @babel/preset-env from 7.16.7 to 7.19.4
2022-11-03 16:15:18 -04:00
Vijay Budhram 5b95f9dfb7
Merge pull request #14373 from mozilla/dependabot/npm_and_yarn/core-js-3.26.0
chore(deps-dev): bump core-js from 3.25.5 to 3.26.0
2022-11-03 16:14:21 -04:00
Barry Chen d310ebe49f
feat(pushbox): delete all db records on account delete
Because:
 - we should delete the remaining pushbox records for an account when
   the account is deleted

This commit:
 - delete the pushbox db records of an account
2022-11-03 09:21:30 -07:00
Reino Muhl f6177d287f
Revert "chore(deps): bump babel-loader from 8.2.2 to 9.0.0" 2022-11-02 19:16:56 -04:00
Barry Chen 43e7724fd5
Merge pull request #14392 from mozilla/FXA-5771-pushbox-delete-device
feat(pushbox): delete a device's records on device destroy
2022-11-02 15:02:57 -05:00
Barry Chen 5cc1ea1312
feat(pushbox): delete a device's records on device destroy
Because:
 - we want to delete a device's records from the Pushbox DB when the
   device is disconnected

This commit:
 - add a Pushbox call to the device's `destroy` function to delete the
   records from the Pushbox DB
2022-11-02 12:25:51 -07:00
Lisa Chan c6c1ae9246
Merge pull request #14365 from mozilla/FXA-5678_footer
refactor(payments-server): Convert footers to utilize Tailwind
2022-11-02 14:55:38 -04:00
dschom 17965216b9
task(admin-server): Update readme with notes about gql schema generation
Because:
- It's good to know how gql schema generation is triggered.

This Commit:
- Explains what triggers gql schema generation
2022-11-02 11:15:52 -07:00
Lisa Chan 371701e398
refactor(payments-server): Convert footers to utilize Tailwind 2022-11-02 12:28:28 -04:00
Vijay Budhram 700ed77186
Merge pull request #14378 from mozilla/tests-tweak
fix(tests): Playwright test tweaks
2022-11-02 12:10:51 -04:00
Dan Schomburg 6cae966865
Merge pull request #14381 from mozilla/train-244
Train 244
2022-11-01 17:41:35 -07:00
Alex 3fd8e3a9f9
build(worfklows): harden pull-legal-docs.yml permissions
This PR adds explicit [permissions section](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions) to workflows.
This is a security best practice because by default workflows run with [extended set of permissions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token) (except from `on: pull_request` [from external forks](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)).
By specifying any permission explicitly all others are set to none.
By using the principle of least privilege the damage a compromised workflow can do (because of an [injection](https://securitylab.github.com/research/github-actions-untrusted-input/) or compromised third party tool or action) is restricted.
It is recommended to have [most strict permissions on the top level](https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions) and
grant write permissions on [job level](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs) case by case.
2022-11-01 23:32:58 +01:00
Dan Schomburg 2cae770329
Merge branch 'main' into train-244 2022-11-01 13:44:34 -07:00
Ankita Shrivastava f3ff26103a
Merge pull request #14390 from mozilla/update-ff-esr102
test(functional): update the FF ESR and geckodriver version to latest
2022-11-01 16:32:48 -04:00
Ankita Shrivastava 668d092a0e
test(functional): update the FF ESR and geckodriver version to latest 2022-11-01 14:43:42 -04:00
Reino Muhl b0fb56a1d1
Merge pull request #14389 from mozilla/functional-test-fix
fix(tests): assign options to auth signUp
2022-11-01 14:42:16 -04:00
Bianca Danforth 8bb866188e
Merge pull request #14379 from mozilla/train-243
Train 243.5
2022-11-01 14:16:43 -04:00
Reino Muhl 0421c27063
fix(tests): assign options to auth signUp
Because:

- Functional tests are failing with error `TypeError: Found non-callable
  @@iterator`.
- Options added to createAccount should be passed to auth.signUp.

This commit:

- Assign options parameter to auth.signUp.

Closes #
2022-11-01 14:04:31 -04:00
dschom 10ae238dc0
task(admin-panel): Add ability to see canceled subscriptions
Because:
- Support needs to see all of a customer's potential subscriptions, not just active ones.

This Commit
- Adds an optional status filter to StripeFirestore.retrieveCustomerSubscriptions
- Applies a filter that includes all subscription statuses in the admin server’s SubscriptionsService and ensures this filter is passed down the call chain.
2022-11-01 10:03:27 -07:00
Peter deHaan fd16bbd818
Merge pull request #14353 from mozilla/pdehaan-payments-jest-config
chore(tests): Remove coveragePathIgnorePatterns from fxa-payments-server
2022-11-01 08:55:45 -07:00
Reino Muhl 6691921a68
Merge pull request #14382 from mozilla/pull-legal-docs
[skip ci] Latest legal PDFs
2022-11-01 11:48:49 -04:00
Pdf Bot bdac16221b
[skip ci] Latest legal PDFs 2022-11-01 11:47:06 -04:00
Barry Chen bf588ef7b3
Merge pull request #14370 from mozilla/dependabot/npm_and_yarn/ws-8.10.0
chore(deps-dev): bump ws from 8.9.0 to 8.10.0
2022-11-01 10:30:23 -05:00
dependabot[bot] 135fafe2b1
chore(deps): bump dateformat from 4.3.1 to 4.6.3
Bumps [dateformat](https://github.com/felixge/node-dateformat) from 4.3.1 to 4.6.3.
- [Release notes](https://github.com/felixge/node-dateformat/releases)
- [Commits](https://github.com/felixge/node-dateformat/commits)

---
updated-dependencies:
- dependency-name: dateformat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 06:41:03 +00:00
dependabot[bot] 20094bcc06
chore(deps): bump @babel/preset-env from 7.16.7 to 7.19.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.7 to 7.19.4.
- [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.19.4/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 06:35:55 +00:00
dschom 77387ba2b4
Release 1.244.1 2022-10-31 15:02:05 -07:00
Dan Schomburg f848b4abf7
Merge pull request #14380 from mozilla/train-244-uplift-1
Train 244 uplift 1
2022-10-31 14:54:54 -07:00
Barry Chen 3e8d99df94
Revert "fix(dnt): apply dnt filtering to more metrics" 2022-10-31 14:28:40 -07:00
Bianca Danforth 6c5a265266
Merge branch 'main' into train-243 2022-10-31 14:42:30 -04:00
dependabot[bot] 3269080613
chore(deps-dev): bump ws from 8.9.0 to 8.10.0
Bumps [ws](https://github.com/websockets/ws) from 8.9.0 to 8.10.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.9.0...8.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 18:01:29 +00:00
Vijay Budhram db7e82a724
Merge pull request #14372 from mozilla/dependabot/npm_and_yarn/babel-loader-9.0.0
chore(deps): bump babel-loader from 8.2.2 to 9.0.0
2022-10-31 13:50:07 -04:00
dependabot[bot] 5ab2117897
chore(deps-dev): bump core-js from 3.25.5 to 3.26.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.25.5 to 3.26.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.26.0/packages/core-js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 17:13:10 +00:00
dependabot[bot] 15b1df908c
chore(deps): bump babel-loader from 8.2.2 to 9.0.0
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 9.0.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v9.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 17:12:58 +00:00
Vijay Budhram dd97fd404e
Merge pull request #14371 from mozilla/dependabot/npm_and_yarn/opentelemetry/instrumentation-document-load-0.30.0
chore(deps): bump @opentelemetry/instrumentation-document-load from 0.29.0 to 0.30.0
2022-10-31 13:03:47 -04:00
Vijay Budhram 03023e1460
Merge pull request #14375 from mozilla/dependabot/npm_and_yarn/react-easy-crop-4.6.1
chore(deps): bump react-easy-crop from 4.5.0 to 4.6.1
2022-10-31 13:02:46 -04:00
Reino Muhl b68c1097a8
fix(subscriptions): fix amounts for same interval
Because:

- The wrong amount is displayed on a subscription change between two
  prices with the same interval, since an invoice isn't immediately
  generated by Stripe.
- Cancellation emails do not inform the customer when they still have
  an oustanding amount at the end of their subscription.

This commit:

- Checks if there are any pending invoice items, and if there are,
  retrieves the upcoming invoice.
- For upgrade emails, the upcoming invoice is used to get the proration
  amounts only.
- For cancellation emails the upcoming invoice is used in favor of the
  currently latest invoice.

Closes #FXA-6170
2022-10-31 09:43:39 -07:00
Meghan Sardesai df98d76e44
fix(subscriptions): fix copy in IAP roadblock for subscription upgrades
Because:

* Previous copy said you were already subscribed to the new plan (different from current but on same product set)

This commit:

* Updates the copy to show the current plan name and not the new one
* Updates tests
* Updates stories
* Fixes some other nits/DRY/cleanups that were found while reviewing PR#14118

Closes FXA-5480
2022-10-31 09:37:14 -07:00
Ivo Plamenac 033856ed13
fix(payments): detailed Error Message Not Displayed
Because:

* we want to show more specific error information

This commit:

* checks the properties of the error object to pass in the right object, error vs error.error

Closes #FXA-4051
2022-10-31 09:37:02 -07:00
Bianca Danforth c1bf22ec8f
chore(auth): add purchaseDate to AppStoreSubscriptionPurchase
Because:

* The Data Science/Engineering team has requested the [purchaseDate](https://developer.apple.com/documentation/appstoreservernotifications/purchasedate) field for analysis purposes, and it wasn't included in the original implementation.

This commit:

* Includes the purchaseDate field.

Closes #FXA-6109
2022-10-31 09:36:52 -07:00
Bianca Danforth 3a15c53108
Release 1.243.5 2022-10-31 12:31:03 -04:00
Bianca Danforth 08daf30727
Merge pull request #14377 from mozilla/train-243-uplift-5
Train 243.5
2022-10-31 12:28:09 -04:00
Vijay Budhram 50f4fc8daf
fix(tests): Playwright test tweaks 2022-10-31 11:58:58 -04:00
Ivo Plamenac 83084a5def
fix(payments): detailed Error Message Not Displayed
Because:

* we want to show more specific error information

This commit:

* checks the properties of the error object to pass in the right object, error vs error.error

Closes #FXA-4051
2022-10-31 11:28:47 -04:00
Reino Muhl f67ae0b4d7
fix(subscriptions): fix amounts for same interval
Because:

- The wrong amount is displayed on a subscription change between two
  prices with the same interval, since an invoice isn't immediately
  generated by Stripe.
- Cancellation emails do not inform the customer when they still have
  an oustanding amount at the end of their subscription.

This commit:

- Checks if there are any pending invoice items, and if there are,
  retrieves the upcoming invoice.
- For upgrade emails, the upcoming invoice is used to get the proration
  amounts only.
- For cancellation emails the upcoming invoice is used in favor of the
  currently latest invoice.

Closes #FXA-6170
2022-10-31 11:28:32 -04:00
Lauren Zugai 86cc9cc128
Merge pull request #14333 from vpomerleau/FXA-5737-tailwind-review-conflicting-margin-settings
fix(fxa-admin-panel): Update CSS in Account Search to remove conflicting classes
2022-10-31 10:04:21 -05:00
Vijay Budhram eada6e66ec
Merge pull request #14376 from mozilla/revert-14332-increase-workers
Revert "fix(tests): Increase playwright ci worker to 4"
2022-10-31 10:57:53 -04:00