Joe Vu
17749e3e3e
Update README.md
...
Small changes
2016-06-24 17:00:24 -07:00
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.
2016-02-09 04:10:44 -08:00
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
2016-01-19 11:43:11 -08:00
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.
2016-01-19 11:41:21 -08:00
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)
2016-01-19 11:36:07 -08:00
Josiah Baldwin
bbd293f738
Added handling array of files, instead of FileList, because FileList cannot be instantiated by the user
2016-01-15 14:50:30 -08:00
Joe Vu
c602d2816a
Update README.md
2015-11-24 02:44:55 -08:00
Joe Vu
ea32f22c2d
Just some update in README.md description
2015-11-23 11:53:37 -08:00
Joe Vu
61991eceaa
Merge pull request #26 from feychenie/patch-2
...
Moved dependencies to devDependancies
2015-11-12 22:36:01 -08:00
Joe Vu
22d4b7c1e0
Merge pull request #24 from feychenie/patch-1
...
Remove explicit dependancy to jQuery
2015-11-12 22:35:43 -08:00
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.
2015-10-26 11:07:54 +01:00
Frederik Eychenié
fbf99e030a
Remove explicit dependancy to jQuery
...
Sometimes Backbone is used without jQuery (see https://github.com/akre54/Backbone.NativeAjax )
2015-10-12 15:29:46 +02:00
Joe Vu
a9660d84c6
Merge pull request #21 from benatespina/master
...
Renamed the library name.
2015-09-18 15:45:12 -07:00
Beñat Espiña
461b3ea95a
Improvements into bower.json
2015-09-18 11:17:47 +02:00
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.
2015-09-18 11:07:13 +02:00
Joe Vu
e91e078eb6
Readying for NPM
2015-04-25 01:41:19 -07:00
Joe Vu
53b98cd4bf
Added Travis CI to Badge
2015-04-07 00:23:49 -07:00
Joe Vu
7987bb3dc3
Version 1.0.0
...
Fixed tests, changed to dot notation to bracket notation, going with
the semantic version pattern
2015-04-07 00:17:47 -07:00
Joe Vu
f890e70e6e
Merge pull request #18 from DanilloCorvalan/master
...
changing model array fields flattening format to use square braces
2015-04-06 21:47:57 -07:00
Joe Vu
bf369c0ffe
Merge pull request #19 from XemsDoom/fix-commonjs-module
...
Fixes wrong arguments order for factory function
2015-04-06 21:47:14 -07:00
Luca Moser
6a11784516
Fixes wrong arguments order for factory function
2015-04-05 17:19:03 +02:00
Danillo Corvalan de Barros
6a505fc250
changing model array fields flattening format to use square braces
2015-04-02 08:28:39 -03:00
Joe Vu
be32a91fad
Merge pull request #15 from juriejan/main-file-indication
...
Main file indication for automatic import tools
2015-03-13 01:43:50 -07:00
Joe Vu
ecc2659fa9
Merge pull request #16 from juriejan/remove-requirejs-dependency
...
Remove requirejs dependency
2015-03-13 01:43:11 -07:00
Jurie-Jan Botha
e54a30b632
Removed require.js as a bower dependency
2015-03-02 13:50:38 +02:00
Jurie-Jan Botha
96468a80c8
Main file indication for automatic import tools
2015-03-02 13:31:29 +02:00
Joe Vu
243d8bb619
Merge pull request #13 from homeslicesolutions/Refactoring-the-class
...
Major refactor
2014-12-17 04:00:39 -08:00
Joe Vu
1272305a6a
Major refactor
...
- Refactor module to extend the appropriate backbone way
- Added CommonJS support
- Just lots of cleanup
2014-12-17 03:56:31 -08:00
Joe Vu
43bf2a32db
Update readme with test and dev information
2014-12-17 00:00:14 -08:00
Joe Vu
44cc8f617a
Added grunt to travis config
2014-12-16 23:38:44 -08:00
Joe Vu
29a92fd51b
Auto test and install methods added
2014-12-16 23:33:48 -08:00
Joe Vu
79205951f8
Update README.md
2014-12-01 11:01:10 -08:00
Joe Vu
b7cf4da18a
Update backbone-model-file-upload.js
...
Just changed the version
2014-12-01 10:58:10 -08:00
Joe Vu
b5202287d9
Merge pull request #11 from bildja/patch-2
...
Add jquery dependency.
2014-12-01 10:57:14 -08:00
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
2014-12-01 16:25:42 +02:00
Joe Vu
2adf33e207
Removing wrong description of IE9 support
2014-10-17 15:09:56 -07:00
Joe Vu
a2a0295726
Fix existing "this" scope issue in progress handler
...
Update description
2014-10-16 16:02:57 -07:00
Joe Vu
a1c53669d1
Fix existing "this" scope issue in progress handler
2014-10-16 16:01:33 -07:00
homeslicesolutions
dfef13aa7b
Refactored some code and updated read me
2014-09-11 03:21:24 -07:00
Joe Vu
b049eede1f
Merge pull request #8 from Minjung/master
...
handle FileList objects
2014-09-11 03:08:12 -07:00
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')>]
2014-09-09 15:28:02 -03:00
homeslicesolutions
cf822220d8
Added some test around {silent: true}
2014-08-30 12:17:54 -07:00
Joe Vu
3afbb674c4
Updated 0.4 documentation
2014-08-30 12:10:37 -07:00
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.
2014-08-30 12:08:56 -07:00
Joe Vu
5236fd812b
Added revision notes
2014-08-06 17:49:40 -07:00
Joe Vu
e46cc04f02
Added "attrs" fix and new just "options" feature
2014-08-06 17:46:18 -07:00
Joe Vu
ac753be726
Merge pull request #1 from bildja/patch-1
...
Added UMD approach to the module - Thanks @bildja!
2014-08-06 12:18:34 -07:00
Dima Bildin
c8360385e7
Added UMD approach to the module
2014-07-26 18:40:32 +03:00
Joe Vu
88c3f2d1a7
Create LICENSE
2014-03-18 23:16:43 -07:00
Joe Vu
d26f1811aa
Update README.md
...
Better explanations in how it works
2014-03-18 17:38:44 -07:00