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

28725 Коммитов

Автор SHA1 Сообщение Дата
Barry Chen f9d8c28ef9
fix(metrics): add workaround for uid check in fxa-settings
Because:
 - the uid getter in fxa-settings could cause an error to be thrown (at
   least when the user has not signed in yet)

This commit:
 - adds a workaround to ignore the error for now
2023-10-12 11:30:27 -05:00
Ivo Plamenac 229c5077c3
Merge pull request #15905 from mozilla/fix-js-path-aliases
fix(auth): replace ts alias with relative paths
2023-10-11 15:49:53 -07:00
Reino Muhl 526605a091
fix(auth): replace ts alias with relative paths
Because:

* fxa-auth-server is failing to start up in build since TypeScript path
  aliases are still present in JavaScript files.

This commit:

* Replace ts path aliases in fxa-auth-server JS files, with relative
  paths.

Closes #
2023-10-11 18:15:13 -04:00
Ben Bangert afe3437807
Merge pull request #15856 from mozilla/FXA-8241-eligibilitymanager-create-getplaneligibility
feat: add getOfferingOverlap to eligibility manager
2023-10-11 11:44:51 -07:00
Ben Bangert 3ed06b3843
feat: add getOfferingOverlap to eligibility manager
Because:

* We want to determine whether a customer is eligible for a plan
  offering, and if so, which offering they are eligible for.

This commit:

* Adds the getOfferingOverlap method to the eligibility manager.

Closes FXA-8241
2023-10-11 11:14:00 -07:00
Valerie Pomerleau 943cfb913e
Merge pull request #15903 from mozilla/FXA-8331
fix(react): Signup submit can be enabled if password autofilled
2023-10-11 10:31:27 -07:00
Dan Schomburg 9f235c69e9
Merge pull request #15871 from mozilla/FXA-7994
task(auth): Add branding banner to emails
2023-10-11 10:20:17 -07:00
Valerie Pomerleau 0a30771882
fix(react): Make sure Signup submit can be enabled if password autofilled
Because:

* Submit button was not enabled if password field was autofilled by password manager, even if all form requirements met
* Validation was only happening if all inputs blurred

This commit:

* Change onBlur form validation mode to onChange
* Update related tests

Closes #FXA-8331
2023-10-11 09:54:46 -07:00
Reino Muhl c4c664eddc
Merge pull request #15901 from mozilla/fix-next-env-vars
feat(payments): rework nest config loader
2023-10-11 11:39:25 -04:00
dschom 5cb473a151
task(auth): Add branding banner to emails
Because:
- We want to add in email product messaging about the Mozilla account brand

This Commit:
- Adds a banner to all fxa emails with intended messaging
2023-10-11 08:35:33 -07:00
Valerie Pomerleau eb2fc57c05
Merge pull request #15839 from mozilla/FXA-6519-oauth
feat(react): Recreate oauth/signup functionality in React
2023-10-11 08:29:19 -07:00
Reino Muhl b3a81a4870
feat(payments): rework nest config loader
Because:

* Nest app config loader needs to support uppercase env vars

This commit:

* Adds support for uppercase env vars to Nest app config loader
* Update MySQLConfig to handle normalization
* Fixes issue loading l10n ftl files

Closes #

Co-authored-by: Ben Bangert <ben@groovie.org>
2023-10-11 09:47:27 -04:00
Valerie Pomerleau 8a1b4b9663
Merge pull request #15876 from mozilla/FXA-8370
feat(monitor): Add monitor terms of service to signin/signup
2023-10-10 16:36:17 -07:00
Valerie Pomerleau af30479508
Merge pull request #15834 from mozilla/FXA-7552-HCM
fix(fxa-settings): High-contrast mode improvements
2023-10-10 16:30:40 -07:00
Valerie Pomerleau 39df757ca6
feat(monitor): Add monitor terms of service to signin/signup
Because:

* We want to show links to Monitor's terms of service and privacy notice when users are signing in/signing up from that relying party

This commit:

* Add MoniterClientMixin to conditionally display terms
* Add monitor terms of service to index, sign_in_password, sign_up_password, set_password, force_auth when the oauth client id corresponds to Monitor's
* Add same terms to React version of the same pages
* Add l10n strings for rebrand to Mozilla account
* Update tests
* Disable 123Done client id from pocket-migration-mixin (intended for testing)

Closes #FXA-8370
2023-10-10 16:16:46 -07:00
Valerie Pomerleau 9defa8ddcf
feat(react): Recreate oauth/signup functionality in React
Because:

