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

8358 Коммитов

Автор SHA1 Сообщение Дата
Valerie Pomerleau 8c8782ff8f
revert react signin full prod flag 2024-06-19 08:58:19 -07:00
Jonathan Almeida 75439904d0
Merge pull request #17137 from mozilla/FXA-9809
fix(metrics): Add Google and Apple signin telemetry
2024-06-18 15:07:22 -04:00
Jonathan Almeida 98d290768f
fix(metrics): Add Google and Apple signin metrics
Fixes FXA-9809, fixes FXA-9808.
2024-06-18 14:51:52 -04:00
Jonathan Almeida 1862dd6ec7
task(content): Add cirrus integration to Backbone
We fetch the experiments as a passthrough between the app and server
so we don't have to expose another service.

In this patch, we've also added the experiments to the sign-in page
context.

Co-authored-by: dschom <dschomburg@mozilla.com>
2024-06-18 09:55:34 -07:00
Vijay Budhram c16e4bcd57
Merge pull request #17139 from mozilla/fxa-9116
fix(metrics): Add metrics for `set_password` view, in glean and amplitude
2024-06-18 11:59:03 -04:00
Valerie Pomerleau 5405bec1ac
Merge pull request #17119 from mozilla/FXA-9519-take-2
task(functional-tests) : Update functional tests for react signin rollout
2024-06-18 08:31:26 -07:00
Valerie Pomerleau bc28b928e7
update fixme comments woth ticket numbers 2024-06-17 16:49:41 -07:00
Lauren Zugai 6202393479
fix(glean): Tweak view/submit CAD Glean events
Because:
* There are a couple of bugs we want to address

This commit:
* Swaps the event reason on choice submission, as they were inversed
* Fixes the Glean event map to cad_firefox_choice_view, as it referenced cad_firefox_view
* Only emits the 'cad_firefox_sync_device_submit' event when user reaches the "needs mobile" screen and clicks "Continue to sync"

fixes FXA-9834, fixes FXA-9833, fixes FXA-9832
2024-06-17 16:43:59 -05:00
Vijay Budhram a149eac05f
fix(metrics): Add metrics for `set_password` view, in glean and amplitude 2024-06-17 16:53:54 -04:00
Vijay Budhram 566c8ef9a1
Merge pull request #17129 from mozilla/fxa-9564
fix(metrics): always use the metrics flow data in `Metrics` model when redirecting in third party auth
2024-06-17 11:45:44 -04:00
Vijay Budhram 152be5bed3
fix(metrics): always use the metrics flow data in `Metrics` backbone when redirecting in third party auth 2024-06-17 10:28:58 -04:00
Valerie Pomerleau ea04e6157e
Merge pull request #17116 from mozilla/react-signin-with-force-auth-email
fix(content): Set email for force_auth with React signin
2024-06-14 15:03:27 -07:00
Lauren Zugai 25c21f7585
Merge pull request #17134 from mozilla/glean-bump
chore(deps): Upgrade Glean for glean-generate bug fix
2024-06-14 11:54:11 -05:00
Lauren Zugai 3975fa45e5
chore(deps): Upgrade Glean for glean-generate bug fix
Because:
* Our 'yarn glean-generate' command was failing with 'No module named 'pkg_resources', and this is fixed in latest Glean

This commit:
* Upgrades the package
2024-06-14 10:18:07 -05:00
Geoff Lankow 9c1f115486
Update client ID for Thunderbird to match stage server. 2024-06-12 21:34:28 +12:00
Valerie Pomerleau 2e3e94f225
fix(content): Set email for force_auth with React signin
Because:

* If the user reaches a page where they must reauth, for example when following a link from email, we want to suggest the provided email for signin instead of asking the user to re-enter their email (matching parity with backbone)

This commit:

* When reauth is required and there is a redirect to force_auth, set the email on the user model so it can be picked up when navigating to react
2024-06-11 09:42:09 -07: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 d6ea5a3362
add missing route to react signin routes 2024-06-10 14:30:17 -07: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
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
Reino Muhl a35fcdaab0
Merge pull request #17051 from mozilla/fxa-9707-no-prompt-replace-redirect
feat(oauth): prompt none redirect replace history
2024-06-05 12:17:44 -04:00
Vijay Budhram bc175137e5
Merge pull request #17070 from mozilla/fxa-9768
feat(crypto): Update webpack config to use vendored crypto relier
2024-06-04 18:38:15 -04:00
Vijay Budhram 9c65c93c34
feat(crypto): Update webpack config to use vendored crypto relier 2024-06-04 17:52:36 -04:00
Reino Muhl e2707929f3
Merge pull request #17043 from mozilla/add-partial-stack-startup-scripts
feat(many): add partial stack startup scripts
2024-06-04 13:41:04 -04:00
Reino Muhl 05d7265292
feat(many): add partial stack startup scripts
Because:

