0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/client/app/components/modals
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
..
base.js remove more usage of Ember.on 2016-01-19 10:00:44 -06:00
copy-html.js
delete-all.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
delete-post.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
delete-tag.js
delete-user.js
invite-new-user.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
leave-editor.js
markdown-help.js
re-authenticate.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
transfer-owner.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
upload-image.js Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00