0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/services
Hannah Wolfe c6ae3c30d8 Moved content-version middleware onto api app
closes: https://github.com/TryGhost/Toolbox/issues/319

- at the moment, content-version is only set if one of our endpoints touches the request
  - this was demonstrated in the e2e tests, where many of the tests that set accept-version did not receive accept-version
- by moving the middleware out of the http module and onto the api app we ensure it's always done
- I put the code in the api-version-compatibility service to keep it all co-located
- ideally we will refactor that service slightly so it only exposes middleware
2022-05-02 19:05:14 +01:00
..
adapter-manager
api-version-compatibility Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00
auth Renamed passwordreset body object to password_reset 2022-04-28 15:37:11 +01:00
bulk-email Added Sentry error capture for failed email update after sending is complete 2022-02-08 18:36:14 +00:00
email-analytics Prevent an event-processing error if there is no timezone setting 2022-03-02 13:58:26 +01:00
integrations
invitations
invites
jobs
mail
mega 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
members Added member endpoints for managing newsletter subscriptions (#14624) 2022-04-28 17:14:17 +05:30
newsletters Wired up LimitService to NewsletterService (#14602) 2022-04-27 17:44:16 +01:00
notifications
offers Fixed same redirectManager used in offer service between tests (#14340) 2022-03-24 10:18:52 +01:00
permissions
posts 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
public-config 🐛 Fixed config API not returning boolean 2022-01-20 18:25:41 +02:00
redirects
route-settings Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00
settings Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
stats Replaced stats service with @tryghost/stats-service (#14527) 2022-04-21 14:57:07 +01:00
stripe Cleaned up output errors during tests 2022-04-05 18:17:47 +08:00
themes Switched gscan to validate against v5 set of rules 2022-05-02 20:56:25 +08:00
url Removed versioned confg from URL Service 2022-04-28 15:35:28 +01:00
webhooks 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
custom-theme-settings.js
limits.js
nft-oembed.js
oembed.js Added missing message string 2022-03-21 09:07:54 +00:00
slack.js Replaced schema.isPost in slack service /w custom fn 2022-04-05 14:24:42 +01:00
twitter-embed.js
users.js Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
xmlrpc.js