Commit Graph

499 Commits

Author SHA1 Message Date
Philipp Crocoll
99b03c24c2 live sdk integrated into JavaFileStorage 2014-11-07 05:32:24 +01:00
Philipp Crocoll
508a316cbb improved OTP logging
don't accept empty key file silently
2014-10-26 06:18:05 +01:00
Philipp Crocoll
6604ae292b fixed a bug in TOTP calculation.
see https://keepass2android.codeplex.com/workitem/279

(if Math.pow(10,6) returns 999 999.99999 this was converted to 999 999 in the previous version)
2014-10-26 06:17:27 +01:00
Philipp Crocoll
3c5c9105b7 updated InputStick API and added more languages (change by Jakub)
updated version code
2014-09-29 21:29:52 +02:00
Wiktor Lawski
3be00c87cf Adapt simple keyboard layout to polish language
For the default layout text describing user name is wider than key
where it is placed.
2014-09-17 20:10:31 +02:00
Wiktor Lawski
c3ce19cf5a KP2ASoftKeyboard2: Ignore false positive from Lint
Calling onDraw method in this context makes Lint confused. Ignoring
this case allows generating output files. Additionally added missing
copyright line.
2014-09-17 20:07:35 +02:00
Wiktor Lawski
08105d98de KP2ASoftKeyboard2: Fix keyboard settings theme
The rest of application activities can use both light and dark themes.
This change improves consistency (keyboard settings will also update
their theme) despite the fact that it is not exactly the same theme.
Using Afc theme would require duplicating of resources. Additionally
added missing copyright lines.
2014-09-17 20:07:28 +02:00
Wiktor Lawski
f367bdfe33 .gitignore: Do not track R.java files
These files are automatically generated by aapt tool from resources.
There is no point to track their changes in version control system.
Already tracked files were removed from version control system.
2014-09-13 16:12:12 +02:00
Wiktor Lawski
de6e098a68 keepass2android: Dummy implementation of IFileStorage
Xamarin Studio 5.2.1 generates compilation error when one of the
IFileStorage methods is not implemented.
2014-08-31 09:14:37 +02:00
Wiktor Lawski
dcadc11992 .gitignore: Do not track Resource designer files
Fixed rule to skip */Resource.designer.cs files and removed them from
version control system.
2014-08-31 09:14:36 +02:00
Philipp Crocoll
e77c8f9ce5 JavaFileStorage: restore UserInteractionRequiredException
DropboxFileStorage: correctly throw UserInteractionRequiredException
GoogleDriveFileStorage:
 * extended logging
 * fix: extended try block in upload (constructing path might fail)
 * fix: correctly finish initialize process in initializeAccount if partially initialized
2014-08-01 04:21:21 +02:00
Philipp Crocoll
4c4ba93c89 added library files for simpler build process 2014-07-30 18:25:35 +02:00
Philipp Crocoll
8708ce2bb2 updated JavaFileStorageBindings (added PrepareFileUsage method without UI)
deleted livesdk.jar, is now included in JavaFileStorage
added javafilestorage.jar, allows simpler build process
2014-07-30 18:14:59 +02:00
Philipp Crocoll
97bcf753a4 + binary JavaFileStorage 2014-07-30 06:25:37 +02:00
Philipp Crocoll
7fa3dd191f * directly integrated LiveSDK files to allow modification and simplify build
* added initializeSynchronous method to LiveSDK
* added UserInteractionRequiredException, now thrown by GDrive+SkyDrive
2014-07-30 06:02:35 +02:00
Philipp Crocoll
3831dbb345 Merge branch 'master' of https://git01.codeplex.com/keepass2android 2014-07-20 08:33:24 +02:00
Philipp Crocoll
458e0a3d90 * GoogleDrive: remove full path check, display only filename
* added method prepareFileUsage() without Activity parameter
2014-07-20 08:32:32 +02:00
Philipp Crocoll
85499844bd Merge branch 'master' of https://git01.codeplex.com/keepass2android 2014-07-15 06:19:35 +02:00
Philipp Crocoll
ac351e5aa0 uncommented code to (un)serialize IOConnectionInfo 2014-07-15 06:10:03 +02:00
Philipp Crocoll
d93946ed05 + first version of MasterKee plugin 2014-07-13 20:58:10 +02:00
Philipp Crocoll
2e56a007fc first version of MasterPasswordAlgorithm ported to .net 2014-07-12 06:20:56 +02:00
Philipp Crocoll
4fae385cc1 new Manifest file for current release 2014-07-07 06:04:18 +02:00
Philipp Crocoll
f0be160588 new jar for PluginSDK 2014-07-07 06:03:54 +02:00
Philipp Crocoll
fab45ba25c fixed comparison by reference 2014-07-07 06:03:16 +02:00
Philipp Crocoll
258e769ae7 0.9.4-offline release 2014-07-03 07:38:11 +02:00
Philipp Crocoll
c882981a29 minor changes 2014-06-19 16:13:16 +02:00
Philipp Crocoll
9f8f00bb26 KeeChallenge: revert to previous version
update strings from Crowdin
new release for regular version
2014-06-19 16:13:00 +02:00
Philipp Crocoll
54a60aeb99 + .jar file for simpler compilation by other developers 2014-06-07 06:41:01 +02:00
Philipp Crocoll
904d15e039 current pluginsdk jar 2014-06-06 06:36:13 +02:00
Philipp Crocoll
3c93a28b4d added more translations
fixed a bug with KeeChallenge
2014-06-06 06:23:36 +02:00
Philipp Crocoll
388dfd6fb0 Bug fixes:
- ShowUserNotifications now correctly defaults to true in CreateEntryThenCloseTask
 - fixed message of donation dialog
 - fixed problem with exception in TrayTotpHandler when displaying toast
