Commit Graph

40 Commits

Author SHA1 Message Date
Philipp Crocoll 71c422d491 Merge branch 'Release086'
Conflicts:
	src/keepass2android/Resources/Resource.designer.cs
2013-09-16 21:47:37 +02:00
Philipp Crocoll 0eb84927f1 Release 0.8.6 (non-offline-version) 2013-09-16 21:08:25 +02:00
Philipp Crocoll 2911119a24 improved error handling of DropboxFileStorage 2013-09-16 20:22:35 +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 b9dce51afa Groups can be edited 2013-09-03 22:58:15 +02:00
Philipp Crocoll e8ad5f0845 Implemented moving of groups 2013-08-30 22:58:29 +02:00
Philipp Crocoll e1de3e2cbf entries can be moved to other groups 2013-08-28 14:00:54 +02:00
Philipp Crocoll 964d0ea512 database is correctly unloaded if saving fails 2013-08-28 14:00:36 +02:00
Philipp Crocoll 04acfb99ed Fixed problem with opening non-existing files through CachingFileStorage 2013-08-14 06:36:12 +02:00
Philipp Crocoll e014b2c185 Merge branch 'AlexVallat/Keepass2AndroidPerfOpt'
Conflicts:
	src/Kp2aBusinessLogic/database/edit/LoadDB.cs
2013-08-14 06:13:16 +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
AlexVallat 8a193f5216 Better exception handling for pre-loading 2013-08-10 19:49:59 +01:00
Philipp Crocoll 370c937578 Merge branch 'AlexVallat/Keepass2AndroidPerfOpt'
Conflicts:
	src/KeePassLib2Android/Serialization/IOConnection.cs
	src/Kp2aBusinessLogic/IKp2aApp.cs
	src/Kp2aBusinessLogic/database/Database.cs
	src/keepass2android/Resources/Resource.designer.cs
	src/keepass2android/app/App.cs
	src/keepass2android/fileselect/FileSelectActivity.cs
2013-08-10 20:25:10 +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
AlexVallat b9aad79b62 Made pre-loading optional
Refactoring of PasswordActivity/QuickUnlock lifecycle
2013-08-07 18:34:43 +01: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
AlexVallat f0dfdefd67 Load Database task async wait moved to LoadDb runnable rather than blocking UI thread (in case the file is very slow, or the user is very quick to enter their password)
Database Unlocked warning notification now uses a 4.1 extended "Lock Database" button, and the main action is now just to activate the app.

PasswordActivity no longer loads the database file into memory ready for loading if it's already loaded and we're showing QuickUnlock instead.
2013-08-03 19:58:01 +01: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
AlexVallat d678c711fa On master: Current working dir changes 2013-07-25 13:47:05 +01:00
AlexVallat cab539e85f Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-24 08:12:45 +01:00
Philipp Crocoll c289346538 Bug fixes and debugging, -> v. 0.8.4b 2013-07-21 21:46:58 +02:00
Philipp Crocoll b750dcfa31 Minor modifications for KP2A offline and release 0.8.4 2013-07-17 23:11:28 +02:00
AlexVallat 689f468b8f Async load database encrypted bytes to memory while entering password 2013-07-17 19:19:17 +01:00
Philipp Crocoll 5699216c00 Clarified Yes/No buttons in Merge question dialog 2013-07-17 16:26:12 +02:00
Philipp Crocoll ed7a85dde7 fixed a bug with creating databases 2013-07-15 20:42:16 +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 deeaa673a5 Implemented UI for sync
Fixed bugs
2013-07-11 17:27:10 +02:00
Philipp Crocoll d90407fd2d Merge https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/Keepass2AndroidPerfOpt 2013-07-09 10:13:26 +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 64e62cae70 Changed/Added logging 2013-07-06 16:12:40 +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
AlexVallat dea5a7152f Merging in changes 2013-06-20 08:19:07 +01:00
AlexVallat f442a04520 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/Kp2aBusinessLogic/SearchDbHelper.cs
	src/keepass2android/Database.cs
	src/keepass2android/EntryActivity.cs
	src/keepass2android/EntryEditActivity.cs
	src/keepass2android/icons/DrawableFactory.cs
	src/keepass2android/search/SearchResults.cs
2013-06-19 20:31:18 +01:00
Philipp Crocoll 533c6f207e More refactoring
Added first simple unit test
2013-06-19 05:29:47 +02:00
Philipp Crocoll 8b08baa51a A little more refactoring: Removed/moved classes, some renames, ...
Added comments for most classes
2013-06-15 22:02:48 +02:00
Philipp Crocoll d2a06617eb Refactoring:
Wiped out the historical partial Java naming conventions, replaced by C#
removed unused fields/parameters
removed many unused usings
...
(Thanks to ReSharper :-))
2013-06-15 12:40:01 +02:00
Philipp Crocoll 26575c4ba4 Splitted keepass2android project into
- keepass2android: UI stuff only
 - Kp2aBusinessLogic: Password-Database related algorithms (even though tied to android, no UI required here)

Removed dependencies of logic layer to static Application, Resource class or other UI stuff
Added MonoDroidUnitTesting (not yet used, will be used for testing logic layer)
2013-06-14 06:14:50 +02:00