Commit Graph

564 Commits

Author SHA1 Message Date
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
3b1b1f5fee + ignores 2014-05-09 13:06:55 +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
34d591b251 + ignores 2014-04-23 21:33:57 +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