0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/utils/fixtures
kirrg001 8680099765 🎨 gscan 1.1.0 & optimisations
refs #8222

- differentiate between errors and fatal errors
- use gscan errors in theme middleware
- Adds a new `error()` method to `currentActiveTheme` constructor which will return the errors we receive from gscan
- In middleware, if a theme couldn't be activated because it's invalid, we'll fetch the erros and send them to our error handler. We also use a new property `hideStack` to control, if the stack (in dev mode and if available) should be shown or the gscan errors (in prod mode, or in dev if no stack error)
- In our error handler we use this conditional to send a new property `gscan` to our error theme
- In `error.hbs` we'll iterate through possible `gscan` error objects and render them.
- remove stack printing
- stack for theme developers in development mode doesn't make sense
- stack in production doesn't make sense
- the stack is usually hard to read
- if you are developer you can read the error stack on the server log
- utils.packages: transform native error into Ghost error
- use `onlyFatalErrors` for gscan format and differeniate fatal errors vo.2
- optimise bootstrap error handling
- transform theme is missing into an error
- add new translation key
- show html tags for error.hbs template: rule
2017-06-06 13:07:50 +07:00
..
app Cleanup indentation now JSCS can see it 2016-06-11 20:25:15 +01:00
config 🎨 config optimisations (#7921) 2017-02-02 12:46:30 +00:00
csv 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
data feature: define redirects in a custom file (#7719) (#7945) 2017-02-06 15:32:40 +01:00
export/lts 🎨 Support LTS imports (#8498) 2017-06-04 11:53:00 +02:00
filter-param 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02:00
images 🎨 Blog icon improvements (#8260) 2017-04-11 13:40:17 +02:00
import 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
theme/partials
themes 🎨 gscan 1.1.0 & optimisations 2017-06-06 13:07:50 +07:00
data-generator.js 🎨 rename language to locale and use en as default locale (#8490) 2017-05-31 16:05:49 +01:00
example.js
test.hbs