Commit Graph

455 Commits

Author SHA1 Message Date
filmaj 720f3146b3 CB-12736 Updated version and RELEASENOTES.md for release 1.6.3 (via coho) 1.6.3 rel/1.6.3 2017-04-27 12:40:24 -07:00
Alexander Sorokin 3876e4cd76 Added Android 6.0 build badge to README 2017-04-26 15:40:53 +03: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
daserge ac2ae8ba2e CB-12353 Corrected merges usage in plugin.xml 2017-01-20 15:53:55 +03:00
Nikita Matrosov 8c13381cd2 CB-12369: Add plugin typings from DefinitelyTyped
This closes #173
2017-01-20 11:42:31 +03:00
Alexander Sorokin 629e833611 CB-12363 Added build badges for iOS 9.3 and 10.0 2017-01-18 13:30:52 +03:00
Shazron Abdullah 7c1388062d CB-12236 - Fixed RELEASENOTES for cordova-plugin-file-transfer 2016-12-11 12:47:34 -08:00
Alexander Sorokin 1cf4657cb7 CB-12230 Removed Windows 8.1 build badges 2016-12-09 14:19:23 +03: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 1.6.1 rel/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
daserge 655489905a CB-10974 Cordova file transfer Content-Length header problem
Don't force chunkedMode=true for HTTPS if it was specified as false in the UploadOptions (added a warning about possible OOM for chunkedMode=false+HTTPS case)
2016-11-23 14:33:32 +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
Shazron Abdullah ed88cfc118 CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
This closes #158
2016-10-04 21:38:03 -07: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 1.6.0 rel/1.6.0 2016-09-08 23:38:54 -07:00
Vladimir Kotikov 4bda9f546b CB-11795 Add 'protective' entry to cordovaDependencies
The entry is required to protect end-users from fetching edge versions of the plugin by incompatible version of cordova. This also assumes that we will not introduce any regressions in compatibility w/ cordova in minor and patch releases. On every major release we will need to add similar entry with _next_ major version.

 This closes #157
2016-09-08 11:51:42 +03:00
Adam Nemitoff 2b6b6d9333 CB-9022 Fix exception thrown by call to remapApi on main thread
When reamapApi was being called for device file it was performing IO on
the WebCore thread and throwing an IllegalState exception.  This seems
to have only been a problem when local URL corresponded to a video file.

Moved calls to remapApi for device URLs within new thread context so
that IO is performed on background thread.

This is the same fix as 3ccf9f8 but for `download` operation

This closes #124
2016-08-23 11:07:50 +03:00
Simon MacDonald 13d5cfe4dc Plugin uses Android Log class and not Cordova LOG class 2016-08-22 16:27:02 -04:00
Vladimir Kotikov 3ccf9f8462 CB-9022 Resolve source URI on background thread
We should call remapUri on background thread otherwise it
throws IllegalStateException when trying to remap  'cdvfile://localhost/content/...' URIs via ContentFilesystem
2016-08-18 16:34:18 +03:00
Ben Marshall 9dc41bd4e9 CB-11316 windows: Added content-type for files
- added Content-Type header for each file in the multipart upload

 This closes #149
2016-08-17 17:24:00 +03:00
Vladimir Kotikov 41fa11b50f Close invalid PRs
This closes #153
2016-08-16 14:56:00 +03:00
Vladimir Kotikov 855def11c3 CB-11497 Use cordova-vm for testing 304 errors 2016-07-07 14:39:30 +03:00
Vladimir Kotikov 134dde5f90 Add badges for paramedic builds on Jenkins 2016-06-10 11:59:13 +03:00
Conrado Costa 7f76831b72 documentation with a wrong log message in fileTransfer.download function
This closes #148
2016-06-06 10:31:08 -07:00
Mikejo5001 82c5af9b5d added link to sample 2016-05-24 22:08:23 +03:00
Nikhil Khandelwal c475060acb Add pull request template. 2016-05-23 13:53:59 -07: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
Nikhil Khandelwal 6ad92c92ab Add fenced code blocks to help code formatting 2016-05-09 10:22:48 -07:00
Steve Gill 07d419d5b4 CB-11165 removed peer dependency 2016-04-27 16:18:52 -07:00
Mikejo5001 eb8052711f CB-11003: Adding sample section to documentation.
This closes #136
2016-04-25 17:05:24 -07:00
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 1.5.1 rel/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