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

31263 Коммитов

Автор SHA1 Сообщение Дата
Lauren Zugai 92ecc98952
feat(glean): Add backend two_factor_auth_code_complete event
Because:
* We want a back-end event for when users successfully set up totp

This commit:
* Adds the event and calls it where needed

closes FXA-9587
2024-08-26 16:53:16 -05:00
julianpoyourow 11e2fc7f81
feat(cart): validate promo code prior to cart actions
Because:

- We don't want carts to be able to proceed with actions with invalid
  coupon codes

This commit:

- Adds validation so that an invalid coupon code doesn't result in the
  customer getting invisibly charged more than they saw in the checkout
  ui.

Closes FXA-10173
2024-08-26 21:35:31 +00:00
Arkadiusz Komarzewski 4c433fff6f
fix(metrics): DENG-4405 Convert event extras to string 2024-08-26 14:26:36 -05:00
Ben Bangert c11086aa7e
Merge pull request #17462 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-bb71c4ac1f
chore(deps): bump the npm_and_yarn group with 2 updates
2024-08-26 09:27:25 -07:00
Lauren Zugai 56ee0ae82e
Merge pull request #17457 from mozilla/FXA-10297
feat(settings): Refactor 'Data Collection' for new content + UnitRow adjustments
2024-08-26 10:48:21 -05:00
Lisa Chan 86af35a396
Merge pull request #17431 from mozilla/FXA-10168
feat(payments-cart): Increment statsd counters
2024-08-26 11:40:03 -04:00
Lauren Zugai 180e394190
Merge pull request #17461 from mozilla/FXA-10127
feat(glean): Add click event for 2fa backup code submit
2024-08-26 09:52:03 -05:00
Lisa Chan 31234efc75
feat(payments-cart): Increment statsd counters 2024-08-26 10:46:21 -04:00
Barry Chen 8c1a523523
Merge pull request #17467 from mozilla/dependabot/npm_and_yarn/type-fest-4.25.0
chore(deps-dev): bump type-fest from 4.18.1 to 4.25.0
2024-08-26 05:35:35 -07:00
dependabot[bot] ca8b4e5c9b
chore(deps-dev): bump type-fest from 4.18.1 to 4.25.0
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.18.1 to 4.25.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](https://github.com/sindresorhus/type-fest/compare/v4.18.1...v4.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 06:50:09 +00:00
dependabot[bot] 3fa87afaaf
chore(deps): bump the npm_and_yarn group with 2 updates
Bumps the npm_and_yarn group with 2 updates: [jose](https://github.com/panva/jose) and [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware).


Updates `jose` from 5.6.3 to 5.7.0
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v5.6.3...v5.7.0)

Updates `webpack-dev-middleware` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: webpack-dev-middleware
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-24 03:34:18 +00:00
Lauren Zugai 8e4007be7f
feat(glean): Add click event for 2fa backup code submit
Because:
* We are adding glean click events

This commit:
* Adds the click event for inline setup, normal setup, and replace recovery codes, after users submit the recovery code to confirm and finish the flow

closes FXA-10127
2024-08-23 16:57:38 -05:00
Barry Chen d8b1d4f760
Merge pull request #17459 from mozilla/FXA-9575-2fa-submit-glean
feat(metrics): add click event for 2fa setup totp code submit
2024-08-23 13:37:47 -07:00
Barry Chen 0c46f39dea
feat(metrics): add click event for 2fa setup totp code submit 2024-08-23 15:13:36 -05:00
Lauren Zugai 8e35712d97
feat(glean): Add click events for 2FA 'cancel' and 'continue' on inline/setup/replace
Because:
* We want click events for "Cancel" and "Continue" buttons after the backup codes are shown

This commit:
* Adds the events for normal setup, inline setup, and replace

closes FXA-9583, closes FXA-9584
2024-08-23 14:25:45 -05:00
Lauren Zugai 7abf912201
feat(settings): Refactor 'Data Collection' for new content + UnitRow adjustments
Because:
* We want to add a new 'Firefox browser' row to our Data Collection and Use section

This commit:
* Refactors DataCollection to use our standard UnitRow component per the new content design
* Adjusts UnitRow for new hideHeaderValue prop, doesn't render action div if action wasn't provided, renames noHeaderValueText to defaultHeaderValueText for clarity
* Tweaks related stories and tests

closes FXA-10297
2024-08-23 11:46:48 -05:00
Lauren Zugai 039f3c0415
Merge pull request #17456 from mozilla/glean-upload-enabled-true
chore(config): Set default Glean uploadEnabled option to true
2024-08-23 11:43:38 -05:00
Wil Clouser 3ef0356bfc
Merge pull request #17455 from mozilla/dependabot/npm_and_yarn/hapi-swagger-17.3.0
chore(deps): bump hapi-swagger from 17.2.1 to 17.3.0
2024-08-23 08:12:07 -07:00
Vijay Budhram 2039fae13d
Merge pull request #17449 from mozilla/fxa-10140
fix(tests): Mock `Date.now()` in cloud scheduler tests
2024-08-23 10:47:45 -04:00
Lauren Zugai c93e2d0676
chore(config): Set default Glean uploadEnabled option to true
Because:
* This must be enabled for automatic Glean click events and is already set to true for stage and prod

This commit:
* Updates the default config option from false to true for dev env
2024-08-23 09:38:29 -05:00
Lauren Zugai d289574708
Merge pull request #17446 from mozilla/FXA-10264
feat(glean): Enable automatic click events, add 3x GetDataTrio events
2024-08-23 09:33:09 -05:00
dependabot[bot] b92a1f3ea9
chore(deps): bump hapi-swagger from 17.2.1 to 17.3.0
Bumps [hapi-swagger](https://github.com/hapi-swagger/hapi-swagger) from 17.2.1 to 17.3.0.
- [Release notes](https://github.com/hapi-swagger/hapi-swagger/releases)
- [Commits](https://github.com/hapi-swagger/hapi-swagger/compare/v17.2.1...v17.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 07:03:50 +00:00
Lauren Zugai c2e3a067f2
feat(glean): Enable automatic click events, add 3x GetDataTrio events
Because:
* We want to add automatic Glean click events so we don't have to edit the YAML and generate files for every click interaction
* We want events for copy, download, and print actions for 2FA recovery codes

This commit:
* Adds the click event from the Glean API to be callable from our custom GleanMetrics object, sets up the global event listener once application state has settled
* Adds click events with data-glean-id and data-glean-type for all states (setup, change, inline setup) of 2FA GetDataTrio

closes FXA-10264, closes FXA-9580, closes FXA-9581, closes FXA-9582
2024-08-22 17:15:12 -05:00
Vijay Budhram 41d751d7e8
Merge pull request #17435 from mozilla/fxa-10258
feat(glean): Fix email on "Sign in" link when pairing fails
2024-08-22 15:53:18 -04:00
Vijay Budhram 123003fdc5
feat(glean): Fix email on "Sign in" link when pairing fails 2024-08-22 14:51:20 -04:00
Vijay Budhram b787b88df2
fix(tests): Mock `Date.now()` in cloud scheduler tests 2024-08-22 14:38:53 -04:00
Wil Clouser f7f65850c5
Merge pull request #17444 from mozilla/dependabot/npm_and_yarn/ajv-8.17.1
chore(deps): bump ajv from 8.13.0 to 8.17.1
2024-08-22 07:04:41 -07:00
dependabot[bot] d5872ab397
chore(deps): bump ajv from 8.13.0 to 8.17.1
Bumps [ajv](https://github.com/ajv-validator/ajv) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.13.0...v8.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 06:41:39 +00:00
Wil Clouser a1b2161d18
Merge pull request #17439 from mozilla/trigger-docker-build-from-tag-release
fix(docker): Call docker build after tagging a release
2024-08-21 12:18:05 -07:00
Wil Clouser 6cbf2a8aac
Merge pull request #17438 from mozilla/support-github-actions-for-version-json
feat(scripts): Support Github Actions environment variables for version.json
2024-08-21 12:16:56 -07:00
Wil Clouser 35e71fd594
Merge pull request #17437 from mozilla/fix-deps
fix(glean): Downgrade glean to 5.0.2 instead of 5.0.3
2024-08-21 12:11:40 -07:00
Jon Buckley 48f20d2189
feat(scripts): Support Github Actions environment variables for version.json 2024-08-21 15:04:31 -04:00
Jon Buckley f509670bb2
fix(docker): Call docker build after tagging a release 2024-08-21 15:03:18 -04:00
Vijay Budhram b079f66143
fix(glean): Downgrade glean to 5.0.2 instead of 5.0.3 2024-08-21 13:52:46 -04:00
Lisa Chan 3ee23b407d
Merge pull request #17420 from mozilla/FXA-9620
fix(payments-stripe): Cleanup instances that incorrectly expect nullish values returned from client
2024-08-21 11:22:53 -04:00
Lisa Chan ee6ae24dfd
Merge pull request #17421 from mozilla/FXA-10161
refactor(payments): Update CheckoutService to use cartId as idempotency key
2024-08-21 10:34:52 -04:00
Lisa Chan 6e0e15b6b5
Merge pull request #17423 from mozilla/FXA-10162
refactor(payments): Set billing agreement ID on customer metadata
2024-08-21 10:31:49 -04:00
Vijay Budhram 13171e7b0f
Merge pull request #17434 from mozilla/clouserw-patch-3
fix: log map instead of string to fix log ingestion
2024-08-21 10:21:51 -04:00
Ben Bangert 7d21c34d83
Merge pull request #17424 from mozilla/chore/remove-encrypted-cookie-sessions
feat: remove encrypted cookie sessions from 123done
2024-08-20 22:42:01 -07:00
Julian Poyourow 2da2ba4fba
Merge pull request #17432 from mozilla/FXA-10172
fix(payments-cart): update cart taxAddress type
2024-08-20 15:27:34 -07:00
Wil Clouser 33c25ecb02
fix: log map instead of string to fix log ingestion 2024-08-20 15:18:52 -07:00
julianpoyourow 584bf462d9
fix(payments-cart): update cart taxAddress type
Because:

- The cart was returning the incorrect type for taxaddress

This commit:

- Modifies the kysely-types entry in accordance with the example here:
https://kysely.dev/docs/getting-started#types

Closes FXA-10172
2024-08-20 19:55:39 +00:00
Ben Bangert 4a13370854
feat: remove encrypted cookie sessions from 123done
Because:

* We don't want to use an obsolete library and this
  test usage is not security sensitive.

This commit:

* Uses cookie-session instead, as this cookie is not
  security sensitive.
2024-08-20 17:30:32 +00:00
Vijay Budhram 80a2e41285
Merge pull request #17320 from mozilla/fxa-9847
feat(glean): Add entrypoint variation and experiment to glean metrics
2024-08-20 10:26:36 -04:00
Lisa Chan ae35a57836
refactor(payments): Update CheckoutService to use cartId as idempotency key 2024-08-20 06:48:32 -04:00
Lisa Chan 9623930af7
refactor(payments): Set billing agreement ID on customer metadata 2024-08-19 16:05:54 -04:00
Vijay Budhram ea92c29bcb
feat(glean): Add entrypoint variation and experiment to glean metrics 2024-08-19 15:04:30 -04:00
julianpoyourow 40484a6dd6
fix(shared-cms): re-enable caching decorator
Because:

- The caching decorator was disabled in a previous PR (pre-Strapi) due to some
  issues. I was unable to replicate these issues in the latest Strapi
  client.

This commit:

- Re-enables the caching decorator.

Closes FXA-10175
2024-08-19 18:22:07 +00:00
Lisa Chan a4099a03be
fix(payments-stripe): Cleanup instances that expect nullish values returned from client 2024-08-19 14:03:15 -04:00
Wil Clouser 264a140026
Merge pull request #17377 from mozilla/20240809
chore(scripts): add a pre-launch script
2024-08-19 09:55:39 -07:00