Commit Graph

414 Commits

Author SHA1 Message Date
Dmitry Blotsky
128c388d57 CB-10996 Adding front matter to README.md 2016-04-22 19:35:50 -07: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
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
Raghav Katyal
3d2d312484 Minor changes to Readme 2016-03-01 14:46:52 -08:00
daserge
418e904a98 CB-10636 Add JSHint for plugins 2016-02-29 11:59:58 +03:00
t1st3
afbeab405f chore: edit package.json license to match SPDX id
See [NPM package.json spec for licenses](https://docs.npmjs.com/files/package.json#license) and [SPDX license IDs](https://spdx.org/licenses/)

X-ref: https://github.com/apache/cordova-plugin-device/pull/48
2016-02-07 14:35:55 +01: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
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
a9470ff1cc CB-9600 FileUploadOptions params not posted on iOS
Documents supported params key/value type
2015-12-07 12:53:03 +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
FF Xu
e14b7e5391 CB-9840 Fallback file-transfer upload/download response encoding to latin1 in case not encoded with UTF-8 on iOS 2015-12-04 13:26:33 +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
b11415da28 CB-10100 updated file dependency to not grab new majors 2015-11-30 18:10:47 -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
daserge
fe81475829 CB-9969 Filetransfer upload error deletes original file
Adds back the iOS check
2015-11-30 11:03:10 +03:00
daserge
6e960b2ffd CB-9969 Filetransfer upload error deletes original file
Reverts iOS changes
2015-11-27 10:53:34 +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
Jesse MacFadyen
9e93bad83c CB-8863 fix block usage of self 2015-11-19 17:02:35 -08:00
Steve Gill
97031b2d75 CB-10035 linked issues in RELEASENOTES.md 2015-11-18 22:11:41 -08:00
Steve Gill
2f4c106fcc CB-10035 Updated version and RELEASENOTES.md for release 1.4.0 2015-11-18 19:45:05 -08:00
Steve Gill
60f5bf47e6 removed r prefix from tags 2015-11-18 14:53:10 -08:00
Steve Gill
58ad621fcf CB-10035 Updated RELEASENOTES to be newest to oldest 2015-11-18 13:54:08 -08:00
Jeroen Verhoest
cdeec1c59f CB-9879 getCookies can cause unhandled NullPointerException
Added extra check for CookieManager instance (null pointer on Crosswalk/Android < 4.4)

github: close #107
2015-11-16 19:01:11 +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
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
Dmitry Blotsky
65d28795a6 Actually fixing the contribute link. 2015-10-23 12:11:50 -07:00
Dmitry Blotsky
b4b7284315 Fixing contribute link. 2015-10-23 12:03:42 -07:00
daserge
c79ee367a1 Github close #101, close #25, close #54 2015-10-19 12:43:53 +03:00
Julien Bouquillon
116a21b810 add JIRA issue tracker link 2015-10-17 13:33:12 +03:00
Vito Rifino
ea271933e9 CB-8431 File Transfer tests crash on Android Lolipop
github: close #79
2015-10-17 11:40:44 +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