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

28673 Коммитов

Автор SHA1 Сообщение Дата
Lisa Chan 8d6b9b8d20
chore(icon): Add new Monitor svg icon to CDN 2023-10-06 10:56:47 -04:00
Bianca Danforth 3649563569
Merge pull request #15870 from mozilla/FXA-8371
chore(auth): remove unused and invalid test Stripe API key
2023-10-05 19:17:48 -04:00
Lauren Zugai 88fcb9f0eb
Merge pull request #15858 from mozilla/FXA-8307
feat(react): Allow Signup 'Change email' to behave as expected
2023-10-05 17:38:54 -05:00
Lauren Zugai a0a0f58fe3
feat(react): Allow Signup 'Change email' to behave as expected
Because:
* Taking the user back to the Backbone index page on click of React "Change email"  when they had an account in local storage would force a redirect to /signin

This commit:
* Adds a new 'prefillEmail' parameter for the React app to pass back to the Backbone app to signify to Backbone that 'Change email' was clicked
* On the React side, remove existing 'emailFromContent' and 'email' params from link since 'email' alters behavior on the Backbone side and 'emailFromContent' alters behavior on the React side
* On the Backbone side, set this field as a new relier field (typical of how we handle/validate external params), and if it exists on the index page, don't redirect and instead, prefill the email to match parity

fixes FXA-8307
2023-10-05 17:19:05 -05:00
Vijay Budhram 355f637876
Merge pull request #15743 from tarikeshaq/disable-csp-for-local-dev
Allow FxA to run locally on safari by disabling csp locally
2023-10-05 15:37:41 -04:00
Ankita Shrivastava df2685bfac
Merge pull request #15861 from mozilla/create-smoke-test-suite
config(functional): remove content-server-remote steps for old tests
2023-10-05 14:37:10 -04:00
Ankita Shrivastava 8051e36ff8
config(functional): remove content-server-remote steps for old tests 2023-10-05 14:23:37 -04:00
Lisa Chan fd43506d54
Merge pull request #15875 from mozilla/monitor_icons
chore(icons): Add Monitor icons to CDN
2023-10-05 11:53:54 -04:00
Lisa Chan 1c8f53d11f
chore(icons): Add Monitor icons to CDN 2023-10-05 11:37:49 -04:00
Bianca Danforth 1807a775ac
chore(auth): remove unused and invalid test Stripe API key
Because:

* The value of this key doesn't matter for the purpose of this test.
* This key isn't valid.
* Using a key that looks like a valid key is causing us to get security alerts.

This commit:

* Replaces the key value in the test with a dummy string.

Relates to #FXA-8371
2023-10-04 18:10:43 -04:00
Dan Schomburg fd8cf3fba5
Merge pull request #15867 from mozilla/FXA-8423
bug(content): Page would not render properly in some cases
2023-10-04 10:45:27 -07:00
dschom bc5734d797
bug(content): Page would not render properly in some cases
Because:
- There appeared to be invalid html

This Commit:
- Fixes the mismatched <span>Learn more</a> html
- Fixes bad div tag
- Corrects className to be class.
- Adds extra fixes include for brandMessaging. It needs `{{{` not `{{`
2023-10-04 10:33:44 -07:00
Lauren Zugai 55c3223276
Merge pull request #15866 from mozilla/FXA-8427
fix(react): Pass query parameters on 'Remember your password' link
2023-10-04 12:03:40 -05:00
Dan Schomburg 264f32688e
Merge pull request #15865 from mozilla/fix-hidden-forgot-password
bug(content): Links hidden on some devices by banner
2023-10-04 09:52:33 -07:00
Lauren Zugai f8909636a7
fix(react): Pass query parameters on 'Remember your password' link
Because:
* Not passing query parameters causes OAuth and Sync flows to lose their query params (and context) on signin

This commit:
* Passes params and email param if present back to /signin or /force_auth

fixes FXA-8427
2023-10-04 11:40:55 -05:00
dschom 511a316e4d
bug(content): Links hidden on some devices by banner
Because:
- Forgot password could not be clicked on when banner was visible on iPhone SE
- Use a different account could not be clicked on when banner was visible on iPhone SE
- Similar problems exited in react flows

