Commit Graph

399 Commits

Author SHA1 Message Date
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 1.4.0 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
jason-ong f8b0f82dfa CB-9790 Align FileUploadOptions fileName and mimeType default parameter values to the docs on iOS
To match the documentation for FileUpload,
change fileName default value to "image.jpg"
change mimeType default value to "image/jpg"

github: close #98
2015-10-15 22:55:20 +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
Ganster41 c0b3122e74 CB-9385 Return FILE_NOT_FOUND_ERR when receiving 404 code on iOS 2015-10-15 19:14:24 +03:00
Alexander Sorokin 1142a96b2c CB-9791 Decreased download and upload tests timeout 2015-10-13 15:41:41 +03:00
Steve Gill 7a1008c4bb updated releasenotes 2015-09-21 16:51:23 -07: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 1.3.0 r1.3.0 2015-09-18 15:10:34 -07:00
Joe Bowser a4a448095c CB-9624: There's a difference between what's being passed in and what should actually be sent to the File Transfer plugin 2015-09-08 14:04:04 -07:00
Joe Bowser 8fcdb1aa3d Found issue where : is accepted as a valid header, this is obviously wrong 2015-09-08 11:19:34 -07:00
Snay 2b31723708 CB-9562 Fixed incorrect headers handling on Android 2015-08-26 16:35:09 -07:00
Joe Bowser ad6647120d Fixing headers so they don't accept non-ASCII 2015-08-24 11:15:37 -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
biodiv dcc98db15f CB-8816 Add cdvfile:// support on windows
github close #70
2015-08-03 16:32:20 +03:00
Jesse MacFadyen 43eeef8e44 Merge branch 'master' of https://github.com/danjarvis/cordova-plugin-file-transfer 2015-07-28 11:44:28 -07:00