Ghost/core/server/middleware
Hannah Wolfe d08926c347 Allow maintenance mode to be set in config.js (#7124)
refs #6976, #7019, #7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
2016-07-25 21:28:35 +02:00
..
api Version matching middleware 2016-06-09 17:08:44 +01:00
auth-strategies.js Check client is enabled before auth 2015-11-04 16:59:56 +00:00
auth.js Subscribers: Model, API & CSV import/export 2016-05-11 10:28:10 +02:00
cache-control.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
check-ssl.js SSL redirects 2015-09-25 12:02:14 +02:00
cors.js Add config URLS to CORS whitelist 2016-04-19 13:39:24 +01:00
decide-is-admin.js Moves the decideIsAdmin into its own file. 2015-06-09 14:02:22 -07:00
index.js Allow maintenance mode to be set in config.js (#7124) 2016-07-25 21:28:35 +02:00
labs.js Subscribers: Model, API & CSV import/export 2016-05-11 10:28:10 +02:00
maintenance.js Allow maintenance mode to be set in config.js (#7124) 2016-07-25 21:28:35 +02:00
oauth.js Harvest server side strings 2015-12-19 12:12:16 +01:00
redirect-to-setup.js Middleware Refactor 2015-08-04 14:53:58 +02:00
serve-shared-file.js Prep shared API URL util for use on external sites 2015-12-15 11:50:46 +00:00
spam-prevention.js move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
static-theme.js allow manifest.json in theme root (#6986) 2016-06-29 14:44:01 -06:00
theme-handler.js Revert "fix: ensure we initialise activeTheme on bootstrap (#6950)" 2016-07-21 12:26:16 +01:00
uncapitalise.js Uncapitalise respects subdirectories & no encoding 2015-09-24 18:52:30 +01:00