Ghost/core/test/unit
Fabien O'Carroll 2d92793b3f
Cleaned up image manipulator (#10282)
no-issue

* Added InternalServerError to resizeImage

* Added a redirect to original image if sharp is missing

* Improved naming - safeMethod -> method

* Updated process method to follow same sharp check pattern

* Refactor safety wrapper into makeSafe function

* Moved generic manipulation error to makeSafe function

* Refactored unsafeProcess to use unsafeResizeImage

* Removed CRAZY catch
2018-12-14 11:54:52 +07:00
..
adapters Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
api 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
apps Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Added members related db changes and models 2018-12-11 11:53:55 +07:00
helpers Added size attribute support to img_url helper (#10182) 2018-12-13 19:14:08 +07:00
lib Cleaned up image manipulator (#10282) 2018-12-14 11:54:52 +07:00
models 🐛 Striped invisible unicode characters from slugs (#10252) 2018-12-13 13:06:59 +01:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Added size attribute support to img_url helper (#10182) 2018-12-13 19:14:08 +07:00
web Supported dynamic image resizing for LocalFileStorage(#10184) 2018-12-13 20:25:24 +07:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00