Commit Graph

24 Commits

Author SHA1 Message Date
Raymond Feng e8c76eef93 Capture writer error 2015-07-31 12:06:07 -07:00
Raymond Feng ab1ed48674 Add var 2015-06-08 15:30:43 -07:00
ningsuhen f220141419 Fix for issues - #58, #23 & #67 2015-06-01 13:25:04 +05:30
Raymond Feng 1e4a5c9f2a Merge pull request #55 from leandropio/patch-1
Expose file size on success callback
2015-04-21 12:59:25 -07:00
Yazhong Liu 24f24f12a2 this.options is undefined, should use options 2015-04-12 00:24:23 +08:00
Leandro e035e4fd4e Expose file size on success callback
Just expose the file size through the file object that later will be sent as succes callback attribute (line 160). This way if somebody needs to persist the file metadata in another model now it will exist the whole basic pack: Container, Name, Type and now Size.
2015-03-29 21:06:53 -03:00
Benjamin Boudreau 55997f8a9f Adding error handler on upload stream 2015-02-27 14:06:49 -05:00
Benjamin Boudreau 95baaff716 Adding support for ACL, Content-Type, Max File Size and allowd Content-Types 2015-02-10 09:26:14 -05:00
Raymond Feng 60938c245a Fix deprecation 2015-01-30 11:34:46 -08:00
Benjamin Boudreau ec4000745a Adding key renaming support on Service.upload and Handler.upload 2015-01-30 14:30:35 -05:00
Timo Saikkonen 169ee1be21 #4: Return a 404 if file doesn't exist
Signed-off-by: Timo Saikkonen <timo.saikkonen@gmail.com>
2014-12-25 13:21:20 +08:00
crandmck dc3011c800 Work on JSDoc comments 2014-04-07 16:17:19 -07:00
Raymond Feng eb0d9a11bf Set Content-Type based on the file path 2014-01-29 22:39:01 -08:00
Raymond Feng 70f5d6dc35 Reformat code 2014-01-24 09:44:58 -08:00
Raymond Feng 9c58011530 Clean up the download method 2014-01-14 10:26:09 -08:00
Raymond Feng 13e9097ff0 Refactor the storage service 2014-01-10 11:34:37 -08:00
Raymond Feng d409a4bd87 Fix for SLA-213. The stream from pkgcloud doesn't make callbacks 2013-07-10 13:08:18 -07:00
Raymond Feng ad41d47b71 Refactor the code to use StorageService as the facade 2013-07-02 08:57:53 -07:00
Raymond Feng 564d8c3432 Exports the createClient 2013-07-02 07:54:58 -07:00
Raymond Feng cda8ff2e17 Allow fields that have multiple values 2013-07-01 17:04:05 -07:00
Raymond Feng 82279ccacb Some refactoring 2013-07-01 10:54:53 -07:00
Raymond Feng 427f270a40 Support uploading multiple files 2013-06-27 13:50:57 -07:00
Raymond Feng 210618d7b3 Handle fields/files 2013-06-27 08:31:03 -07:00
Raymond Feng d6b89fe2ef Add an express demo for metadata apis, upload/download 2013-06-26 14:43:53 -07:00