2014-06-05 21:40:43 +02:00
Philipp Crocoll
073ae00a6d introduced translatable String for Scopes 2014-06-05 21:37:53 +02:00
Philipp Crocoll
d0a4803de1 updates to sample plugin and PluginSDK 2014-06-05 21:37:17 +02:00
Philipp Crocoll
e9d4c0d185 update translations from Crowdin 2014-06-02 21:43:14 +02:00
Philipp Crocoll
d83358cd2a Increased version number
removed strings which must be taken from library project
moved TrayTotp settings entry, corrected title string
2014-06-02 21:35:50 +02:00
Philipp Crocoll
0051f282cc Manifest for 0.9.4-pre1
update translations
2014-06-02 07:03:03 +02:00
Philipp Crocoll
8869dc0edb PluginQR: added menu option to display license information 2014-06-01 21:23:20 +02:00
Philipp Crocoll
4d623b4039 updated translations from Crowdin 2014-06-01 07:33:43 +02:00
Philipp Crocoll
f0737567f9 include keyboard in debug build
+ ignores
2014-06-01 07:07:19 +02:00
Philipp Crocoll
52c5c5aa89 +InputStick plugin
+ "PluginA" (sample plugin)
+ icons and updated text for PluginQR
2014-06-01 07:06:58 +02:00
Philipp Crocoll
ba954c0aa0 * added ChangeLog message for 0.9.4
* added contributors
* removed Move button from EntryActivity
2014-06-01 07:00:35 +02:00
Philipp Crocoll
0b87c6f839 fixed bug: lock database from keyboard was not possible because of wrong action string (after recent modification) 2014-06-01 06:59:36 +02:00
Philipp Crocoll
7c36e29a12 PluginHost: Introduced internal access token which can be used by internal modules if they want to send broadcasts "as a plugin" (this token always exists and does not have to be granted by the user)
+ TOTP support (TrayTotp and KeeOTP)
 (not released as a plugin because there is no additional permission; overload for users which don't use this is small (only some prefs);
  implemented with tighter coupling (instead of a broadcast receiver "plugin like") to avoid performance penalties for every opened entry)
App: reset LastOpenedEntry so that TOTP module knows when entry is no longer open
Using CryptRNG for token generation
2014-05-31 13:13:36 +02:00
Philipp Crocoll
bc99d6e04f PluginSDK: Add Action moved to base class. rename classes for simpler binding 2014-05-30 20:51:07 +02:00
Philipp Crocoll
85fb4ba9f8 Add strings for db actions
Broadcast database actions
2014-05-29 20:28:49 +02:00
Philipp Crocoll
87fe6abd38 added option whether the group name should be displayed in Entry View or not
minor refactoring in AppTask
changed AppTask.StartInGroupActivity to OnResume because this is always called, also when a new app task is retrieved from Activity Result
2014-05-28 17:24:43 +02:00
Philipp Crocoll
54f2abdb31 Revert changes in project files 2014-05-28 11:01:20 +02:00
Jareth Lomson
f638128bf6 Update message for navigation 2014-05-26 16:28:49 +02:00
Jareth Lomson
f725a30a03 Add move button in entry view 2014-05-26 16:15:04 +02:00
Jareth Lomson
d34194aeec Remove useless resultcode ExitMoveEntry 2014-05-26 14:56:27 +02:00
Jareth Lomson
917dc585b0 Add groupname in entry view 2014-05-26 12:09:41 +02:00
Jareth Lomson
96b5aba684 Hidden toast if not launch from searchResult 2014-05-25 23:42:44 +02:00
Jareth Lomson
5b6786d0a2 Add toaster after navigation to parent group 2014-05-25 23:00:30 +02:00
Jareth Lomson
8db8b27423 Before changing author 2014-05-25 20:46:54 +02:00
Jareth Lomson
3eff8bfd90 Add context menu to Search Result 2014-05-25 20:09:06 +02:00
Jareth Lomson
0c982e455e Add group details in search results 2014-05-25 14:04:36 +02:00
Jareth Lomson
7806d8bf4d Fix compilation error for Xamarin
* Kopie von donate.xml:
* Kopie_von_donate.xml: Xamarin does not support space in file name

