stable
Clone or download
Read-only
Part of story #10721: upload documents with drag'n drop Drop an empty file. It should be accepted. Drop a non empty file. It should be accepted as well (like before). Same with upload via the modale. Change-Id: I0be3d599f139c72f97dac2557b9881d9040bead5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanItemCreator.php | +16 | −1 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemsResource.php | +25 | −2 | Go to diff View file |
A | plugins/docman/include/REST/v1/EmptyFileToUploadFinisher.php | +63 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/FilePropertiesPOSTRepresentation.php | +1 | −1 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +20 | −9 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTest.php | +27 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions-helpers/upload-file.js | +5 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +12 | −15 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +19 | −0 | Go to diff View file |