* We're converting our legacy Backbone pages to React by extending fxa-settings

This commit:

* Enable oAuth integration handling for the React Signup flow, including redirecting the user to the relying party after signup
* Update error handling for the ConfirmSignupCode page
* Update local storage utilities to allow updating the verification state of an account
* Create ConfirmSignupCode container component

Closes #FXA-6519

Co-authored-by: Lauren Zugai <lauren@zugai.com>
2023-10-10 15:41:08 -07:00
Dan Schomburg 87f59720fc
Merge pull request #15873 from mozilla/fix-margin-bottom-in-nonmobile-context
bug(settings): Margin bottom should only be applied to mobile
2023-10-10 15:40:51 -07:00
dschom d45d30e756
bug(settings): Margin bottom should only be applied to mobile
Because:
- When the brand messaging banner is enabled, there's  extra white space at the bottom of the doc in the react flows.

This Commit:
- Only applies the extra margin for mobile flows with a sticky banner in the footer.
2023-10-10 14:07:42 -07:00
Reino Muhl 159e31b3c9
Merge pull request #15893 from mozilla/fxa-8445-ga-consent-denied
feat(payments): google analytics deny consent
2023-10-10 16:52:31 -04:00
Ankita Shrivastava 7818badcab
Merge pull request #15895 from mozilla/intern-outdated-files-deletion
delete files
2023-10-10 16:19:06 -04:00
Ankita Shrivastava 5a5e8e7b49
test(functional): remove old functional intern tests and files
This reverts commit 375aeb0570c8b7ecf424079153637d9c36824d32.
2023-10-10 15:54:48 -04:00
Lisa Chan c3f4a9249b
Merge pull request #15891 from mozilla/disable_test
test(functional): Disable failing test on stage
2023-10-10 15:41:32 -04:00
Vijay Budhram bf878354f9
Merge pull request #15885 from mozilla/dependabot/npm_and_yarn/google-auth-library-9.1.0
chore(deps): bump google-auth-library from 8.8.0 to 9.1.0
2023-10-10 14:02:42 -04:00
Reino Muhl 0aafc34a78
feat(payments): google analytics deny consent
Because:

* SubPlat currently does not request cookie consent from customers,
  therefore Google Analytics should be configured to not use any
  cookies.

This commit:

* Sets Google Analytics default consent to denied for all consent types.
* Renames testMode to debugMode, and reassigned it to the gtag
  debug_mode option, which is what it was originally intended for.

Closes #FXA-8445
2023-10-10 13:22:50 -04:00
Ankita Shrivastava 3733a298f5
Merge pull request #15887 from mozilla/smoke-test-fixes
test(functional): fix post verify account recovery test
2023-10-10 13:16:14 -04:00
Vijay Budhram 369e5c0573
Merge pull request #15888 from mozilla/fxa-8443
chore(web): Revert webpack mode override
2023-10-10 12:59:26 -04:00
Bryan Olsson f050a90669
Merge pull request #15889 from bcolsson/l10n-fix-term
chore(l10n): Replace string with brand term in autmatedEmailRecoveryKey
2023-10-10 09:43:07 -07:00
Valerie Pomerleau 99396b5f33
fix(fxa-settings): High-contrast mode improvements
Because:

* Usability of fxa-settings components can be improved in HCM mode

This commit:

* Use currentColor fill and/or stroke for icons in AlertBar, Banner, BentoMenu, BrandMessaging, HeaderLockup to ensure they are visible in Windows HCM
* Add transparent borders to AlertBar, Banner, DataBlock, FlowContainer, Modal, Tooltip component to improve usability in HCM mode
* Wrap tab fence around inner components of AlertBar and Modal to ensure focus outline in HCM is wrapped around component vs small rectangle before inner component

Closes #FXA-7552
2023-10-10 09:16:05 -07:00
Reino Muhl 7f567b2b5c
Merge pull request #15886 from mozilla/fix-payments-next-envs
fix(payments): config file missing in build
2023-10-10 11:28:32 -04:00
Reino Muhl 9a4a92aa9a
fix(payments): config file missing in build
Because:

* payments-next heartbeat api returns 500 due to missing config file.

This commit:

* Reorders nest-typed-config loaders so that fileLoader is first, which
  results in an empty .env.json file to be included in the
  payments-next build.
* Adds normalization step to config loader, for non-string values.

