Commit Graph

9 Commits

Author SHA1 Message Date
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
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
5699216c00 Clarified Yes/No buttons in Merge question dialog 2013-07-17 16:26:12 +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
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