Ghost/core/server/api/canary
Kevin Ansfield a09a6caf5f Fixed in-browser email preview showing raw replacement strings
no issue

- fixed plaintext templates being word wrapped and breaking across replacement strings
- updated `postEmailSerializer.serialize` to return the email template plus a replacements array that can be used for creating Mailgun-like recipient variable objects or more straight forward replacement
- updated email-preview API to work with the replacements data to show fallback data when previewing
2020-04-20 12:24:05 +01:00
..
utils Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
authors-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
config.js Read billing url from config and add to API 2020-03-16 13:22:04 +01:00
db.js Corrected 404 handling 2020-02-10 12:41:39 +00:00
email-preview.js Fixed in-browser email preview showing raw replacement strings 2020-04-20 12:24:05 +01:00
email.js Moved toJSON calls to serializer 2019-11-25 12:04:58 +07:00
identities.js Removed typo 2020-03-25 12:28:57 +00:00
images.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
index.js Implemented externally verifiable identity tokens 2020-03-16 13:22:04 +01:00
integrations.js Returned Promise.reject instead of throwing error 2020-04-13 16:13:33 +01:00
invites.js Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00
labels.js Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00
mail.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
members.js Fixed handling of empty created_at dates in member CSV imorts 2020-03-09 20:12:02 +08:00
memberSigninUrls.js Added member login resource to Admin API (#11607) 2020-02-27 11:48:02 +08:00
notifications.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
oembed.js Returned error upon oembed catch 2020-04-15 10:35:22 +01:00
pages-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
pages.js Returned Promise.reject instead of throwing error 2020-04-13 16:13:33 +01:00
posts-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
posts.js Returned Promise.reject instead of throwing error 2020-04-13 16:13:33 +01:00
preview.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
redirects.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
session.js 💡Migrated session controllers for compatibility with "frame" (#11101) 2019-09-11 11:28:55 +02:00
settings-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
settings.js Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
site.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
slack.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
slugs.js Remove External Apps 2020-03-20 10:40:22 +00:00
tags-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
tags.js Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00
themes.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
users.js Replaced use of Bluebird return method from knex code 2020-04-07 10:49:12 +01:00
webhooks.js Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00