allow uploading of multiple files via web-interface
### Updated by @blackst0ne (2017-05-30) #### Design ##### Illustrations 1. [illustration-uploading-files.svg](/uploads/2eefb8f8f9f01582fec3327d0a162cdf/illustration-uploading-files.svg) 2. [illustration-uploading-files-failed.svg](https://gitlab.com/gitlab-org/gitlab-ce/uploads/578d635303836fabe0b9aa7a5e1b0923/illustration-uploading-files-failed.svg) ##### Dropdown - Use `Upload "files"` directly as `Upload files` means you can upload a single file and multiple files. ![files-upload](/uploads/8565ff4184368e6a96b8a37f21aca12b/files-upload.png) ##### Upload files modal - no files - Illustration: [illustration-uploading-files.svg](/uploads/2eefb8f8f9f01582fec3327d0a162cdf/illustration-uploading-files.svg) ![modal-default](/uploads/54b865b18e3f2bee64776495a5027633/modal-default.png) ##### Upload files modal - multiple files - If the file name is very long, the file name will be truncated. * Show the first and last text of the name and the extension name. - After clicking "Close", the files in the modal should be removed. - Add "Clean queue" button. - All types of files should have to show the images. Currently, text files show nothing, but the image files show the image. That makes the screen look a little messy. * text file --> `fa-file-text-o` icon from Font Awesome. ![modal-uploaded-multifiles](/uploads/bfb2ce340cfdef02e107bca9f3f9ce86/modal-uploaded-multifiles.png) ##### Uploading error ![uploading-error](/uploads/e5aa5427be6526aad8d26705c7927845/modal-uploaded-multifiles--error-02.png) --- ### Original proposal in the `Files` section of a project, i can upload single files (selecting the <kbd>+</kbd> symbol and then choosing `Upload file` in the pull-down menu). this gives me a drag&drop panel where i can drop a single file. however, when trying to add more than one file, i get: > Error uploading file: "You can not upload any more files." ![upload_multiple_files](/uploads/5c6f62ec217d27f5736c4b4aa902341b/upload_multiple_files.png) I find this a bit disappointing (as there is no problem to add multiple files in one commit when doing it via git). tested on `gitlab-ce omnibus 8.4.3` and confirmed today on `gitlab.com`
issue