0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/middleware
Katharina Irrgang 3ed009ac7b feature: define redirects in a custom file (#7719) (#7945)
refs #7707

- be able to add a custom redirect file into the content folder
- define redirects as JSON format

The redirects feature is already present in the LTS branch.
I was not able to cherry-pick over, too many changes or conflicts.
Creating a PR to ensure 1. tests pass and 2. overview of code changes.
I had to add an example active theme to our test fixture utils, because otherwise Ghost will complain when forking Ghost.
2017-02-06 15:32:40 +01:00
..
api 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
validation Blog icon validations (#7893) 2017-01-26 10:01:52 +01:00
brute.js 🎨 optimisations for brute (#7867) 2017-01-23 22:44:39 +01:00
cache-control.js
error-handler.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
ghost-locals.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
labs.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
log-request.js chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
maintenance.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
pretty-urls.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
redirect-to-setup.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
redirects.js feature: define redirects in a custom file (#7719) (#7945) 2017-02-06 15:32:40 +01:00
serve-favicon.js 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
serve-shared-file.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
static-theme.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
theme-handler.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
uncapitalise.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
url-redirects.js feature: define redirects in a custom file (#7719) (#7945) 2017-02-06 15:32:40 +01:00