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

29777 Коммитов

Автор SHA1 Сообщение Дата
Lisa Chan a123a0886d
Merge pull request #16467 from mozilla/FXA-8931
feat(payments-paypal): Create PayPalService
2024-02-22 17:09:56 -05:00
Ben Bangert 934b37b357
fix: directly query for customer to avoid db changes
Because:

* We want to avoid making changes to the database when queueing
  account delete tasks.

This commit:

* Directly queries the accountCustomers table to fetch the linked
  customer record instead of a fetchCustomer which may make db changes.
2024-02-22 13:48:13 -08:00
Lisa Chan 1938635ec4
Merge pull request #16463 from mozilla/eligibility_mismatch
fix(auth): Update eligibilityFromEligibilityManager
2024-02-22 16:31:25 -05:00
Lisa Chan e9ecacc892
feat(payments-paypal): Create PayPalService 2024-02-22 16:17:59 -05:00
Lisa Chan 804de2b75e
fix(auth): Update eligibilityFromEligibilityManager 2024-02-22 14:56:45 -05:00
Lauren Zugai 19dbe6e8db
chore(css): Add grunttask to fix content-server Tailwind selectors
Because:
* Our content-server CSS minification build task is stripping a space between brackets and asterisks, invalidating the selector and causing some styles to not apply. See comment included in commit for more details

This commit:
* Adds a grunttask to add the whitespace back

fixes FXA-9167, fixes FXA-9170
2024-02-22 13:55:35 -06:00
Barry Chen 58d8ca9bb0
Merge pull request #16458 from mozilla/FXA-9101-redis-password
chore(redis): add password config for oauth redis
2024-02-22 13:15:56 -06:00
Lisa Chan 05fc424655
Merge pull request #16465 from mozilla/FXA-8947
feat(payments-stripe): Create StripeManager isCustomerStripeTaxEligible
2024-02-22 14:03:25 -05:00
Reino Muhl cefcf7d905
Merge pull request #16460 from mozilla/FXA-7804-reorg-pages
feat(next): reorg checkout pages
2024-02-22 13:40:47 -05:00
Lisa Chan d007ec9354
feat(payments-stripe): Create StripeManager isCustomerStripeTaxEligible 2024-02-22 13:11:45 -05:00
Reino Muhl 275ecdb0b8
feat(next): reorg checkout pages
Because:

* Reorganize checkout pages to include intent and cartId in path, and
  allow for landing page.

This commit:

* Reorganizes checkout pages
* Add checkout landing page
* Add getLocaleFromRequest and update l10n locale logic

Closes #FXA-7804
2024-02-22 13:06:09 -05:00
Wil Clouser 0b55f8816c
Merge pull request #16454 from mozilla/dependabot/npm_and_yarn/ip-2.0.1
bump ip from 1.1.8 to 2.0.1
2024-02-22 08:31:26 -08:00
dependabot[bot] 256a20d34e
bump ip from 1.1.8 to 2.0.1
---
updated-dependencies:
- dependency-name: ip
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 15:57:18 +00:00
Lisa Chan 202d41f177
Merge pull request #16451 from mozilla/dependabot/npm_and_yarn/core-js-3.36.0
chore(deps-dev): bump core-js from 3.32.0 to 3.36.0
2024-02-22 10:44:47 -05:00
Lisa Chan 6eb5b5f6cd
Merge pull request #16450 from mozilla/dependabot/npm_and_yarn/faker-js/faker-8.4.1
chore(deps): bump @faker-js/faker from 8.3.1 to 8.4.1
2024-02-22 10:44:26 -05:00
Lisa Chan 37d74f933c
Merge pull request #16444 from mozilla/dependabot/npm_and_yarn/axios-0.28.0
chore(deps): bump axios from 0.26.0 to 0.28.0
2024-02-22 10:44:02 -05:00
Lisa Chan 2af0a544fd
Merge pull request #16443 from mozilla/dependabot/npm_and_yarn/ip-1.1.9
chore(deps): bump ip from 1.1.8 to 1.1.9
2024-02-22 10:43:40 -05:00
Reino Muhl 36230779b6
Merge pull request #16449 from mozilla/fxa-7522-next-auth-setup
feat(next): add NextAuth
2024-02-22 10:26:43 -05:00
Ben Bangert b60cbc9827
Merge pull request #16459 from mozilla/fix/pass-appropriate-id
fix(auth): use direct subscription query
2024-02-21 14:00:23 -08:00
Reino Muhl 3ab897e629
feat(next): add NextAuth
Because:

* Need to be able to authenticate with FxA

This commit:

* Add NextAuth to facilitate promp and no prompt signin with FxA.

Closes #FXA-7522
2024-02-21 16:59:05 -05:00
Julian Poyourow a2d6313c83
Merge pull request #16457 from mozilla/FXA-8887
feat(mysql): add AccountCustomers and PaypalCustomers
2024-02-21 13:43:56 -08:00
Ben Bangert e9453e24c4
fix(auth): use direct subscription query
Because:

* We want to use a direct stripe query to locate the subscriptions
  for a customer instead of relying on methods that may use firestore
  during delete.

This commit:

