Commit Graph

75 Commits

Author SHA1 Message Date
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
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
Philipp Crocoll
533c6f207e More refactoring
Added first simple unit test
2013-06-19 05:29:47 +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