Commit graph

754 commits

Author SHA1 Message Date
Harsh Shandilya
9a1a54a6fc
Initial biometric authentication support (#541)
* [WIP] Initial biometric authentication support

* Redirect decryption app shortcut to go through LaunchActivity

* UserPreference: Clear existing shortcuts when toggling password auth

Clears out any auth-bypassed entries that exist

* Fix hilarious copypasta derp

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 11:00:45 +05:30
Harsh Shandilya
073346c157
Redesign UI and introduce dark theme (#519)
Caveats:

- The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead.

- The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
2019-10-01 22:14:28 +05:30
Harsh Shandilya
c9dc4034f1
pwgen: Cleanup some variable declarations
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01 20:54:04 +05:30
Alex Burka
4169af453b don't update nonexistent progress bar (#549) 2019-09-30 10:28:20 +05:30
Harsh Shandilya
77af0669ed
Reformat
[skip travis]

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-15 05:16:59 +05:30
Alex Burka
367e55de3c add save-and-copy button (#537) 2019-09-14 13:18:18 +05:30
zeapo
7062156b1a version bump 2019-09-09 21:22:06 +02:00
Harsh Shandilya
0516e3153f
Uprev dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-08 22:03:24 +05:30
Harsh Shandilya
9882680826
Bump recyclerview from 1.1.0-beta01 to 1.1.0-beta02
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-11 11:06:24 +05:30
Harsh Shandilya
682e8a5715
Add explicit documentfile dependency
We were previously depending on it transitively coming into
the dependency graph but AndroidX artifacts are increasingly
getting rid of transitive deps so let's start being explicit about
our dependencies.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:32:48 +05:30
Harsh Shandilya
cc4b3ebd64
Bump commons-codec from 1.12 to 1.13
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:28:54 +05:30
Harsh Shandilya
867f352691
Bump material from 1.1.0-alpha08 to 1.1.0-alpha09
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:28:54 +05:30
Harsh Shandilya
be206d796d
treewide: Remove more useless log prints
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 06:33:57 +05:30
Harsh Shandilya
5ce19cd92d
Ensure git commit time doesn't overflow
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 06:27:19 +05:30
Harsh Shandilya
36b0a41578
Ensure we always have valid timestamps
Non-git repositories deserve love too!

Fixes #530

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 06:24:06 +05:30
Harsh Shandilya
c635704032
PasswordStore: Remove useless log prints
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 06:20:36 +05:30
Harsh Shandilya
d583609b28
AutofillFragment: Explicitly declare type
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 06:15:56 +05:30
Harsh Shandilya
80c397ef7b
treewide: Reformat
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30 05:59:10 +05:30
Harsh Shandilya
baf82943cf
Switch to androidx preference manager
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:09:29 +05:30
Harsh Shandilya
499c4ef460
Configure compiler options
Enable Kotlin 1.3.41's new type inference
Warn about deprecated methods in Java

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:09:29 +05:30
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