Commit graph

934 commits

Author SHA1 Message Date
Harsh Shandilya
1fd5f202b0
Fix compile errors
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:07:42 +05:30
Harsh Shandilya
5fe2c74cc7
Target Android Q
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:07:36 +05:30
Harsh Shandilya
699007c53b
PasswordStore: Clear some lint warnings and deprecated API
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:07:04 +05:30
xPMo
eaeeaf4115 Fix typo in username toast (#525) 2019-07-22 03:24:32 +05:30
Harsh Shandilya
0889cbe7d2
Dependency upgrades
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-16 18:33:13 +05:30
Harsh Shandilya
27377c284f
proguard: Fix SearchView FQCN
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-16 18:24:07 +05:30
Harsh Shandilya
54d2c04cc1
Add missing super calls
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-05 15:58:27 +05:30
Harsh Shandilya
c6363dc86d
AutofillFragment: Repair semantics for newest AppCompat changes
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-05 15:23:15 +05:30
Harsh Shandilya
4207bfe2de
Uprev all dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-04 12:47:24 +05:30
Miles Breslin
2e8fe06b2b Allow alternate totp format (#523)
Fixes #495
2019-07-04 12:44:47 +05:30
Harsh Shandilya
56e53d36fd
GitAsyncTask: Acquire WeakReference of activity to prevent context leaks
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 13:26:56 +05:30
Harsh Shandilya
68d20c5f2f
Convert Git and SSH config factories to Kotlin
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 13:23:37 +05:30
Harsh Shandilya
f05c0b37ca
GitActivity: Cleanup obvious code smells
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 13:15:47 +05:30
Harsh Shandilya
168c3d42aa
Convert GitOperation API and implementations to Kotlin
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 13:15:29 +05:30
Harsh Shandilya
daafc01ce2
Otp: Remove string concatenation from calculation hot path
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:57:39 +05:30
Harsh Shandilya
30b6d2346a
Fix instrumentation tests
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:57:18 +05:30
Harsh Shandilya
8c0bce3e98
treewide: Resolve layout warnings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:47:07 +05:30
Harsh Shandilya
75a595f07f
Dependency updates
Mockito 2.28.2
AndroidX Test 1.2.0
AndroidX Espresso 3.2.0
AGP 3.4.1

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:27:48 +05:30
Harsh Shandilya
53b42905f1
Convert autofill package to Kotlin (#515)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-29 00:42:09 +05:30
Harsh Shandilya
321035c319
Simplify password row layout and resolve icon tints
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26 14:56:43 +05:30
Emmanuel Corrales
c46f50f86f Added a "SHOW EXTRA CONTENT" button under the "SHOW PASSWORD" button. (#510)
* Add 'SHOW EXTRA CONTENT' button.

* Show the extra content after clicking the 'SHOW EXTRA CONTENT' button.

* Change the regular button to a toggle button and add text for hiding extra contents.

* Change the implementaton of showing/hiding extra contents to accomodate using a toggle button.

* Add padding to the top of the button.
2019-05-26 14:54:16 +05:30
Harsh Shandilya
b06420eb83
Improve nullability coverage (#514)
* Switch to in-built RV divider

* Switch getActivity calls to requireActivity

This enforces non-null activity and throws a proper exception when it is
null for some reason.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26 12:40:03 +05:30
Harsh Shandilya
5078da4490
Vectorize drawables (#516)
All icons were sourced from material.io/icons

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-25 22:32:30 +05:30
zeapo
bca66a12e9 a signed build 2019-05-25 10:51:19 +02:00
Bastian Köcher
055cacdd91 Fix finding Otp digits (#511)
If no `digits` was present, this function failed with a
`NullPointerException`.
2019-05-16 13:19:18 +05:30
Mohamed Zenadi
064a3fad99
Allow the user to push local master to a new branch in case of conflict (#508)
* detect that we're in a detached head and show the message

* add a new way to clean local repo in case of failed rebase
2019-05-15 11:22:07 +02:00
Harsh Shandilya
127a8b8c8a
Update mockito and fix dependency updates task
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-01 17:03:58 +05:30
Harsh Shandilya
00e2cf352f
PasswordStore: Resolve some IDE warnings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:18:31 +05:30
Hussein Al Abry
e54010906f Use storage access framework (#469)
* use storage access framework

* UserPreference: Add back warning about using SDCard root directory

* UserPreference: Fix IDE warnings

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:11:32 +05:30
vexofp
f272e4dde2 Authentication using OpenKeystore SSH API (#486)
* Implemented OpenKeystore SSH API as a new authentication option

* Fix formatting problems

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Addressed review comments.

Removed leftover debugging code.
Wrapped excessively long lines.
Added missing new parameter to Javadoc.

* Merge remote-tracking branch 'upstream/master' into gpg-ssh-key
2019-04-06 00:14:38 +02:00
Harsh Shandilya
94bf103b33
Merge pull request #491 from igaryhe/master
Read OTP digits, algorithm, period from URI, support Steam Guard
2019-03-19 20:34:41 +05:30
Dan Ho
2ca59d95f9 fixed accidental newlines 2019-03-15 23:19:49 +08:00
Dan Ho
9137dadcbd minor spelling mistake fix 2019-03-15 22:49:14 +08:00
Dan Ho
f5139320db break several lines to limit the line length 2019-03-15 22:20:30 +08:00
Harsh Shandilya
cb47792ae6
Dependency updates
Mockito core 2.25.0
AGP 3.3.2

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-15 18:33:51 +05:30
Dan Ho
b2eb150c0f Read OTP digits, algorithm, period from uri, support Steam Guard 2019-03-14 08:16:24 +08:00
Harsh Shandilya
6d909abde8
Switch to kotlin jdk8 stdlib
We're targetting Java version 1.8 so reflect that change
here too.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-03 12:51:09 +05:30
Harsh Shandilya
ffe489c293 Dependency updates (#489)
* Configure dependencyUpdates task

Configured to emit JSON reports in build directory and to
only use stable releases.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Update dependencies

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 19:08:57 +01:00
Harsh Shandilya
3c06063153 Rewrite Gradle configuration with Kotlin DSL (#488)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 18:05:51 +01:00
rk0n
0b6ba542a8 Fix clear clipboard 20 times history (#465) (#487) 2019-02-28 20:15:35 +01:00
Harsh Shandilya
88c84e4400 [ImgBot] Optimize images (#485)
*Total -- 32.98kb -> 20.64kb (37.43%)

/app/src/main/res/drawable-xxxhdpi/ic_content_copy.png -- 1.30kb -> 0.61kb (52.75%)
/app/src/main/res/drawable-nodpi/autofill_ins_2.png -- 6.69kb -> 3.97kb (40.69%)
/app/src/main/res/drawable-nodpi/autofill_ins_1.png -- 11.65kb -> 7.15kb (38.61%)
/app/src/main/res/drawable-nodpi/autofill_ins_3.png -- 10.47kb -> 6.48kb (38.18%)
/app/src/main/res/drawable-xxhdpi/ic_content_copy.png -- 0.80kb -> 0.50kb (37.76%)
/app/src/main/res/drawable-xhdpi/ic_content_copy.png -- 0.55kb -> 0.47kb (13.73%)
/app/src/main/res/drawable-xxhdpi/ic_action_secure.png -- 0.61kb -> 0.57kb (7.21%)
/app/src/main/res/drawable-hdpi/ic_content_copy.png -- 0.41kb -> 0.40kb (2.84%)
/app/src/main/res/drawable-xhdpi/ic_action_secure.png -- 0.50kb -> 0.49kb (1.37%)
2019-02-21 22:43:51 +01:00
Harsh Shandilya
86696c668c Convert PasswordEntry to Kotlin (#477)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-02-03 12:24:15 +01:00
reroman
a819343c74 Allow to create passwords without lowercase letters. (#478)
* Clipboard now is cleared after manual copy

* Spanish translation added

* Spanish translations for commit messages updated

* Now can generate passwords free of lowercase (for example only numbers, uppercase or symbols)

Also it makes sure that uppercase is included when the generated char is ambiguous and discarded
2019-02-03 12:22:12 +01:00
reroman
723a40a216 Clipboard now is cleared with manual copy (#464)
* Clipboard now is cleared after manual copy

* Spanish translation added

* Spanish translations for commit messages updated

* Validation of value 0 in general_show_time before start timer

The clear_after_copy preference is disabled according with that value.

* Like clear_after_copy, clear_clipboard_20x now depends on the value of general_show_time too
2019-01-13 23:13:11 +00:00
Harsh Shandilya
d09de8bbf5 Suppress lint warning (#475)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-13 23:11:25 +00:00
Timo Loewe
bedda61088 Use different colors for debug app icon (#472) 2019-01-12 13:56:29 +00:00
Timo Loewe
2a921aec65 Fix autofill preference referencing hard-coded application id (#473) 2019-01-12 13:54:54 +00:00
Timo Loewe
094c6da53e Enable parallel installation of release and debug builds (#471)
* Specify applicationIdSuffix for debug build type

This allows installing debug and release versions of the app
alongside each other.

* Get rid of obsolete repository declaration in app/build.gradle
2019-01-06 16:32:32 +01:00
Harsh Shandilya
f34ce30cc7 GitOperation: Dismiss activity on cancel (#468)
Fixes the issue where starting a repository sync and then
hitting cancel in the password dialog leaves you with an empty activity
which needs to be dismissed to get back to where you were.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-03 10:54:45 +00:00
حسين
249248e168
improve translations with format strings
delete dialog format string

dialog text format
2019-01-02 19:18:18 +00:00
Harsh Shandilya
c200566bca Bump minSdk to 21 (#466)
* Bump minSdk to 21

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PasswordGenerator: Constify things

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Deprecate PRNG fixes

The problem being fixed doesn't exist on SDK 21 and above.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Switch to lambdas

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Formatting fixes

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Remove useless casts and add missing annotations

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-02 17:14:52 +00:00
حسين
06a7d79260
set untranslateable strings 2019-01-02 14:30:11 +00:00
Harsh Shandilya
b267321d54 Rewrite pwgen package in Kotlin (#463)
* Rename classes to not be ugly as all hell

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PgpActivity: Cleanup

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Rewrite pwgen package in Kotlin

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PRNGFixes: Remove constant conditions

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-02 15:00:33 +01:00
حسين
a82fb391d3
move strings in PasswordStore.java 2019-01-01 21:47:17 +00:00
حسين
38cebb56be
fix potential NPE when getting last changed timestamp. 2019-01-01 16:29:05 +00:00
Ricardo Román
e58a5e73d6
Spanish translation added 2019-01-01 14:40:41 +00:00
حسين
054056fa22
alert user when password is being overridden 2018-12-25 21:35:08 +00:00
حسين
9496ed31fd
opt out of google drive app backup 2018-12-25 20:46:01 +00:00
حسين
81aff5d870
Commit messages (#455)
* use full password path in add/edit git commit message

* commit strings are format strings

* use format strings in other languages

* use move/rename commit message
2018-12-25 14:39:32 +00:00
oleg-fiksel
62954ee78f bump version (#459) 2018-12-23 16:34:29 +00:00
maximemenager
041e728137 Improve french translation (#456) 2018-12-01 11:22:52 +00:00
Harsh Shandilya
0d55f71ff5 Additional fixes (#449)
* Convert ToCloneOrNot to Kotlin

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Cleanup and fix memory leak in SshKeyGen

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Fix manifest issues

- Indent with 4 spaces
- Fix typo'd meta-data values

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* travis: Install build tools 28.0.3

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2018-11-22 10:50:40 +00:00
حسين
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
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
Felix Bechstein
00e0c2541c update german translation (#314) 2017-07-15 22:29:30 +02:00
zeapo
2788786f65 add default android file picker for selecting ssh-key 2017-06-24 13:10:17 +02:00
zeapo
2c076fb0eb bump version to 84
revert the git background task
2017-06-24 12:59:23 +02:00
zeapo
9608d662fd one last thing left, do not finish on commit 2017-06-24 12:59:00 +02:00
zeapo
69aed3dd59 one missing in the revert 2017-06-24 12:33:09 +02:00
Mohamed Zenadi
7b8ad7ca0f revert auto-sync and background git activity
too buggy, no time to work on it correclty
2017-06-24 12:24:28 +02:00
Mohamed
fca7f8267b reuse git sync from gitactivity 2017-06-23 13:15:36 +02:00
Mohamed
2a3b82eb8a fix stackoverflow case by limiting the depth of search to 10 2017-06-19 13:04:16 +02:00
Mohamed Zenadi
72e441aafe simple version bump, f-droid does not support suffixes 2017-06-18 18:19:09 +02:00
Mohamed
f24e4c4130 bump to 82
Fix majore issue with git failing silently
2017-06-15 14:10:32 +02:00
Mohamed
848bc87d3f fix files not being committed 2017-06-15 14:08:16 +02:00
Mohamed
496d058819 fix authentication dialog not showing 2017-06-15 13:51:19 +02:00
Mohamed
d9ca609089 fix color 2017-06-15 13:32:02 +02:00
Mohamed
110b8c5abc re-enable locking for clone operation 2017-06-13 13:39:50 +02:00
Mohamed
a8f7282677 show version name in settings 2017-06-13 13:05:10 +02:00
zeapo
289c79a398 version bump
- Added auto sync
- Added background git tasks
2017-06-05 14:47:33 +02:00
zeapo
38d02885ec Do not lock the interface for any operation in the gitactivity 2017-06-05 14:46:16 +02:00
zeapo
bbd7f66191 add autoSync on startup 2017-06-05 14:30:19 +02:00
zeapo
3a5a322bfa on sync add non-committed files too 2017-06-05 13:24:04 +02:00
Mohamed
a45946988e getRootInActiveWindow throws an exception if it is unable to get root 2017-05-29 11:48:49 +02:00
zeapo
9b646222ce use a simpler email pattern 2017-05-28 19:00:13 +02:00
zeapo
3745a845cf do not translate git items 2017-05-28 18:55:59 +02:00
zeapo
b48b8b9b74 v59 play apk 2017-05-28 18:41:33 +02:00
zeapo
54c0cfd152 version bump 2017-05-28 18:37:54 +02:00
zeapo
faa572ce53 fix new passwords no longer being added 2017-05-28 18:37:25 +02:00
Mohamed
72fcf46ca9 follow: remove progress bar when waiting for OpenKeychain 2017-05-25 21:07:26 +01:00
Mohamed
708fce2e40 no longer needed as it was fixed in OpenKeychain 2017-05-25 20:57:12 +01:00
Mohamed
210c41ec25 version bump 2017-05-25 17:53:44 +01:00
Mohamed
0043c82b23 Fix an issue with the number of shortcuts 2017-05-25 17:42:31 +01:00
zeapo
81c63e9402 little refactor and version bump 2017-05-08 13:07:40 +02:00
DanSnow
044494ac4c locale: Add zh_TW translation (#294) 2017-05-01 10:02:43 +02:00
shanavas
2d1a9f7a44 Make git username and email configurable (#289)
* Gather git config data and save in preferences

* Align text box properly

* Apply git configs from settings

* Validate email address
2017-04-27 18:12:50 +02:00
Łukasz Rutkowski
94c9b5be64 Make passwords sort case insensitive (#290) 2017-04-17 13:59:51 +02:00
Mohamed Zenadi
8663ee92f8 show extra content even if the password is empty
fixes #274
2017-03-27 22:57:24 +02:00
Mohamed Zenadi
824845bf41 fix git rm and sync
fixes #276
fixes #283
2017-03-27 22:47:33 +02:00
Hussein Mohammed
d888e5e2f2 Added app shortcuts (#278)
* Added app shortcuts

Signed-off-by: Hussein Mohammed <zidhussein@gmail.com>

* Added sdk25 to travis
2017-03-02 10:14:58 +01:00
naofum
46be418c38 japanese translation (#273) 2017-02-20 12:11:29 +01:00
Mohamed Zenadi
c1d6a6c8d9 version bump 2017-01-24 07:19:47 +01:00
Mohamed Zenadi
9798eaa74f add preference option to export all passwords to an external dir 2017-01-24 07:18:03 +01:00
Mohamed Zenadi
d0ca596006 fix the case where we're unable to clone if we specify the port 22 2017-01-16 20:53:23 +01:00
Mohamed Zenadi
b6f5421d67 remove all mentions of getWorkTree 2017-01-16 20:32:59 +01:00
Mohamed Zenadi
51e2a43578 one getWorkTree less, we should remove them all 2017-01-06 23:00:31 +01:00
Mohamed Zenadi
9082519f25 check that package name is not null 2017-01-06 22:39:51 +01:00
Stéphane D'Alu
43cb468dd4 Pref i18n (#258)
* preference i18n

* wrong key
2017-01-02 19:32:36 +01:00
Stéphane D'Alu
be7da47214 improved/fixed translation (#257) 2017-01-02 16:22:31 +01:00
Stéphane D'Alu
982f641142 added missing internatinalisation for pwgen (#256) 2017-01-02 16:21:23 +01:00
Mohamed Zenadi
8d5473a543 do not put anything in the clipboard when clearing it 2016-12-31 12:35:45 +01:00
Mohamed Zenadi
ddd81d8f7e set the timer to clear the clipboard on copy
fix #244
2016-12-31 12:33:23 +01:00
Mohamed Zenadi
1fb66b3356 add the cause of jgit error to the message 2016-12-31 00:03:59 +01:00
Mohamed Zenadi
0b5b986691 version bump 1.2.0.56 2016-12-30 23:48:01 +01:00
Mohamed Zenadi
ec96699a62 sync command now tries to commit before pull/push 2016-12-30 23:45:33 +01:00
Stéphane D'Alu
f717d6507d French translation (#253)
* French translation

* fixed '
2016-12-28 11:00:31 +01:00
Matthew Wong
5a7bedd718 Use 500ms delay between 20x clipboard clears 2016-12-26 05:51:59 -05:00
Matthew Wong
57be6f5e14 Fix #247: avoid npe getting accessibility event package name 2016-12-26 05:19:49 -05:00