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

26601 Коммитов

Автор SHA1 Сообщение Дата
Dan Schomburg 4785a7dd38
Merge pull request #14432 from mozilla/train-244
Train 244
2022-11-09 08:58:36 -08:00
Dan Schomburg 39f6ae746c
Merge pull request #14428 from mozilla/FXA-6156
task(auth): Audit db state around tokens
2022-11-09 08:31:51 -08:00
Tarik Eshaq 613ad4c213
Fixes incorrect name for the id of refreshToken 2022-11-08 22:14:49 -05:00
dschom bce1c5c15e
task(auth): Audit db state around tokens
Because:
- We want to spot check db state
- We want to be able to measure changes in db state

This Commit:
- Adds script that can track of row counts, ages of rows, and orphaned rows
- Can be used to generate raw sql script
- Can be used as a cron job to periodically emit statistics.
2022-11-08 15:53:20 -08:00
dschom 2daa6bdd32
Release 1.244.3 2022-11-08 15:39:11 -08:00
Dan Schomburg ef3ee0d765
Merge pull request #14431 from mozilla/train-244-uplift-3
Train 244 uplift 3
2022-11-08 15:38:19 -08:00
Dan Schomburg b9fa47cf68
Merge pull request #14430 from mozilla/pushbox-fewer-statsd-tags
chore(pushbox): remove statsd metric tags
2022-11-08 15:07:39 -08:00
Barry Chen f94b9e9429
chore(pushbox): remove statsd metric tags
Because:
 - the statsd metric tags for pushbox are unnecessarily wasteful

This commit:
 - remove the tags
2022-11-08 14:49:42 -08:00
Barry Chen 1af66728f8
chore(pushbox): remove statsd metric tags
Because:
 - the statsd metric tags for pushbox are unnecessarily wasteful

This commit:
 - remove the tags
2022-11-08 16:36:20 -06:00
Lisa Chan aec79ab7f1
Merge pull request #14419 from mozilla/update_docs
docs(auth): Fix doc - open endpoint was marked as needing authentication
2022-11-08 17:31:14 -05:00
Lisa Chan 5971b10943
Merge pull request #14330 from mozilla/paypalclienterror
fix(auth-server): Capture error in updateStripeNameFromBA if billing agreement was cancelled
2022-11-08 17:29:11 -05:00
Lisa Chan 93f31f97ae
fix(auth-server): Capture error in updateStripeNameFromBA if billing agreement was cancelled 2022-11-08 17:04:27 -05:00
Vijay Budhram 540bb71ebb
Merge pull request #14399 from mozilla/fxa-5727
feat(events): Add basic support for account email events (sent, delivered, bounced)
2022-11-08 15:53:23 -05:00
Vijay Budhram ff785fa046
feat(events): Add basic support for account email events 2022-11-08 15:37:44 -05:00
Valerie Pomerleau f346925f68
refactor(fxa-settings): Change default locale of fxa-settings from en-US to en
Because:

- We want to standardize the default locale of all packages to en.

This commit:

- Rename all fxa-settings en-US.ftl files to en.ftl
- Change destination path in merge-ftl task to locales/en

