tomitrescak/meteor-tomi-upload-jquery — pull request #2 by KrishnaPG (2014-11-29 08:51:16+00:00)
Title: Multi-file upload capability with queue + few template args

Tomi,

I have tried to add multi-file upload capability with 'upload on click' option. I have forked your 'meteor-uploads' project and made modifications to the 'tomi-upload-jquery' files.

I am able to show the button bar and file list in a queue. Being new to js and all of this, finding it difficult to move forward. Perhaps you can take a look and bridge the remaining.

The functionality I have added till now:
1. Bootstrap upload template was earlier missing the cancle button option - I have added it
2. User now can choose multiple file upload or single file upload as template option
3. Also, auto-upload (upload immediately) or wait till click is also a template option
4. If user opts for upload on click, Files are collected to a reactive local collection
5. Table view is updated to show the list of files waiting to be uploaded (along with start, cancel button so on)

The remaining pending is: connecting the buttons with upload functionality for multi-uploads. (For single uploads, which your coded already provided, it is already working).

I tried to use liberal naming convetion and lengthy comments for my own track of the variables and what they are doing (the lack of type-safety in javascript, was very troublesome, for c/c++ guys like me) - please ignore / rename them as you see fit.

Thank you.
GK