- During development it could be useful to start only parts of the stack
  needed for development on specific domains.

This commit:

- Provides additional stack startup options to only start specific parts
  of the stack, by using nx projects and tags.

Closes #FXA-9771
2024-06-04 11:41:51 -04:00
Lauren Zugai 78941c699c
Merge pull request #17013 from mozilla/FXA-9595
feat(metrics): Add Glean view events on supp_allow and auth_allow
2024-06-04 09:47:50 -05:00
Ben Bangert 8771178ee3
feat: vendor fxa-crypto-relier as crypto-relier
Because:

* We want to incorporate the fxa-crypto-relier library into the Firefox
  Accounts codebase and deprecated its webextension functionality.

This commit:

* Adds the fxa-crypto-relier library to the Firefox Accounts codebase.

Closes FXA-9741
2024-06-03 14:03:11 -07:00
Reino Muhl 3fe6c243d0
feat(oauth): prompt none redirect replace history
Because:

- Prompt none redirect keeps /authentication/* in session history
  resulting in awkward behavior when the user uses the back button.

This commit:

- Updates redirect logic to use `replace()`, to replacing the current
  resource with the provided redirect URI.

Closes #FXA-9707
2024-05-31 16:36:44 -04:00
Lauren Zugai 5f6ae6e1a9
Merge pull request #17018 from mozilla/FXA-9698
feat(a11y): Improve a11y for CAD/pair flow UX updates
2024-05-29 13:37:14 -05:00
Vijay Budhram 43e3091bab
Merge pull request #16909 from mozilla/dependabot/npm_and_yarn/ts-loader-9.5.1
chore(deps-dev): bump ts-loader from 8.4.0 to 9.5.1
2024-05-29 11:11:33 -04:00
Lauren Zugai ceba6f0376
feat(a11y): Improve a11y for CAD/pair flow UX updates
Because:
* We want keyboard and screen reader users to have a similar experience to sighted users

This commit:
* Updates alt text for connect another device image
* Updates back button hover/focus/active state
* Adds a tabindex and focus to relevant header elements
* Removes unused old CAD image and class

closes FXA-9698
2024-05-28 15:08:03 -05:00
Lauren Zugai afbdf568c2
feat(metrics): Add Glean view events on supp_allow and auth_allow
Because:
* We want to move our metrics to Glean

This commit:
* Adds cad_approve_device_view and cad_mobile_pair_view events, updates yaml and tests

closes FXA-9603, closes FXA-9595
2024-05-24 10:59:57 -05:00
Valerie Pomerleau 931d4258cb
Merge pull request #16869 from mozilla/FXA-7890
feat(reset-password): Use OTP instead of link to start reset (front-end)
2024-05-22 10:19:07 -07:00
Lauren Zugai abc3eb1ca3
Merge pull request #16974 from mozilla/FXA-9609
feat(pair): Display new "Sync your Firefox experience" UI in Backbone
2024-05-22 12:01:41 -05:00
Lauren Zugai e7e9464258
feat(pair): Display new "Sync your Firefox experience" UI in Backbone
Because:
* We are making a few UX changes to the beginning of the desktop pairing flow

This commit:
* Adjusts the "pair" page when coming from CAD to display a new "Sync your Firefox experience" radio button question
* On selection and submission of this form, conditionally opens FF pair if they already have a mobile device, or displays the mobile QR code if they need to download and then on "continue" opens FF pair
* Adds a back button
* Adds new SVGs, ran through SVGO
* Adds 5x new front-end Glean metrics events

closes FXA-9609
closes FXA-9590
closes FXA-9591
2024-05-22 11:10:04 -05:00
Valerie Pomerleau 683c16c5b9
feat(reset-password): Use OTP instead of link to start password reset (front-end)
Because:

* We are implementing a new design for the reset password flow, using confirming codes instead of confirmation links

This commit:

* Enable reset password with code by default for local/dev environment
* Feature flag the new design by creating new copies of the pages and conditionally navigating to one or the other based on feature flag status
* Update the architectural pattern used for reset password to align with Signin/Signup including a container/presentation component pattern
* Removing the LinkValidator wrapper around the pages (no longer needed for reset with code)
* All new version of ConfirmResetPassword page with new design
* Update strings on the ResetPassword page
* Update email template to align with latest design (switching to AutomatedEmailNoAction partial, no prompt to change password)
* Update mail helper to only show the reset password code in inbox logs (better dev experience)
* Add unit tests for the new/updated pages
* Update LinkRememberPassword component to match new design

Closes #FXA-7890
2024-05-22 09:05:43 -07:00
Lauren Zugai ecada20513
feat(CAD): Update CAD page desktop copy and image in Backbone
Because:
* We are making a few UX changes to the beginning of the desktop pairing flow

This commit:
* Updates copy and images on CAD for desktop

closes FXA-9608
2024-05-22 09:41:41 -05:00
Valerie Pomerleau 699608ac3b
fix missing argument causing compilation issue 2024-05-21 16:26:26 -07:00
Barry Chen d678693f94
Merge pull request #16975 from akkomar/DENG-2407_missing_frontend_metrics
feat(metrics): send missing event metrics in Glean events ping from the frontend
2024-05-21 13:07:22 -05:00
dependabot[bot] 7aa3cab33a
chore(deps-dev): bump ts-loader from 8.4.0 to 9.5.1
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.4.0 to 9.5.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.4.0...v9.5.1)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 15:41:19 +00:00
Arkadiusz Komarzewski cb35248a37
feat(metrics): send missing event metrics in Glean events ping from the frontend 2024-05-21 16:48:45 +02:00
dschom 660e3bc1a4
task(auth-client, gql): Create auth client mode where headers are required.
Because:
- We have scenarios where headers are not being forwarded between the graphql-api and auth-server
- This means the client IP isn’t forwarded properly, and customs may block requests

This Commit:
- Creates mode in authClient that fails hard / fast when headers are not provided
- Uses this mode for the authClient instance in our graphql api
- Ensures that headers are always provided to the auth client
2024-05-20 09:20:01 -07:00
dependabot[bot] 8a3f98938c
chore(deps): bump @mozilla/glean from 4.0.0 to 5.0.1
Bumps [@mozilla/glean](https://github.com/mozilla/glean.js) from 4.0.0 to 5.0.1.
- [Release notes](https://github.com/mozilla/glean.js/releases)
- [Changelog](https://github.com/mozilla/glean.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mozilla/glean.js/compare/v4.0.0...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 07:46:38 +00:00
Ben Bangert 787c59f68e
chore: use direct lodash imports for smaller bundle size
Because:

* We'd like to shrink our bundle size in advance of getting tree shaking
  functional.

This commit:

* Replaces full lodash import with specific functions used.
2024-05-09 17:10:32 -07:00
Valerie Pomerleau 22bcd7007f
Merge pull request #16821 from mozilla/FXA-9417
fix(fxa-settings): Email shown on React Signin page should not change on submit
2024-05-07 13:27:31 -07:00
dependabot[bot] 621431165f
chore(deps): bump sass-loader from 14.1.0 to 14.2.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.1.0 to 14.2.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 06:52:28 +00:00
Vijay Budhram 598d276667
Merge pull request #16814 from mozilla/tarik-prs
Update CAD with oauth_webchannel_v1 and update mysql docker start command
2024-05-03 10:55:19 -04:00
Wil Clouser 7a00eed90e
Merge pull request #16854 from mozilla/dependabot/npm_and_yarn/htmlparser2-9.1.0
chore(deps-dev): bump htmlparser2 from 9.0.0 to 9.1.0
2024-05-03 06:51:52 -07:00
dependabot[bot] cb010ea19c
chore(deps-dev): bump htmlparser2 from 9.0.0 to 9.1.0
Bumps [htmlparser2](https://github.com/fb55/htmlparser2) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/fb55/htmlparser2/releases)
- [Commits](https://github.com/fb55/htmlparser2/compare/v9.0.0...v9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 07:07:36 +00:00
dependabot[bot] 4b8f353266
chore(deps): bump @babel/preset-typescript from 7.23.3 to 7.24.1
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.23.3 to 7.24.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 07:06:37 +00:00