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

30722 Коммитов

Автор SHA1 Сообщение Дата
Reino Muhl ab8ae37229
feat(next): update payments-next build and restart
Because:

- Starting and restarting payments-next takes a long time due to always
  building the app first, which isn't necessary during development.
- When changes are made to NestApp or its dependencies, these are not
  hot reloaded by Next.js, requiring a full Next.js restart.

This commit:

- Adopt Nx plugin for Next.js which more closely aligns with Next.js
  standard dev commands.
- Retained Nx Next.js executors for build, since it more closely fits
  into the current FxA build and deploy CI logic.
- Added a watcher to NestApp which calls a NestApp restart api, only
  available in development, to restart the NestApp on any changes.
- Adds a function to get the NestApp, instead of a const, thus ensuring,
  in dev mode, the latest NestApp is always returned.

Closes #FXA-9706
2024-06-18 10:45:04 -04:00
Vijay Budhram 50b07e32f7
Merge pull request #17123 from mozilla/fxa-9835
fix(emails): Dont use `session.isSessionVerified` in modal since it causes re-render
2024-06-13 15:53:43 -04:00
Lisa Chan 334e008d41
Merge pull request #17083 from mozilla/FXA-9778
fix(libs): Refactor Stripe Plan usage to Stripe Price
2024-06-13 14:50:44 -04:00
Lisa Chan f05d73021b
fix(libs): Refactor Stripe Plan usage to Stripe Price 2024-06-13 14:23:35 -04:00
Ben Bangert 19ee3491b1
Merge pull request #17128 from mozilla/fix/gcloud-feature
fix: use working gcloud feature in dev container
2024-06-13 10:50:00 -07:00
Ben Bangert d7bcd689a0
fix: use working gcloud feature in dev container
Because:

* The other gcloud feature require arch linux, ours is debian based.

This commit:

* Changes the gcloud feature to one that works with debian based systems.
2024-06-13 17:24:59 +00:00
Valerie Pomerleau 6f75e060f1
Merge pull request #17108 from mozilla/FXA-9806
fix(settings): Clear VerifyTotp error on backspace, delete, paste
2024-06-13 09:44:39 -07:00
Ben Bangert 0ed0cc193b
Merge pull request #17127 from mozilla/chore/additional-dev-tooling
chore: add mycli, redis, and gcloud to devcontainer
2024-06-13 09:40:17 -07:00
Ben Bangert b3f43579d9
chore: add mycli, redis, and gcloud to devcontainer
Because:

* It's useful having some CLI tooling for the fxa stack installed by
  default in the devcontainer.

This commit:

* Adds mycli, redis, and gcloud to the devcontainer.
2024-06-13 16:15:30 +00:00
Ben Bangert 8379281c7a
Merge pull request #17122 from mozilla/FXA-9858
chore: Remove deprecated VSCode extension recommendations
2024-06-13 08:32:44 -07:00
Ben Bangert c87a154909
Merge pull request #17115 from mozilla/feat/docker-in-docker-devcontainer
feat: add devcontainer for Docker in Docker development
2024-06-12 14:28:39 -07:00
Jonathan Almeida 487b1ba35a
chore: Remove deprecated VSCode extension recommendations 2024-06-12 16:59:27 -04:00
Valerie Pomerleau f48ba0c80a
Merge pull request #17120 from mozilla/FXA-9800
fix(functional-tests): Reset password with code tests failing on stage
2024-06-12 12:07:21 -07:00
Vijay Budhram 68a745e997
fix(emails): Dont use `session.isSessionVerified` in modal since it causes a rerender 2024-06-12 13:38:48 -04:00
Katrina Anderson 5f8e8bdcd9
Merge pull request #17114 from mozilla/FXA-9851
refactor(functional-tests): consolidate email waiting and increase timeout
2024-06-12 11:38:37 -04:00
Ben Bangert e2e7f0fe4e
feat: add devcontainer for Docker in Docker development
Because:

* We want a consistent development environment for all developers.

This commit:

