Ghost/core/server
Hannah Wolfe 254e0f0597 Improve API error handling
close #2757, refs #5286

- moves error formatting from api/index into errors lib
- moves error handling from api/index into its own middleware
- adds extra middleware for method not allowed which captures all unsupported routes
2015-06-15 10:08:30 +01:00
..
api Improve API error handling 2015-06-15 10:08:30 +01:00
apps Merge pull request #5027 from felixrieseberg/iss4847 2015-03-19 10:47:01 -06:00
config Refactor URL builder 2015-06-02 21:50:17 +01:00
controllers Merge pull request #5361 from ErisDS/fix-contexts 2015-06-03 16:28:16 -05:00
data Merge pull request #5377 from ErisDS/url-refactor 2015-06-06 09:50:20 -05:00
email-templates Fixed email copy grammatical errors 2014-09-29 16:04:02 +02:00
errors Improve API error handling 2015-06-15 10:08:30 +01:00
events Refactor sitemaps to use centralised events 2015-04-05 19:32:18 +01:00
helpers rewrites default private.hbs for new zelda styles 2015-05-29 06:25:32 -06:00
middleware Improve API error handling 2015-06-15 10:08:30 +01:00
models Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
permissions Removes objectTypeModelMap to reduce circular dependency. 2014-10-27 20:48:22 -04:00
routes Improve API error handling 2015-06-15 10:08:30 +01:00
storage Merge pull request #4820 from phated/file-storage 2015-03-20 08:55:19 +00:00
utils Merge pull request #4783 from claydiffrient/master 2015-06-04 11:54:23 +01:00
views Fixup broken error page styles 2015-06-08 12:14:58 +01:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
mail.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
require-tree.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
update-check.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00