Raghav Katyal
584754869b
CB-10771: Fixing failure when empty string passed as a value for option parameter in upload function
2016-03-28 15:08:58 -07:00
daserge
418e904a98
CB-10636 Add JSHint for plugins
2016-02-29 11:59:58 +03:00
daserge
333dd7ec1a
CB-10208 Fix file-transfer multipart form data upload format on Windows
2015-12-17 12:57:25 +03:00
daserge
182b0c5ebe
CB-9837 Add data URI support to file-transfer upload on iOS
...
Adds iOS and Windows implementation; mention in the docs
Adds corresponding tests
Increases spec.35 timeout for Windows Phone 8.1 case as it contains 2 download operations
2015-12-14 16:58:18 +03:00
daserge
a762f3fe58
CB-8641 (Windows Phone 8.1) Some file-transfer plugin tests occasionally fail in mobilespec
...
Increases timeout for Windows case for spec.10, spec.21 (abort right away), spec.15 (unknown host)
Documents the latency quirk caused by BackgroundDownloader usage
[Windows] Mark an upload aborted to be cancelled right away as it did not have enough time to be created when abort was called in filetransfer.spec.21 (so that unexpected httpWin fired)
Extended test buffer to avoid unexpectedCallbacks.httpWin on Windows & local test server (filetransfer.spec.21)
2015-12-04 09:57:37 +03:00
daserge
73223a7d45
CB-7006 Empty file is created on file transfer if server response is 304
...
Adds a corresponding test.
Fixes the Windows proxy to not to delete the existing file in case of a download error (including 304) - a temporary file is deleted instead.
2015-11-30 19:27:25 +03:00
daserge
c97f544ef8
CB-9969 Filetransfer upload error deletes original file
...
Adds corresponding test and fixes for iOS and Windows
Also fixes filetransfer.spec.9, which used an incorrect path in the root.getFile call.
2015-11-26 23:07:04 +03:00
daserge
007f98692b
CB-9563 Mulptipart form data is used even a header named Content-Type is present
...
Adds non-multipart implementation for Windows and a corresponding test
Adds a fix for Android for uploadResult.bytesSent = 0 for small files
Fixes parameters of FILE_NOT_FOUND_ERR case in upload operation on Windows - passing source file name instead of duplicated server/destination argument
github: close #117
2015-11-25 19:57:48 +03:00
daserge
189942284a
CB-6928 Wrong behaviour transferring cacheable content
...
Adds support of 304 handling for iOS, Windows and adds a corresponding test
2015-11-11 09:46:17 +03:00
daserge
5857384b94
CB-51 API: FileTransfer - Support PUT Method
...
Adds a test for upload via PUT method
Adds support for Windows platform
2015-11-11 09:28:21 +03:00
biodiv and sgrebnov
dcc98db15f
CB-8816 Add cdvfile:// support on windows
...
github close #70
2015-08-03 16:32:20 +03:00
Vladimir Kotikov
3effd7f1fe
CB-8931 Replace all slashes in windows path
2015-05-07 09:23:48 +03:00
Vladimir Kotikov
918b2cf8d2
CB-8583 Forces download to overwrite existing target file
2015-04-02 13:43:07 +03:00
Vladimir Kotikov
6ed66a4f29
CB-8589 Fixes upload failure when server's response doesn't contain any data
2015-04-02 13:41:12 +03:00
Steve Gill
0530d90fb0
CB-8683 changed plugin-id to pacakge-name
2015-04-01 19:11:23 -07:00
Jan Visser
569568f8b4
Replace all slashes in windows path
...
Instead of just the first one
2015-04-01 12:50:37 +02:00
alsorokin and sgrebnov
3ff8382929
CB-8590 (Windows) Fixed download.onprogress.lengthComputable
...
github close #67
2015-03-05 12:24:57 +03:00
Vladimir Kotikov and Jesse MacFadyen
314677c0c3
Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46
2015-02-11 17:46:04 -08:00
Vladimir Kotikov and Jesse MacFadyen
5ee666ce0b
CB-8407 Use File proxy to construct valid FileEntry for download success callback
...
Due to changes in file plugin (https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f ) result of download method should now have filesystemName specified for proper work. This updates download method to construct FileEntry properly, using File plugin proxy.
2015-02-11 17:46:03 -08:00
Vladimir Kotikov and Jesse MacFadyen
28189e54f3
CB-8407 Removes excess path to native path conversion in download method
...
This fixes file transfer download tests failures, when target file is specified by ms-appdata:/// uri on Windows.
2015-02-11 17:46:03 -08:00
Vladimir Kotikov and Jesse MacFadyen
837771c4c6
CB-8095 Fixes JSHint and formatting issues
2015-02-11 17:46:00 -08:00
Vladimir Kotikov and Jesse MacFadyen
e781bceba7
CB-8095 Rewrite upload method to support progress events properly
...
* Uses backgroundUploader class instead of XHR
* Returns proper response body in case of error
2015-02-11 17:45:59 -08:00
Jesse MacFadyen
e6e44aaa2f
removed unneeded String() casting all over the place, fixed my own missing ) error
2014-12-05 16:13:49 -08:00
Jesse MacFadyen
71bd73ec9c
exec guarentees that proxy is called with success/error function so there is no need to constantly check that it exists
2014-12-05 15:58:16 -08:00
Jesse MacFadyen
7fbab9fa1c
Error callback should always be called with the FileTransferError object, and not just the code
2014-12-05 15:51:58 -08:00
Jesse MacFadyen
cea07c08d5
alias appData to Windows.Storage.ApplicationData.current
2014-12-05 15:40:02 -08:00
Jesse MacFadyen
941e81ef22
Alias FileTransferError to FTErr to save some horizontal space
2014-12-05 15:24:46 -08:00
Vladimir Kotikov
80aa828021
CB-8093 Fixes incorrect FileTransferError returned in case of download failure
2014-11-27 18:32:34 +03:00
Vladimir Kotikov
223191f9bc
Construct proper FileEntry with nativeURL property set
2014-09-12 16:02:31 +04:00
Vladimir Kotikov
2b86a85c74
CB-7532 Handle non-existent download dirs properly
2014-09-12 16:02:31 +04:00
Vladimir Kotikov
49c57d27b3
CB-7529 Adds support for 'ms-appdata' URIs for windows
2014-09-12 10:10:33 +04:00
Vladimir Kotikov
ad0382e24c
CB-7316 Adds support for Windows platform, moves *Proxy files to proper directory.
2014-08-18 10:07:50 +04:00