Closes #FXA-6003
2022-11-08 11:14:05 -08:00
Vijay Budhram 7a1cbb2c17
Merge pull request #14425 from mozilla/dependabot/npm_and_yarn/type-cacheable/core-11.0.0
chore(deps): bump @type-cacheable/core from 10.1.2 to 11.0.0
2022-11-08 13:58:30 -05:00
Vijay Budhram 3fb8588e03
Merge pull request #14423 from mozilla/dependabot/npm_and_yarn/googleapis-109.0.1
chore(deps): bump googleapis from 108.0.0 to 109.0.1
2022-11-08 13:57:41 -05:00
dependabot[bot] d731071ca1
chore(deps): bump @type-cacheable/core from 10.1.2 to 11.0.0
Bumps [@type-cacheable/core](https://github.com/joshuaslate/type-cacheable) from 10.1.2 to 11.0.0.
- [Release notes](https://github.com/joshuaslate/type-cacheable/releases)
- [Changelog](https://github.com/joshuaslate/type-cacheable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/joshuaslate/type-cacheable/compare/@type-cacheable/core@10.1.2...@type-cacheable/core@11.0.0)

---
updated-dependencies:
- dependency-name: "@type-cacheable/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 06:24:08 +00:00
dependabot[bot] 359c99fcf3
chore(deps): bump googleapis from 108.0.0 to 109.0.1
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 108.0.0 to 109.0.1.
- [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-v108.0.0...googleapis-v109.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 06:21:09 +00:00
Julian Poyourow 88a9fbd5de
Merge pull request #14420 from mozilla/FXA-6138
chore(auth-server): ban self-absolute imports
2022-11-07 14:44:24 -08:00
Reino Muhl 6ff93bd82c
Merge pull request #14398 from mozilla/fxa-5628-main-content-class-conversion
refactor(payments): convert class main-content
2022-11-07 16:33:18 -05:00
Meghan Sardesai 3242b86df9
Merge pull request #14397 from mozilla/FXA-5631
refactor(payments): update Header to utilize Tailwind
2022-11-07 12:10:58 -08:00
Reino Muhl 61289c6da9
refactor(payments): convert class main-content
Because:

- We want to convert the main-content class to using Tailwind.

This commit:

- Creates a custom class and converts main-content to using Tailwind.

Closes #FXA-5628

Minor review edits
2022-11-07 15:07:50 -05:00
Julian Poyourow bdb1abacfd
chore(auth-server): ban self-absolute imports
Because:

* Self-absolute imports currently break deploy since we build with TSC
  and run with JS which no longer has baseUrl to help out with
  resolution.

This commit:

* Bans self-absolute imports with the no-restricted-imports rule. The
  hope is that we'll move to esbuild soon or if nothing else, implement
  this rule in other packages when they actually solve their lint issues.

Closes FXA-6138
2022-11-07 09:52:34 -08:00
Lauren Zugai 01e4522439
Merge pull request #14356 from mozilla/FXA-6163
refactor(context): Remove new Context for flow query params
2022-11-07 11:10:46 -06:00
Lauren Zugai 7930740165
Merge pull request #14410 from mozilla/FXA-5253
refactor(ts(x),css): Admin panel component restructure and cleanup
2022-11-07 11:07:58 -06:00
Lauren Zugai d61563b869
refactor(ts(x),css): Admin panel component restructure and cleanup
Because:
* Unordered lists and large files were getting hard to maintain. We need to DRY up a lot and make our pages more consistent.

This commit:
* Refactors unordered lists to reusable component tables and rows with X headers or Y headers
* Renames Permissions and AccountSearch to PagePermissions and PageAccountSearch for consistency, moves several components out of Account and into their own component directories
* Creates utils with date format function, shuffles other files around
* Creates component to display 'boolean' values for consistency ona ccount page, e.g. "Yes" or "No"
* Adds HIDE_ROW const
* Layout style tweaks, 'hr' consistency, table visual tweaks
* Removes and adds some Tailwind component classes, installs post-css import
* Shows 'empty string' for redirectURI falsey value

Closes FXA-5253
2022-11-07 10:48:44 -06:00
Lisa Chan 758d6c4c37
docs(auth): Fix doc - open endpoint was marked as needing authentication 2022-11-07 11:10:14 -05:00
Dan Schomburg 70a784eb9e
Merge pull request #14405 from mozilla/fix-otel-docker-network-error
task(shared): Fix docker network error with otel
2022-11-04 17:53:44 -07:00
dschom 1ab4ba501b
task(shared): Fix docker network error with otel
Because:
- When starting tracing with open telemetry the network name would sometimes collide and result in error.

This Commit:
- Sets an 'fxa' network name
- Applies this network to services
- Allows services to communicate by their names
2022-11-04 16:22:11 -07:00
Ivo Plamenac 6f6aaae6cb
Merge pull request #14402 from mozilla/fxa-6192/automatic-tax-subsequent-invoice
feat(tax): update Subsequent Invoice Endpoint to Use Stripe Tax
2022-11-04 16:03:05 -07:00
Ivo Plamenac 8673c53c9b
Merge pull request #14417 from mozilla/train-244
Train 244
2022-11-04 15:29:44 -07:00
dschom 8efe4648a8
Release 1.244.2 2022-11-04 14:48:14 -07:00
Ivo Plamenac 02d5f573e9
Merge pull request #14416 from mozilla/train-244-uplift-2
Train 244 uplift 2
2022-11-04 14:46:08 -07:00
Dan Schomburg f5273536f5
Merge pull request #14415 from mozilla/wrong-ip-address-stripe-tax
fix(tax): wrong Request IP Address Sent to Stripe
2022-11-04 14:15:47 -07:00
Ivo Plamenac cf5fde2edb
fix(tax): wrong Request IP Address Sent to StripeE
Because:

* we don't want to use 127.0.0.1 to try to look up tax locations in stripe

This commit:

* uses the forwarded IP address from the client

Closes #
2022-11-04 14:10:54 -07:00
Ivo Plamenac a60146d119
fix(tax): wrong Request IP Address Sent to StripeE
Because:

* we don't want to use 127.0.0.1 to try to look up tax locations in stripe

This commit:

* uses the forwarded IP address from the client

Closes #
2022-11-04 13:43:56 -07:00
Julian Poyourow 872626e663
Merge pull request #14391 from mozilla/FXA-6136
chore(auth-server): enable typescript-eslint
2022-11-04 13:32:25 -07:00
Dan Schomburg 2d8807b6f8
Merge pull request #14368 from mozilla/FXA-5358
task(admin-panel): Unsubcribe users from newsletters
2022-11-04 11:02:29 -07:00
Julian Poyourow 76ef507b26
chore(auth-server): enable typescript-eslint
Because:

* We aren't currently linting TS files in auth-server

This commit:

* Enables and fixes linting issues in auth-server

Closes FXA-6136
2022-11-04 10:43:26 -07:00
Ivo Plamenac c02f255e72
feat(tax): update Subsequent Invoice Endpoint to Use Stripe Tax
Because:

* we want to dispaly tax information on subsequent invoice preview which is used on the subscription management page

This commit:

* updates the preview-subsequent endpoint to include stripe tax when enabled and updates the manage subscription page to use the total from the
subsequent invoice when able to

Closes #FXA-6192
2022-11-04 10:26:36 -07:00
Vijay Budhram 52512c11a6
Merge pull request #14407 from mozilla/dependabot/npm_and_yarn/typescript-eslint/parser-5.42.0
chore(deps-dev): bump @typescript-eslint/parser from 5.41.0 to 5.42.0
2022-11-04 10:03:33 -04:00
Vijay Budhram fb6659e347
Merge pull request #14409 from mozilla/dependabot/npm_and_yarn/sass-1.56.0
chore(deps-dev): bump sass from 1.55.0 to 1.56.0
2022-11-04 10:03:02 -04:00
dependabot[bot] 4ee86a7c71
chore(deps-dev): bump sass from 1.55.0 to 1.56.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.55.0 to 1.56.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.55.0...1.56.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 06:10:41 +00:00
dependabot[bot] 8b3ddc6ad1
chore(deps-dev): bump @typescript-eslint/parser from 5.41.0 to 5.42.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.41.0 to 5.42.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.42.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 06:05:36 +00:00
Meghan Sardesai c6b23f1227
refactor(payments): update Header to utilize Tailwind
Because:

* We want to convert to Tailwind across fxa for consistency and to improve overall maintenance
* We want to improve responsiveness and UI/UX
* We want to improve accessibility

This commit:

* Replaces all CSS/SCSS with Tailwind utility classes
* Removes .scss file specific to the Header component
* Reworks Storybook file

Closes FXA-5631
2022-11-03 20:04:49 -07:00
dschom a3cf41701b
task(admin-panel): Unsubcribe users from newsletters
Because:
- We want support to able to unsubscribe users from newsletters

This Commit:
- Adds newsletter module
- Adds service for basket api
- Adds graphql mutation for unsubscribing users
- Adds button to admin panel that unsubscribed users
2022-11-03 15:11:23 -07:00
Dan Schomburg 3351a003e7
Merge pull request #14388 from mozilla/FXA-5594
task(admin-panel): Add ability to see canceled/inactive subscriptions
2022-11-03 15:10:11 -07:00
Barry Chen 4733af41cc
Merge pull request #14401 from mozilla/FXA-5772-pushbox-delete-user
feat(pushbox): delete all db records on account delete
2022-11-03 16:24:09 -05:00
Ankita Shrivastava c258b937e5
Merge pull request #14404 from mozilla/rewrite-totp-tests
test(functional): rewrite totp tests using playwright
2022-11-03 17:16:24 -04:00