Commit graph

722 commits

Author SHA1 Message Date
حسين
e72038f6f1
extra field is multi-line 2018-10-25 12:03:58 +01:00
حسين
0382716c5e
bump version 2018-10-18 00:28:25 +01:00
حسين
85df10af04
set default sort order
resolves #437
2018-10-17 21:09:32 +01:00
حسين
88721f5905
bump version number
new versionCode format:
    1  - major version
    03 - minor version
    00 - revision
2018-10-16 13:38:31 +01:00
حسين
01df4371db
wrapping of long passwords
resolves #360
2018-10-12 17:01:08 +01:00
Hussein Mohammed
0b9eeb27e7
use visible password field
resolves #366.
2018-10-12 15:26:49 +01:00
Harsh Shandilya
483e8d9310 Migrate to AndroidX (#430)
* Update gradle and external dependencies

- Switch away from deprecated compile directive
- Remove explicit buildToolsVersion, is defined by the gradle plugin now
- Fix build in SelectFolderActivity

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade gradle plugin and wrapper to latest alpha

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Don't use alpha gradle plugin

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Migrate to AndroidX

https://developer.android.com/jetpack/androidx/

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade AndroidX dependencies to stable release

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Enable Jetifier

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* SelectFolderFragment: Fix build

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-12 15:06:04 +01:00
Harsh Shandilya
b8c5dd85a6 treewide: Cleanup relevant build warnings (#433)
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-12 10:09:06 +02:00
Markus Gräb
8e9c2363bb Main view: open search view on keyboard press (#432) 2018-10-11 18:41:35 +01:00
setine
2002e98c17 Cancel running DelayShow async tasks (#416) (#431)
These tasks were filling up the threadpool slots and leading
to delays in executing further AsyncTasks after a while.
2018-10-11 18:13:03 +02:00
Harsh Shandilya
8ff0039be4 Update gradle and external dependencies (#429)
* Update gradle and external dependencies

- Switch away from deprecated compile directive
- Remove explicit buildToolsVersion, is defined by the gradle plugin now
- Fix build in SelectFolderActivity

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade gradle plugin and wrapper to latest alpha

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Don't use alpha gradle plugin

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-11 16:39:45 +01:00
Joakim Lundborg
e1dfbd0c99 Clean paths (#425)
* Clean path display
This removes slashes from end of directories in the label, and the start
and end slash of the item headline.

* Item icon alignment
Change icon alignment to bottom, which makes the display look cleaner
when there is no path.
2018-09-25 19:54:06 +01:00
Joel Beckmeyer
eea0e68dda Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code (#413)
* Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code

* Add ability to show HOTP instead of showing every decrypt

* Fix off by 1 error

* fix return intent logic so that edits and HOTP increments are properly committed

* fix linting errors

* Fix broken logic for case when a password is created

* add ability to choose if password entry will be updated on HOTP code calculation
2018-09-25 18:45:54 +01:00
Daniel Rose
ac889abdd3 don't show hidden files and directories (#424) 2018-09-19 22:53:11 +02:00
alexlab2017
270ab889b0 Clear clipboard 20 times fix (#423)
* Fix clear clipboard 20 times

As described in issue #419 there was a bug when clearing clipboard 20 times because from "0" to "< 19" there are 19 numbers, not 20. 19 is never reached because of "less than" operator. This could be also fixed by changing the operator from "=" to "<=" but I think is better to change the number of times to 20.

* Fixed clear clipboard 20 times hint

Fixed the hint to match what really happens, consecutive numbers are stored in the clipboard 20 times.
2018-09-11 10:53:55 +02:00
leggewie
dd43545c4c Allow installation to external media (SD card) (#420)
This change will enable installation of the app to external as well as internal flash memory which is important for devices where internal memory is limited but external memory is cheap and abundant in form of micro SD cards.

More information at https://developer.android.com/guide/topics/data/install-location
2018-08-20 11:14:25 +02:00
حسين
30d4d5342f change the sort order of password items (#421) 2018-08-20 11:13:38 +02:00
cpdyj
e29cbb7fd1 fix zh_rCN string translate. (#407) 2018-05-16 21:56:52 +02:00
حسين
2a7038337d added support for adaptive icon (#402)
Signed-off-by: Hussein Mohammed <zidhussein@gmail.com>
2018-05-02 20:48:02 +02:00
Mohamed
d87381fb25 add a signed build with autofill included 2018-03-31 11:18:38 +02:00
Mohamed
c223a52a4b upgrade gradle, dependencies and bump version 2018-03-31 11:10:06 +02:00
ButterflyOfFire
19fe578fd0 Adding Arabic i18n (#382) 2018-03-07 13:43:58 +01:00
Mohamed
ea1d83a5e9 inform the user that remembering ssh-key passphrase is insecure
see #378
2018-02-04 11:40:36 +01:00
Mohamed
6121850103 build a signed APK for master branch 2018-02-04 11:35:16 +01:00
Shuhei YOSHIDA
ed7ca5cb6c Update Japanese assets (#372)
* "張り付け" to "貼り付け"

"Paste" is "貼り付け" in Japanese

* Translate to Japanese
2018-01-20 10:44:10 +01:00
Balasankar C
7eb866b943 Fix totp elements layout (#367)
* Fix totp elements layout

* Add missing rule

* Make username copy button invisible by default

* Fix totp copy button string

* Don't show username fields if not set
2018-01-16 21:31:39 +01:00
Mohamed
0480e7cb02 version bump 2018-01-06 20:49:39 +01:00
Mohamed
2d543d8e98 update version 2018-01-06 20:49:10 +01:00
Tarcio Saraiva
78c1b935b9 refactor support for application overlay in api v >= 26 (#364) 2018-01-06 18:18:33 +01:00
mohammadnaseri
770788fe67 Password should be invisible to the accessibility services (#362) 2017-12-27 22:01:47 +01:00
Christoph Böhmwalder
e41287cb16 show age for passwords in detail view (#339)
* show age for passwords in detail view

Implements #330.
This fetches the latest commit where the respective password file was
changed from the current HEAD and outputs the relative time since
the last change on the decrypt page.

* Move lastChanged logic out of PgpActivity

This nicely encapsulates the lastChanged logic (and thus separates it
from dependencies like git). The last changed date is now passed as a
timestamp using the Intent's extra info.
2017-12-26 14:35:25 +01:00
Mohamed
de4de6516b fix totp not showing if set in password without extra content 2017-11-19 12:41:36 +01:00
Mohamed
c1db901fea hide password label if password is empty
fix #295
2017-11-19 12:27:31 +01:00
Mohamed
b2839eb0a1 add a missing check that password clearing task is running
fixes #351
2017-11-19 12:13:38 +01:00
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