John Whitlock
c7daae5a6b
Switch from husky v8 to v9
2024-03-01 09:30:29 -06:00
dependabot[bot]
5975fbefa9
Bump husky from 9.0.6 to 9.0.11
...
Bumps [husky](https://github.com/typicode/husky ) from 9.0.6 to 9.0.11.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v9.0.6...v9.0.11 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 09:30:28 -06:00
John Whitlock
8513199bbe
Merge pull request #4455 from mozilla/fix-always-logged-in-mpp-3644
...
MPP-3644: Update more uses of `useIsLoggedIn`
2024-02-29 22:28:52 +00:00
John Whitlock
64ce79a179
Use profileData.isLoading
2024-02-29 16:18:04 -06:00
John Whitlock
0c55db8b10
Update more uses of useIsLoggedIn
...
Previously, this returned true or false, but now it returns "unknown",
"logged-in", or "logged-out". Update some more checks that expected a
boolean.
2024-02-29 13:32:03 -06:00
Rafee Rahman
d9780cddbf
Merge pull request #4454 from mozilla/MPP-2758
...
MPP-2758: Fix email wrapper to display tracker report link correctly
2024-02-29 17:22:02 +00:00
John Whitlock
0c7976e218
Add test for the trackers link
2024-02-29 11:03:46 -06:00
Rafee
a1839b51ad
Fix email wrapper condition to display tracker report link correctly
2024-02-29 11:23:35 -05:00
John Whitlock
2d6448f247
Merge pull request #4451 from mozilla/MPP-3106
...
MPP-3106: Fix "Learn more" tooltip going off screen on mobile devices
2024-02-28 21:56:16 +00:00
John Whitlock
227697a391
Merge pull request #4453 from mozilla/fix-early-ga-mpp-3762
...
MPP-3762: Handle order issue with `useGoogleAnalytics`
2024-02-28 21:41:02 +00:00
John Whitlock
c5c749ffbc
Handle order issue with useGoogleAnalytics
...
In some cases (such as npn dev:mocked, or occasionally in the browser),
the function initGoogleAnalytics is run before useGoogleAnalytics has
replaced globalEnableGoogleAnalytics. This changes
globalEnableGoogleAnalytics to start with a default of null. When it is
not yet a function, gaIsInitialized is changed instead, to provide a
default of True for the singletonHook.
2024-02-28 14:56:27 -06:00
John Whitlock
41052dec7d
Merge pull request #4434 from mozilla/expand-tests-mpp-3352
...
MPP-3352: Expand, refactor tests
2024-02-28 16:55:05 +00:00
John Whitlock
f077585b0c
Rename assert_email_equals
...
Rename the top-level function to assert_email_equals_fixture, and the
test case method to check_sent_email_matches_fixture. Rearrange and
rename the parameters for consistency.
2024-02-28 10:43:56 -06:00
Rafee
897221f32b
Fix tooltip out of bounds on mobile devices
2024-02-27 14:57:13 -05:00
John Whitlock
ef785eb8aa
Replace get_details_from_mock_send_raw_email()
...
Replace
SNSNotificationTestBase.get_details_from_mock_send_raw_email()
with
SNSNotificationTestBase.assert_email_equals()
which extracts the sent email from mock_send_raw_email and calls the
helper assert_email_equals(). This implicitly checks headers and
content, so remove redundant checks.
Optionally check the source and destination values passed to
send_raw_email() as well.
2024-02-27 09:59:15 -06:00
John Whitlock
8b480f731e
Return annotations for new tests
2024-02-27 09:20:45 -06:00
John Whitlock
d6fcb95468
Publish more subscription helpers
2024-02-27 09:08:02 -06:00
John Whitlock
b394680a60
Merge pull request #4448 from mozilla/dependabot/pip/dockerflow-2024.2.0
...
Bump dockerflow from 2024.1.0 to 2024.2.0
2024-02-26 21:32:11 +00:00
John Whitlock
9abc5211a3
Merge pull request #4447 from mozilla/dependabot/pip/cryptography-42.0.5
...
Bump cryptography from 42.0.4 to 42.0.5
2024-02-26 21:31:37 +00:00
John Whitlock
65fefe2590
Merge pull request #4449 from mozilla/dependabot/pip/boto3-1.34.49
...
Bump boto3 from 1.34.46 to 1.34.49
2024-02-26 21:31:10 +00:00
John Whitlock
27552505d4
Merge pull request #4445 from mozilla/dependabot/pip/typing-stubs-061eed9d87
...
Bump the typing-stubs group with 2 updates
2024-02-26 21:31:01 +00:00
John Whitlock
1604b5c646
Merge pull request #4446 from mozilla/dependabot/pip/sentry-sdk-1.40.5
...
Bump sentry-sdk from 1.40.4 to 1.40.5
2024-02-26 21:30:51 +00:00
John Whitlock
cb85292a35
Merge pull request #4444 from mozilla/dependabot/pip/testing-libraries-cffe165f11
...
Bump the testing-libraries group with 1 update
2024-02-26 21:29:48 +00:00
John Whitlock
ffdfbc24c3
Merge pull request #4440 from mozilla/dependabot/npm_and_yarn/dotenv-16.4.5
...
Bump dotenv from 16.4.2 to 16.4.5
2024-02-26 21:28:50 +00:00
Vincent
8c74306a3b
Merge pull request #4442 from mozilla/dependabot/npm_and_yarn/stripe/stripe-js-3.0.5
...
Bump @stripe/stripe-js from 3.0.3 to 3.0.5
2024-02-26 14:27:21 +00:00
Vincent
24b0418d80
Merge pull request #4437 from mozilla/dependabot/npm_and_yarn/eslint-ca0947fcbe
...
Bump the eslint group with 3 updates
2024-02-26 10:27:44 +00:00
dependabot[bot]
47e18d8581
Bump the eslint group with 3 updates
...
Bumps the eslint group with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [eslint](https://github.com/eslint/eslint ).
Updates `@typescript-eslint/eslint-plugin` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/parser )
Updates `eslint` from 8.56.0 to 8.57.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 09:49:40 +00:00
dependabot[bot]
16e523b476
Bump @stripe/stripe-js from 3.0.3 to 3.0.5
...
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js ) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/stripe/stripe-js/releases )
- [Commits](https://github.com/stripe/stripe-js/compare/v3.0.3...v3.0.5 )
---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 09:02:33 +00:00
Vincent
c3bee69100
Merge pull request #4438 from mozilla/dependabot/npm_and_yarn/react-intersection-observer-9.8.1
...
Bump react-intersection-observer from 9.8.0 to 9.8.1
2024-02-26 08:52:51 +00:00
Vincent
9b3d7b0aea
Merge pull request #4441 from mozilla/dependabot/npm_and_yarn/sass-1.71.1
...
Bump sass from 1.71.0 to 1.71.1
2024-02-26 08:52:06 +00:00
Vincent
f3721c611b
Merge pull request #4443 from mozilla/dependabot/npm_and_yarn/msw-2.2.1
...
Bump msw from 2.1.7 to 2.2.1
2024-02-26 08:51:29 +00:00
Vincent
ef5b34430a
Merge pull request #4439 from mozilla/dependabot/npm_and_yarn/types/react-18.2.58
...
Bump @types/react from 18.2.56 to 18.2.58
2024-02-26 08:35:29 +00:00
dependabot[bot]
573e67f91e
Bump boto3 from 1.34.46 to 1.34.49
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.34.46 to 1.34.49.
- [Release notes](https://github.com/boto/boto3/releases )
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst )
- [Commits](https://github.com/boto/boto3/compare/1.34.46...1.34.49 )
---
updated-dependencies:
- dependency-name: boto3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:42:46 +00:00
dependabot[bot]
a3d4671aa8
Bump dockerflow from 2024.1.0 to 2024.2.0
...
Bumps [dockerflow](https://github.com/mozilla-services/python-dockerflow ) from 2024.1.0 to 2024.2.0.
- [Release notes](https://github.com/mozilla-services/python-dockerflow/releases )
- [Changelog](https://github.com/mozilla-services/python-dockerflow/blob/main/docs/changelog.rst )
- [Commits](https://github.com/mozilla-services/python-dockerflow/compare/2024.1.0...2024.2.0 )
---
updated-dependencies:
- dependency-name: dockerflow
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:42:36 +00:00
dependabot[bot]
607b47b4ac
Bump cryptography from 42.0.4 to 42.0.5
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 42.0.4 to 42.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...42.0.5 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:42:32 +00:00
dependabot[bot]
31ffb4c339
Bump sentry-sdk from 1.40.4 to 1.40.5
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.40.4 to 1.40.5.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.40.4...1.40.5 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:42:24 +00:00
dependabot[bot]
6487c104f5
Bump the typing-stubs group with 2 updates
...
Bumps the typing-stubs group with 2 updates: [boto3-stubs](https://github.com/youtype/mypy_boto3_builder ) and [botocore-stubs](https://github.com/youtype/botocore-stubs ).
Updates `boto3-stubs` from 1.34.44 to 1.34.49
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
Updates `botocore-stubs` from 1.34.44 to 1.34.49
- [Release notes](https://github.com/youtype/botocore-stubs/releases )
- [Commits](https://github.com/youtype/botocore-stubs/commits )
---
updated-dependencies:
- dependency-name: boto3-stubs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: typing-stubs
- dependency-name: botocore-stubs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: typing-stubs
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:42:16 +00:00
dependabot[bot]
88743a1d2e
Bump the testing-libraries group with 1 update
...
Bumps the testing-libraries group with 1 update: [coverage](https://github.com/nedbat/coveragepy ).
Updates `coverage` from 7.4.1 to 7.4.3
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.1...7.4.3 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: testing-libraries
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:41:33 +00:00
dependabot[bot]
c13bf136bc
Bump msw from 2.1.7 to 2.2.1
...
Bumps [msw](https://github.com/mswjs/msw ) from 2.1.7 to 2.2.1.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v2.1.7...v2.2.1 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:34:37 +00:00
dependabot[bot]
074032d2e6
Bump sass from 1.71.0 to 1.71.1
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.71.0 to 1.71.1.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.71.0...1.71.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:33:31 +00:00
dependabot[bot]
6672ca5fc2
Bump dotenv from 16.4.2 to 16.4.5
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 16.4.2 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.5 )
---
updated-dependencies:
- dependency-name: dotenv
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:32:48 +00:00
dependabot[bot]
5b91345fe0
Bump @types/react from 18.2.56 to 18.2.58
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.56 to 18.2.58.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:32:28 +00:00
dependabot[bot]
d251e626fd
Bump react-intersection-observer from 9.8.0 to 9.8.1
...
Bumps [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer ) from 9.8.0 to 9.8.1.
- [Release notes](https://github.com/thebuilder/react-intersection-observer/releases )
- [Commits](https://github.com/thebuilder/react-intersection-observer/compare/v9.8.0...v9.8.1 )
---
updated-dependencies:
- dependency-name: react-intersection-observer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 01:31:59 +00:00
John Whitlock
969d47d03b
Remove redundant premium_subscription()
2024-02-23 14:50:13 -06:00
John Whitlock
e025a7b81b
Add comment for mypy coverage exception
2024-02-23 14:37:40 -06:00
GitHub Actions — l10n sync
24f1fbf583
Merge in latest l10n strings
2024-02-23 00:05:25 +00:00
John Whitlock
04ebc50f73
Remove redundant error log
2024-02-22 13:29:04 -06:00
John Whitlock
cd923a242a
Add and expand email failure tests
...
Test more failure modes for incoming emails and Relay user replies.
Check log messages and emitted metrics.
2024-02-22 13:22:55 -06:00
John Whitlock
b81d984f70
Convert test to assertLogs instead of mock logger
2024-02-22 13:21:00 -06:00
John Whitlock
37fad034cb
Move replies tests to new test case
...
Split SNSNotificationTest into three parts:
- SNSNotificationTestBase - shared setup and helper functions
- SNSNotificationIncomingTest - tests for emails to Relay users
- SNSNotificationRepliesTest - test for email replies from Relay users
2024-02-22 13:17:28 -06:00