0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/services
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
..
apps Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
auth Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
mail 🔒 Fixed remote command injection when using sendmail email transport 2021-09-17 16:46:51 +01:00
mega 🐛 Fixed unsubscribed members receiving email when a post is sent to all members (#13181) 2021-07-26 12:47:03 +01:00
members Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
notifications Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
permissions Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
routing Moved labs utlity to shared 2021-07-08 09:05:41 +01:00
rss Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
settings Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
sitemap 🐛 Fixed error in sitemap with >50k posts (#13317) 2021-09-17 11:13:42 +01:00
theme-engine Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
themes Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
url Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
labs.test.js Fixed labs service unit tests 2021-09-14 10:19:26 +01:00
slack.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
xmlrpc.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00