Steve Gill [Wed, 1 Mar 2017 01:41:26 +0000 (17:41 -0800)]
CB-12519 Updated version and RELEASENOTES.md for release 4.3.2
daserge [Wed, 18 Jan 2017 16:24:58 +0000 (19:24 +0300)]
CB-12353 Corrected merges usage in plugin.xml
Nikita Matrosov [Thu, 19 Jan 2017 13:07:19 +0000 (16:07 +0300)]
CB-12369: Add plugin typings from DefinitelyTyped
This closes #201
Alexander Sorokin [Wed, 18 Jan 2017 10:29:53 +0000 (13:29 +0300)]
CB-12363 Added build badges for iOS 9.3 and 10.0
Alexander Sorokin [Fri, 9 Dec 2016 10:23:48 +0000 (13:23 +0300)]
CB-12230 Removed Windows 8.1 build badges
Shazron Abdullah [Thu, 8 Dec 2016 00:55:07 +0000 (16:55 -0800)]
CB-12224 Incremented plugin version.
Shazron Abdullah [Sun, 11 Dec 2016 20:46:49 +0000 (12:46 -0800)]
CB-12236 - Fixed RELEASENOTES for cordova-plugin-file
Shazron Abdullah [Thu, 8 Dec 2016 00:39:45 +0000 (16:39 -0800)]
CB-12224 Updated version and RELEASENOTES.md for release 4.3.1
Nikita Matrosov [Fri, 18 Nov 2016 08:50:20 +0000 (11:50 +0300)]
CB-12112 windows: Make available to move folder trees
There was a mistake in the logic of recursive function for moving operation. As for destination folder, it was always used start folder.
This closes #198
Reon90 [Thu, 25 Aug 2016 20:25:49 +0000 (23:25 +0300)]
fix ENCODING_ERR for applicationDirectory
This closes #193
Nikita Matrosov [Thu, 29 Sep 2016 12:36:29 +0000 (15:36 +0300)]
CB-11848 windows: Remove duplicate slash after file system path
This closes #195, this closes #112
Shazron Abdullah [Wed, 28 Sep 2016 08:28:30 +0000 (01:28 -0700)]
CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
This closes #196
audreyso [Tue, 4 Oct 2016 18:13:10 +0000 (11:13 -0700)]
CB-11947 fixed typo that occurs when adding file-transfer plugin
This closes #197
Steve Gill [Fri, 9 Sep 2016 23:08:04 +0000 (16:08 -0700)]
CB-11832 Incremented plugin version.
Steve Gill [Fri, 9 Sep 2016 06:38:54 +0000 (23:38 -0700)]
CB-11832 Updated version and RELEASENOTES.md for release 4.3.0
Vladimir Kotikov [Wed, 31 Aug 2016 13:45:32 +0000 (16:45 +0300)]
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 #194
Connor Pearson [Tue, 27 Oct 2015 12:33:03 +0000 (08:33 -0400)]
Add handling for SecurityException
This closes #142
Nikita Matrosov [Mon, 22 Aug 2016 17:11:24 +0000 (20:11 +0300)]
CB-11368 android: Resolve content URLs produced by contacts plugin
This bug was happening because of invalid assignment of null value to variable of primitive type
This closes #192
Simon MacDonald [Mon, 22 Aug 2016 20:19:35 +0000 (16:19 -0400)]
Plugin uses Android Log class and not Cordova LOG class
Nikita Matrosov [Tue, 16 Aug 2016 07:35:49 +0000 (10:35 +0300)]
CB-11693 ios: Run copy and move operations in the background thread
This closes #190
Vladimir Kotikov [Tue, 16 Aug 2016 08:20:03 +0000 (11:20 +0300)]
CB-11699 Read files as Data URLs properly
When reading file as Data URL, CHUNK_SIZE must be divisible by 3,
otherwise the resultant string made by concatenating chunks will
not be a valid Base64 encoded Data URL.
Also Windows do not support reading sliced files as data URLs, so we
set chunk size equal to file size
daserge [Tue, 5 Jul 2016 12:27:21 +0000 (15:27 +0300)]
CB-11305 Enable cdvfile: assets fs root for DOM requests
Added test for cdvfile applicationDirectory fs root
Updated the docs and added the assets to Android available fs roots list
Allow cdvfile: access for android automatically
surya prakash singh [Mon, 18 Jul 2016 12:36:31 +0000 (18:06 +0530)]
Fixed Multiple console log issues
In function writeFile changed console.log("Successful file read") to console.log("Successful file write")
Mateus Nava [Fri, 10 Jun 2016 13:18:30 +0000 (10:18 -0300)]
CB-11385 android: Import java.nio.charset.Charset in LocalFileSystem class
This closes #185
Vladimir Kotikov [Fri, 10 Jun 2016 08:54:55 +0000 (11:54 +0300)]
Add badges for paramedic builds on Jenkins
Holly Schinsky [Thu, 9 Jun 2016 21:05:45 +0000 (17:05 -0400)]
CB-11407 ios: added extern keyword to constants to fix phonegap-webview-ios template issue.
Rob Close [Tue, 7 Jun 2016 17:15:26 +0000 (13:15 -0400)]
CB-11385 android: Does not pass sonarqube scan
The problem are "Empty Catch Block", which sonarqube considers a blocker, and the
following, which sonarqube considers major:
Preserve stack trace, Reliance on default encoding.
This closes #183
Nikhil Khandelwal [Mon, 23 May 2016 20:53:59 +0000 (13:53 -0700)]
Add pull request template.
Mikejo5001 [Tue, 3 May 2016 18:57:20 +0000 (11:57 -0700)]
Minor edits to the README.md
This closes #180
Raghav Katyal [Mon, 25 Apr 2016 20:51:31 +0000 (13:51 -0700)]
CB-11142: Fix the NeedPermission code for the case when external media is not mounted in Android
This closes #179
Mikejo5001 [Tue, 29 Mar 2016 00:22:49 +0000 (17:22 -0700)]
CB-11003: Adding samples to Readme.
This closes #176
Dmitry Blotsky [Sat, 23 Apr 2016 02:35:50 +0000 (19:35 -0700)]
CB-10996 Adding front matter to README.md
Richard Knoll [Wed, 20 Apr 2016 00:14:01 +0000 (17:14 -0700)]
CB-11115 android: Removing dependency on FileDescriptor toString in content provider tests
Steve Gill [Fri, 15 Apr 2016 20:08:26 +0000 (13:08 -0700)]
Updated version and RELEASENOTES.md for release 4.2.0
daserge [Thu, 7 Apr 2016 09:06:14 +0000 (12:06 +0300)]
CB-10960 Uncaught #<FileError> in write() when readyState != WRITING ?
Jesse MacFadyen [Fri, 8 Apr 2016 04:09:39 +0000 (21:09 -0700)]
Close #42
Simon MacDonald [Tue, 5 Apr 2016 16:14:03 +0000 (12:14 -0400)]
Replace PermissionHelper.java with cordova-plugin-compat
Richard Knoll [Mon, 28 Mar 2016 19:09:21 +0000 (12:09 -0700)]
CB-10977 android: Removing global state used for permission requests
This closes #174
Raghav Katyal [Fri, 11 Mar 2016 19:03:30 +0000 (11:03 -0800)]
CB-10798, CB-10384: Fixing permissions for Marshmallow. This closes #170
Jason Ginchereau [Sat, 12 Mar 2016 00:47:47 +0000 (16:47 -0800)]
Fix test failure on WP 8.1
This closes #171
Jesse MacFadyen [Thu, 10 Mar 2016 19:16:48 +0000 (11:16 -0800)]
Merge branch 'CB-10577a' of https://github.com/jasongin/cordova-plugin-file
Jason Ginchereau [Tue, 8 Mar 2016 21:11:21 +0000 (13:11 -0800)]
CB-7862: FileReader reads large files in chunks with progress. This closes #168
Jason Ginchereau [Wed, 9 Mar 2016 17:54:44 +0000 (09:54 -0800)]
CB-10577: Windows resolveLocalFileSystemURL should omit trailing slash for file
Jason Ginchereau [Fri, 4 Mar 2016 20:02:10 +0000 (12:02 -0800)]
CB-10577: Android resolveLocalFileSystemURL should detect directory vs file. This closes #167
Thillaiganesh, C [Wed, 17 Feb 2016 08:46:55 +0000 (14:16 +0530)]
Fix for CB-9753 : index out of bounds on requestFileSystem. This closes
Omar Mefire [Wed, 2 Mar 2016 20:16:43 +0000 (12:16 -0800)]
Remove 'warning' emoji, as it doesn't correctly display in the docs website: cordova.apache.org/docs/en/dev/cordova-plugin-file/index.html. This closes #166
daserge [Mon, 22 Feb 2016 16:14:26 +0000 (19:14 +0300)]
CB-10636 Add JSHint for plugins
Fixed file.spec.115
daserge [Thu, 11 Feb 2016 14:26:51 +0000 (17:26 +0300)]
CB-10411 Error in file.spec.129 of cordova-plugin-file
Check if external storage is available
Vladimir Kotikov [Tue, 9 Feb 2016 09:44:03 +0000 (12:44 +0300)]
CB-10557 Incremented plugin version.
Vladimir Kotikov [Tue, 9 Feb 2016 08:43:37 +0000 (11:43 +0300)]
CB-10557 Updated version and RELEASENOTES.md for release 4.1.1
t1st3 [Sun, 7 Feb 2016 13:35:00 +0000 (14:35 +0100)]
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
sgrebnov [Tue, 26 Jan 2016 10:11:01 +0000 (13:11 +0300)]
CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
github close #157
Steve Gill [Sat, 16 Jan 2016 00:58:32 +0000 (16:58 -0800)]
CB-10368 Incremented plugin version.
Steve Gill [Sat, 16 Jan 2016 00:35:05 +0000 (16:35 -0800)]
CB-10368 Updated version and RELEASENOTES.md for release 4.1.0
Steve Gill [Fri, 15 Jan 2016 23:11:19 +0000 (15:11 -0800)]
added .ratignore file
riknoll [Mon, 11 Jan 2016 19:25:50 +0000 (11:25 -0800)]
CB-10319 android: Adding reflective helper methods for permission requests
Tim Barham [Mon, 7 Dec 2015 01:08:26 +0000 (11:08 +1000)]
CB-10023 Fix "proxy not found error" on Chrome.
We shouldn't be patching requestFileSystem and resolveLocalFileSystem on Chrome. Recent change broke the existing logic for this.
Steve Gill [Tue, 1 Dec 2015 01:57:07 +0000 (17:57 -0800)]
CB-10035 Incremented plugin version.
Jesse MacFadyen [Sat, 21 Nov 2015 00:24:31 +0000 (16:24 -0800)]
CB-8863 [ios] Fix block usage of self
Steve Gill [Thu, 19 Nov 2015 06:13:55 +0000 (22:13 -0800)]
CB-10035 fixed markdown link
Steve Gill [Thu, 19 Nov 2015 06:11:41 +0000 (22:11 -0800)]
CB-10035 linked issues in RELEASENOTES.md
Steve Gill [Thu, 19 Nov 2015 03:45:05 +0000 (19:45 -0800)]
CB-10035 Updated version and RELEASENOTES.md for release 4.0.0
Steve Gill [Wed, 18 Nov 2015 22:53:10 +0000 (14:53 -0800)]
removed r prefix from tags
Steve Gill [Wed, 18 Nov 2015 21:54:08 +0000 (13:54 -0800)]
CB-10035 Updated RELEASENOTES to be newest to oldest
riknoll [Tue, 17 Nov 2015 01:58:05 +0000 (17:58 -0800)]
Merge remote-tracking branch 'jasongin/CB-8497'
Simon MacDonald [Sat, 14 Nov 2015 00:13:06 +0000 (19:13 -0500)]
Do not inject default AndroidPersistentFileLocation into config.xml
The Java code will pick the correct default. If the current way is
left then it makes it difficult to over-ride the default value as
you will end up with two AndroidPersistentFileLocation preferences
in the config.xml file.
Jason Ginchereau [Fri, 13 Nov 2015 01:59:21 +0000 (17:59 -0800)]
CB-8497 Fix handling of file paths with # character
Because # is a valid filename character, it must be encoded whenever it
is in a path that is part of a URI, to prevent part of the path from
being parsed as a URI fragment.
Jason Ginchereau [Wed, 11 Nov 2015 20:05:32 +0000 (12:05 -0800)]
CB-9891: Fix permission errors due to URI encoding inconsistency on Android
aroberson [Thu, 18 Jun 2015 19:50:18 +0000 (14:50 -0500)]
Fixed typo in change. This closes #119
aroberson [Thu, 18 Jun 2015 18:52:01 +0000 (13:52 -0500)]
Fixed NullPointer Exception in Android 5 and above due to invalid column name on cursor
Jason Ginchereau [Wed, 4 Nov 2015 00:24:43 +0000 (16:24 -0800)]
Fix default persistent file location
This closes #146
Jesse MacFadyen [Thu, 5 Nov 2015 01:57:12 +0000 (17:57 -0800)]
Merge branch 'windows_paths' of https://github.com/ghenry22/cordova-plugin-file. This closes #121.
Jesse MacFadyen [Thu, 5 Nov 2015 01:52:44 +0000 (17:52 -0800)]
Merge branch 'CB-9851' of https://github.com/MSOpenTech/cordova-plugin-file
ghenry22 [Thu, 5 Nov 2015 01:31:33 +0000 (09:31 +0800)]
fix applicationDirectory to use ms-appx:///
riknoll [Wed, 4 Nov 2015 18:15:37 +0000 (10:15 -0800)]
Merge remote-tracking branch 'jasongin/CB-9752'
ghenry22 [Tue, 3 Nov 2015 02:25:39 +0000 (10:25 +0800)]
add missing path and docs
Jason Ginchereau [Fri, 30 Oct 2015 20:15:47 +0000 (13:15 -0700)]
CB-7253: requestFileSystem fails when no external storage is present
There were 2 issues behind this bug:
1) DirectoryManager.getFreeDiskSpace() used an incorrect way of
checking the free internal storage space: using a path of "/" would
always result in 0 reported free space.
2) When checking whether requested space was available, the
requestFileSystem() method would always check the external storage
space and fallback to internal storage space, regardless of what
type of filesystem (external, internal, or other) was being requested.
To fix both of these issues, I've added a new getFreeSpaceInBytes() method
on the FileSystem base class, which is called on the actual filesystem
instance being retrieved by requestFileSystem(). The new method for
getting free space always uses the filesystem's correct root path, so
it works for internal, external or any other Android storage filesystem.
Jason Ginchereau [Wed, 28 Oct 2015 21:30:24 +0000 (14:30 -0700)]
Fix CB-9752: getDirectory fails on valid directory with assets filesystem
Calls to FileEntry.getDirectory() on an asset entry would internally call
the AssetFileSystem.listAssets() method using an asset path with a
trailing slash, regardless of whether a trailing slash was included by
the user. But neither the asset list cache (from cdvasset.manifest) nor
Android's AssetManager.list() API support matching a path with a trailing
slash. That resulted in a TypeMismatchException thrown from
AssetFileSystem.getFileForLocalURL(), because the asset path was found
but not matched as a directory as expected by the caller.
This fix removes the trailing slash from the asset path before matching
against the asset list cache or calling Android's AssetManager.list() API.
A new unit test for getting asset directories fails without and passes
with the fix.
While I'm here, I'm also adding a unit test for reading asset file
contents. There are a couple old bug reports about that (CB-7273,
CB-8350). The bugs don't repro anymore, but I'm adding the test anyway
since there wasn't good test coverage before.
Joe Bowser [Wed, 30 Sep 2015 18:22:00 +0000 (11:22 -0700)]
Added a check for File Write
Joe Bowser [Mon, 28 Sep 2015 21:57:38 +0000 (14:57 -0700)]
updated the engine tag
Joe Bowser [Mon, 28 Sep 2015 18:06:39 +0000 (11:06 -0700)]
Adding permissions, giving read seems to give write access as well
ghenry22 [Wed, 28 Oct 2015 05:42:00 +0000 (13:42 +0800)]
fix docs
ghenry22 [Wed, 28 Oct 2015 05:40:34 +0000 (13:40 +0800)]
fix docs formatting
ghenry22 [Wed, 28 Oct 2015 05:37:49 +0000 (13:37 +0800)]
update docs for windows platform details
ghenry22 [Wed, 28 Oct 2015 05:01:57 +0000 (13:01 +0800)]
fix
ghenry22 [Wed, 28 Oct 2015 04:55:14 +0000 (12:55 +0800)]
Add windows paths to cordova.file object
add standard paths to cordova.file object for windows. Standardises
behaviour for windows platform and resolves cordova.file is undefined
errors.
Dmitry Blotsky [Fri, 23 Oct 2015 19:11:50 +0000 (12:11 -0700)]
Actually fixing the contribute link.
Dmitry Blotsky [Fri, 23 Oct 2015 19:03:42 +0000 (12:03 -0700)]
Fixing contribute link.
daserge [Fri, 23 Oct 2015 10:50:33 +0000 (13:50 +0300)]
CB-9851 Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on Windows
Jesse MacFadyen [Wed, 21 Oct 2015 01:03:45 +0000 (18:03 -0700)]
Duplicate: Close #115
Jesse MacFadyen [Wed, 21 Oct 2015 00:58:23 +0000 (17:58 -0700)]
Invalid: Close #110
Jesse MacFadyen [Wed, 21 Oct 2015 00:55:43 +0000 (17:55 -0700)]
Merge branch 'master' of https://github.com/mgcrea/cordova-plugin-file
Jesse MacFadyen [Tue, 20 Oct 2015 23:38:45 +0000 (16:38 -0700)]
Merge branch 'patch-1' of https://github.com/masonicboom/cordova-plugin-file
Jesse MacFadyen [Tue, 20 Oct 2015 23:28:08 +0000 (16:28 -0700)]
CB-9331 getFreeDiskSpace iOS. Close #125 Close #138
Jesse MacFadyen [Tue, 20 Oct 2015 19:46:49 +0000 (12:46 -0700)]
Merge branch 'add-jira-link' of https://github.com/revolunet/cordova-plugin-file
Jesse MacFadyen [Mon, 19 Oct 2015 23:32:06 +0000 (16:32 -0700)]
added back newline
Jesse MacFadyen [Mon, 19 Oct 2015 22:22:00 +0000 (15:22 -0700)]
Merge branch 'CB-9763' of https://github.com/vldmrrr/cordova-plugin-file
vladimir [Wed, 7 Oct 2015 14:09:52 +0000 (09:09 -0500)]
Fail with FileError.ENCODING_ERR on encoding exception.
Tommy Tang [Mon, 21 Sep 2015 06:02:01 +0000 (14:02 +0800)]
override resolveLocalFileSystemURL by webkitResolveLocalFileSystemURL
for browser platform
add .project into git ignore list
Julien Bouquillon [Thu, 10 Sep 2015 16:27:07 +0000 (18:27 +0200)]
add JIRA issue tracker link