Commit Graph

54 Commits

Author SHA1 Message Date
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
ba1e591dc7 Make sure "duplicate UUID" error is not repeated after fixing the db
Make sure no duplicate UUIDs are created by cancelling the save operation and saving again
Reverse sort order for modification date (now descending)
Added beta warning for kdb
change log + manifest for 0.9.7-pre1
2015-02-20 21:12:49 +01:00
Philipp Crocoll
8de5588cff added UI for kdb support
fixed issue with not keeping "meta stream entries" (database color, default username) and num encryption rounds
fixed issues with recycle bin (wasn't updating group list correctly, couldn't access newly created recycle bin group)
2015-02-09 20:24:57 +01:00
Philipp Crocoll
bc235b3ba5 added tests for kdb writing, fixed issue with syncing (keep UUIDs when loading again) 2015-02-07 20:54:13 +01:00
Philipp Crocoll
3506e253db renamed DatabaseLoader to DatabaseFormat
allow write access for kdb (UI not yet completed, but saving done)
2015-02-02 21:37:05 +01:00
Philipp Crocoll
26686ed8a7 Merge branch 'master' of https://git01.codeplex.com/forks/wlawski/keepass2android into wlawski
Conflicts:
	.gitignore
	src/java/InputStickAPI/gen/com/inputstick/api/R.java
	src/java/PluginInputStick/gen/com/inputstick/api/R.java
	src/java/PluginInputStick/gen/keepass2android/plugin/inputstick/R.java
	src/java/PluginInputStick/gen/keepass2android/pluginsdk/R.java
	src/keepass2android/Resources/Resource.designer.cs