* Adds a devcontainer configuration for Docker in Docker development.
2024-06-12 15:27:00 +00:00
Valerie Pomerleau 6567838694
fix(functional-tests): Reset password with code tests failing on stage
Because:

* Two tests were failing smoke tests

This commit:

* Fix the PKCE test by using the correct url by environment (removed stray localhost)
* Fix failing assertion that was causing email check to fail

Closes #FXA-9800
2024-06-11 17:25:03 -07:00
Lauren Zugai e10d285e61
Merge pull request #17118 from mozilla/quick-fxalogin-revert
revert(sync): Revert await fxaLogin in signin utils
2024-06-11 19:02:05 -05:00
Lauren Zugai 719cf02bff
revert(sync): Revert await fxaLogin in signin utils
Because:
* Adding 'await' in front of this waits for the browser to respond. We thought this may fix an intermittent sync signin issue, but instead hangs

This commit:
* Reverts this change
2024-06-11 18:34:32 -05:00
Vijay Budhram e52b22c1a4
Merge pull request #17117 from mozilla/fxa-9836-v2
fix(login): remove webchannel login when at signin token code load
2024-06-11 16:23:14 -04:00
Vijay Budhram 5274875e08
fix(login): remove webchannel login when at signin token code load 2024-06-11 15:56:04 -04:00
Vijay Budhram e22ff7ef14
Merge pull request #17111 from mozilla/add-eslint-slow
fix(eslint): Add no test.slow() eslint rule to functional tests
2024-06-11 10:50:38 -04:00
Lisa Chan ac8a3195aa
Merge pull request #17101 from mozilla/FXA-9746
fix(fxa-shared): Prioritize price metadata over product metadata
2024-06-11 10:45:26 -04:00
Reino Muhl 541129daa1
Merge pull request #17109 from mozilla/pull-legal-docs
chore(docs): Latest legal PDFs
2024-06-11 09:59:06 -04:00
Katrina Anderson b3f058f08e
refactor(functional-tests): consolidate email waiting and increase timeout
Because:

* we hypothesis that the cause of intermittence in functional tests may be due to uncleared emails and inadequate wait times

This commit:

* consolidates waiting for emails to the EmailClient
* decouples the EmailClient from POMS
* increases the default timeout from 15 to 45 seconds

Closes #FXA-9851
2024-06-11 09:41:32 -04:00
Pdf Bot 9ac4228b49
chore(docs): Latest legal PDFs 2024-06-11 08:18:52 -04:00
Dan Schomburg aa76ad200a
Merge pull request #17110 from mozilla/fxa-9836 2024-06-10 20:27:46 -07:00
Vijay Budhram 8b2feea293
fix(eslint): Add no test.slow() rule 2024-06-10 22:24:23 -04:00
Vijay Budhram 727d5b3a04
fix(totp): pass along signin state to totp view 2024-06-10 22:06:22 -04:00
Valerie Pomerleau 87be0c1f43
Merge pull request #17106 from mozilla/add-oauth-force-auth-to-react-xsignin-routes
add missing route to react signin routes
2024-06-10 15:06:38 -07:00
Valerie Pomerleau 6c6599dc93
fix(settings): Clear VerifyTotp error on backspace, delete, paste
Because:

* We want to clear the error when the code is edited

This commit:

* Clears the error message when the users clicks backspace, delete or pastes a new code

Closes #FXA-9806
2024-06-10 14:54:58 -07:00
Valerie Pomerleau d6ea5a3362
add missing route to react signin routes 2024-06-10 14:30:17 -07:00
Lauren Zugai 6eb5c55831
Merge pull request #17103 from mozilla/FXA-9837
fix(sync): Do not send fxaLogin on login submit when next page is 2FA
2024-06-10 15:09:30 -05:00
Dan Schomburg 4560b1c120
Merge pull request #17102 from mozilla/FXA-9826-take2
fix(settings): Support subplat redirectTo for force_auth route
2024-06-10 12:53:20 -07:00
Dan Schomburg c84930d5fe
Merge pull request #17104 from mozilla/FXA-9808-p2 2024-06-10 12:36:07 -07:00
dschom 939e15aad7
bug(settings): Provide correct value for service when verifying 2fa
Because:
- We noticed that gql queries in inline_totp_setup were failing
- The value for service wasn't passing validation
- The service name was being passed instead of the service id

