0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary
Kevin Ansfield 932def7e6d Fixed replacement strings showing when viewing sent emails
refs https://github.com/TryGhost/Ghost/pull/12232

When viewing sent emails in Ghost's admin area, it displays the `html` field directly from the `email` relation loaded with the post. Since the `mega` refactor we now store raw content in that field rather than sanitized "preview" content so it's necessary to modify the API output to match the old behaviour.

- use the API output serializers to parse replacements in email content and replace with the desired fallback or empty string
2020-09-29 17:39:22 +01:00
..
utils Fixed replacement strings showing when viewing sent emails 2020-09-29 17:39:22 +01:00
actions.js
authentication.js
authors-public.js
config.js Added new portal config flag 2020-09-17 19:40:34 +05:30
db.js
email-preview.js Refactor mega service to use stored email content and batch/recipient records 2020-09-29 17:17:54 +01:00
email.js
identities.js
images.js
index.js
integrations.js
invites.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
labels.js
mail.js
members.js Added support for filtering Members CSV exports 2020-09-23 14:29:15 +01:00
memberSigninUrls.js Updated getMagicLink call to handle Promise return 2020-09-18 10:49:18 +01:00
membersStripeConnect.js
notifications.js
oembed.js
pages-public.js
pages.js
posts-public.js
posts.js Changed member limit to be DRY & use raw query 2020-07-26 20:49:30 +01:00
preview.js
redirects.js
roles.js
schedules.js
session.js
settings-public.js
settings.js 🐛 Fixed email verification mails not sent 2020-09-24 23:39:25 +05:30
site.js
slack.js
slugs.js
tags-public.js
tags.js
themes.js
users.js
webhooks.js Added check for parent integration_id when creating a webhook 2020-09-24 15:09:51 +12:00