This commit:
- Adds margin to body bottom when page is in brand messaging mode
2023-10-04 09:09:02 -07:00
Lisa Chan fdf89309ea
Merge pull request #15864 from mozilla/dependabot/npm_and_yarn/postcss-8.4.31
chore(deps): bump postcss from 8.4.25 to 8.4.31
2023-10-04 09:27:52 -04:00
Lauren Zugai f0edf2d476
Merge pull request #15863 from mozilla/FXA-8419
fix(react): Prevent preemptive reset password email from sending with accountResetToken tweaks
2023-10-03 20:37:27 -05:00
dependabot[bot] 64678a9e82
chore(deps): bump postcss from 8.4.25 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 00:26:24 +00:00
Lauren Zugai 9c960ec2cb
fix(react): Prevent preemptive reset password email from sending with accountResetToken tweaks
Because:
* Users could land in a bad state if they first try to reset with an invalid recovery key since auth-server would send out a reset successful email and users would see an expired link

This commit:
* Passes accountResetToken from AccountRecoveryConfirmKey to CompleteResetPassword for reuse to prevent the expired state
* Properly passes up the 'accountResetWithRecoveryKey' option to prevent auth-server from landing in an unexpected state

fixes FXA-8419
2023-10-03 18:33:59 -05:00
Dan Schomburg cabf964869
Merge pull request #15854 from mozilla/FXA-8375
bug(profile): Fix server crash on unexpected response.
2023-10-02 13:27:54 -07:00
Vijay Budhram a84e0f33f9
Merge pull request #15857 from mozilla/fxa-no-referrer
chore(sonoma): always set `no-referrer` header test for sonoma
2023-10-02 16:14:36 -04:00
Vijay Budhram 18c7173522
chore(sonoma): always set `no-referrer` header, test for sonoma private mode 2023-10-02 12:23:35 -04:00
Ben Bangert 19e9c028b1
Merge pull request #15851 from mozilla/FXA-8405--contentfulmanager-create-manager-class-and-add-m
feat: add contentful manager and eligibility helper method
2023-10-02 08:31:25 -07:00
Ben Bangert d802413923
feat: add contentful manager and eligibility helper method
Because:

* We want to easily expose complete type-safe query methods to callers
  of the contentful client.

This commit:

* Adds a contentful manager class that exposes an eleigibility helper
  method along with appropriate types.

Closes FXA-8405

Co-authored-by: Julian Poyourow <7751154+julianpoy@users.noreply.github.com>
2023-10-02 08:18:13 -07:00
Reino Muhl d74a3aac6f
Merge pull request #15852 from mozilla/chore-update-storybook
chore(storybook): update storybook to latest
2023-09-29 15:23:50 -04:00
dschom 5efa994706
bug(profile): Fix server crash on unexpected response.
Because:
- If the response from the auth server contained no body. The profile server would crash and restart.

This Commit:
- Gracefully handles the scenario where the body is missing.
2023-09-29 09:44:19 -07:00
Reino Muhl 1d33dec1e2
chore(storybook): update storybook to latest
Because:

* Latest update to Next.js requires latest version of storybook packages
  to resolve `Error: Cannot find module
  'next/dist/shared/lib/router-context'`

This commit:

* Updates storybook packages to latest

