Commit Graph

286 Commits

Author SHA1 Message Date
Steve Gill fc2cdcca21 CB-8538 Added package.json file 2015-02-25 00:26:08 -08:00
alsorokin c772257a85 CB-8495 Fixed wp8 and wp81 test failures 2015-02-18 17:02:40 +03:00
Jesse MacFadyen 49c21f951f Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer 2015-02-11 17:47:59 -08:00
Andrew Grieve d8f7545526 CB-8429 Incremented plugin version. 2015-02-11 17:46:05 -08:00
Andrew Grieve e0f9aad374 CB-8429 Updated version and RELEASENOTES.md for release 0.5.0 (take 2) 2015-02-11 17:46:04 -08:00
Vladimir Kotikov 314677c0c3 Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46 2015-02-11 17:46:04 -08:00
Vladimir Kotikov 5ee666ce0b CB-8407 Use File proxy to construct valid FileEntry for download success callback
Due to changes in file plugin (https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f) result of download method should now have filesystemName specified for proper work. This updates download method to construct FileEntry properly, using File plugin proxy.
2015-02-11 17:46:03 -08:00
Vladimir Kotikov 28189e54f3 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-11 17:46:03 -08:00
Andrew Grieve 976275e955 CB-8429 Incremented plugin version. 2015-02-11 17:46:02 -08:00
Andrew Grieve e680c783d3 CB-8429 Updated version and RELEASENOTES.md for release 0.5.0 2015-02-11 17:46:01 -08:00
Vladimir Kotikov bb0ed704a8 CB-7957 Adds support for browser platform 2015-02-11 17:46:01 -08:00
Vladimir Kotikov 837771c4c6 CB-8095 Fixes JSHint and formatting issues 2015-02-11 17:46:00 -08:00
Vladimir Kotikov 320f0d4173 CB-8095 Updates tests and documentation 2015-02-11 17:46:00 -08:00
Vladimir Kotikov e781bceba7 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-02-11 17:45:59 -08:00
Jesse MacFadyen 9269172479 Merge branch 'CB-7957' of https://github.com/MSOpenTech/cordova-plugin-file-transfer, closes #26, closes #59 2015-02-11 17:43:32 -08:00
Andrew Grieve a00c258c09 CB-8429 Incremented plugin version. 2015-02-09 09:59:59 -05:00
Andrew Grieve 1882bfbd2d CB-8429 Updated version and RELEASENOTES.md for release 0.5.0 (take 2) 0.5.0 r0.5.0 2015-02-09 09:59:41 -05:00
Vladimir Kotikov 33876409dd Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46 2015-02-06 14:53:57 +03:00
Vladimir Kotikov 7a93626812 CB-8407 Use File proxy to construct valid FileEntry for download success callback
Due to changes in file plugin (https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f) result of download method should now have filesystemName specified for proper work. This updates download method to construct FileEntry properly, using File plugin proxy.
2015-02-05 16:48:33 +03:00
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