stable

Clone or download

Read-only

User can upload files with the modal

part of story #10722 Modal new document for files How to test: Upload a file with new document modal: - file already exists: error is displayed in modal - max_size_exceeded: error is displayed in modale - backend crash during upload: new item modal is closed and new modal is displayed with crash reason - no error: file is uploaded => progress bar is diaplyed in table => user is able to abort upload Change-Id: Ic195045516709224f1778cf35c4fbd2fd62a7508

Modified Files

Name
M plugins/document/scripts/document/api/rest-querier.js +3 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropInCurrentFolder.vue +7 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/MaxSizeDragndropErrorModal.vue +7 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/NewItem/NewItemModal.vue +14 −2 Go to diff View file
A plugins/document/scripts/document/components/Folder/NewItem/Property/FileProperties.vue +95 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/NewItem/TypeSelector.vue +10 −2 Go to diff View file
M plugins/document/scripts/document/constants.js +2 −1 Go to diff View file
M plugins/document/scripts/document/po/fr.po +5 −2 Go to diff View file
M plugins/document/scripts/document/po/template.pot +4 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.js +43 −23 Go to diff View file
M plugins/document/scripts/document/store/getters.js +14 −16 Go to diff View file
M plugins/document/scripts/document/store/getters.spec.js +20 −28 Go to diff View file