Closes #
2023-09-29 12:19:39 -04:00
Vijay Budhram 40ea290efa
Merge pull request #15850 from mozilla/revert-sonoma
chore(sonoma): Revert fix for Sonoma and enable webpack development mode always
2023-09-28 14:44:57 -04:00
Vijay Budhram 79f775e28a
chore(sonoma): Revert fix for sonoma 2023-09-28 14:29:50 -04:00
Ben Bangert 07460611e8
Merge pull request #15848 from mozilla/dependabot/npm_and_yarn/systeminformation-5.21.9
chore(deps): bump systeminformation from 5.7.4 to 5.21.9
2023-09-27 21:35:42 -07:00
dependabot[bot] f39f3c7f51
chore(deps): bump systeminformation from 5.7.4 to 5.21.9
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.7.4 to 5.21.9.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.7.4...v5.21.9)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 02:39:28 +00:00
Ben Bangert 8b8c34e98c
Merge pull request #15847 from mozilla/dependabot/npm_and_yarn/get-func-name-2.0.2
chore(deps): bump get-func-name from 2.0.0 to 2.0.2
2023-09-27 19:30:59 -07:00
dependabot[bot] a504b7651e
chore(deps): bump get-func-name from 2.0.0 to 2.0.2
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 22:03:47 +00:00
Dan Schomburg 5f4a951112
Merge pull request #15846 from mozilla/disable-nx-cache-in-docker-build
task(CI): Disable nx cache in docker build
2023-09-27 12:32:12 -07:00
Dan Schomburg c57524f332
task(CI): Disable nx cache in docker build 2023-09-27 12:09:21 -07:00
Vijay Budhram 7aefe57153
Merge pull request #15845 from mozilla/fxa-8354-v2
chore(build): Add env to override the webpack build mode
2023-09-27 14:49:40 -04:00
Vijay Budhram 26b3097e37
chore(build): Sometimes we might need to run an unoptimized build in production, adds a config to expose this. 2023-09-27 14:16:16 -04:00
Valerie Pomerleau 3d2f76b558
Merge pull request #15768 from mozilla/deps-protobufjs-security
chore(deps): resolve protobufjs to a version >6.11.4
2023-09-27 10:49:11 -07:00
Lauren Zugai 83bdd070ad
Merge pull request #15812 from mozilla/FXA-7988
refactor(fxa-settings): L10n updates for Mozilla accounts branding
2023-09-27 12:38:07 -05:00
Dan Schomburg 580f855010
Merge pull request #15810 from mozilla/FXA-7991
task(payments): Update strings referencing 'Firefox accounts'
2023-09-27 10:33:07 -07:00
Dan Schomburg 5383349f19
Merge pull request #15838 from mozilla/FXA-7989
task(content): Add l10n strings for Mozilla account
2023-09-27 10:32:40 -07:00
Valerie Pomerleau 856980609e
chore(deps): resolve protobufjs to versions that don't allow prototype pollution
Because:

* Versions of protobufjs <6.11.4 and <7.2.4 are causing security alerts

This commit:

* Resolve protobufjs version 6 to use v6.11.4 or newer
* Resolve protobufjs version 7 to use v7.2.4 or newer
* Ran yarn set resolution manually to force yarn.lock update

Co-authored-by: Ben Bangert <ben@groovie.org>
2023-09-27 10:26:32 -07:00
Lauren Zugai 6da64bb0f2
refactor(fxa-settings): L10n updates for Mozilla accounts branding
Because:
* We want l10n strings that are changing from Firefox to Mozilla to be localized before launch

This commit:
* Creates new copies of FTL strings that contain Firefox branding references and replaces them with Mozilla branding

closes FXA-7988
2023-09-27 12:13:52 -05:00
Lauren Zugai 606ae371f2
Merge pull request #15841 from mozilla/FXA-8358
fix(react): Tweak integration clientInfo check for reset PW sync mobile
2023-09-27 11:55:21 -05:00
Lauren Zugai 237ecaf3b2
fix(react): Tweak integration clientInfo check for reset PW sync mobile
Because:
* When resetting through mobile sync, a blank page was rendered on complete reset PW attempt

This commit:
* Passes 'integration.data.service' into the get client info call if it's present, since this can sometimes contain the client ID

fixes FXA-8358
2023-09-27 11:22:07 -05:00
Wil Clouser d544c27380
Merge pull request #15843 from mozilla/FXA-7658-investigate-implement-sentry-cron-monitoring
feat(crons): adds sentry monitoring for a cron job
2023-09-27 09:21:36 -07:00
Dan Schomburg 04b8932401
Merge pull request #15820 from mozilla/FXA-8363
bug(settings): redirectTo can be rejected by password/forgot/send_code endpoint
2023-09-27 09:10:30 -07:00
Dan Schomburg 52fea00ec3
Merge pull request #15822 from mozilla/FXA-8352
bug(settings,content): UX defects with brand messaging banner
2023-09-27 08:54:45 -07:00
dschom 43d768f632
task(payments): Update strings referencing 'Firefox accounts'
Because:
- We want to start the localization effort of updating strings from Firefox to Mozilla

This Commit:
- Creates new l10n strings / ids using the Mozilla branding
2023-09-27 08:50:58 -07:00