Ghost/core/server/data/schema
Hannah Wolfe 59e2694acf Misc Middleware cleanup (#7526)
* 💄 Combine slashes & uncapitalise middleware

- these bits of middleware belong together
- ideally they should be optimised

* 🎨 Move ghostLocals out of themeHandler

GhostLocals sets several important values which are needed for every part of the application,
admin, api and theme. Therefore, it doesn't make sense for it to be bundled in the themeHandler.

* 🐛 Fix the uncapitalise middleware

- Updated to make correct use of req.baseUrl, req.path, req.url & req.originalUrl
- Updated the tests to actually cover our weird cases

* 🎨 Move ghostVersion logic out of config

* 💄 Group static / asset-related middleware together

* 🔥 Remove /shared/ asset handling

- The 5 files which are located in `/shared/` are all handled by individual calls to `serveSharedFile`
- Therefore this code is redundant
2016-10-10 21:14:32 +02:00
..
clients 🔥 remove postgres support 2016-09-20 15:59:34 +01:00
bootup.js Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00
checks.js Reorganise & rename server/data/ folder internals 2016-02-04 20:39:15 +00:00
commands.js 🎨 use nullable(false) for knex schema builder (#7511) 2016-10-07 10:17:39 +01:00
default-settings.json Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00
index.js 🎨 Preparation for going alpha (#7404) 2016-09-20 15:59:34 +01:00
schema.js 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
versioning.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00