Ghost/ghost/admin/app/controllers
Kevin Ansfield 508a473b43 validate file uploads against "accept" mime-type before uploading (#214)
closes https://github.com/TryGhost/Ghost/issues/7144
- allow the `accept` attr of `gh-file-uploader` and `gh-image-uploader` to be specified
- allows a `validate` action to be passed into `gh-image-uploader` and `gh-file-uploader` components that runs after a file is selected and before the upload starts
- adds a default `validate` action to `gh-image-uploader` and `gh-file-uploader` that triggers the normal `UnsupportedFileType` error when the selected file's mime-type does not match the `accept` attribute
- adds mime type validation to labs importer (basic implementation, should be replaced with uploader components once they have been refactored)
2016-08-22 05:45:33 -06:00
..
editor convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
settings validate file uploads against "accept" mime-type before uploading (#214) 2016-08-22 05:45:33 -06:00
setup more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
team Introducing Concurrency (#147) 2016-08-11 07:58:38 +01:00
about.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
application.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
error.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
post-settings-menu.js Introducing Concurrency (#147) 2016-08-11 07:58:38 +01:00
posts.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
reset.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
setup.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00
signin.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
signup.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
subscribers.js more shimming of controllers (#110) 2016-07-06 20:47:30 +01:00