Commit graph

425 commits

Author SHA1 Message Date
Matthew Wong
b75190fcd7 Add 'automatically match by default' setting; respect it & per-app settings when creating autofill dialog 2015-08-14 17:36:51 -04:00
Matthew Wong
d42c526b64 passwordfragment changes 2015-08-14 17:36:50 -04:00
Matthew Wong
7c41795ded Open settings from password fill dialog 2015-08-14 17:36:50 -04:00
Matthew Wong
42a971f348 Move preferences to its own activity, leaving a "blank" openkeychain api one 2015-08-14 17:36:49 -04:00
Matthew Wong
2889454d32 More tweaks of dialog dismissal behaviour 2015-08-14 17:36:49 -04:00
Matthew Wong
3523a0497b Fix recursive filter; don't act twice on focus+click event 2015-08-14 17:36:49 -04:00
Matthew Wong
1ceb41acb6 Handle click events as well (useful when password field is the only focusable view) 2015-08-14 17:36:48 -04:00
Matthew Wong
ad173d9d05 Autofill per-app settings dialog opens on click on suggestion or on existing app 2015-08-14 17:36:48 -04:00
Matthew Wong
51a05087e5 Add searching for apps in autofill settings page 2015-08-14 17:36:47 -04:00
Matthew Wong
2d7c37d379 Add per-app settings page 2015-08-14 17:36:47 -04:00
Matthew Wong
4b15ea3ae9 Initialize the repository automatically, don't require the app to do it after a restart 2015-08-14 17:36:46 -04:00
Matthew Wong
7182db30b7 Ignore focus only when it is from a successful performAction 2015-08-14 17:36:46 -04:00
Matthew Wong
0c0054b565 Dialog dismissal behaviour. (com.android.inputmethod, the keyboard, is a TYPE_WINDOW_STATE_CHANGED, so needs an exception) 2015-08-14 17:36:46 -04:00
Matthew Wong
485b621b04 Change dialog appearance, smaller (wraps content) 2015-08-14 17:36:45 -04:00
Matthew Wong
690155391c Dismiss dialog if non password field or window change (the accessibility events already needed to be handled) 2015-08-14 17:36:45 -04:00
Matthew Wong
8c266187cb Fill in field immediately after user unlocks 2015-08-14 17:36:45 -04:00
Matthew Wong
e937ddf111 Only try again paste/set after decryption if the correct password was entered and not e.g. cancel button pressed 2015-08-14 17:36:44 -04:00
Matthew Wong
02bfcf6c3f Create app autofill service: a dialog pops up for all password fields & has a button to paste/set a password found in the store with name matching app's 2015-08-14 17:36:44 -04:00
Matthew Wong
eced1dd314 Move UI things to UI thread 2015-08-14 17:35:43 -04:00
Matthew Wong
838471ec3a initialize & getRepositoryDirectory take context arguments so that service can use them too 2015-08-12 21:07:47 -04:00
Mohamed Zenadi
58d93d757d show the full category of the password
with a small style revamp
2015-08-12 22:33:48 +02:00
Matthew Wong
0cb325f4b1 Fix #118: use File.equals 2015-08-12 10:05:43 -04:00
Matthew Wong
113dadd227 Open password deletion dialogs one-by-one instead of all at once, don't rely on the order of opening (potentially prevent #115) 2015-08-11 17:39:35 -04:00
Matthew Wong
083f340f29 Keep selectedItems up-to-date safely (behaviour was undefined before?) 2015-08-11 16:59:55 -04:00
Mohamed Zenadi
4845300730 a test apk build for #116 2015-08-11 19:13:39 +02:00
Mohamed Zenadi
b1e37eaefb add a way to get the password repo dir without worktree 2015-08-11 19:13:38 +02:00
Matthew Wong
33667d86e4 Fix passwords appearing like they have been selected after exiting 'delete mode' 2015-08-11 12:01:37 -04:00
Mohamed Zenadi
4b3fb7e484 bump version to 48 2015-08-10 07:10:24 +02:00
Mohamed Zenadi
57037916b0 check that we have a repository before cloning 2015-08-10 06:50:18 +02:00
Matthew Wong
2adbeeeba7 Use getAdapterPosition instead of position variable set in onBindViewHolder 2015-08-09 13:53:31 -04:00
Matthew Wong
b37b9fed5d Ensure positions of passwords after deleted password are updated (attempt to fix #115) 2015-08-08 11:26:07 -04:00
Mohamed Zenadi
feb8eefcc4 fix potential NPE 2015-08-03 00:03:37 +02:00
Mohamed Zenadi
d57246adb1 update of libs and version bump 2015-08-03 00:03:37 +02:00
Jaroslav Lichtblau
d2f5df48ee Czech translation updated
for Android-Password-Store
2015-08-02 11:38:24 +02:00
Mohamed Zenadi
294f068991 prompt for an external dir if none is selected 2015-07-26 14:54:07 +02:00
Matthew Wong
e45afa3392 Don't ask for ssh key passphrase if key is not encrypted with one #106 2015-07-22 01:02:06 -04:00
Matthew Wong
d95286660a Add 'clear clipboard 20 times' preference 2015-07-21 16:15:36 -04:00
Mohamed Zenadi
9ff126a3fb disable proguard in release 2015-07-21 21:49:37 +02:00
Matthew Wong
2407cf69f1 fix release build crash 2015-07-21 15:40:04 -04:00
Matthew Wong
6b1cbc6578 version bump 2015-07-21 04:46:09 -04:00
Matthew Wong
f17f48bce7 Version bump (oops...) 2015-07-19 23:04:57 -04:00
Matthew Wong
3b12c79a6c ssh keys with empty passphrase should not be written as "encrypted" (said keys still worked) 2015-07-19 22:46:39 -04:00
Matthew Wong
7e0b860816 Revert change that causes 'copy' to crash app 2015-07-19 19:27:36 -04:00
Mohamed Zenadi
d2b48099fa enable proguard and versions bumps 2015-07-19 14:16:27 +02:00
Mohamed Zenadi
83f1d18fc1 addd missing strings into the cs lang (no translation yet) 2015-07-19 14:16:03 +02:00
Mohamed Zenadi
38c57cec6d handle rotation in password list and password decrypt 2015-07-19 13:51:24 +02:00
Mohamed Zenadi
7517c65075 Merge pull request #103 from wongma7/master
SSH key generator
2015-07-19 13:31:00 +02:00
Mohamed Zenadi
ea899faa07 fix some issues where the password repository was not initialized 2015-07-19 12:09:58 +02:00
Matthew Wong
4ec3e1956f Set result & finish so that if the user presses generate when prompted for generate/import, operation is resumed just like if user presses import 2015-07-18 23:58:19 -04:00
Mohamed Zenadi
eb65c2283f fix #100 where passwords were not copied if we didn't show them 2015-07-19 00:53:07 +02:00
Matthew Wong
33a4a183eb Remove fontfamily xml 2015-07-18 16:25:16 -04:00
Matthew Wong
dcf66672fe v.find vs getDialog.find consistency and fix more textview/edittext 2015-07-18 16:04:23 -04:00
Matthew Wong
01b7b2102d Merge remote-tracking branch 'upstream/master'
Conflicts:
	app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java
2015-07-18 15:57:19 -04:00
Matthew Wong
8c6142bca6 Set correct monospace font, fix more textview/edittext confusion 2015-07-18 15:42:09 -04:00
Mohamed Zenadi
608f61b605 fix a typo, the generate edit text is in the dialog not in the fragment 2015-07-18 20:18:04 +02:00
Matthew Wong
b5faaed496 Use monospace font and add show passphrase checkbox 2015-07-18 14:14:00 -04:00
Mohamed Zenadi
5cd34a3427 use a normal button rather than an image button 2015-07-18 20:11:39 +02:00
Mohamed Zenadi
ba1ce73dba use monospaced font for passwords
fix EditText being cast to textview
2015-07-18 20:11:18 +02:00
Matthew Wong
9817760c4b Use strings and clean up margins in ssh keygen 2015-07-17 22:19:18 -04:00
Matthew Wong
395309e39e Use android support library (for fab) 2015-07-17 22:18:41 -04:00
Matthew Wong
61ae170f6c Make the generated public key viewer a dialog instead of fragment and add a "preference" that opens the dialog. 2015-07-16 03:16:25 -04:00
Matthew Wong
d03ab8ee3c Make AsyncTask for ssh key generation and show a progress dialog. Show the exception if it fails 2015-07-15 02:50:45 -04:00
Matthew Wong
e0954cd400 Change 'No SSH key' dialog to have options for import or generate. Also add all the strings... 2015-07-14 22:43:54 -04:00
Matthew Wong
56cbade066 Add preference to start ssh keygen 2015-07-14 22:42:55 -04:00
Matthew Wong
6f25a8bb23 Create ssh keygen activity with two fragments: the keygen & a screen to show the generated public key 2015-07-14 22:41:04 -04:00
Matthew Wong
32cf7f7813 Set default preferences (length 20, .etc) on first use of generator, only save preferences when they've been used to generate i.e. Generate pressed 2015-07-11 12:51:00 -04:00
Matthew Wong
20da17c2d8 Undo lambda-ing 2015-07-11 12:31:09 -04:00
Matthew Wong
5c46fea58d Use string resources 2015-07-11 12:22:56 -04:00
Matthew Wong
9b61c69913 Append password from dialog, not a newly generated one 2015-07-10 20:13:54 -04:00
Matthew Wong
6c8fe2ed45 Apply PRNGFixes from http://android-developers.blogspot.ca/2013/08/some-securerandom-thoughts.html 2015-07-10 20:04:46 -04:00
Matthew Wong
d63b16eb26 Open password generation dialog when button pressed 2015-07-10 19:46:18 -04:00
Matthew Wong
fccefadd32 Create password generation dialog 2015-07-10 19:45:32 -04:00
Matthew Wong
d2a252a06b Import pwgen classes 2015-07-10 19:44:22 -04:00
Matthew Wong
8c885882dc Make selectedItems Set instead of SparseBooleanArray 2015-07-01 19:31:11 -04:00
Matthew Wong
6d0abdcad2 Finish action bar mode when all items are deselected 2015-07-01 02:33:23 -04:00
Matthew Wong
1fa1f4a553 Selected rows color 2015-07-01 01:50:12 -04:00
Matthew Wong
84b5da3ada Implement multi-select with actionbar 2015-07-01 01:49:02 -04:00
Mohamed Zenadi
679d7f111e version bump 2015-06-20 17:10:51 +02:00
Mohamed Zenadi
e02cf0f2d1 fix an NPE that happens when the user tries to save git settings 2015-06-20 17:08:57 +02:00
Mohamed Zenadi
ebfdd2ebe5 version bump 2015-06-17 21:52:09 +02:00
Mohamed Zenadi
511e9fe838 avoid empty directory 2015-06-17 21:51:33 +02:00
Mohamed Zenadi
bb8cc0412f follow bfdccf4d92, missing check 2015-06-17 21:30:37 +02:00
Mohamed Zenadi
1db4f7bbc3 Add the option for not showing the passwords after decrypt
fixes #90
2015-06-17 21:18:26 +02:00
Mohamed Zenadi
bfdccf4d92 fix bug where key ids were not shown in settings
fixes #95
2015-06-17 21:04:14 +02:00
Mohamed Zenadi
05cfe6f717 version bump 2015-06-12 22:25:33 +02:00
Mohamed Zenadi
37ebae303c fix missing spaces between the file committed and the commit msg 2015-06-10 00:09:30 +02:00
Mohamed Zenadi
c7dead6455 fix missing generic type 2015-06-10 00:02:37 +02:00
Mohamed Zenadi
533d7babfc use apply rather than commit 2015-06-09 23:54:20 +02:00
Mohamed Zenadi
83281a1d91 remove retrolambda and upgrade support library 2015-06-09 23:54:20 +02:00
lsowen
8a22e6efe3 Fix issue with servers that have GSSAPI authentication enabled.
Force SSH client to only try publickey and password authentication modes (in that order).
2015-06-08 21:50:01 -04:00
Mohamed Zenadi
84589ab869 version bump 2015-06-08 21:00:29 +02:00
Mohamed Zenadi
dd5c396b0d save port number after save and close the activity 2015-06-07 14:33:02 +02:00
Mohamed Zenadi
2022cf3d6e fix provider list preference not saving correctly 2015-06-07 14:33:02 +02:00
Mohamed Zenadi
85d4ca3f96 disable not used option 2015-06-07 14:33:02 +02:00
Johannes Wienke
c6d7e22e70 Fix spelling and remove exclamation mark
Fix a spelling error and remove an unnecessary exclamation mark in
settings.
2015-05-31 23:15:41 +02:00
Mohamed Zenadi
207e5bf22e v1.2.0.19 apk 2015-05-17 19:16:29 +02:00
Mohamed Zenadi
275f06835a Initial support for external *git* repositories, fix #41, fix #48 2015-05-17 19:12:14 +02:00
Mohamed Zenadi
7fe81e9c27 it is no longer necessary to go through settings to initialize an external repo 2015-05-17 18:58:18 +02:00
Mohamed Zenadi
a21dd84c2b the apk for testing 2015-05-17 18:58:18 +02:00
Mohamed Zenadi
ceb183727f user is able to chose internal/external when creating/cloning
also no longer needed to close to refresh the list
2015-05-17 18:58:03 +02:00
Mohamed Zenadi
4975dfdcfa force the selection of directory until the welcome screen is implemented 2015-05-17 18:54:28 +02:00
Mohamed Zenadi
4e5c64913d clean the content of the directory on delete, rather than deleting the directory itself 2015-05-17 18:52:23 +02:00
Mohamed Zenadi
62b4d78e93 now possible to clone/create repository in a given external directory.
*issues*:
  - not possible to switch between external/local directory without closing the app. (PasswordRepository is a singleton, has to be cleaned when a change is made)
2015-05-17 18:51:28 +02:00
Mohamed Zenadi
994cb0272b directory chooser is enough 2015-05-17 18:51:28 +02:00
Mohamed Zenadi
6cafdcfdc0 save the selected directory and show it as a summary 2015-05-17 18:49:15 +02:00
Mohamed Zenadi
47ffaf99bd add a preference option to select an external directory 2015-05-17 18:45:40 +02:00
Mohamed Zenadi
72ad36c6ba version bump 2015-05-17 18:24:30 +02:00
Mohamed Zenadi
e7b766bfd4 fix #85, use key_ids correctly
as bonus, guava and retrolambda! Nicer code
2015-05-17 18:08:59 +02:00
Mohamed Zenadi
a23b268d9b fix #84 where account was missing, now it is selected on ecryption 2015-05-15 23:39:35 +02:00
Mohamed Zenadi
a01276699a fixes some crashes where the dialog is no longer available 2015-05-12 22:59:27 +02:00
Mohamed Zenadi
c5f55fce88 version bump 2015-05-12 22:38:00 +02:00
Mohamed Zenadi
a58d435e0c initial support for openpgp-api v7 2015-05-12 22:31:17 +02:00
Mohamed Zenadi
af80c6b045 use a true monospaced font for pwd display 2015-05-09 14:45:10 +02:00
Mohamed Zenadi
5cef45a888 hide the content of pgp decryption activity from the window manager 2015-05-09 14:32:55 +02:00
Mohamed Zenadi
31ef33091e Fix #82, select user/pwd auth for https connection 2015-05-09 13:54:22 +02:00
Mohamed Zenadi
9ee99fc226 use a FAB to add passwords 2015-04-19 21:02:42 +02:00
Mohamed Zenadi
771d8a9415 Add a Sync command that calls Pull then Push
Fixes #78
2015-04-19 20:27:30 +02:00
Mohamed Zenadi
6983ef4f82 Show the pgp key selected in preferences
Fix #76
2015-04-04 16:17:10 +02:00
Mohamed Zenadi
b9f2ba2634 downgrade to android-21 so f-droid could build APS (temp fix) 2015-03-20 22:21:03 +01:00
Mohamed Zenadi
9ebe1a4c49 fix the color of the select contextual menu
was showing white on kitkat
2015-03-20 22:16:38 +01:00
Mohamed Zenadi
a75048e201 check that the data we get is not null 2015-03-17 19:10:27 +01:00
Mohamed Zenadi
b691c4c98c return the root directory if we have nothing in the fragment stack 2015-03-17 19:10:19 +01:00
Mohamed Zenadi
901a72b3f8 version bump 2015-03-17 18:44:03 +01:00
Mohamed Zenadi
b90e15bf3a temp fix for welcome screen showing for everybody 2015-03-17 18:41:32 +01:00
Mohamed Zenadi
cff4fcb707 version bump and some style update 2015-03-14 23:38:44 +01:00
Mohamed Zenadi
acc1e8ad61 Merge pull request #64 from zeapo/feature/external_repo
clean up
2015-03-10 22:01:11 +01:00
Mohamed Zenadi
00593ab1de disable the test until we setup a git repo for testing 2015-03-10 21:56:13 +01:00
Mohamed Zenadi
82f7e5190a A cleaner way of testing if the repository is initialized or not 2015-01-08 23:34:46 +01:00
zeapo
a8209a40f9 ensure that the configuration is saved 2015-01-04 22:00:58 +01:00
zeapo
5d11cb2d2b version bump v1.2.0.12 2015-01-04 21:51:39 +01:00
zeapo
6922652173 set title when cloning/editing the server info 2015-01-04 21:47:38 +01:00
zeapo
1c2b000847 some tweak, and forgot strings 2015-01-04 18:58:59 +01:00
zeapo
d5e124308e test for clone ssh + user/pwd 2015-01-04 16:27:56 +01:00
zeapo
e170ef281b uri is useless here 2015-01-04 16:27:26 +01:00
zeapo
78a2494d5e starting to write tests 2015-01-04 14:53:59 +01:00
zeapo
3ca806d699 set credential after they've been intialized 2015-01-04 14:53:59 +01:00
zeapo
530453025c correct a typo for saved protocol/authmode 2015-01-04 14:53:59 +01:00
zeapo
6d898ddf88 remember the connection mode and the auth mode 2015-01-04 14:53:59 +01:00
zeapo
88a6876238 more DRYness 2015-01-04 14:53:58 +01:00
zeapo
dbbb2305f7 DRY refactoring 2015-01-04 14:53:58 +01:00
zeapo
7b1204373d add support for pull and push operations 2015-01-04 14:53:58 +01:00
zeapo
d29f308848 add documentation 2015-01-04 14:53:58 +01:00
zeapo
f48bd5faa0 git tasks refactoring (clone working) 2015-01-04 14:53:58 +01:00
zeapo
33689cefc7 bump version 2015-01-04 14:50:32 +01:00
zeapo
3b29602ca1 do not check for gpg-id file fix #51 2015-01-02 23:57:57 +01:00
Jaroslav Lichtblau
521f1ff23d update of Czech translation file
added mising strings, typos fixed
2014-12-18 17:57:42 +01:00
zeapo
47bb25adcb fix the the git fields and a small refactor 2014-12-16 23:27:30 +01:00
zeapo
f154dc30a4 corrected a typo, fixes #56 2014-12-15 22:21:36 +01:00
zeapo
41e53e04b4 bump version and make versioncode similar to name 2014-12-10 20:14:43 +01:00
zeapo
ad35b453f0 formmating issue 2014-12-06 18:11:11 +01:00