Commit Graph

51 Commits

Author SHA1 Message Date
Philipp Crocoll
42ead57738 Fixed bug with preare-file-usage in GDrive
added GetDisplayName in FileStorages
2013-10-27 15:06:57 +01:00
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
6a96d6729f Fixed bug: keyfile-only databases couldn't be loaded with pre-loading enabled 2013-10-24 06:44:45 +02:00
Philipp Crocoll
778b8dc731 fixed layout problem in text_with_help.xml
added includes
enabled Dropbox for Debug mode again
2013-10-14 20:56:23 +02:00
Philipp Crocoll
c81ca4268e Drastically improved UI for creating a new database (own activity, file browser for key files, explanation texts, password generator, show password button)
Added DejaVuSansMono.ttf for password display in EntryActivity
2013-10-12 22:20:02 +02:00
Philipp Crocoll
2f3bbff841 corrected message text 2013-10-11 03:17:40 +02:00
Philipp Crocoll
4da67d42c0 fixed file selection workflow for FTP/HTTP 2013-10-07 07:11:47 +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
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