Ghost/core/server/services
Aileen Nowak 6e117e63fb 🐛 Fixed gscan errors not caught for corrupted zips
closes TryGhost/Support#426
refs TryGhost/gscan#106
needs TryGhost/gscan#107

GScan can return errors, which was not handled in our theme validator and caused Ghost to crash completely. GScan will now return an Ignition error when its not able to read the `.zip` file.

e. g.: `{"errors":[{"message":"Failed to read zip file","context":"tife.zip","errorType":"ValidationError","errorDetails":"invalid relative path: ../tife/"}]}`
2018-05-16 10:20:30 +08:00
..
apps Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
auth Replace knex.transaction by models.Base.transaction 2018-05-03 11:44:32 +02:00
channels 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
mail Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
permissions Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
route 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
rss Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
settings 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
themes 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00
url 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
slack.js 🐛 Fixed emoji in Slack test notification not rendered by Discord (#9313) 2017-12-15 11:19:37 +07:00
webhooks.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc.js Fixed error message for failed xmlrpc request 2018-05-10 10:16:34 +01:00