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
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