* method.xml: Used for keyboard by Xamarin even if EXCLUDE_KEYBOARD is
  choosen

* Resource.designer.cs: Entries are used in code and are not
  recognized by Xamarin

* strings.xml: Entries are used in code and are not recognized by
  Xamarin

* keepass2android.csproj: 

* PluginHost.cs: Method conflid (compiling with Android 4.4)
2014-05-25 13:24:06 +02:00
Philipp Crocoll
3e95b528e3 added #if EXCLUDE 2014-05-25 06:12:52 +02:00
Philipp Crocoll
e871664ff4 use system strings 2014-05-25 06:03:54 +02:00
Philipp Crocoll
3947d8b7a5 + Activity informing when app was killed while copy notifications were on 2014-05-25 05:54:02 +02:00
Philipp Crocoll
ffc735c02c removed irrelevant files from .csproj 2014-05-25 05:47:49 +02:00
Philipp Crocoll
948f9bd67d + .jar file for easier building after check out 2014-05-25 05:42:39 +02:00
Philipp Crocoll
ba82a0a216 challenge secret can be entered (using OTP UI)
message when Yubichallenge is not installed
2014-05-25 05:36:52 +02:00
Philipp Crocoll
5cf8b8450d moved broadcast receiver for copy to clipboard outside of service. This allows to receive the broadcast even if the app was killed. We can display at a message then.
added permission for broadcast to prevent malicious apps from copying to clipboard without the user action
2014-05-24 07:19:50 +02:00
Philipp Crocoll
6f38305838 changed broadcast strings to include the full package name. This avoids issues when using KP2A and KP2A offline in parallel. 2014-05-24 05:32:52 +02:00
Philipp Crocoll
12e76bd651 Merge branch 'Branch_KeeChallenge'
Conflicts:
	src/keepass2android/Resources/Resource.designer.cs
	src/keepass2android/keepass2android.csproj
2014-05-22 06:54:27 +02:00
Philipp Crocoll
7b4d3c5c3b removed strings 2014-05-22 06:47:06 +02:00
Philipp Crocoll
7ef5a8336a fixed keechallenge issues 2014-05-22 06:42:43 +02:00
Philipp Crocoll
d3c67d7c5d tests for activity result 2014-05-21 06:48:49 +02:00
Philipp Crocoll
b2baa66b71 Added query and open functionality to PluginSDK
First working version of QR Plugin
2014-05-21 06:44:42 +02:00
Philipp Crocoll
f0a2f9a038 Fixed problems with returning Activity results
Added scopes for querying credentials
Extended possibilities of AppTasks
Added QueryCredentialsActivity.cs
Added missing AboutActivity.cs
FileSelectActivity: removed check for savedInstanceState=null. According to stackoverflow, savedInstanceState may be passed when launched from history
Passing of protected field lists added to PluginHost to allow full transfer of entries
2014-05-21 06:43:56 +02:00
Philipp Crocoll
c5064d26bf Simplified Options Menu (moved rate, translate, suggest and change master password to about dialog or db settings, removed Goto URL, is now in the "field menu")
Added option to remove the "Donate a beer" option
Added cancel button in entry edit activity
Fixed button icon size in holo dark theme
2014-05-18 18:02:22 +02:00
Philipp Crocoll
7a40368ed3 Merge branch 'pluginhosttest'
Conflicts:
	.gitignore
