1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-22 10:21:36 +03:00
Ghost/core/test/unit/middleware
Hannah Wolfe 63723aa36a 🎨 Move settings cache & cleanup settings API ()
closes 

🔥 Remove API-level default settings population
- This is a relic!
- We ALWAYS populate defaults on server start therefore this code could never run.
- This was a lot of complicated code that wasn't even needed!!

🎨 Move settings cache
- Move settings cache to be its own thing
- Update all references
- Adds TODOs for further cleanup

🎨 Create settings initialisation step
- Create new settings library, which will eventually house more code
- Unify the interface for initialising settings (will be more useful later)
- Reduce number of calls to updateSettingsCache
2017-02-27 16:53:04 +01:00
..
api 🔥 remove forceAdminSSL and urlSSL, add admin url () 2017-02-03 18:13:22 +00:00
cache-control_spec.js 🎉 Middleware refactor: Give the API its own express App () 2016-10-11 10:36:00 +02:00
ghost-locals_spec.js Misc Middleware cleanup () 2016-10-10 21:14:32 +02:00
redirect-to-setup_spec.js Ghost OAuth () 2016-09-30 12:45:59 +01:00
serve-favicon_spec.js 🎨 Move settings cache & cleanup settings API () 2017-02-27 16:53:04 +01:00
serve-shared-file_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
static-theme_spec.js allow manifest.json in theme root () 2016-06-29 14:44:01 -06:00
theme-handler_spec.js 🔥 remove forceAdminSSL and urlSSL, add admin url () 2017-02-03 18:13:22 +00:00
uncapitalise_spec.js Misc Middleware cleanup () 2016-10-10 21:14:32 +02:00
url-redirects_spec.js 🎹 re-work url redirects () 2017-02-10 11:42:18 +00:00