* Changes the fetch query to use the stripe customer id directly.
2024-02-21 13:24:52 -08:00
Katrina Anderson 2d405185c8
Merge pull request #16448 from mozilla/FXA-9118
test(fxa-payments-server): temporarily skip coupon.test.ts > checkCouponRepeating tests
2024-02-21 15:21:36 -05:00
Barry Chen 4f5aa78942
chore(redis): add password config for oauth redis 2024-02-21 13:43:07 -06:00
dependabot[bot] 4d06c01b2e
chore(deps): bump ip from 1.1.8 to 1.1.9
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 19:24:15 +00:00
Vijay Budhram fbf598c946
Merge pull request #16446 from mozilla/fxa-9174
chore(customs): Add statsd to custom server and url request timings
2024-02-21 14:21:46 -05:00
Lisa Chan fcb108745f
Merge pull request #16455 from mozilla/FXA-9156
fix(auth): Revise getPaymentProvider
2024-02-21 14:15:14 -05:00
Lisa Chan c90660a1ba
fix(auth): Revise getPaymentProvider 2024-02-21 13:49:57 -05:00
Julian Poyourow 388e01e52d
feat(mysql): add AccountCustomers and PaypalCustomers 2024-02-21 10:34:05 -08:00
Vijay Budhram 8f84177d2f
chore(stats): Add statsd logging to customs server request 2024-02-21 13:28:26 -05:00
Julian Poyourow 15fbb66a7e
Merge pull request #16456 from mozilla/fix-smoketestfail
chore(test): disable failing signInTotp test
2024-02-21 09:30:50 -08:00
Julian Poyourow fda991e2a0
chore(test): disable failing signInTotp test 2024-02-21 08:47:40 -08:00
Lauren Zugai 1adb40ad2a
Merge pull request #16447 from mozilla/add-todo-ticket
style(react): Add ticket number to comments, remove stray console.log
2024-02-21 10:18:04 -06:00
Reino Muhl e4e6863100
Merge pull request #16430 from mozilla/fxa-9035-prompt-none
feat(auth): allow prompt=none without hint
2024-02-21 10:16:12 -05:00
Lisa Chan 5cbe36242d
Merge pull request #16437 from mozilla/sort_caps
fix(payments): Return sorted capabilities
2024-02-21 09:53:49 -05:00
dependabot[bot] d07ebb7d8a
chore(deps-dev): bump core-js from 3.32.0 to 3.36.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.36.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.36.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>
2024-02-21 06:45:21 +00:00
dependabot[bot] 5d425a72b9
chore(deps): bump @faker-js/faker from 8.3.1 to 8.4.1
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 8.3.1 to 8.4.1.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v8.3.1...v8.4.1)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 06:44:30 +00:00
Katrina Anderson 1c7067c1a1
test(fxa-payments-server): temporarily skip coupon.test.ts > checkCouponRepeating tests
Because:

- Flake has been detected in the coupon.test.ts > checkCouponRepeating tests

This commit:

- applies a skip annotation to the tests until an investigation can be conducted and a fix applied

Relates To #FXA-9118
2024-02-20 19:36:51 -05:00
Lauren Zugai 236ce7edbe
Merge pull request #16445 from mozilla/FXA-9170
fix(css): Remove --minify flag from content-server build-css step
2024-02-20 17:31:52 -06:00
Lauren Zugai ee80dd5ab9
Merge pull request #16440 from mozilla/FXA-9104
fix(signup): Disallow age submissions > 130
2024-02-20 17:21:00 -06:00
Lauren Zugai b776bd58d1
Merge pull request #16442 from mozilla/FXA-9058
perf(content,settings): Remove custom fonts
2024-02-20 17:20:06 -06:00
Lauren Zugai a3214c53fd
style(react): Add ticket number to comments, remove stray console.log
Because:
* An associated ticket was created and could be added to a couple places for clarity, and we have a stray console.log

This commit:
* Adjusts comments
2024-02-20 17:15:09 -06:00
Lauren Zugai 45dfa144ce
perf(content,settings): Remove custom fonts
Because:
* Custom fonts have performance implications, there's a 403 error in content-server regarding fonts, and most importantly these custom fonts have been deprecated in Firefox which we're looking to align our design system to

This commit:
* Removes the custom fonts from content-server and settings
* Updates Storybook accordingly
* Tweaks a couple of third party auth styles

closes FXA-9058
2024-02-20 16:47:07 -06:00
Lauren Zugai cce305211c
fix(css): Remove --minify flag from content-server build-css step
Because:
* This flag is causing multiple selectors with an asterisk to not work, as it strips out a needed space. We already perform some minification on Settings which does not use this flag

This commit:
* Removes the --minify option in content-server's build-css step

closes FXA-9167, closes FXA-9170
2024-02-20 15:31:12 -06:00
dependabot[bot] 8dec500cb3
chore(deps): bump axios from 0.26.0 to 0.28.0
Bumps [axios](https://github.com/axios/axios) from 0.26.0 to 0.28.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 21:16:19 +00:00
Julian Poyourow 5ca3b73629
Merge pull request #16441 from mozilla/polish-add-default-cache-collection-name
chore(env): set default for firestore cache collection name
2024-02-20 10:46:06 -08:00
Lauren Zugai 28e783cbd8
fix(signup): Disallow age submissions > 130
Because:
* The age limit was 999, which is too high

This commit:
* Adds an age limit of 130, else we display an error tooltip

fixes FXA-9104
2024-02-20 12:26:47 -06:00
Julian Poyourow 66e6029943
chore(env): set default for firestore cache collection name 2024-02-20 09:53:55 -08:00
Vijay Budhram 677f895443
Merge pull request #16439 from mozilla/fxa-9169
chore(customs): Add statsd metrics for httpAgent socket status
2024-02-20 12:40:13 -05:00
Vijay Budhram 59acfcbd7c
chore(customs): Add statsd metrics for httpAgent socket status 2024-02-20 11:21:47 -05:00