Ghost/ghost
Kevin Ansfield 923a9a1cd6
🐛 Fixed default email recipients always being "everyone" rather than matching post visibility (#16247)
refs https://github.com/TryGhost/Ghost/issues/16125

The previous fix for incorrect recipient details being shown when
re-sending a failed email introduced another bug that prevented the
"Match post visibility" default recipients setting from working.

- the server always sets `post.emailSegment` to `'all'` for new posts so
the publish flow recipient filter logic that checked for
`post.emailSegment` being present always defaulted to `'all'` rather
than falling back to the selected default recipients setting
- when a post has been published but the email failed it will have its
`newsletter` value set so we can use that as a check for using the
`post.emailSegment` value in place of the default recipients setting
2023-02-08 11:41:48 +00:00
..
adapter-manager Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
admin 🐛 Fixed default email recipients always being "everyone" rather than matching post visibility (#16247) 2023-02-08 11:41:48 +00:00
api-framework Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
api-version-compatibility-service Limited integrations triggering version mismatch emails 2023-01-30 17:57:14 +08:00
audience-feedback Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
bootstrap-socket Added version information to log lines 2023-01-20 13:18:44 +01:00
constants Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
core Added initial basic milestone emails in-memory repository (#16216) 2023-02-07 12:47:35 +02:00
custom-theme-settings-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
data-generator Improved data-generator tooling 2023-02-06 10:42:56 +00:00
domain-events Added version information to log lines 2023-01-20 13:18:44 +01:00
dynamic-routing-events Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
email-content-generator Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
email-events Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-service Added short lived caching to email batch body (#16233) 2023-02-07 11:30:37 +01:00
email-suppression-list Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
express-dynamic-redirects Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
i18n Update dependency i18next to v22.4.9 2023-01-19 17:58:16 +00:00
importer-revue Updated Koenig packages 2023-01-04 11:27:39 +01:00
job-manager Improved job manager unit test stability 2023-01-30 17:26:38 +01:00
link-redirects 🐛 Fixed throwing errors during link redirects 2023-02-08 11:50:22 +01:00
link-replacer Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
link-tracking Lowered threshold for link-tracking coverage 2023-01-04 11:27:39 +01:00
magic-link Update dependency @types/nodemailer to v6.4.7 2023-01-03 18:46:57 +01:00
mailgun-client Improved handling large amounts of email events (#16189) 2023-01-26 16:06:15 +01:00
member-attribution Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
member-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
members-api Added version information to log lines 2023-01-20 13:18:44 +01:00
members-csv Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
members-events-service Added version information to log lines 2023-01-20 13:18:44 +01:00
members-importer Added version information to log lines 2023-01-20 13:18:44 +01:00
members-ssr Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
milestone-emails Added initial basic milestone emails in-memory repository (#16216) 2023-02-07 12:47:35 +02:00
minifier Update dependency terser to v5.16.3 2023-02-04 04:47:16 +00:00
mw-api-version-mismatch Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-cache-control Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-error-handler Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-session-from-token Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-update-user-last-seen Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-vhost Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
oembed-service Update metascraper to v5.33.7 2023-01-31 10:16:20 +01:00
offers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
package-json Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
payments Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
portal Update sentry-javascript monorepo to v7.36.0 2023-02-06 10:26:32 +01:00
referrers Added new urls to known referrers list for source attribution 2023-01-20 18:13:05 +05:30
security Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
session-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
settings-path-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
staff-service Fixed the test 2023-01-30 12:45:28 +00:00
stats-service Update dependency knex to v2.4.2 2023-01-23 13:00:53 +01:00
stripe Added version information to log lines 2023-01-20 13:18:44 +01:00
tiers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
update-check-service Added version information to log lines 2023-01-20 13:18:44 +01:00
verification-trigger Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
version-notifications-data-service Limited integrations triggering version mismatch emails 2023-01-30 17:57:14 +08:00
webmentions Mentions ordering (#16215) 2023-02-02 13:25:09 +08:00