Commit Graph

44 Commits

Author SHA1 Message Date
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
Joe Vu
d16d0337a1 Some small wording fixes 2014-03-18 13:24:17 -07:00
Joe Vu
ec209ecf95 Update backbone-model-file-upload.js
Fix some updates to the "formData" logic
2014-03-18 13:21:16 -07:00
Joe Vu
fab16122b4 Update README.md 2014-03-18 13:15:35 -07:00
Joe Vu
89379b527d Update README.md 2014-03-18 09:32:38 -07:00
homeslicesolutions
9b7ce2291b Added support for nested objects
Objects with deep nodes will be flattened to single-level.
2014-03-18 09:17:02 -07:00
homeslicesolutions
704ca1e874 Updated README and clean up a few 2014-03-18 05:06:20 -07:00
homeslicesolutions
cdcd63b31c Initial commit 2014-03-18 04:16:27 -07:00