0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api/canary
Naz 15073bad29 Extracted post/page cache invalidation logic to service
refs https://github.com/TryGhost/Team/issues/949

- The code is exactly the same in six (!) places. It's beyond unmaintainable to add another line to any of these place, which will be needed for `email_only` handling.
- The newly created posts service is a temporary, slightly better solution that complies with codebase's best practice of extracting new services using class with DI pattern
2021-08-05 14:51:47 +04:00
..
utils Added clarifying comment to the email_only mapping 2021-08-05 19:44:35 +12:00
actions.js
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
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/page cache invalidation logic to service 2021-08-05 14:51:47 +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
roles.js
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