Commit Graph

320 Commits

Author SHA1 Message Date
Philipp Crocoll
30de7e80b6 implemented GoogleDriveFileStorage.java
modified JavaFileStorage interface to work with Google Drive
2013-10-19 20:35:08 +02:00
Philipp Crocoll
1923f28311 Release 0.9 preview 2 2013-10-15 03:24:23 +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
8c69a0b5bd Started implementing GDriveFileStorage
removed unnecessary check for RequiresSetup in PasswordActivity
2013-10-08 17:01:47 +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
fcae4fcbb6 Bugfix with auto-open db 2013-10-03 04:15:40 +02:00
Philipp Crocoll
56ca74a3d9 added missing import 2013-10-03 04:05:14 +02:00
Philipp Crocoll
cfb910a8ae refactoring (java->c# naming convention) 2013-10-03 04:05:02 +02:00
Philipp Crocoll
c53bfefee5 updated android-filechooser library (non-public release from HBA)
fixed bug with date parsing in Dropbox
added caching of FileEntry in Kp2aFileProvider.java
2013-10-03 03:47:07 +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
15b7ca38c8 Included changes from 5.4.2 version to fix light theme actionbar 2013-09-27 06:32:29 +02:00
Philipp Crocoll
9deeeef382 + Kp2a FileChooser base class 2013-09-26 05:33:08 +02:00
Philipp Crocoll
881c77c565 Deleted unused resources
added file icons for KP2A databases
disabled logging output
2013-09-26 05:04:24 +02:00
Philipp Crocoll
5c49a7fcb1 Bookmarks and history removed 2013-09-26 01:59:35 +02:00
Philipp Crocoll
848f99562c Removed appcompat v7 dependency, changed version of v4 support lib 2013-09-25 21:03:18 +02:00
Philipp Crocoll
96a30e4588 + android-filechooser library 2013-09-20 22:07:41 +02:00
Philipp Crocoll
6cb44497d1 Fixed problem with highlighting the selected item in the file storage list 2013-09-20 22:01:40 +02:00
Philipp Crocoll
176ad6244d improved error handling for dropbox filestorage 2013-09-17 06:53:18 +02:00
Philipp Crocoll
15fde6ff92 fixed variable name to follow style conventions 2013-09-17 04:53:14 +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
a3e090d9d9 Release 0.8.6 nonet 2013-09-16 21:44:45 +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
042ee03f56 fixed sizes of notification icons 2013-09-08 21:20:49 +02:00
Philipp Crocoll
27d07982f0 Preparations for 0.8.6 preview release 2013-09-06 22:56:29 +02:00
Philipp Crocoll
16a5960f7b QuickUnlock icon can be hidden in settings 2013-09-06 20:12:12 +02:00
Philipp Crocoll
c7107c2673 Improved image quality of gray launcher icon (for notification bar)
Improved preferences by grouping entries under app settings
2013-09-06 06:41:52 +02:00
Philipp Crocoll
9418e42a7c About-Dialog improvements and credit to more contributors. 2013-09-04 06:31:06 +02:00
Philipp Crocoll
48ad2b309b support for twofish cipher 2013-09-03 23:10:59 +02:00
Philipp Crocoll
b9dce51afa Groups can be edited 2013-09-03 22:58:15 +02:00
Philipp Crocoll
320f5e1fea Bugfix: it's now possible again to close the app by pressing back button in QuickUnlock (especially import with Share URL search) 2013-09-03 21:57:13 +02:00
Philipp Crocoll
2ca50c5778 removed Caching related setting from NoNet 2013-09-03 21:37:43 +02:00
Philipp Crocoll
dd5710cf79 Moving of elements uses colors from resources 2013-09-01 22:12:48 +02:00
Philipp Crocoll
2afbbb37fc Merge branch 'Release085' 2013-08-31 13:58:22 +02:00
Philipp Crocoll
63baf77df3 PasswordActivity.cs: show password is remembered during screen rotation.
German translation: fixed a string
2013-08-31 13:58:00 +02:00
Philipp Crocoll
d83e8b09b5 updated project.zip with new translations 2013-08-30 23:43:58 +02:00
Philipp Crocoll
0f5ff663da Updated version number 2013-08-30 23:43:17 +02:00
Philipp Crocoll
5dbda0a01a fixed whitespace 2013-08-30 23:42:06 +02:00
Philipp Crocoll
e921b94f70 Updated translations from crowdin 2013-08-30 23:41:57 +02:00
Philipp Crocoll
df875f959e Merge branch 'AlexVallat/Keepass2AndroidPerfOpt' into Release085
Conflicts:
	src/keepass2android/search/SearchResults.cs
2013-08-30 23:10:43 +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
AlexVallat
76af17cfa0 Search bug fixing 2013-08-16 18:46:05 +01:00
Philipp Crocoll
55e81ab25b * fixed bug in SearchResults.cs: _db was always null
* refactoring of GroupView: removed GroupAddEntryView.cs, renamed GroupViewOnlyView.cs to GroupView with added method to set button visibility
* introduced AppTask for moving an element (but not yet implemented/used)
2013-08-16 14:26:06 +02:00
AlexVallat
bb0827ea51 Added serializer precompile to preload step for kdbp files 2013-08-15 18:49:27 +01:00
Philipp Crocoll
4cbc4542c2 updated version number and change log 2013-08-14 08:12:09 +02:00
Philipp Crocoll
273dd2ff65 updated translations from crowdin 2013-08-14 08:11:53 +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
05c131a745 Merge branch 'master' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/Keepass2AndroidPerfOpt
Conflicts:
	src/keepass2android/PasswordActivity.cs
2013-08-14 06:09:26 +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
d169cd3f5b Bugfix: Search without context now working again (fixes resolving of references fields) 2013-08-14 05:59:26 +02:00
Philipp Crocoll
21f38a4eaa define "RELEASE" in Release builds to make sure Debuggable is set to false 2013-08-13 21:52:17 +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
27d75b4d5a + Manifest for Unit-Test project 2013-08-10 20:10:47 +02:00
Philipp Crocoll
96a4831758 Removed ExitChangeDb result code (no longer required)
Added "!IsFinisihing"
2013-08-10 20:09:13 +02:00
Philipp Crocoll
eaa426db33 FileSelectActivity is only shown when necessary or when explicitly selected by user 2013-08-09 22:31:30 +02:00
Philipp Crocoll
3b1b10385f Merge branch 'master' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/Keepass2AndroidPerfOpt
Conflicts:
	src/keepass2android/QuickUnlock.cs
2013-08-09 21:25:54 +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
Philipp Crocoll
3b905a354f App locks the database before trying to reload. 2013-08-06 20:46:09 +02:00
AlexVallat
518479904a Remove debugging delay, ensure prompt GC of memory used when loading DB 2013-08-04 09:40:26 +01: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
bf0897e7ec added comment with small todo 2013-08-03 12:34:12 +02:00
Philipp Crocoll
ac88da90e7 More changes due to other Mono Version and VS2012 2013-08-03 12:33:47 +02:00
Philipp Crocoll
4f7744999f EntryActivity.cs: Ensure notifications don't pop up if locked
QuickUnlock.cs: ensure keyboard shows up also OnResume
App.cs: use GetDb() to ensure db is not null
2013-08-03 12:33:19 +02:00
Philipp Crocoll
85e6a0e9c2 Kp2aLog.cs: thread safe file access 2013-08-03 12:31:40 +02:00
Philipp Crocoll
28fb854fb1 Modifications for Mono for Android 4.8 2013-08-03 12:30:13 +02:00
Philipp Crocoll
8693dfe9f4 Added logging regarding native key transform 2013-08-02 16:48:22 +02:00
Philipp Crocoll
e6bf40321b removed invalid character sequences from italian and chinese resource files 2013-08-01 22:22:50 +02:00
Philipp Crocoll
f0f305fc9f Deleted android-support library due to changes in Mono for Android 4.6->4.8 2013-08-01 22:22:26 +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
89eb4b0a34 Added missing java file
Added many ignores
2013-07-30 20:41:19 +02:00
AlexVallat
84efaae462 Never hang on to reference to PwDatabase (allow it to be garbage collected when cleared) 2013-07-27 12:25:13 +01:00
AlexVallat
8a1136aa97 Added missing newline 2013-07-27 09:36:37 +01:00
AlexVallat
e3b707b529 Working, OngoingNotifications foreground only when QuickLocked 2013-07-27 09:22:39 +01:00
Philipp Crocoll
8c682d8a24 more paranoid setting: QuickUnlock doesn't show the filename either when filenames are not remembered 2013-07-27 09:36:32 +02:00
AlexVallat
8c8c94c454 Working, but service dies after sharing 2013-07-26 20:10:03 +01:00
AlexVallat
0006a19066 New icons 2013-07-25 17:56:44 +01:00
AlexVallat
d678c711fa On master: Current working dir changes 2013-07-25 13:47:05 +01:00
AlexVallat
6c94824028 untracked files on master: cab539e Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-25 13:47:05 +01:00
Philipp Crocoll
4294791d76 Added option not to remember recently opened files 2013-07-24 20:32:39 +02:00
AlexVallat
cab539e85f Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-24 08:12:45 +01:00
Philipp Crocoll
57506336c1 Added possibility to add entry to root group 2013-07-24 06:43:25 +02:00
Philipp Crocoll
fa6555f01c Updated Manifest files for 0.8.4c 2013-07-24 06:27:17 +02:00
Philipp Crocoll
0a26fdefbb Fixed bug with AppSetting Timeout set to "never"
added more debugging output in TimeoutHelper.cs
2013-07-24 06:03:23 +02:00
Philipp Crocoll
9f3c2dfc06 Added translations for Keyboard from crowdin 2013-07-24 05:58:00 +02:00
Philipp Crocoll
896ce8dd6e Added translations from crowdin 2013-07-24 05:54:28 +02:00
Philipp Crocoll
58a6e63be0 Bug fix: menu didn't work on Android 2.x due to search widget 2013-07-21 21:47:20 +02: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
Philipp Crocoll
ccc557f67b Updated translations from Crowdin 2013-07-17 22:01:07 +02:00
Philipp Crocoll
b741b48369 New application logo by Niki Hüttner 2013-07-17 21:57:10 +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
AlexVallat
75297418c5 Always show an open database, if there is one, rather than the file selector 2013-07-16 19:16:38 +01:00
Philipp Crocoll
ed7a85dde7 fixed a bug with creating databases 2013-07-15 20:42:16 +02:00
AlexVallat
72ab132979 Made FindViewById usage compatible with older version of Mono for Android (not using generic overload) 2013-07-13 19:57:04 +01:00
AlexVallat
ee5cc47f74 Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-13 19:54:09 +01:00
Philipp Crocoll
99cbe84879 Added test for merge with kdbp file and fixed it in SaveDB 2013-07-13 20:13:45 +02:00
AlexVallat
d71a204b2c Merge branch 'master' of https://git01.codeplex.com/keepass2android 2013-07-13 11:57:53 +01:00
Philipp Crocoll
30cdc6136f + missing resource file 2013-07-13 12:43:20 +02:00
AlexVallat
9f01e834d0 Perf shortcut for PwUuid comparison. Don't write out Zero PwUuid's for custom icons (use null instead) 2013-07-13 09:20:48 +01:00
AlexVallat
bf84662857 Fixed reference equality checks for PwUuid 2013-07-13 08:14:32 +01: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
f06ce9c58b Changelog for 0.8.4 2013-07-12 17:03:57 +02:00
Philipp Crocoll
4c03c050e9 Merge branch 'AlexVallat/ProtocolBuffers' 2013-07-12 16:42:35 +02:00
Philipp Crocoll
7eb77ff414 Merge branch 'ProtocolBuffers' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/ProtocolBuffers 2013-07-12 16:41:18 +02:00
Philipp Crocoll
96f9746650 added file with credentials as partial, not included file 2013-07-12 16:40:20 +02:00
Philipp Crocoll
2de7790c30 Added test for domain user on WebDav server with partial class to contain the credentials (not checked in) 2013-07-12 16:39:55 +02:00
Philipp Crocoll
1391112148 removed nonsense test 2013-07-12 16:30:32 +02:00
Philipp Crocoll
1796040dc8 Manifest preparation for 0.8.4 preview and added kdbp for the view filter 2013-07-12 16:30:18 +02:00
AlexVallat
70c81d52ca Changed to using monodroid compiled protobuf-net.dll to avoid linker error with release build. 2013-07-12 14:41:46 +01:00
Philipp Crocoll
3218d2f907 Improved editing of advanced fields,
display and toggle protected fields like password
2013-07-12 14:17:20 +02:00
Philipp Crocoll
43ea197fd5 Support for WebDav with domain users 2013-07-11 22:03:29 +02:00
Philipp Crocoll
deeaa673a5 Implemented UI for sync
Fixed bugs
2013-07-11 17:27:10 +02:00
Philipp Crocoll
16c08cbe8a Merge branch 'ProtocolBuffers' of https://git01.codeplex.com/forks/alexvallat/keepass2androidperfopt into AlexVallat/ProtocolBuffers
Conflicts:
	src/KeePassLib2Android/PwDatabase.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Read.cs
2013-07-09 11:03:31 +02:00
Philipp Crocoll
5a6564f897 removed TRACE definition 2013-07-09 10:29:59 +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
d35218da39 Changed logging, Added test 2013-07-06 16:12:00 +02:00
Philipp Crocoll
77856dc990 Switched to Kp2aLog
Added more debug logging
2013-07-06 16:11:38 +02:00
Philipp Crocoll
5f4d467da4 Added custom logger for better tracability of problems 2013-07-06 16:10:33 +02:00
Philipp Crocoll
4e8baf2b6a Always display title bar. Fixes problems with Android 3.x devices. 2013-07-06 16:09:45 +02:00
AlexVallat
b58d58771b Kdbp format selection by filename. If the filename ends in .kdbp, it is assumed to be kdbp format. Otherwise, kdbx format is used. A file is always saved in the same format it is opened in. 2013-06-30 09:47:40 +01: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
41e9c80456 Strictly for experimentation. When saving a databse, it will be saved in protocol buffer format. Opening will work for either xml or protocol buffers. 2013-06-21 18:28:49 +01:00
AlexVallat
0b1f372a02 Bug fixing 2013-06-21 17:56:50 +01:00
AlexVallat
a10d22010e CloneDeep fixes 2013-06-20 20:29:07 +01: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
AlexVallat
30cbc16051 Inline Search with suggestions 2013-06-19 18:44:35 +01:00
AlexVallat
4f49b073d8 Remove multi-threaded kdbx loading path 2013-06-19 16:59:54 +01:00
Philipp Crocoll
0435ad54ca Merge branch 'master' of https://git01.codeplex.com/keepass2android
Conflicts:
	src/Kp2aUnitTests/TestCreateDb.cs
2013-06-19 05:33:57 +02:00
Philipp Crocoll
533c6f207e More refactoring
Added first simple unit test
2013-06-19 05:29:47 +02:00
Philipp Crocoll
6588340b2f More refactoring
Added first simple unit test
2013-06-18 21:12:34 +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
AlexVallat
f157329cab Commit of initial kdbx load perf testing and optimisations 2013-06-15 20:12:46 +01: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