2014-05-16 17:17:43 +02:00
Philipp Crocoll
bcbc225652 refactoring regarding AppTasks:
- AppTasks are now returned by ActivityResult through all AppTask-Related activities (includes ForwardResult)
 - AppTasks are now passed correctly even when using search (this fixes a problem that AppTasks like SearchUrl were not passed to EntryActivity so the App didn't return to the browser automatically)
 - AppTasks are deleted by ActivityResult or by checking for LaunchedFromHistory

Added option to leave app with db unlocked (this is even the default now!)

Added missing EntryActivity files
2014-05-16 17:15:43 +02:00
Philipp Crocoll
f613206dab Plugins: transferring list of protected fields
CreateDatabaseActivity: Passing app task to next activity
Keepass.cs: added documentation on Activities and AppTasks
SearchActivity.cs: passing appTask to next activity, using ForwardResult to pass ActivityResult back to previous activity
FileSelectActivity: pass AppTask to CreateDatabaseActivity, Recreate instead of Start+Finish (to have correct handling of ActivityResults)
2014-05-14 07:25:27 +02:00
Philipp Crocoll
00332523e6 Bug fixes 2014-05-11 15:41:45 +02:00
Philipp Crocoll
a2dc7449d4 fixed display issues in EntryActivity 2014-05-11 13:21:28 +02:00
Philipp Crocoll
9008785c69 Integrated new EntryActivity to KP2A 2014-05-11 07:52:38 +02:00
Philipp Crocoll
685c6c6453 Copy EntryActivity from PluginHost. Not functional yet! 2014-05-10 06:18:11 +02:00
Philipp Crocoll
f542e864f4 moved Android version dependent resources (-v11, -v14) to default folders.
Will target only 14+ in future to reduce APK size and simplify development.
Started to add plugin host code
2014-05-10 06:14:41 +02:00
Philipp Crocoll
8a6ee5623d PluginDetailsActivity can show an accept/deny mode 2014-05-09 21:49:49 +02:00
Philipp Crocoll
2849620f55 Changelog: setCancellable(false)
AppTask: bugfix for read-only dbs
CopyToClipboardService: Can handle time-out for additional strings copied to clipboard; can update the Keyboard data
added comments
minor changes
2014-05-09 13:06:47 +02:00
Philipp Crocoll
dd557cb455 cleaned up PluginQR, added main screen 2014-05-09 13:02:49 +02:00
Philipp Crocoll
7ca44ab5ec changed to portrait mode 2014-05-07 15:46:36 +02:00
Philipp Crocoll
8cbb7dfc23 started to add QR scanning functionality 2014-05-07 15:30:52 +02:00
Philipp Crocoll
53dd47044b Plugins:
* EntryOutput is passed to CopyToClipboardService
* Modifications of EntryOutput are passed to plugins to enable actions on added fields
* PluginDatabase checks if Plugin is still installed and always updates the list of plugins (had an issue where a plugin had a request token but was not in pluginList)
* first version of QR plugin implemented
2014-05-07 06:02:56 +02:00
Philipp Crocoll
07038d7549 PluginHost-Test project: modified EntryActivity for receiving actions and fields 2014-05-05 06:15:19 +02:00
Philipp Crocoll
ed6aae24ca + JavaFileStorageTest (test project for FileStorage implementations in Java) 2014-04-23 20:38:21 +02:00
Philipp Crocoll
4697dbf41c + pluginhost test project 2014-04-22 06:27:13 +02:00
Philipp Crocoll
d1cc47057d removed compat library for faster building 2014-04-22 06:25:28 +02:00
Philipp Crocoll
0d88e5b5e8 moved icons to correct folder 2014-04-22 06:16:10 +02:00
Philipp Crocoll
b0def0925b Merge branch 'Branch_ab41043ff158c51b41fda8502a308682fde47380' 2014-04-15 20:29:34 +02:00
Philipp Crocoll
4ca49ddde1 Manifest for Offline-Release 0.9.3-r5 2014-04-15 20:26:53 +02:00
Philipp Crocoll
97e98f8804 Gdrive: fixed possible exception when listing files of root folder 2014-04-15 06:03:53 +02:00
Philipp Crocoll
740e642965 * Make OngoingNotificationsService foreground also when unlocked (to prevent the app from being killed)
* Allow to hide icon for QuickUnlock by using minimum priority notification (API level >= 16)
2014-04-15 06:03:22 +02:00
Philipp Crocoll
ab41043ff1 increased version code for release version 2014-04-07 06:26:51 +02:00
Philipp Crocoll
188097a13a + birthday icons 2014-04-04 05:40:13 +02:00
Philipp Crocoll
491ee1e497 updated translations from crowdin 2014-04-04 05:39:56 +02:00
Philipp Crocoll
147c0e19b6 Async loading of Challenge file 2014-04-04 05:16:32 +02:00
Philipp Crocoll
5b1dcaa0f3 rename SkyDrive -> OneDrive 2014-04-02 09:51:19 +02:00