0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services
Naz 99a2f12cb7 Simplified yaml parser to have fewer dependencies
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings
refs 5715aa2155 (diff-48644be82a9b957e5e627bf7b0f2f73cdb1d63851ffad68c7c178c5886495bb8R52-R57)

- Simplified the yaml parser implementation to take in a single parameter, this move will allove to simplify the logic in the route settings + opens a door to unify handling with redirects yaml parsing!
- We loose the "filename" from the error information but that was a generic "routes.yaml" anyway and would be thrown only when somebody uploaded a routes.yaml file (no real added value).
- The debug statement should be moved to contain related filepath+other info to the calling module instead
- An additional error handler was borrowed from the redirects yaml parsing logic that was introduced in a referenced commit - it still makes sense to keep it for routes.yaml configuration
2021-09-30 17:29:43 +02:00
..
adapter-manager
auth Lazily instantiated express-session middleware 2021-07-14 17:19:53 +01:00
bulk-email Fixed segmented email content being sent to all members 2021-09-10 11:36:42 +01:00
email-analytics Swapped to American English spellings 2021-08-09 13:35:01 +04:00
integrations Removed method complexity in integrations API controller 2021-09-16 14:23:48 +03:00
invitations
invites Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
jobs
mail Fixed linting issue 2021-09-17 16:51:52 +01:00
mega 🐛 Fixed Outlook incorrect text styling and ' appearing in email content (#13313) 2021-09-17 08:39:29 +01:00
members Added initial support for Offers 1-day version 2021-09-28 15:10:27 +02:00
notifications Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
permissions Removed usages of new Error & i18n in legacy code 2021-07-01 12:53:06 +01:00
posts Removed i18t dependency from post scheduling service 2021-09-04 07:49:11 +12:00
public-config Added a feature flag to the oauth login feature 2021-07-20 23:16:49 +02:00
redirects Removed remaining use of i18n from core/frontend 2021-09-28 11:58:29 +01:00
route-settings Simplified yaml parser to have fewer dependencies 2021-09-30 17:29:43 +02:00
settings Refactored secret settings util functions 2021-09-21 23:05:57 +12:00
themes Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
webhooks Removed method complexity in webhooks API controller 2021-09-17 10:11:23 +03:00
custom-theme-settings.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
limits.js Fixed error when hostLimits are undefined 2021-07-23 20:46:52 +04:00
oembed.js Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
users.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
xmlrpc.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00