0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Naz ba964c549f Moved route settings "getter" to the backend
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings

- Frontend is not meant to know about the underlying source of the "routes" configuration, so any reads/edits/validations are being moved into a backend service. This should also simplify the coupling of the backend with the frontend where the latter will get a JSON blob with all needed configuration during the boot
- Nother problem the "get" method had was hiding an underlying function it was doing - reading the file from the filesystem SYNCRONOUSLY. It might be a thing we need to do during the "web" app initialization, but there's no clear need to do this in a sync fassion during the bootup for example. Also having a more explicit name should help :)
2021-09-28 04:59:41 +13:00
..
adapters Swapped to American English spellings 2021-07-27 12:15:19 +04:00
api Reworked routeSettings service public API 2021-09-28 04:59:41 +13: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 Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
views
web Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00