Commit Graph

317 Commits

Author SHA1 Message Date
Vladimir Kotikov 0394c0ce1e CB-8407 Removes excess path to native path conversion in download method
This fixes file transfer download tests failures, when target file is specified by ms-appdata:/// uri on Windows.
2015-02-05 16:48:32 +03:00
Andrew Grieve 7753baacf7 CB-8429 Incremented plugin version. 2015-02-04 20:54:02 -05:00
Andrew Grieve 155988881b CB-8429 Updated version and RELEASENOTES.md for release 0.5.0 2015-02-04 20:12:45 -05:00
Vladimir Kotikov b7af2e7e00 CB-7957 Adds support for browser platform 2015-02-04 18:28:29 +03:00
Jesse MacFadyen bc43b4653a Merge branch 'CB-8095' of https://github.com/MSOpenTech/cordova-plugin-file-transfer 2015-02-03 11:53:06 -08:00
Kelly Campbell 0aae94495f android: Fix error reporting for unknown uri type on sourceUri instead of targetUri 2015-01-31 22:34:33 -05:00
Darryl Pogue c12f1eb9be CB-5059 Add a CookieManager abstraction for pluggable webviews (close #60)
This allows FileTransfer to correctly use webview cookies regardless of
which webview engine is in use.
2015-01-30 10:19:34 -05:00
Andrew Grieve adf0816544 ios: Fix compile warning about implicity int conversion 2015-01-27 11:32:58 -05:00
Andrew Grieve 24a26d235b CB-8351 Use argumentForIndex rather than NSArray extension 2015-01-23 09:49:20 -05:00
Andrew Grieve 2b111a229d CB-8351 Use a local copy of DLog macro rather than CordovaLib version 2015-01-22 15:28:06 -05:00
Josh Soref 0481a2ad92 www/FileTransfer.js
CB-7316 Fix over-eager credentials pattern
2015-01-19 11:34:20 -05:00
Edna Morales 6db2820258 CB-8296 ios: Fix crash when upload fails and file is not yet created (close #57) 2015-01-13 20:24:28 -05:00
Vladimir Kotikov fa900e11f0 CB-8095 Fixes JSHint and formatting issues 2015-01-08 16:50:16 +03:00
Vladimir Kotikov 8983e51175 CB-8095 Updates tests and documentation 2015-01-08 16:50:15 +03:00
Vladimir Kotikov 18f3efdad2 CB-8095 Rewrite upload method to support progress events properly
* Uses backgroundUploader class instead of XHR
* Returns proper response body in case of error
2015-01-08 16:50:15 +03:00
Jesse MacFadyen 046e9ae59a fix merge issue with cleanUrl 2015-01-06 13:28:57 -08:00
Andrey Kurdyumov 2527338f43 Document "body" property on FileTransferError 2015-01-05 14:23:53 +06:00
Ian Clelland 2bfbd2c782 CB-8125: Fix spec tests 28 and 29
These tests had long been failing (silently). The refactor for CB-8125
surfaced those failures, and so this fixes them.
2014-12-17 11:08:46 -05:00
Dmitry Blotsky fc8f4f0001 CB-8125: Reorganize and clean up test suite.
Audited all calls to done() to ensure correct async execution. Removed some redundant code. Removed depencency on mobile-spec: tests now run even if started independently. Tested without plugin-test-framework and with it, on Windows, iOS, and Android.

Made deleteFile and writeFile raise real errors when they encounter real problems; otherwise, made their logging sound less threatening. Fixed spec.17, using localFilePath instead of fileName.

Fixed issue with pending() throwing errors when being called in an async 'unsupported' callback by calling it in afterEach. Also made log messages slightly more informative.

This closes #55
2014-12-17 11:08:27 -05:00
Ian Clelland 169c8b7cb8 Merge branch 'unplug-whitelist' 2014-12-12 07:48:43 -05:00
Jesse MacFadyen e6e44aaa2f removed unneeded String() casting all over the place, fixed my own missing ) error 2014-12-05 16:13:49 -08:00
Jesse MacFadyen 71bd73ec9c exec guarentees that proxy is called with success/error function so there is no need to constantly check that it exists 2014-12-05 15:58:16 -08:00
Jesse MacFadyen 7fbab9fa1c Error callback should always be called with the FileTransferError object, and not just the code 2014-12-05 15:51:58 -08:00
Jesse MacFadyen cea07c08d5 alias appData to Windows.Storage.ApplicationData.current 2014-12-05 15:40:02 -08:00
Jesse MacFadyen 941e81ef22 Alias FileTransferError to FTErr to save some horizontal space 2014-12-05 15:24:46 -08:00
Jesse MacFadyen c0fd1a3f46 Merge branch 'CB-8014' of https://github.com/marti1125/cordova-plugin-file-transfer 2014-12-05 12:28:49 -08:00
Jesse MacFadyen f415f35c20 Merge branch 'CB-8093' of https://github.com/MSOpenTech/cordova-plugin-file-transfer 2014-12-05 12:22:21 -08:00
Steve Gill 7ee3bcaf53 CB-8110 Incremented plugin version. 2014-12-02 16:08:50 -08:00
Steve Gill 04e114e055 CB-8110 Updated version and RELEASENOTES.md for release 0.4.8 0.4.8 r0.4.8 2014-12-02 16:07:02 -08:00
Ian Clelland 25de5332cd Merge branch 'CB-4674' 2014-11-27 14:29:58 -05:00
Ian Clelland 47d8f18663 Merge branch 'CB-8021' 2014-11-27 14:28:16 -05:00
Ian Clelland 6c253e832d Merge branch 'fixtests' 2014-11-27 14:24:58 -05:00
Vladimir Kotikov 80aa828021 CB-8093 Fixes incorrect FileTransferError returned in case of download failure 2014-11-27 18:32:34 +03:00
Willy Aguirre 27c01daf00 update array 2014-11-26 11:44:19 -05:00
Lucas Gonze 77a812a95b Fixes #CB-8021 - adds documentation for httpMethod to doc/index.md. However, translations still need to be addressed. 2014-11-25 16:26:48 -08:00
Ian Clelland 674c3ae180 CB-7912: Update to work with whitelist plugins in Cordova 4.x 2014-11-14 11:23:07 -05:00
maria.bukharina 6fee835928 CB-7944 Pended unsupported auto tests for windows
This closes #48
2014-11-14 11:16:48 -05:00
Josh Soref 60b020e593 CB-7977 Mention deviceready in plugin docs 2014-11-12 12:43:03 -05:00
Kiran 4879a09553 Fix for https://issues.apache.org/jira/browse/CB-4674
https://issues.apache.org/jira/browse/CB-4674
2014-10-28 22:02:25 +05:30
Victor Sosa aebe887ffe CB-7700 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer 2014-10-15 15:20:34 -04:00
Ian Clelland d63c274041 Merge branch 'master' of https://github.com/sosahvictor/cordova-plugin-file-transfer 2014-10-06 14:56:54 -04:00
Steven Gill 7cfde19cac Incremented plugin version. 2014-10-03 17:09:46 -07:00
Steven Gill d0d8698af1 Updated version and RELEASENOTES.md for release 0.4.7 0.4.7 r0.4.7 2014-10-03 16:10:12 -07:00
Victor Sosa 8ae7ab0591 CB-7700 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer 2014-10-02 18:12:05 -05:00
purplecabbage e30057678b Merge branch 'CB-7529' of https://github.com/MSOpenTech/cordova-plugin-file-transfer 2014-09-17 14:44:51 -07:00
Marcel Kinard edcdfebf02 CB-7571 Bump version of nested plugin to match parent plugin 2014-09-17 16:27:15 -04:00
Marcel Kinard 8391656b49 CB-7571 Incremented plugin version. 2014-09-17 15:35:01 -04:00
Marcel Kinard 16249c2f7a CB-7571 Updated version and RELEASENOTES.md for release 0.4.6 0.4.6 r0.4.6 2014-09-17 15:27:41 -04:00
Lisa Seacat DeLuca 58a60f1bf3 CB-7471 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer 2014-09-15 17:26:09 -04:00
Vladimir Kotikov 223191f9bc Construct proper FileEntry with nativeURL property set 2014-09-12 16:02:31 +04:00