Commit Graph

65 Commits

Author SHA1 Message Date
Philipp Crocoll e3b18b88b3 Improvements to GDrive implementation, started integration with KP2A app (file chooser not yet working) 2013-10-25 04:05:37 +02:00
Philipp Crocoll 6f22ad012e * modified setup workflow for IFileStorage (to be compatible with Google Drive requirements)
* scheme (protocol) is always contained in path variables passed to JavaFileStorage implementors
* file chooser improvements (internal browser displayed also in file chooser list e.g. when selecting an attachments, compatible with Solid Explorer content uris, removed OI stuff)
* started GDrive support
2013-10-07 06:28:06 +02: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 176ad6244d improved error handling for dropbox filestorage 2013-09-17 06:53:18 +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 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