136 Commits

Author SHA1 Message Date
Ian Clelland
434b8f903b CB-6521: Remove development branch 2014-04-25 14:09:47 -04:00
Andrew Grieve
98e5da556f CB-6494 android: Fix upload of KitKat content URIs
FileTransfer was double-decoding the source URL.
2014-04-22 22:16:53 -04:00
Ian Clelland
eb63c466e8 CB-6452 Incremented plugin version on dev branch. 2014-04-17 11:16:03 -04:00
Ian Clelland
8b727b2cfd CB-6452 Updated version and RELEASENOTES.md for release 0.4.3 0.4.3 r0.4.3 2014-04-17 10:53:20 -04:00
Ian Clelland
9b85ae122a CB-6460: Update license headers 2014-04-16 16:17:53 -04:00
Jesse MacFadyen
f2e56a2ac0 CB-6422 [windows8] use cordova/exec/proxy 2014-04-08 16:18:01 -07:00
Ian Clelland
2309e0e76c iOS: Fix error where files were not removed on abort 2014-03-28 10:36:01 -04:00
torrmal
223d08626d [CB-5175] CDVFileTransfer asynchronous download (Fixes #24)
Since download can take time, for it to be non-blocking, moved the call to a separate thread.
2014-03-27 13:21:26 -04:00
Ian Clelland
449df55848 [ios] Cast id references to NSURL to avoid compiler warnings (Fixes: apache/cordova-plugin-file-transfer#18) 2014-03-21 11:23:11 -04:00
Ian Clelland
653ec00fa6 [ios] Cleanup extra semicolons 2014-03-21 11:23:01 -04:00
James Jong
0f84287df0 CB-6212 iOS: fix warnings compiled under arm64 64-bit 2014-03-13 09:27:01 -04:00
Archana Naik
c35ca1a5c2 Upleveled from android port with following commits:
3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for gzip downloads
8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it
651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space before "boundary".
35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download
2014-03-10 23:02:28 -07:00
Andrew Grieve
f115394912 CB-6114 Incremented plugin version on dev branch. 2014-02-28 16:29:11 -05:00
Andrew Grieve
4d2c87350d Add NOTICE file 2014-02-28 16:29:07 -05:00
Andrew Grieve
b3369db910 CB-6114 Updated version and RELEASENOTES.md for release 0.4.2 2014-02-28 16:28:37 -05:00
Ian Clelland
ed24e210f4 CB-6106: Ensure that nativeURL is used by file transfer download 2014-02-27 16:40:32 -05:00
Ian Clelland
0779c71e04 Merge 'lmnbeyond/dev' into dev (closes #20)
Thie merges the code from https://github.com/apache/cordova-plugin-file-transfer/pull/20
2014-02-24 23:25:43 -05:00
lmnbeyond
e76deb20d5 ios:Get file plugin via commandDelegate to avoid using global file plugin directly. 2014-02-25 10:34:11 +08:00
lmnbeyond
d28f85d7b0 Make it a priority to use filesystemName to create FileSystem object 2014-02-24 11:14:16 +08:00
Andrew Grieve
0f8467bdfe CB-6059 iOS: Add necessary @synchronized blocks for newly introduced multi-threading. 2014-02-19 11:49:24 -05:00
Jan Pittner
49b4774e7e CB-6059 iOS: Stop FileTransfer.download doing IO on the UI thread. 2014-02-19 10:56:27 -05:00
Jan Pittner
a588236cbd CB-2190 Make backgroundTaskId apply to downloads as well. Move backgroundTaskId to the delegate. 2014-02-19 10:38:37 -05:00
Andrew Grieve
a1d6fc07e8 Fix default value for trustAllHosts on iOS (YES->NO) 2014-02-19 10:21:33 -05:00
Ian Clelland
35f80e42ec CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download 2014-02-18 15:25:01 -05:00
Ian Clelland
31ac00d3ae CB-6022: Add backwards-compatibility notes to doc
Also change "URI" and "path" references to "URL" where appropriate for consistency.
2014-02-13 09:49:09 -05:00
Steven Gill
914946857f CB-5980 Incremented plugin version on dev branch. 2014-02-10 15:22:08 -08:00
Steven Gill
3c242d8ba8 CB-5980 Updated version and RELEASENOTES.md for release 0.4.1 2014-02-10 15:22:08 -08:00
Andrew Grieve
f8884981e4 CB-5588 Docs for upload headers. 2014-02-10 15:11:05 -05:00
Daniel Heffernan
28fb0a7c4d CB-5588 iOS: Add response headers to upload result
This change adds the HTTP response headers to the result for successful
uploads.
2014-02-10 14:58:37 -05:00
Christoph Neumann
651460fb6b CB-6000 Nginx rejects Content-Type without a space before "boundary".
From: https://github.com/apache/cordova-plugin-file-transfer/pull/6
2014-02-10 13:30:27 -05:00
Bas Bosman
6f91ac3a30 CB-4907 Close stream when we're finished with it 2014-02-10 13:26:43 -05:00
Jesse MacFadyen
d3b21b35fc CB-5365 Remove unused exception var to prevent warnings? 2014-02-04 15:23:02 -08:00
Jesse MacFadyen
be44194066 CB-2421 explicitly write the bytesSent,responseCode,result to the FileUploadResult pending release of cordova-plugin-file dependency, added some sanity checks for callbacks 2014-01-28 15:23:10 -08:00
Ian Clelland
4ca546b3d8 iOS: Update for new file plugin api 2014-01-23 22:37:27 -05:00
Colin Mahoney
8374b3dd67 CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
InputStream.read(byte[] buffer) calls InputStream.read(byte[] bytes, int
offset, int count).  As SimpleTrackingInputStream overrides both these
methods a call to SimpleTrackingInputStream.read(byte[] buffer) results
in a call to SimpleTrackingInputStream.read(byte[] bytes, int offset,
int count) - and two calls to SimpleTrackingInputStream.updateBytesRead,
so the counter bytesRead gets incremented twice for each read.
2014-01-10 12:16:26 -05:00
Andrew Grieve
3c1ff16064 CB-5762 android: Fix lengthComputable set wrong for gzip downloads
Gzip + no Content-Length header should be lengthComputable=false
2014-01-10 11:45:59 -05:00
Bryan Higgins
613ee821df CB-4899 [BlackBerry10] Improve binary file transfer download 2014-01-09 11:25:32 -05:00
Andrew Grieve
73541fb5a2 Delete stale test/ directory 2014-01-08 21:11:31 -05:00
Bryan Higgins
398a9ecafb CB-5722 [BlackBerry10] Update upload function to use native file object 2014-01-03 11:15:31 -05:00
Andrew Grieve
7986a60a1d CB-5658 Update license comment formatting of doc/index.md 2013-12-18 21:11:02 -05:00
Andrew Grieve
102e7afc93 CB-5658 Add doc.index.md for File Transfer plugin 2013-12-18 15:01:58 -05:00
Andrew Grieve
148a13bc8c CB-5658 Delete stale snapshot of plugin docs 2013-12-17 20:49:39 -05:00
Ian Clelland
692f1fb955 Remove @1 designation from file plugin dependency until pushed to npm 2013-12-13 11:42:34 -05:00
Ian Clelland
647dad7aba CB-5466: Update to work with filesystem URLs
This should be backwards compatible; raw filesystem paths are now submitted to
the File plugin to see if they can be handled first
2013-12-10 21:58:36 -05:00
Steven Gill
09b67189bf [CB-5565] Incremented plugin version on dev branch. 2013-12-04 15:32:03 -08:00
Steven Gill
76baae9690 [CB-5565] Updated version and RELEASENOTES.md for release 0.4.0 0.4.0 r0.4.0 2013-12-04 15:16:30 -08:00
Ian Clelland
4c11f54bd5 CB-5466: Partial revert; we're not ready yet for FS urls 2013-12-04 16:10:00 -05:00
Steven Gill
fee10fb6d8 added ubuntu support 2013-12-02 16:12:45 -08:00
Steven Gill
4c259e7a14 Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer into dev 2013-11-26 16:52:17 -08:00
Ian Clelland
a61f0f3d50 CB-5466: Minor version bump 2013-11-22 10:31:59 -05:00