Commit Graph

81 Commits

Author SHA1 Message Date
Vladimir Kotikov
855def11c3 CB-11497 Use cordova-vm for testing 304 errors 2016-07-07 14:39:30 +03:00
daserge
9347606dd3 CB-10974 Cordova file transfer Content-Length header problem
Fixed iOS logic to not to include Content-Length when chunkedMode=true
Fixed Android logic preventing chunkedMode to be enabled for http uploads
Added tests for chunkedMode
Documented chunkedMode not supported on Windows
Documented Uploading of an empty file is not supported for chunkedMode=true and multipart=false for iOS, pended the corresponding test
2016-05-17 12:24:27 +03:00
Steve Gill
fd7b28f193 CB-11091 Incremented plugin version. 2016-04-15 13:45:27 -07:00
Steve Gill
a4031db700 Updated version and RELEASENOTES.md for release 1.5.1 2016-04-15 13:08:27 -07:00
Richard Knoll
b66cb2ec6a CB-10536: Removing flaky test assertions about abort callback latency
This closes #137
2016-04-05 12:05:55 -07:00
Sarangan Rajamanickam
c48fc02d7e Removing the expectation in spec.34 for the transfer method to be called. 2016-03-30 13:15:47 -07:00
daserge
2b8c1a6101 CB-10978 Fix file-transfer.tests JSHint issues 2016-03-29 08:57:57 +03:00
Sarangan Rajamanickam
ca6593703e CB-10782: Occasional failure in file transfer tests causing mobilespec crash
This closes #132
2016-03-28 15:18:48 -07:00
Steve Gill
6ae9af436c CB-10368 Incremented plugin version. 2016-01-15 16:58:32 -08:00
Steve Gill
3540af439e CB-10368 Updated version and RELEASENOTES.md for release 1.5.0 2016-01-15 16:35:05 -08: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
866349eb84 CB-9840 Fallback file-transfer uploadResponse encoding to latin1 in case not encoded with UTF-8 on iOS
Adds correspoding tests for download and upload response

Github: close #71
2015-12-04 15:04:40 +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
Dmitry Blotsky
0913325be5 Adding linting and fixing linter warnings. Reducing timeouts to 7 seconds. 2015-12-02 19:20:44 -08:00
Steve Gill
079f70bf37 CB-10035 Incremented plugin version. 2015-11-30 17:57:07 -08: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
416be7633b CB-10098 filetransfer.spec.33 is faulty 2015-11-30 14:43:25 +03:00
Shazron Abdullah
3ae73a2879 CB-10088 - filetransfer spec.10 and spec.11 test is faulty 2015-11-26 13:45:30 -08: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
b7c500e1eb CB-10086 There are two spec.31 tests for file-transfer tests 2015-11-26 10:11:50 +03:00
daserge
887c91750a CB-10037 Add progress indicator to file-transfer manual tests 2015-11-25 20:10:59 +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
Steve Gill
2f4c106fcc CB-10035 Updated version and RELEASENOTES.md for release 1.4.0 2015-11-18 19:45:05 -08: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
Jesse MacFadyen
587e051225 CB-9906 cleanup duplicate code, removed 2nd isWP8 declaration. 2015-11-05 13:54:57 -08:00
daserge
1e900148e6 CB-9950 Unpend Filetransfer spec.27 on wp8 as custom headers are now supported 2015-11-04 17:47:26 +03:00
Jesse MacFadyen
066acb33af Merge branch 'CB-9906' 2015-11-03 22:17:28 -08:00
Jesse MacFadyen
c5d92726c2 filetransfer.spec.6 was failing in 4.x branch of iOS because -1 was returned. 2015-11-03 22:14:55 -08:00
Alexander Sorokin
4dc697a863 CB-9843 Added wp8 quirk to test spec 12
github: close #106
2015-10-27 20:32:04 +03:00
Alexander Sorokin
869eea41ec CB-9673 Fixed test spec.6 failure on iOS
github: close #102
2015-10-16 10:15:01 +03:00
daserge
83ee62514a CB-9385 Return FILE_NOT_FOUND_ERR when receiving 404 code on iOS
Added a corresponding test case
2015-10-15 19:17:27 +03:00
Alexander Sorokin
1142a96b2c CB-9791 Decreased download and upload tests timeout 2015-10-13 15:41:41 +03:00
Steve Gill
b3e225b454 CB-9681 Incremented plugin version. 2015-09-18 15:41:56 -07:00
Steve Gill
05873a07fd CB-9681 Updated version and RELEASENOTES.md for release 1.3.0 2015-09-18 15:10:34 -07:00
Steve Gill
cebdae3a40 updated tests to use cordova apache vm 2015-08-19 23:33:49 -07:00
daserge
1c39fb547f CB-9493 Fix file paths in file-transfer manual tests
Also changes toNativeURL -> toURL because of deprecation
2015-08-14 17:16:32 +03:00
daserge
499ec5c07b CB-9376 Fix FileTransfer plugin manual tests issue - 'undefined' in paths 2015-07-16 15:40:44 +03:00
Nikhil Khandelwal
8e8106e8d8 CB-9312 Incremented plugin version. 2015-07-07 10:58:02 -07:00
Nikhil Khandelwal
2d6faac5cd CB-9312 Updated version and RELEASENOTES.md for release 1.2.1 2015-07-07 10:38:34 -07:00
Steve Gill
2d7d14e9e0 CB-9192 Incremented plugin version. 2015-06-17 17:35:35 -07:00
Steve Gill
965581fa4b CB-9192 Updated version and RELEASENOTES.md for release 1.2.0 2015-06-17 12:36:03 -07:00
Nikhil Khandelwal
428d791f55 Remove verbose console log messages 2015-05-12 15:16:54 -07:00
Steve Gill
f9dfd2d511 CB-8959 Incremented plugin version. 2015-05-06 17:37:22 -07:00
Steve Gill
e251db5cac CB-8959 Updated version and RELEASENOTES.md for release 1.1.0 2015-05-06 17:07:39 -07:00
alsorokin
cd7eb26c7a CB-8933 Increased download and upload test timeout 2015-04-30 14:15:35 +03:00
Steve Gill
dfd2c45142 Revert "Revert "CB-8858 Incremented plugin version.""
This reverts commit 490063e1e5.
2015-04-15 16:13:18 -07:00
Steve Gill
490063e1e5 Revert "CB-8858 Incremented plugin version."
This reverts commit ef564a5e2d.
2015-04-15 16:12:48 -07:00
Steve Gill
ef564a5e2d CB-8858 Incremented plugin version. 2015-04-15 16:00:22 -07:00
Steve Gill
3568eeb387 Revert "CB-8858 Incremented plugin version."
This reverts commit 739cd3087f.
2015-04-15 15:57:55 -07:00