Ghost/core/client
Christopher Giffard 9c8b02949a 500 Series Error Handling & Stack Traces
Fixes #825

- Changes the way the error middleware is delivered in server.js, moving
  all the logic back into errorHandling.js
- Alters error logging to use console.error (probably more appropriate) instead
  of console.log
- Changes error tests to accomodate for these alterations
- Alters user-error and error hbs templates to incorporate stack traces
- Adds additional styling for error pages to accomodate stack traces
- Added logic to parse and deliver formatted stack traces

Notes:
======

- Jslint gets in the way of the regex I've got to use to parse the stack.
  (It cites 'security reasons' which are not relevant in this case.)
  I needed to add a condition to relax it at the top of errorHandling.js
- The stack trace should probably be added as a partial, but I figured it
  was out of scope for this PR.
2013-09-19 13:01:20 +10:00
..
assets 500 Series Error Handling & Stack Traces 2013-09-19 13:01:20 +10:00
helpers rename helpers paginate -> pagination, dateFormat -> date 2013-08-22 20:42:54 +01:00
models Complete Modal Refactor 2013-09-17 20:40:19 +01:00
tpl Default user image and cover 2013-09-18 15:54:52 +01:00
views Fixing tag save event 2013-09-18 20:04:39 +01:00
init.js Clear notifications before adding new ones 2013-09-18 02:48:38 +01:00
markdown-actions.js Complete Modal Refactor 2013-09-17 20:40:19 +01:00
mobile-interactions.js Added FastClick to assumed globals for tests 2013-09-17 22:57:40 +01:00
router.js Adds slashes to urls 2013-09-17 02:39:55 +01:00
toggle.js Corrected settings menu bugs 2013-09-17 20:59:35 -05:00