Commit Graph

22 Commits

Author SHA1 Message Date
Philipp Crocoll
e00eb2a5bc commit unsaved change regarding read-only access to content storage 2021-02-19 11:53:45 +01:00
Philipp Crocoll
54f8916ddd no longer checking for FLAG_SUPPORTS_WRITE for ContontStorage - this often returns false even for non-readonly files, closes https://github.com/PhilippC/keepass2android/issues/1212 2021-02-19 11:41:03 +01:00
Philipp Crocoll
965a79f029 don't throw potential exception when checking if file is readonly 2020-05-30 19:48:02 +02:00
Philipp Crocoll
0273b4d2bb AndroidContentStorage: truncate file before writing, closes #583 2020-01-08 21:21:36 +01:00
Philipp Crocoll
99d0ecfd59 refactoring, use less UrlUtil and more IFileStorage 2019-10-01 20:04:03 +02:00
Philipp Crocoll
183c171da6 first version of KeeAutoExec functionality in Keepass2Android 2018-11-19 19:06:12 +01:00
Philipp Crocoll
d1c7a124cf don't return empty strings for filename without path and ext in content storage, fixes #446 2018-07-09 11:03:10 +02:00
Philipp Crocoll
e42d8b8eeb improve message when storage access framework access permission is revoked 2018-04-02 19:05:32 +02:00
Philipp Crocoll
5d7a5ace66 change the way how Files are written through SAF. Fixes #241 2018-02-08 11:46:48 +01:00
Philipp Crocoll
b993be4658 add some info texts, especialy for novice users to avoid some common misunderstandings. closes #46, closes #47 2018-01-23 23:09:17 +01:00
Philipp Crocoll
7ccf55f84f make sure quick-unlock code is respected always, release 1.01b 2017-01-25 05:01:26 +01:00
Philipp Crocoll
53877a16a9 implement first version of NetFtpFileStorage 2016-11-14 12:31:16 +01:00
Philipp Crocoll
c694ed0f96 started working on FTP(S) implementation using netftp and introduction of "server accounts" 2016-02-03 12:43:37 +01:00
Philipp Crocoll
3b5c28c02a fixed bugs
removed some error reporting in cases where the errors are somewhat expected and handled
2016-01-29 22:09:22 +01:00
Philipp Crocoll
aaa6b371e0 Bug fixes:
* make sure we never have an invalid startIndex in PwGroup.SearchEvalAdd
 * make sure AndroidContentStorage does never throw (not if permission denial exception occurs) and make sure we always return a reason for read-only. Also don't return read-only when it's not.
 * StopListening doesn't log Invalid State Exception as unexpected
2016-01-18 21:18:22 +01:00
Philipp Crocoll
64e265b2be display reason why file is read only when first opening a database 2016-01-13 05:13:02 +01:00
Philipp Crocoll
8fc98df53b start implementing Xamarin.Insights based error reports 2016-01-11 20:58:42 +01:00
Philipp Crocoll
ed15af3f8f * check if entered URI looks like a directory (not a file) and issue warning in SelectStorageLocationActivity
* check if URI is directory and refuse to delete in IOConnection
2015-06-17 06:33:29 +02:00
Philipp Crocoll
80b6a1d287 Support for Storage Access Framework
* EntryEditActivity: support content-URIs and extracting display names from them
* AndroidContentStorage.cs, SelectStorageLocationActivityBase.cs: support for SAF with persistable URI permissions
* FileChooser returns URI as data
* CreateDatabaseActivity.cs supports content URIs
* FileStorageSelectionActivity: doesn't show "Local file" anymore, now system file picker on KitKat
2015-06-07 22:44:34 +02:00
Philipp Crocoll
ac55c1fd86 changed to Google Play Services (ICS) component and up-to-date Support V4 library 2014-11-30 21:43:38 +01:00
Philipp Crocoll
2593119dec SelectStorageLocationActivity handles read-only/temporary cases (first implementation, untested) 2014-11-18 06:24:35 +01:00
Philipp Crocoll
3239131a84 Key files can be opened from deliberate locations
TODO: fix a problem with .kdb-files and key files

Added very basic and not yet functional AndroidContentStorage.cs
2014-11-08 21:29:36 +01:00