Ghost/core/frontend/services
Nazar Gargol 5582d030e3 Added routes.yaml content checksum storage to the db
closes #11999

- When the routes.yaml file changes (manually or through API) we need
to store a checksum to be able to optimize routes reloads in the future
- Added mechanism to detect differences between stored and current routes.yaml hash value
- Added routes.yaml sync on server boot
- Added routes.yaml handling in controllers
- Added routes hash synchronization method in core settings. It lives in core settings
as it needs access to model layer. To avoid coupling with the frontend settings it accepts
a function which has to resolve to a routes hash
- Added note about settings validation side-effect. It mutates input!
- Added async check for currently loaded routes hash
- Extended frontend settings loader with async loader. The default behavior of the loader is
to load settings syncronously for reasons spelled in 0ac19dcf84
To avoid blocking the eventloop added async loading method
- Refactored frontend setting loader for reusability of  settings file path
- Added integrity check test for routes.yaml file
2020-09-10 10:54:57 +12:00
..
apps Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
redirects Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
routing 🐛 Fixed meta data when using tag data in collection (#12137) 2020-08-17 15:21:09 +01:00
rss Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
settings Added routes.yaml content checksum storage to the db 2020-09-10 10:54:57 +12:00
sitemap Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
themes Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
url Replaced nql-map-key-values with @nexes/nql (#11896) 2020-06-10 19:17:25 +02:00
proxy.js Revert "Refactored ghost_head to use isStripeConnected" 2020-06-11 20:21:24 +02:00