2014-12-14 07:29:29 +01: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
415049af7a moved logic of StorageSelectionActivity to testable base class
added tests for StorageSelectionActivity, fixed bugs
if database is read-only, no edit buttons are displayed
2014-11-24 18:21:45 +01:00
Philipp Crocoll
2593119dec SelectStorageLocationActivity handles read-only/temporary cases (first implementation, untested) 2014-11-18 06:24:35 +01:00
Philipp Crocoll
49c4fa5b05 fixed issue loading kdb files with key file
improved error message by adding messages to loading exceptions in Java
2014-11-11 17:23:01 +01:00
Wiktor Lawski
dcadc11992 .gitignore: Do not track Resource designer files
Fixed rule to skip */Resource.designer.cs files and removed them from
version control system.
2014-08-31 09:14:36 +02:00
Philipp Crocoll
54f2abdb31 Revert changes in project files 2014-05-28 11:01:20 +02:00
Jareth Lomson
8db8b27423 Before changing author 2014-05-25 20:46:54 +02:00
Philipp Crocoll
bcbc225652 refactoring regarding AppTasks:
- AppTasks are now returned by ActivityResult through all AppTask-Related activities (includes ForwardResult)
 - AppTasks are now passed correctly even when using search (this fixes a problem that AppTasks like SearchUrl were not passed to EntryActivity so the App didn't return to the browser automatically)
 - AppTasks are deleted by ActivityResult or by checking for LaunchedFromHistory

Added option to leave app with db unlocked (this is even the default now!)

Added missing EntryActivity files
2014-05-16 17:15:43 +02:00
Philipp Crocoll
f613206dab Plugins: transferring list of protected fields
CreateDatabaseActivity: Passing app task to next activity
Keepass.cs: added documentation on Activities and AppTasks
SearchActivity.cs: passing appTask to next activity, using ForwardResult to pass ActivityResult back to previous activity
FileSelectActivity: pass AppTask to CreateDatabaseActivity, Recreate instead of Start+Finish (to have correct handling of ActivityResults)
2014-05-14 07:25:27 +02:00
Philipp Crocoll
2849620f55 Changelog: setCancellable(false)
AppTask: bugfix for read-only dbs
CopyToClipboardService: Can handle time-out for additional strings copied to clipboard; can update the Keyboard data
added comments
minor changes
2014-05-09 13:06:47 +02:00
Philipp Crocoll
59525f8378 Added message that kdb-support is readonly 2014-03-25 06:15:05 +01:00
Philipp Crocoll
736bbd5ec3 * show toast for cache messages in the center of the screen to avoid hiding the keyboard when entering passwords
* Bug fix with FTP access
* Bug fix with Group editing/adding
* Integrated Input Language Selection for keyboard
-> 0.9.3-r3
2014-02-19 21:49:18 +01:00
Philipp Crocoll
2baf93eb3d - 0.9.3 pre 3 -
Switched back to linking but with disabled System.Core (problems with Certificate validation)
Added catch when Unregistering receivers (could throw after recreate?)
2014-02-03 00:30:52 +01:00
Philipp Crocoll
bc1d5fb5f2 fixed problems in certificate validation code (updates in Mono?) Also disabled linking in release to avoid problems. 2014-02-02 23:36:19 +01:00
Philipp Crocoll
5f304ad9f6 updated translations from Crowdin 2014-01-27 04:25:49 -08:00
Philipp Crocoll
dc4088e7c7 Fixed bug with loading attachments from kdb
Update to GPL V3
Regard CanWrite in UI
2014-01-26 05:27:27 -08:00
Philipp Crocoll
8bbd18d3f8 Implemented loading of Keepass 1 (kdb) files. First test passed! 2014-01-26 03:51:55 -08:00
Philipp Crocoll
6e0645559d Introduced IDatabaseLoader
(kdb not yet working)
2014-01-25 19:38:12 -08:00
Philipp Crocoll
b437dceb70 Bug fixes,
integration of new keyboard
2014-01-24 11:29:34 -08:00
Philipp Crocoll
b320477a64 Improved Certificate Handling (fixed problem with Certificate validation) 2013-12-12 10:24:24 +01:00
Philipp Crocoll
c686cbeeb3 added UI for opening a database with OTPs. Some TODOs and things not yet working! 2013-11-17 07:17:15 +01:00
Philipp Crocoll
38572cf2a6 Adaptions to 2.24 KPLib changes 2013-11-13 04:14:43 +01:00
Philipp Crocoll
be9f18d996 integrated SkyDrive support 2013-11-06 05:25:19 +01:00
Philipp Crocoll
a44e8a9680 * added options to exclude libraries for faster build times (DEBUG only)
* implemented getFileEntry to get information about a single file
* password activity is launched automatically if there are recent files
2013-09-28 21:14:21 +02:00
Philipp Crocoll
74acd19092 * Added file chooser to KP2A
* added functionality to file storage interface and (some) implementations to delete files/folders, create folders, list contents
-> Dropbox functionality implemented
2013-09-28 07:46:44 +02:00
Philipp Crocoll
fbd3aafe71 First version of Dropbox-Support (not yet really functional - no possible to select the file to open) 2013-09-15 20:08:14 +02:00
Philipp Crocoll
04acfb99ed Fixed problem with opening non-existing files through CachingFileStorage 2013-08-14 06:36:12 +02:00
Philipp Crocoll
c63302ef5e * CachingFileStorage: Added more callbacks to provide user with more information what's going on
* Changed TestCacheSupervisor for easier use of the many callbacks
* Adapted tests for new callbacks

* GroupBaseActivity: Added sync menu command
* Preferences: Added option to enable/disable offline caching
* App: don't lock database when user wants to reload. This is done in PasswordActivity and should be done there after the password was filled into the pw field
* CheckDatabaseForChanges.cs: used when syncing a non-cached database
2013-08-14 06:05:25 +02:00
Philipp Crocoll
a671c4f241 Fixed SaveDb for CachingFileStorage and target file not existing
-> + Tests
First, very simple implementation of ChangingFileStorage in KP2A App (preliminary)
2013-08-08 20:40:35 +02:00
Philipp Crocoll
289e10e1c4 Added tests and functionality to ensure that caching and syncing works when the remote file is removed.
Added UI strings for sync and cache functionality
2013-08-06 22:21:58 +02:00
Philipp Crocoll
c0520c055f + SynchronizeCachedDatabase.cs: Synchronizes the local cache with the remote file. Applies merging if necessary.
+ Tests (not yet complete)
2013-08-01 22:20:39 +02:00
Philipp Crocoll
3cfb2c17e6 First implementation of CachingFileStorage
+ some tests to test loading and saving to cached storage
2013-07-30 20:42:16 +02:00
Philipp Crocoll
b750dcfa31 Minor modifications for KP2A offline and release 0.8.4 2013-07-17 23:11:28 +02:00
Philipp Crocoll
5699216c00 Clarified Yes/No buttons in Merge question dialog 2013-07-17 16:26:12 +02:00
Philipp Crocoll
99cbe84879 Added test for merge with kdbp file and fixed it in SaveDB 2013-07-13 20:13:45 +02:00
Philipp Crocoll
e887ce1db2 PwDatabase: Save method now preserves the file format (kdbp vs. kdbx)
SaveDb: fixed bug with catching exceptions
Added kdbp Tests
Changed versionCode for new preview release
2013-07-13 07:57:34 +02:00
Philipp Crocoll
96f9746650 added file with credentials as partial, not included file 2013-07-12 16:40:20 +02:00
Philipp Crocoll
2de7790c30 Added test for domain user on WebDav server with partial class to contain the credentials (not checked in) 2013-07-12 16:39:55 +02:00
Philipp Crocoll
deeaa673a5 Implemented UI for sync
Fixed bugs
2013-07-11 17:27:10 +02:00
Philipp Crocoll
84aeb31fd0 * Introduced IFileStorage interface: Better abstraction than current IOConnection (suitable for cloud support). Currently only implemented by the built-in IOConnection (local/http/ftp)
* Implemented Merge functionality for SaveDB. UI is not yet implemented!
* Added tests for merge functionality
2013-07-09 09:59:17 +02:00
Philipp Crocoll
d35218da39 Changed logging, Added test 2013-07-06 16:12:00 +02:00
Philipp Crocoll
5a82ed99bf Implemented Save-Test 2013-06-28 20:22:28 +02:00
Philipp Crocoll
903de8368a More refactoring and introduction of further abstractions
Added further tests
Fixed test loading with keyfile only
2013-06-25 21:27:41 +02:00