Ghost/core/server
Hannah Wolfe 0799f02e80
Rewritten HTMLErrorRenderer w/o asset helper & template
refs: 2af9e2e12

- This new HTMLErrorRenderer is borrowed heavily from finalHandler
   - This is the module that express uses to render errors if there is no custom errorhandler
- It just renders a really simple html page wrapping err.stack in a <pre>
   - This results in a nicely formatted, but unstyled error page
- I also updated BasicErrorRenderer to use the same res.statusCode + err.stack pattern rather than err.message

Note: This error renderer is _only_ used for renderering errors on the `/ghost/` route
 - In almost all cases, errors here are rendered by Ember
 - The only error that can be rendered here is a missing template error see: 2af9e2e12
2021-11-24 13:01:06 +00:00
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
api Added Tenor contentFilter setting to config 2021-11-16 17:42:26 +00:00
data Added perf-improving PRAGMAs in testing mode 2021-11-19 10:47:21 +00:00
lib Renamed getLocalFileStoragePath 2021-11-05 17:17:18 +04:00
models Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
services Added missing async/await calls 2021-11-23 17:24:50 +00:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Rewritten HTMLErrorRenderer w/o asset helper & template 2021-11-24 13:01:06 +00:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
update-check.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00