Commit graph

688 commits

Author SHA1 Message Date
Wiktor Kwapisiewicz
3d5dd65e30 Display TOTP code if entry contains OTP secret
TOTP is calculated on display and on copy to clipboard from secret
embedded in entry (either in password or in extra) and the current time.
2017-11-19 11:14:45 +01:00
Mohamed
7b8aae3c7b bump version 2017-11-19 10:29:47 +01:00
Chris Zuber
62ecd85dee Update sizes
Minor changes to make more similar to original icon.
If it becomes any smaller, definition & details may be lost.
2017-11-14 20:48:09 +01:00
Chris Zuber
ecce8c8802 create new icon
Use https://gist.github.com/shgysk8zer0/9436084ca74adef73306f06fc2b697ed
for icon in #352

- Create custom icon as SVG
- Export in to all existing `drawable-*dpi/ic_launcher.png` in various
sizes
2017-11-14 20:48:09 +01:00
Mohamed
bf8bd2ef85 add android:summary for accessibility 2017-11-11 09:42:54 +01:00
zeapo
7337be5214 replace the onclick by a listener 2017-11-03 15:03:44 +01:00
zeapo
ae39246732 make the generate replace the password rather than append 2017-11-03 15:03:20 +01:00
zeapo
de5f3f68d5 fix typo 2017-11-03 13:56:51 +01:00
zeapo
ec1ebd4881 add support for Application overlay in api version >= 26 2017-11-03 13:14:46 +01:00
zeapo
381a40a4ed add apk 2017-10-30 23:24:14 +01:00
zeapo
db97bb7b26 update buildToolsVersion and travis 2017-10-30 23:08:30 +01:00
zeapo
07b74de908 a bug fixes build, in alpha 2017-10-30 22:59:06 +01:00
zeapo
b315ff6c6f seems like the info can be null too 2017-10-30 22:56:19 +01:00
zeapo
57358a86ac fix a potential NPE 2017-10-30 22:49:25 +01:00
zeapo
b6cb649f7c update gradle, support versions and target versions 2017-10-30 22:37:40 +01:00
zeapo
d697b6a46c code cleanup & refactor 2017-10-30 22:37:07 +01:00
zeapo
e85cd2297b fix the case where localDir does not exist
which is the common situation..
2017-10-30 22:36:46 +01:00
zeapo
d13438b67a Merge branch 'master' of https://github.com/zeapo/Android-Password-Store 2017-10-30 22:36:19 +01:00
Mohamed
55c46eb644 check that the packagename is not null 2017-09-13 09:07:46 +02:00
Mohamed
79869b4fc6 add missing recursion stop to depth 10 2017-09-13 09:06:06 +02:00
zeapo
f383ebbb8f ensure the fab is hidden when moving passwords 2017-09-10 16:26:05 +02:00
zeapo
1c43d6c7e4 dismiss action mode after we've finished moving passwords 2017-09-10 16:25:54 +02:00
zeapo
bc173404c9 cleanup unused variables 2017-09-10 16:16:32 +02:00
zeapo
33821659ae update the url when switching ssh <-> https 2017-09-10 16:08:18 +02:00
zeapo
8dc1efe405 ensure that the repository is indeed initialized before updating origin 2017-09-10 15:57:31 +02:00
zeapo
fdfeaa0043 fix the logic behind empty dir 2017-09-10 15:33:40 +02:00
zeapo
8e145191fe when in action mode, hide the FAB 2017-09-10 15:16:02 +02:00
zeapo
032e6fc756 do not show the clone screen if the store is "just" empty 2017-09-10 15:03:01 +02:00
zeapo
4ada6df1e5 add a signed apk of the latest version 2017-09-10 14:48:12 +02:00
Mohamed Zenadi
7ceb1719f3 remove trailing white space 2017-09-10 08:03:36 +02:00
zeapo
bb2c6df4cf more layout linting and string extraction 2017-08-11 10:46:04 +02:00
zeapo
ae47f3ae93 lint use "sp" rather than "dp" for text size 2017-08-11 10:28:33 +02:00
zeapo
66dcfd7b73 suprress inflateParams lint error in dialogs 2017-08-11 10:25:37 +02:00
zeapo
c50ff017a0 fix Chinese values name 2017-08-11 10:20:58 +02:00
zeapo
552f3fe5a5 Put the rebase abort in an async task
uhum... there was network operation
2017-08-11 09:37:09 +02:00
zeapo
040f000d99 fix lint 2017-08-11 09:31:48 +02:00
zeapo
d6017be4ec introduce onSuccess/onError 2017-08-11 09:31:36 +02:00
zeapo
8ae59a4922 add a way to see the git status and abort a rebase 2017-08-10 22:46:05 +02:00
zeapo
2ca8f94cb7 extract string resource and fix phrasing 2017-08-10 21:15:10 +02:00
zeapo
bf1b67ea6a add remember passphrase and clearing it from settings 2017-08-10 15:13:58 +02:00
zeapo
24a77b9028 detect error during push
fix #280
2017-08-10 14:19:24 +02:00
zeapo
d284e29237 version bump 2017-08-10 11:58:33 +02:00
zeapo
b95754a90c go back to a newer version of commons-io as the ANR has been fixed 2017-08-10 11:44:01 +02:00
zeapo
79e99cceac no need to list files as a store can be empty 2017-08-10 11:43:15 +02:00
zeapo
1c9d8537f5 the linter does not recognise our version check 2017-08-10 11:10:29 +02:00
zeapo
3daa34de90 fix unchecked
Also use File.listFiles rather than FileUtils
2017-08-10 11:10:29 +02:00
zeapo
96aa605b75 check that encryption works 2017-08-10 11:10:29 +02:00
zeapo
7bdeb80011 backport the fix of ssh key import 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
6b967923fd initial work on encrypt testing 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
cddf3e72de flatten encrypt layout 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
55db404f14 remove pgp handler 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
a69b6392aa remove useless code 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
145c96f5da Fix edit operation with latest changes in FILE_PATH 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
de5edf6e93 wait a little bit more for decryption 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
174635d936 rename to fullPath to avoid confusion 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
8019d8981c discard parent_path and use only file_path as before 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
fc260a6924 fix rebase error 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
09480d9390 Ensure that we have a single / 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
f80d13a5b3 add copy and clipboard clearing tests
this would have avoided the regression in .66 :)
2017-08-10 11:10:29 +02:00
Mohamed Zenadi
ce44171a0b decrypt test finally working 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
b145dfcf7f Add Espresso for testing 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
d347e8349e remove useless tests before writing new ones 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
3dba62308f Reduce duplicate code 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
eed0b59964 Call the new pgp activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
200fe9ebe0 add getkeyids support 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
7a3caad76f Fix the context in layouts 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
9553a224e4 no longer pgphandler in the main activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
0c09b42528 fix wrong class being used 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
958ea12a88 Add support of EDIT from the selection menu 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
e1ae4978ec Extract Select folder (moving) into its own activity
more work needed
2017-08-10 11:10:29 +02:00
Mohamed Zenadi
c3eb4f0a41 initial work on pgp activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
902cbd78b0 extract string 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
7cb474804b get rid of double bang 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
2f75559ac2 switch UserPreference to kotlin 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
82011f7f8b adding kotlin 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
bf70407aec version bump to 88 2017-08-05 18:57:56 +01:00
Mohamed Zenadi
e6fc3bb177 fix typo when changing the behaviour of get sshkey 2017-08-05 18:54:16 +01:00
Felix Bechstein
e169235d96 Fix more lint (#325)
* fix/ignore lint errors, run lint on travis

* fix/ignore some lint warnings
2017-08-02 10:15:31 +01:00
Mohamed Zenadi
37329a67f7 typo =_= 2017-08-02 10:14:28 +01:00
Mohamed Zenadi
650246a82f downgrade commons-io
The current version generated ANRs such as: `Input dispatching timed
out (Waiting to send non-key event because the touched window has not
finished processing certain input events that were delivered to it over
500.0ms ago. Wait queue length: 11. Wait queue head age: 8523.6ms.)`
when listing / opening files
2017-08-02 09:08:06 +01:00
Vladislav
253572c26d Update Russian translation (#327) 2017-08-01 22:29:37 +01:00
Mohamed Zenadi
b29695ec3e version bump 2017-07-29 11:04:13 +01:00
Mohamed Zenadi
1046634a3c fix password copy no longer working due to a typo 2017-07-29 10:57:09 +01:00
Mohamed Zenadi
43f479d773 revert deleted cases
These are called after the user enters his/her passphrase, hence really
needed… I messed up
2017-07-27 09:07:38 +01:00
Mohamed Zenadi
fd02d50011 version bump 2017-07-27 00:45:09 +01:00
Mohamed Zenadi
974d8e5f95 ensure data is not null 2017-07-27 00:45:09 +01:00
Felix Bechstein
2f75f99108 Support pasting username with autofill, fixes #192 (#321)
* Support pasting username with autofill, fixes #192

The workflow for pasting usernames is as follows:

1. Select password field
2. Select password store entry with username and paste it
3. Select any other editable field
4. Paste username

* Show toast when username is available for pasting
2017-07-26 08:04:45 +01:00
Mohamed Zenadi
d1ad306c1b Improve french translation 2017-07-25 21:54:38 +01:00
Mohamed Zenadi
70a80bd3d5 Version bump to .65 2017-07-25 18:26:00 +01:00
Mohamed Zenadi
5119ae1b8e remove the most probably the buggiest calls ever 2017-07-25 18:24:47 +01:00
Mohamed Zenadi
7e7a98e80a check that the data we get from OpenKeychain is not null 2017-07-25 18:19:06 +01:00
Mohamed Zenadi
61b6ae8295 drop support for ICS
This will reduce the specific code
2017-07-25 16:18:52 +01:00
Mohamed Zenadi
961b4a772a remove copyLibs gradle file 2017-07-25 14:50:51 +01:00
Mohamed Zenadi
1eae115424 upgrade apache commons version 2017-07-25 14:50:24 +01:00
Mohamed Zenadi
55e549dc31 remove guava dep 2017-07-25 14:50:07 +01:00
Felix Bechstein
5da9e67545 Fix lint warnings (#319)
* Fix lint errors/warnings

Fix a lot of lint errors and warnings.
Most things are automatically applied fixes done with android studio:

* externalize strings
* remove unused code / classes / layouts / imports
* migrate some fields to local variables

* Remove dead code from comments

Removed code that is commented out long ago.

* remove unused resources

* colors
* strings
* drawables
* layouts
* menus
2017-07-25 14:23:50 +01:00
Felix Bechstein
5cba6c62d7 Parse username from password entry, refs #192 (#318)
This is a first step of letting APS handle usernames from password
entries. It shows the username in PgpHandler and allows to copy it to
the clipboard.
2017-07-22 12:09:34 +02:00
Felix Bechstein
6ce31056c9 Show extra content w/o copy password, fixes #288 (#317)
Show extra content even if password is not copied to clipboard.
Add toggle to preferences as well.
2017-07-16 16:41:47 +02:00
Felix Bechstein
8e6ab25572 externalize strings (#316) 2017-07-16 16:38:30 +02:00
Felix Bechstein
816b3d2c4a Ignore .extensions directory (#315)
Ignore .extensions directory when traversing password tree.
2017-07-16 10:54:56 +02:00