Joe Vu
7b27f21900
Fixing NPM Issues
8 years ago
Joe Vu
3f68ed5dbe
1.0.1
8 years ago
Joe Vu
17749e3e3e
Update README.md
...
Small changes
8 years ago
Joe Vu
0850191d77
Merge pull request #31 from HuFlungDu/master
...
I agree. Lets try this out. I will take a closer look when i get a good amount of time. Usually list of things will have that "length" property i guess.
9 years ago
Josiah Baldwin
34dbcf37a6
Added test for array of files. Also added JSON.stringify around the flatten call in the log call at the end of the unflatten test
9 years ago
Josiah Baldwin
86142c6af8
Updated mock file server to allow multiple file echo. Still does not pass, probably because formidable fails to read the files correctly, but the logic is sound.
9 years ago
Josiah Baldwin
3d9da19009
Updated file upload array to be more simple. Fixed problem when using older browsers that do not support function.prototype.bind (or phantomJS in this case, for the tests)
9 years ago
Josiah Baldwin
bbd293f738
Added handling array of files, instead of FileList, because FileList cannot be instantiated by the user
9 years ago
Joe Vu
c602d2816a
Update README.md
9 years ago
Joe Vu
ea32f22c2d
Just some update in README.md description
9 years ago
Joe Vu
61991eceaa
Merge pull request #26 from feychenie/patch-2
...
Moved dependencies to devDependancies
9 years ago
Joe Vu
22d4b7c1e0
Merge pull request #24 from feychenie/patch-1
...
Remove explicit dependancy to jQuery
9 years ago
Frederik Eychenié
35f623c834
Moved dependencies to devDependancies
...
The dependencies listed in the package.json are actually devDependencies, and not required to install the main script.
9 years ago
Frederik Eychenié
fbf99e030a
Remove explicit dependancy to jQuery
...
Sometimes Backbone is used without jQuery (see https://github.com/akre54/Backbone.NativeAjax )
9 years ago
Joe Vu
a9660d84c6
Merge pull request #21 from benatespina/master
...
Renamed the library name.
9 years ago
Beñat Espiña
461b3ea95a
Improvements into bower.json
9 years ago
Beñat Espiña
5652f45ff0
Renamed the library name.
...
Avoid issues when the library is downloaded with Bower because, now, the folder of library is created with "backbone-model-file-upload tests" name and this whitespace generates an error with the path.
9 years ago
Joe Vu
e91e078eb6
Readying for NPM
10 years ago
Joe Vu
53b98cd4bf
Added Travis CI to Badge
10 years ago
Joe Vu
7987bb3dc3
Version 1.0.0
...
Fixed tests, changed to dot notation to bracket notation, going with
the semantic version pattern
10 years ago
Joe Vu
f890e70e6e
Merge pull request #18 from DanilloCorvalan/master
...
changing model array fields flattening format to use square braces
10 years ago
Joe Vu
bf369c0ffe
Merge pull request #19 from XemsDoom/fix-commonjs-module
...
Fixes wrong arguments order for factory function
10 years ago
Luca Moser
6a11784516
Fixes wrong arguments order for factory function
10 years ago
Danillo Corvalan de Barros
6a505fc250
changing model array fields flattening format to use square braces
10 years ago
Joe Vu
be32a91fad
Merge pull request #15 from juriejan/main-file-indication
...
Main file indication for automatic import tools
10 years ago
Joe Vu
ecc2659fa9
Merge pull request #16 from juriejan/remove-requirejs-dependency
...
Remove requirejs dependency
10 years ago
Jurie-Jan Botha
e54a30b632
Removed require.js as a bower dependency
10 years ago
Jurie-Jan Botha
96468a80c8
Main file indication for automatic import tools
10 years ago
Joe Vu
243d8bb619
Merge pull request #13 from homeslicesolutions/Refactoring-the-class
...
Major refactor
10 years ago
Joe Vu
1272305a6a
Major refactor
...
- Refactor module to extend the appropriate backbone way
- Added CommonJS support
- Just lots of cleanup
10 years ago
Joe Vu
43bf2a32db
Update readme with test and dev information
10 years ago
Joe Vu
44cc8f617a
Added grunt to travis config
10 years ago
Joe Vu
29a92fd51b
Auto test and install methods added
10 years ago
Joe Vu
79205951f8
Update README.md
10 years ago
Joe Vu
b7cf4da18a
Update backbone-model-file-upload.js
...
Just changed the version
10 years ago
Joe Vu
b5202287d9
Merge pull request #11 from bildja/patch-2
...
Add jquery dependency.
10 years ago
Dima Bildin
9b815b7c7d
Add jquery dependency.
...
Request just won't be sent If there is no global `$`, adding it to amd dependency for this case
10 years ago
Joe Vu
2adf33e207
Removing wrong description of IE9 support
10 years ago
Joe Vu
a2a0295726
Fix existing "this" scope issue in progress handler
...
Update description
10 years ago
Joe Vu
a1c53669d1
Fix existing "this" scope issue in progress handler
10 years ago
homeslicesolutions
dfef13aa7b
Refactored some code and updated read me
10 years ago
Joe Vu
b049eede1f
Merge pull request #8 from Minjung/master
...
handle FileList objects
10 years ago
Alejandro
48b68bdc69
handle FileList objects
...
Recurse FileList objects from file inputs with multiple files and add all the files, this will generate an array on the server when getting the fileattribute key.
I use this in Flask (python) as an example:
files = request.files.getlist('files')
Which returns when using fileAtrribute: 'files':
[<FileStorage: u'file1.png' ('image/png')>, <FileStorage: u'file2.png' ('image/png')>]
10 years ago
homeslicesolutions
cf822220d8
Added some test around {silent: true}
10 years ago
Joe Vu
3afbb674c4
Updated 0.4 documentation
10 years ago
homeslicesolutions
3a31989778
Big fixes with arguments and save
...
The current state was completely messed up with saving and all the
different scenarios. This update brings back my main intent of the
code and also does a separate merge of the attributes for the use of
the FileObj. It also adds Blob support, and I finally written some
tests.
10 years ago
Joe Vu
5236fd812b
Added revision notes
10 years ago
Joe Vu
e46cc04f02
Added "attrs" fix and new just "options" feature
10 years ago
Joe Vu
ac753be726
Merge pull request #1 from bildja/patch-1
...
Added UMD approach to the module - Thanks @bildja!
10 years ago
Dima Bildin
c8360385e7
Added UMD approach to the module
10 years ago