Commit Graph

126 Commits

Author SHA1 Message Date
Philipp Crocoll
a765bd125e fixed a few theme issues
implemented selection in preferences and recreation of activities
2014-02-02 07:04:27 +01:00
Philipp Crocoll
2d53021f78 Added option to export database
Fixed problem with native key transform
2014-01-27 22:47:08 -08:00
Philipp Crocoll
eff5157b01 Database: CanWrite=true made to default
ImeSwitcher: make sure only SecureSettings receives the broadcast
2014-01-27 04:05:13 -08:00
Philipp Crocoll
dc4088e7c7 Fixed bug with loading attachments from kdb
Update to GPL V3
Regard CanWrite in UI
2014-01-26 05:27:27 -08:00
Philipp Crocoll
8bbd18d3f8 Implemented loading of Keepass 1 (kdb) files. First test passed! 2014-01-26 03:51:55 -08:00
Philipp Crocoll
6e0645559d Introduced IDatabaseLoader
(kdb not yet working)
2014-01-25 19:38:12 -08:00
Philipp Crocoll
bbb32eda26 improved logging of AggregateException 2014-01-02 20:32:33 +01:00
Philipp Crocoll
f78116c6a1 Bugfix: crash when ":" in key string of protected fields 2014-01-02 20:30:15 +01:00
Philipp Crocoll
e27c4fa727 * added SFTP support
* Fixed bug with reference URL fields (for SearchURL)
* check for ART and display warning
2013-12-31 09:46:57 +01:00
Philipp Crocoll
7613af6c81 KP2A Offline release 2013-12-26 06:31:40 +01:00
Philipp Crocoll
1704e44afc Implemented GetFilename method in JavaFileStorage providers and updated usage in C# components. This resolves a bug with loading the OTP aux file in SkyDrive and Google Drive.
Fixed bug which prohibited creating databases on FTP/HTTP/WebDav (no credentials were queried)

Fixed bug which prohibited to use the Android 4.4 KITKAT file picker

Removed permission for internal file browser to allow using the internal picker in 4.4 as well (Security Exception)
2013-12-16 06:50:02 +01:00
Philipp Crocoll
b320477a64 Improved Certificate Handling (fixed problem with Certificate validation) 2013-12-12 10:24:24 +01:00
Philipp Crocoll
6699154ad6 Added DropboxAppFolderFileStorage
don't disclose protected strings
2013-11-27 22:21:29 +01:00
Philipp Crocoll
13eedf662a resolve bug with syncing on FTP 2013-11-22 21:58:32 +01:00
Philipp Crocoll
3fde2c9846 fixed problems with OTP, completed implementation to work with cloud storage 2013-11-22 21:47:13 +01:00
Philipp Crocoll
aeaba47573 extended implementation of OTP 2013-11-20 19:14:57 +01:00
Philipp Crocoll
c686cbeeb3 added UI for opening a database with OTPs. Some TODOs and things not yet working! 2013-11-17 07:17:15 +01:00
Philipp Crocoll
38572cf2a6 Adaptions to 2.24 KPLib changes 2013-11-13 04:14:43 +01:00
Philipp Crocoll
fd45e68b2f Minor UI polishing
- don't display "last access" (always =current time)
 - don't display expires if entry doesn't expire
 - don't view file name in password screen when only one file has ever been opened
2013-11-09 06:51:54 +01:00
Philipp Crocoll
500bcfcce7 added missing SkyDriveFileStorage C# wrapper 2013-11-09 04:53:38 +01:00
Philipp Crocoll
5619432177 bug fix: prepareFileUsage didn't work when file was cached but device offline 2013-11-07 21:33:35 +01:00
Philipp Crocoll
fd06b3d772 Small fixes for 0.9.1 2013-11-06 20:11:01 +01:00
Philipp Crocoll
be9f18d996 integrated SkyDrive support 2013-11-06 05:25:19 +01:00
Philipp Crocoll
81ed3d9955 Fixed display bug after Sync
Fixed problem with opening FTP/WebDav databases
removed English text from start page
removed debug-logging in GDrive-storage implementation
2013-10-28 21:53:18 +01:00
Philipp Crocoll
e6b1d37c21 added CreateFilePath method to IFileStorage and used it after file chooser for save
-> save as works with GDrive as well

minor changes and fixes
2013-10-27 21:55:19 +01:00
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
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