Ghost/core/server/api/canary
Naz bd8a45d094 Extracted post edit logic to posts service
refs https://github.com/TryGhost/Team/issues/949

- The post model handling related to newsletter sending and email recipient filter logic were duplicating across v3/v4(canary) APIs and it made sense to extract it into a posts service.
- This will allow for a central place to handle about to land logic for email_only newsletter handling.
2021-08-05 15:18:29 +04:00
..
utils Added clarifying comment to the email_only mapping 2021-08-05 19:44:35 +12:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
authors-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
config.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
db.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
email-preview.js Added support for segmented email content in previews and test emails 2021-07-27 16:31:41 +01:00
email.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
identities.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
images.js Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
index.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
integrations.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
labels.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
mail.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
members.js Moved member importer declaration for readability 2021-07-23 16:58:46 +04:00
memberSigninUrls.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
membersStripeConnect.js Added precondition for Stripe Connect Admin API 2021-05-20 12:08:45 +01:00
notifications.js Fixed error being saved in notification settings 2021-06-03 12:54:09 +04:00
oembed.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages.js Extracted post/page cache invalidation logic to service 2021-08-05 14:51:47 +04:00
posts-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts.js Extracted post edit logic to posts service 2021-08-05 15:18:29 +04:00
preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
products-public.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
products.js Added support for benefits to Admin Products API 2021-06-29 16:53:15 +01:00
redirects.js Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
settings-public.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
site.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
slugs.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
snippets.js Removed use of i18n in snippets controllers 2021-07-19 11:08:55 +01:00
tags-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
themes.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
users.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
webhooks.js Moved i18n to shared 2021-05-04 13:03:38 +01:00