Closes #
2023-10-10 11:03:13 -04:00
Lisa Chan 8b73056dcf
test(functional): Disable failing test on stage 2023-10-10 09:00:23 -04:00
Reino Muhl 128357cca7
Merge pull request #15862 from mozilla/fxa-8225-get-locale
feat(contentful): add contentful get locale
2023-10-09 20:23:15 -04:00
Wil Clouser 4cddf92193
Merge pull request #15890 from mozilla/FXA-7658-investigate-implement-sentry-cron-monitoring
feat: add sentry monitoring to cron jobs
2023-10-09 16:48:46 -07:00
Wil Clouser afb38dd4dd
feat: add sentry monitoring to cron jobs
Because:

* We don't have good cron visibility

This commit:

* Adds sentry logging

Closes FXA-7658
2023-10-09 16:20:11 -07:00
Reino Muhl 90984ca1b0
feat(contentful): add contentful get locale
Because:

* Need to determine a valid locale configured in Contentful.

This commit:

* Add getLocale method to ContentfulClient to determine locale using
  locales available in Contentful and defaulting to 'en' as a fallback.

Closes #FXA-8225
2023-10-09 19:07:14 -04:00
Reino Muhl f5418ca173
Merge pull request #15798 from mozilla/fxa-8228-move-l10n-shared
feat(libs): move fxa-shared/l10n to libs/shared/l10n
2023-10-09 18:46:03 -04:00
Bryan Olsson 2894b5c464
chore(l10n): Replace string with brand term in autmatedEmailRecoveryKey
Because:

* The ftl string uses Mozilla instead of the term -brand-mozilla and is causing a linting error

This commit:

* Replaces the string with the correct brand term
2023-10-09 14:30:10 -07:00
Ankita Shrivastava 9e6771f78f
test(functional): fix post verify account recovery test 2023-10-09 15:56:22 -04:00
Vijay Budhram d9fb9c1a6a
chore(web): Revert webpack mode override 2023-10-09 15:51:45 -04:00
Dan Schomburg 1b34045e8e
Merge pull request #15868 from mozilla/FXA-8376
bug(auth): Random email non-delivery
2023-10-09 09:48:27 -07:00
Dan Schomburg 464d2772a9
Merge pull request #15872 from mozilla/FXA-8429
bug(content): Missing & duplicate brand metrics
2023-10-09 09:46:28 -07:00
dependabot[bot] c81819f7c0
chore(deps): bump google-auth-library from 8.8.0 to 9.1.0
Bumps [google-auth-library](https://github.com/googleapis/google-auth-library-nodejs) from 8.8.0 to 9.1.0.
- [Release notes](https://github.com/googleapis/google-auth-library-nodejs/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-nodejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-nodejs/compare/v8.8.0...v9.1.0)

---
updated-dependencies:
- dependency-name: google-auth-library
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 06:51:35 +00:00
Lauren Zugai fd716ec3f3
Merge pull request #15881 from mozilla/dependabot/npm_and_yarn/storybook/addon-essentials-7.4.6
chore(deps-dev): bump @storybook/addon-essentials from 7.1.1 to 7.4.6
2023-10-06 14:45:18 -05:00
Lauren Zugai 66d07340a7
Merge pull request #15877 from mozilla/dependabot/npm_and_yarn/testing-library/user-event-14.5.1
chore(deps-dev): bump @testing-library/user-event from 14.4.3 to 14.5.1
2023-10-06 14:44:26 -05:00
Valerie Pomerleau 1ee52fc12d
Merge pull request #15826 from mozilla/FXA-7669
feat(email): New and updated emails for recovery key flow
2023-10-06 11:33:16 -07:00
Lisa Chan 41ca3356c2
Merge pull request #15883 from mozilla/monitor_svg
chore(icon): Add new Monitor svg icon to CDN
2023-10-06 11:31:19 -04:00
Lisa Chan 8d6b9b8d20
chore(icon): Add new Monitor svg icon to CDN 2023-10-06 10:56:47 -04:00
dependabot[bot] 1f04d5c6a1
chore(deps-dev): bump @storybook/addon-essentials from 7.1.1 to 7.4.6
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) from 7.1.1 to 7.4.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.6/code/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 06:53:01 +00:00
dependabot[bot] 99b12f6544
chore(deps-dev): bump @testing-library/user-event from 14.4.3 to 14.5.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.4.3 to 14.5.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.4.3...v14.5.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 06:47:50 +00: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