Commit graph

867 commits

Author SHA1 Message Date
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
Harsh Shandilya
dcb9fd1c4d
Add CODEOWNERS
[ci skip]

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-24 23:11:24 +05:30
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
a832a60c11
Dependency updates
Gradle 5.4.1
AGP 3.4.0
Kotlin 1.3.31

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-29 17:36:38 +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
Harsh Shandilya
655b3a11f4
Add github action to automatically delete merged branches
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:13:12 +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
59ac91ebbc
Blacklist known broken upgrades
As I noted in #489, there are various compelling reasons
to not update these packages so let's hide the noise altogether.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-15 18:34:22 +05:30
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
Mohamed Zenadi
44f7af88d1
remove the flattr and bitcoin address donations 2019-01-06 15:19:34 +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
حسين
d5e589d7e4
add language map 2019-01-02 15:00:51 +00:00
حسين
06a7d79260
set untranslateable strings 2019-01-02 14:30:11 +00:00
حسين
ddba198a09
use transifex for translations 2019-01-02 14:06:24 +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
حسين
9674b706db
added changelog 2018-12-25 17:41:40 +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