This Commit:
- Passes the service identifier (aka the RPs client id) in for the service value.
- Uses the integration's 'getService' function to determine this value
2024-06-10 11:55:49 -07:00
Lauren Zugai bca172176e
fix(sync): Do not send fxaLogin on login submit when next page is 2FA
Because:
* Users are not signed in to Sync after entering their 2FA code

This commit:
* Prevents the fxaLogin web channel message from being sent up if the next page in the navigation flow is TOTP since we send it up on submit on that page

fixes FXA-9837
2024-06-10 13:46:04 -05:00
Lisa Chan d4780d74db
fix(fxa-shared): Prioritize price metadata over product metadata 2024-06-10 13:55:09 -04:00
Vijay Budhram e682d570e5
Merge pull request #17100 from mozilla/fxa-9838
fix(input): Show text keyboard for recovery code input
2024-06-10 13:27:41 -04:00
Valerie Pomerleau 45a339c7b2
fix(settings): Support subplat redirectTo for force_auth route
Because:

* Subplat subscriptions page sometimes redirects to force_auth and we need to pass params to this page as well as oauth/force_auth

This commit:

* Update router.js to route force_auth and oauth/force_auth to react
* Only pass redirectTo to navigation handler if integration is web

Closes #FXA-9826
2024-06-10 10:26:54 -07:00
Vijay Budhram c1cd08f326
fix(input): Show text keyboard for recovery code input 2024-06-10 12:36:47 -04:00
Lauren Zugai cde378a085
Merge pull request #17097 from mozilla/session-signin-token-fix
fix(react): Address signin_token_code invalid token error + totp check
2024-06-08 09:32:09 -05:00
Dan Schomburg 6bac87d213
Merge pull request #17098 from mozilla/FXA-9826
fix(signin): Fix redirect to /subscriptions after signin
2024-06-07 17:42:20 -07:00
Valerie Pomerleau 61698366c9
fix(signin): Fix redirect to /subscriptions after signin
Because:

* Redirect back to /subscriptions after signin was not working

This commit:

* Pass the redirectTo as search param
* Validate the redirectTo and if valid navigate there after signin

Closes #FXA-9826
2024-06-07 17:03:18 -07:00
Lauren Zugai 55b2eb2f4b
fix(react): Address signin_token_code invalid token error + totp check
Because:
* Users would be taken to the 2FA page from signin_token_code when they hadn't yet verified 2FA
* There's an edgecase at least in Sync signin causing an invalid token code on this page

This commit:
* Checks for totp verified instead of totp exists
* Uses the sessionToken passed into the component instead of useSession, which was causing console errors

fixes FXA-9836
2024-06-07 18:03:55 -05:00
Dan Schomburg e74a3c4b8e
Merge pull request #17093 from mozilla/FXA-9802 2024-06-07 12:14:54 -07:00
dschom 89cc6f893f
bug(event-broker): Recently added profile change events were being rejected
Because:
- The events were rejected because the 'ts' field was missing
- In auth server this added in by the logger, so it wasn't initially detected

This Commit:
- Adds the ts field to all profileDataChange events emitted by admin-server
- Updates the DTO support additional optional fields
2024-06-07 11:36:43 -07:00
Lauren Zugai 38bf0d62fe
Merge pull request #17090 from mozilla/FXA-9791
fix(react): Send missing piece of fxaLogin web channel message for Sync login
2024-06-07 12:40:33 -05:00
Dan Schomburg 223a87e97d
Merge pull request #17091 from mozilla/add-test-for-v1-ks-login
task(functional-tests): Add test showing that v1 ks passwords continue to work after upgrade.
2024-06-07 10:35:23 -07:00
dschom 73e5ab0acd
task(functional-tests): Add test showing that v1 ks passwords continue to work after upgrade. 2024-06-07 09:52:28 -07:00