0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Hannah Wolfe 9b54ed0689 Refactored apps to have access to a router
refs #9192

- Instead of `setupRoutes` function in apps that gets passed a router, there is now a registerRouter function as part of the proxy
- Moved towards a route service, which will know about all routes
- Using classes to abstract away shared behaviour

Notes:

- changing the app proxy didn't result in a test failure!
- structure of route service is totally new and may change a lot yet
2017-11-01 15:02:25 +00:00
..
adapters Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
admin Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
api Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
apps Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00
auth
config 🐛 Fixed redirects upload for various browsers/systems (#9042) 2017-09-22 21:57:43 +02:00
controllers Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
data Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
events
helpers Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
mail Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
middleware Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
models Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
permissions Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
public
services Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00
settings 🐛 Theme name is point number (#9184) 2017-10-26 13:54:18 +02:00
site Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00
themes Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
translations Improved password validation rules (#9171) 2017-10-26 11:01:24 +01:00
utils Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
views
analytics-events.js
app.js Rename blog -> site 2017-10-26 18:09:56 +01:00
errors.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
filters.js
ghost-server.js
i18n.js Improved the usage of missing translation keys (#9081) 2017-10-03 09:47:48 +02:00
index.js Moved apps to /services/ & moved individual tests (#9187) 2017-10-30 12:31:04 +00:00
logging.js
overrides.js
update-check.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00