A little help from a rails guru
Created by: iamntz
Hi guys. I did a little thing that allows users to upload files via drag & drop. The problem is that this things requires also a server modification, which I have no idea how to do it. Also, if users upload images, the script will also provide a small preview of the file. Oh, yes, and can accept multiple files, which may be helpful?
My code is here: https://github.com/iamntz/gitlabhq/compare/drag_n_drop_upload
I was inspired by these two articles: http://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files/ and http://www.sitepoint.com/html5-file-drag-and-drop/
(also, someone from gitlab staff should provide some feedback on if this should be developed or not)