0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/client/tests
Kevin Ansfield 260963e6b1 Replace jQuery-based uploader.js with ember components
no issue
- adds `gh-image-uploader` that handles image uploads in a fully ember fashion and with no dependency on `uploader.js`
- adds `gh-image-uploader-with-preview` that can fully replace the old `gh-uploader`
- replace uses of `gh-uploader` in PSM & TSM with `gh-image-uploader-with-preview`
- updates the editor preview image handling to use the new `gh-image-uploader-with-preview` component
- updates the image upload modal to use `gh-image-uploader` (utilises the `saveButton=false` flag which means the preview has to be handled externally to avoid auto-replacement when typing a URL)
- removes all old `uploader.js` related code
- adds custom `RequestEntityTooLargeError` and `UnsupportedMediaTypeError` errors to our `ajax` service
2016-04-05 12:03:20 +01:00
..
acceptance Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
helpers deps: ember-cli@2.4.0 2016-03-01 12:49:28 +00:00
integration Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
unit Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
.jscsrc Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
.jshintrc Set up ember-cli-mirage and update existing acceptance tests 2015-11-03 15:35:58 +00:00
index.html deps: ember-cli@2.3.0 2016-02-16 12:32:48 -06:00
test-helper.js Increase timeout in ember tests 2015-10-20 16:00:16 +01:00