0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
Naz d4cd1bb865 Refactored ensure settings module into a class with DI
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings

- Ensure settings had only one method but would benefit from class+DI pattern before extracting it into an outside module.
- The logic is now also less coupled with "routes" and single source/destination paths. It's all configureable instead and might be reused if similar pattern is needed for example with redirect settings defaults.
2021-09-29 20:56:55 +02:00
..
adapters Swapped to American English spellings 2021-07-27 12:15:19 +04:00
api Added route for updating custom theme settings 2021-09-28 16:09:39 +01:00
data Moved theme settings permissions migration to correct Ghost version 2021-09-27 10:56:23 +01:00
lib Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
models Added custom_theme_settings table/model (#13327) 2021-09-23 11:51:18 +01:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Refactored ensure settings module into a class with DI 2021-09-29 20:56:55 +02:00
views
web Made custom-redirects middleware testable 2021-09-28 22:00:32 +02:00
analytics-events.js
ghost-server.js
notify.js
overrides.js
run-update-check.js
update-check.js