Commit graph

362 commits

Author SHA1 Message Date
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
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
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
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
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
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
e02cf0f2d1 fix an NPE that happens when the user tries to save git settings 2015-06-20 17:08:57 +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
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
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
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
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
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
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
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
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
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
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
e170ef281b uri is useless here 2015-01-04 16:27:26 +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
ad35b453f0 formmating issue 2014-12-06 18:11:11 +01:00
zeapo
0b0d14f26a removed a dangerous log... 2014-12-06 18:06:46 +01:00
zeapo
3f1caf89aa Added preference to disable recursive filtering 2014-12-06 18:03:43 +01:00
zeapo
c0b0ec10fc Filter the passwords recursively, useful to search through the passwords from the root
fixes #40
2014-12-06 01:55:21 +01:00
zeapo
1d2398ef85 fixes #52 2014-12-06 01:24:18 +01:00
zeapo
112d71588c enable the users to delete the repository 2014-12-06 01:19:56 +01:00
zeapo
1b520cff54 solves a bug where we were unable to clone/pull 2014-12-06 00:33:02 +01:00
zeapo
d98a30ee48 Add the possibility to edit git server information
Also uses jgit 3.6
2014-12-04 21:43:27 +01:00
Jaroslav Lichtblau
6c982c570b Update of Czech translation - git commit messages 2014-11-28 19:51:34 +01:00
Jaroslav Lichtblau
f5d04318f7 Czech translation created 2014-11-28 18:58:33 +01:00
zeapo
b20917224f https repositories works now, bump version to v1.2-a6 2014-11-25 22:38:41 +01:00
zeapo
489273678f allow the user to select https (not working yet) 2014-11-23 11:51:57 +01:00
zeapo
ea7f3445fc less confusing path name 2014-11-16 10:23:39 +01:00
zeapo
28ba83372c if the timer is empty default to 45sec 2014-11-09 17:19:07 +01:00
zeapo
add0e1774a allows the users to read the ssh-key from an external storage 2014-11-09 14:06:44 +01:00
zeapo
ebb91f3e68 should not happen but a user got a NPE due non-existing view 2014-11-05 07:36:17 +01:00
zeapo
674687ddcf how comes result is null sometimes in return of e.getmessage.... 2014-11-05 07:36:17 +01:00
zeapo
c6882ea39c added an error when unable to open/access ssh-key 2014-11-04 22:23:47 +01:00
Adam Smith
db4fb51362 Preferences Hard coded Strings replaced 2014-11-01 20:23:01 +00:00
zeapo
9c2115d2d2 if the user press back without cloning, he gets an NPE 2014-11-01 00:16:52 +01:00
Adam Smith
58183ee900 Hard coded strings replaced for resources in GitHandler 2014-10-31 14:28:09 +00:00
Adam Smith
7219fedf45 Hard coded string in GitAsyncTask replaced with resources 2014-10-31 14:13:17 +00:00
Adam Smith
ef51bb9231 Merged 2014-10-31 14:04:34 +00:00
Adam Smith
73bf555ba0 PGPHandler Strings replaced 2014-10-31 13:54:38 +00:00
Mohamed Zenadi
cff7c7e606 Merge pull request #29 from iAmiAdam/String-Bash
Hard coded strings replaced with resources in PasswordStore
2014-10-31 14:23:36 +01:00
Adam Smith
d5e4ddc939 Hard coded strings replaced with resources in PasswordStore 2014-10-31 11:37:52 +00:00
Adam Smith
af2c0ab0e1 Check that the string resources work 2014-10-30 22:11:31 +00:00
zeapo
f389904160 uniforming passwordfragment instances 2014-10-30 22:38:56 +01:00
zeapo
8c2c4c3b24 refresh the list rather than a full update related to PR #28 2014-10-30 22:33:03 +01:00
zeapo
64481bcb45 fixes an issue where the password was always added on the root 2014-10-30 22:32:19 +01:00
zeapo
005f0b6b7b when returning from an ADD without confirmation we are canceling not confirming 2014-10-30 22:31:09 +01:00
zeapo
6b4b520a33 Took off bindingDialog that caused more problems than solved 2014-10-30 22:30:33 +01:00
Mohamed Zenadi
9f9f99dc24 Merge pull request #28 from jbaiter/refresh-after-modification
Update password list after potential modifications
2014-10-30 22:05:02 +01:00
Johannes Baiter
88df56ea29 Update password list after potential modifications 2014-10-30 18:48:15 +01:00