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

31272 Коммитов

Автор SHA1 Сообщение Дата
Reino Muhl 0f699a3c67
Merge pull request #17504 from mozilla/fxa-7585-add-paypal-sdk
feat(next): add paypal sdk
2024-08-29 16:21:15 -04:00
Dan Schomburg 16543e3404
Merge pull request #17500 from mozilla/use-cdn-for-ftl-files
task(content,settings): Reference l10n files on CDN
2024-08-29 11:50:41 -07:00
Vijay Budhram 433b004d74
Merge pull request #17478 from mozilla/fxa-10320
feat(auth): Update 2FA via push backend api
2024-08-29 13:24:58 -04:00
Vijay Budhram 309db81559
feat(auth): Update 2FA via push backend api 2024-08-29 12:23:54 -04:00
Reino Muhl 1c50ec8870
feat(next): add paypal sdk
Because:

- Initialize PayPal SDK and add button to checkout page

This commit:

- Adds PayPal SDK and initializes provider
- Adds PayPal button and only display when PayPal is selected in Payment
  Element
- Updates CSP for PayPal URLs
- Adds config options

Closes #FXA-7585
2024-08-29 12:19:07 -04:00
Vijay Budhram 404806c749
Merge pull request #17477 from mozilla/dependabot/npm_and_yarn/nestjs/platform-express-10.4.1
chore(deps): bump @nestjs/platform-express from 10.3.4 to 10.4.1
2024-08-29 10:00:23 -04:00
Vijay Budhram c380dab5b1
Merge pull request #17503 from mozilla/dependabot/github_actions/slackapi/slack-github-action-1.27.0
chore(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0
2024-08-29 09:58:41 -04:00
dependabot[bot] 5c365cb586
chore(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.26.0...v1.27.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>
2024-08-29 07:01:19 +00:00
dschom 90b2fbd8ae
task(content,settings): Reference l10n files on CDN 2024-08-28 15:19:03 -07:00
Dan Schomburg f39d66b07f
Merge pull request #17499 from mozilla/fix-legal-docs-url
bug(graphql): Fix url for legal docs being fetched by graphql
2024-08-28 14:49:47 -07:00
dschom d220d959fc
bug(graphql): Fix url for legal docs being fetched by graphql 2024-08-28 14:20:52 -07:00
Dan Schomburg f55b8b1f18
Merge pull request #17498 from mozilla/add-cdn-to-csp
bug(content): Add cdn to csp for connect-src
2024-08-28 14:12:27 -07:00
dschom 58a023410a
bug(content): Add cdn to csp for connect-src 2024-08-28 13:45:19 -07:00
Lauren Zugai 3719aa8c7c
Merge pull request #17403 from mozilla/FXA-8635
feat(react): Build out Index / email-first component
2024-08-28 14:53:06 -05:00
Vijay Budhram 18ecdc8ad7
Merge pull request #17476 from mozilla/dependabot/npm_and_yarn/google-auth-library-9.14.0
chore(deps): bump google-auth-library from 9.8.0 to 9.14.0
2024-08-28 15:20:45 -04:00
Lauren Zugai a34dc09ecb
feat(react): Build out Index / email-first component
Because:
* We are converting our flows from Backbone to React

This commit:
* Creates the initial component buildout and displays states in Storybook
2024-08-28 14:05:28 -05:00
Dan Schomburg b34ffa82b2
Merge pull request #17496 from mozilla/fix-settings-cdn-path
bug(settings): CDN path was incorrect
2024-08-28 12:00:36 -07:00
Eric Maydeck 559f2b13c8
Merge pull request #17494 from mozilla/fix-docker-workflow-input-validation
fix(docker): using inputs.<input> for workflow input validation
2024-08-28 12:34:39 -06:00
dschom 4072f690d6
bug(settings): CDN path was incorrect 2024-08-28 11:29:10 -07:00
Dan Schomburg 3d188aefab
Merge pull request #17495 from mozilla/fix-typo-in-cdn-url
bug(settings): Fix typo in cdn url
2024-08-28 11:02:22 -07:00
dschom 6af4b0550a
bug(settings): Fix typo in cdn url 2024-08-28 11:00:15 -07:00
Eric Maydeck 7bfba49c97
fix(docker): using inputs.<input> for workflow input validation 2024-08-28 11:23:14 -06:00
Valerie Pomerleau b0965b2648
Merge pull request #17404 from mozilla/FXA-8638
feat(content): Set up feature flag for email first routes
2024-08-28 10:20:08 -07:00
Lisa Chan d9fd2fb020
Merge pull request #17492 from mozilla/update_SubscriptionManager
fix(payments-stripe): Revises SubscriptionManager.update()
2024-08-28 12:50:19 -04:00
Lauren Zugai bd68ab7450
Merge pull request #17491 from mozilla/FXA-10317-v2
fix(glean): Fix ProductPromo firing extra view event, add glean click event
2024-08-28 11:04:24 -05:00
Lisa Chan a9af5fa402
fix(payments-stripe): Revises SubscriptionManager.update() 2024-08-28 12:01:39 -04:00
Lauren Zugai 3486c83c04
fix(glean): Fix ProductPromo firing extra view event, add glean click event
Because:
* We use this component in multiple places (sidebar and setitngs), and it fired a view event for each instance
* We want a glean click event for comparison on a custom event

fixes FXA-10317
2024-08-28 10:30:59 -05:00
Lisa Chan d0cd5bd6f8
Merge pull request #17480 from mozilla/polish_pr
fix(libs): Revise file name/structure for client and server components
2024-08-28 09:07:52 -04:00
Julian Poyourow 2910faed05
Merge pull request #17482 from mozilla/fxa-10167
feat(payments-cart): do not update cart when not needed
2024-08-28 00:05:44 -07:00
Valerie Pomerleau 64cb4b6be2
Merge pull request #17484 from mozilla/DENG-4405-followup-for-fxa-settings
fix(glean): Glean metrics were erroring for settings
2024-08-27 19:08:57 -07:00
Dan Schomburg cd95de8155
Merge pull request #17422 from mozilla/settings-cdn
task(settings): Support CDN in fxa-settings
2024-08-27 17:25:00 -07:00
Dan Schomburg 454fc0469e
Merge pull request #17447 from mozilla/syncstorage-rs
task(all): Get new syncstorage-rs service running
2024-08-27 17:24:43 -07:00
Valerie Pomerleau 865c2b0036
fix(glean): Glean metrics were erroring for settings
Because:

* Glean metrics were not emitted for settings with a console error

This commit:

* Remove glean from fxa-settings dependencies as follow-up to PR-17470
2024-08-27 16:15:49 -07:00
Lauren Zugai 40f050cd64
Merge pull request #17483 from mozilla/FXA-10316
fix(sync): Only send canLinkAccount web channel message on desktop sync
2024-08-27 17:31:01 -05:00
Lauren Zugai 1c48e10f7a
fix(sync): Only send canLinkAccount web channel message on desktop sync
Because:
* iOS does not respond to this web channel message, unlike desktop which prompts the user with an alert, and unlike Android, which responds with 'ok: true' automatically

This commit:
* Only sends the web channel message if desktop v3 context is used. We will update this for OAuth desktop before that feature rolls out.

closes FXA-10316
2024-08-27 16:47:10 -05:00
dschom 6d79b616ff
task(settings): Support CDN in fxa-settings
Because:
- Settings is not being served from a CDN

This Commit:
- Configures webpack so that it can build assets that will work with a CDN
- Updates docker build to produce static bundle for stage cdn
- Updates docker build to produce static bundle for prod cdn
- Makes a couple changes to target these new build assets in content server
- Uses the full hash in bundle names to reduce the chance of conflict

Note, that we currently do a string replacement on index.html to inject some config and a flow id. If we didn't do this, we could serve this as a SPA directly off the CDN which would be faster. This should be a future consideration.

To test what this would look like once deployed on stage / production, override the following in local.json config.

  "static_directory": "dist"
  "page_template_subdirectory": "dist"
  "proxy_settings": false
2024-08-27 14:00:17 -07:00
Valerie Pomerleau 9b4c53bbc0
Merge pull request #17481 from mozilla/FXA-10305
fix(settings): Styling tweak to add spacing between links on mobile
2024-08-27 13:18:04 -07:00
Barry Chen 8aae172725
Merge pull request #17470 from mozilla/DENG-4405_bool_event_extras
fix(metrics): DENG-4405 Convert event extras to string
2024-08-27 12:44:50 -07:00
Lisa Chan 954a297715
Merge pull request #17433 from mozilla/FXA-10159
feat(payments-cart): Add tax ID to customer and set appliedPromotionCode metadata in CheckoutService postPaySteps
2024-08-27 15:04:37 -04:00
julianpoyourow b5d36860a0
feat(payments-cart): do not update cart when not needed
Because:

- We were previously always updating the cart

This commit:

- Eliminates the unnecessary cart update call

Closes FXA-10167
2024-08-27 18:51:14 +00:00
Lisa Chan e41216aad0
feat(payments-cart): Add tax ID to customer and set appliedPromotionCode metadata in CheckoutService postPaySteps 2024-08-27 14:37:16 -04:00
Valerie Pomerleau 1184b7c45e
feat(content): Set up feature flag for email first routes
Because:

* We are preparing to enable react version of email first route

This commit:

* Adds feature flag

Closes #FXA-8638
2024-08-27 11:07:50 -07:00
Valerie Pomerleau 680ac5a489
fix(settings): Styling tweak to add spacing between links on mobile
Because:

* There was no spacing between Use a different account and Forgot password? links on mobile sign in page

This commit:

* Tweak styling to show links on separate lines for mobile

Closes #FXA-10305
2024-08-27 10:40:19 -07:00
Lisa Chan 79f0f04727
fix(libs): Revise file structure for client and server components 2024-08-27 13:38:26 -04:00
Julian Poyourow a09850732e
Merge pull request #17479 from mozilla/chore-cleanup-stripe-codependencies
chore(payments-stripe): cleanup manager co-dependencies
2024-08-27 10:14:57 -07:00
dschom a3ae0fe74a
task(all): Get new syncstorage-rs service running
Because:
- Locally the sync service wasn't running.
- We couldn't test sync flows against a local sync server
- There's a new version of the sync server that uses rust

This Commit:
- Sets up a dockerfile for syncstorage-rs that is tailored to fxa's local stack
- Updates pm2 sync job to run this docker container and initialize its databases.
- Updates firefox config/profile to point at this service
- Starts firefox up with the FIREFOX_DEBUGGER=true env.
  - Useful for debugging sync
  - Useful for debugging FxA web channel messages
2024-08-27 09:57:20 -07:00
julianpoyourow 730969a647
chore(payments-stripe): cleanup manager co-dependencies
Because:

- We don't want managers importing managers

This commit:

- Removes the manager co-dependencies within payments-stripe
2024-08-27 16:35:55 +00:00
Julian Poyourow 1f21b561f9
Merge pull request #17384 from mozilla/fxa-10175
fix(shared-cms): re-enable caching decorator
2024-08-27 09:25:13 -07:00
Julian Poyourow 1cadefc176
Merge pull request #17448 from mozilla/FXA-10173
feat(cart): validate promo code prior to cart actions
2024-08-27 09:23:22 -07:00
Lauren Zugai 26c0f5b993
Merge pull request #17458 from mozilla/FXA-9478
feat(glean): Add 2FA 'these authentication apps' link click event, adjust DataBlock data attrs
2024-08-27 11:04:33 -05:00