Commit Graph

107 Commits

Author SHA1 Message Date
Suraj Pindoria b7de6f9d4e CB-13826 Incremented plugin version. 2018-01-25 11:47:20 -08:00
Suraj Pindoria 8747b4018e CB-13826 Updated version and RELEASENOTES.md for release 1.7.1 2018-01-25 11:36:38 -08:00
Steve Gill 2f5abe4a2a Set VERSION to 1.7.1-dev (via coho) 2017-11-06 14:38:39 -08:00
Steve Gill 130d66660b CB-13542 Updated version and RELEASENOTES.md for release 1.7.0 (via coho) 2017-11-06 14:37:45 -08:00
Alexander Sorokin 295f742ae8 (tests): Fixed tests' flakiness by increasing the timeouts 2017-05-31 10:23:27 +03:00
filmaj 84d7f482ce (tests): Add additional logging about cases where file transfer server URL cannot be determined via XHR due to wkwebview-engine plugin limitations. 2017-04-28 12:49:18 -07:00
filmaj cae8cf4801 Set VERSION to 1.6.4-dev (via coho) 2017-04-27 12:40:28 -07:00
filmaj 720f3146b3 CB-12736 Updated version and RELEASENOTES.md for release 1.6.3 (via coho) 2017-04-27 12:40:24 -07:00
Steve Gill ab48be5560 CB-12685: added package.json to tests folder 2017-04-21 19:18:59 -07:00
Nikita Matrosov e9d93c0a54 CB-10696 iOS: Encode target path with spaces 2017-04-06 16:27:07 +03:00
Steve Gill e95238e1f5 Set VERSION to 1.6.3-dev (via coho) 2017-03-02 14:27:53 -08:00
Steve Gill 37c43b2e7f CB-12519 Updated version and RELEASENOTES.md for release 1.6.2 2017-02-28 17:41:26 -08:00
Alexander Sorokin 70961b36fc CB-12439 (Tests) Re-enable the tests
* This is a part of file transfer CI builds being transferred to Sauce Labs emulators
* Some tests now retry up to 100 times due to Heroku server being unstable
* Now using '/upload_headers_echo' of the FT server instead of whatheaders.com which is down
2017-02-22 12:17:34 +03:00
Alexander Sorokin 93ccb4974f CB-12439 (Tests) Temporarily disable tests that use fileserver on CI 2017-02-09 13:28:23 +03:00
Shazron Abdullah 7c1388062d CB-12236 - Fixed RELEASENOTES for cordova-plugin-file-transfer 2016-12-11 12:47:34 -08:00
Shazron Abdullah b83a991e7c CB-12224 Incremented plugin version. 2016-12-07 16:55:07 -08:00
Shazron Abdullah aee45754a9 CB-12224 Updated version and RELEASENOTES.md for release 1.6.1 2016-12-07 16:39:45 -08:00
daserge 5a711e8722 CB-12154 file-transfer progressEvent.total = -1 on iOS
Makes chunkedMode=true uploads to contain Content-Length to make progress computable
2016-12-06 17:06:00 +03:00
junweifu 9b322dec67 Don't crash on low memory devices
It will be OOM when running file-transfer tests on baseline Android Memory class
which is 16M (It happens to be the java heap limit of those devices).

 This closes #166
2016-11-07 11:05:28 -08:00
Alexander Sorokin addf885c74 CB-12100 (ios) Fixed test plugin install at platform add on cordova@6.3.1 2016-11-01 19:15:32 +03:00
Alexander Sorokin ac5233d349 CB-11959 Fixed the jshint issues 2016-10-31 11:08:34 +03:00
Alexander Sorokin ebf280b531 CB-11959 Increased the array length for ios and winstore even more 2016-10-05 18:08:29 +03:00
Alexander Sorokin 709fd057f2 CB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server 2016-10-05 15:26:56 +03:00
Alexander Sorokin e68f766639 CB-11926 Tests can use local server 2016-10-04 22:40:39 +03:00
Steve Gill 1cfc66ce0d CB-11832 Incremented plugin version. 2016-09-09 16:08:04 -07:00
Steve Gill 60b2cd324e CB-11832 Updated version and RELEASENOTES.md for release 1.6.0 2016-09-08 23:38:54 -07:00
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