Ghost/core/server/middleware
Katharina Irrgang 663b410fd4 feature: upload validation middleware (#7208)
no issue

- Source out validation logic into a upload validation middleware for all upload types (csv, image, subscribers). This unit can be later used for Ghost 1.0 as a pre validation core unit. 
- More usage of route tests than controller tests. These are use case tests, a use case only changes if the product changes
2016-08-18 20:25:51 +01:00
..
api Version matching middleware 2016-06-09 17:08:44 +01:00
validation feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +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 feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01: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