aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31PgpActivity: Use snackbars instead of toastsHarsh Shandilya1-13/+13
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31PgpActivity: Fix exception in copyHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27Authenticator: Allow using PIN/password/pattern as fallbacksHarsh Shandilya2-2/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27Add setting to save OpenKeychain auth keyid (#554)Harsh Shandilya11-15/+67
* Add setting to save OpenKeychain auth keyid * Hide pref not disable Co-Authored-By: Reagan Sanders <vexofp@gmail.com> Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Fix typo in license headerHarsh Shandilya42-42/+42
While we're here, also clarify we're strictly GPL-3.0 and not automatically opting into future revisions of the license. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Add copyrightsHarsh Shandilya42-4/+166
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02Add Spotless to regulate codestyle (#550)Harsh Shandilya36-692/+852
* Add Spotless to regulate codestyle * treewide: Run spotless * Add spotlessCheck to CI test Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02Initial biometric authentication support (#541)Harsh Shandilya8-9/+199
* [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-01Redesign UI and introduce dark theme (#519)Harsh Shandilya68-2434/+2467
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-01pwgen: Cleanup some variable declarationsHarsh Shandilya2-26/+20
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-30don't update nonexistent progress bar (#549)Alex Burka1-3/+3
2019-09-15ReformatHarsh Shandilya3-22/+35
[skip travis] Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-14add save-and-copy button (#537)Alex Burka4-7/+37
2019-07-30treewide: Remove more useless log printsHarsh Shandilya3-5/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30Ensure git commit time doesn't overflowHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30Ensure we always have valid timestampsHarsh Shandilya2-8/+8
Non-git repositories deserve love too! Fixes #530 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30PasswordStore: Remove useless log printsHarsh Shandilya1-2/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30AutofillFragment: Explicitly declare typeHarsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30treewide: ReformatHarsh Shandilya19-113/+144
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28Switch to androidx preference managerHarsh Shandilya4-4/+4
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28Fix compile errorsHarsh Shandilya2-10/+10
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28Target Android QHarsh Shandilya1-6/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28PasswordStore: Clear some lint warnings and deprecated APIHarsh Shandilya1-7/+12
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-22Fix typo in username toast (#525)xPMo1-1/+1
2019-07-05Add missing super callsHarsh Shandilya4-1/+4
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-05AutofillFragment: Repair semantics for newest AppCompat changesHarsh Shandilya1-3/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-04Allow alternate totp format (#523)Miles Breslin1-0/+3
Fixes #495
2019-05-31GitAsyncTask: Acquire WeakReference of activity to prevent context leaksHarsh Shandilya1-7/+14
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Convert Git and SSH config factories to KotlinHarsh Shandilya4-90/+76
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31GitActivity: Cleanup obvious code smellsHarsh Shandilya1-18/+11
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Convert GitOperation API and implementations to KotlinHarsh Shandilya11-511/+481
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Otp: Remove string concatenation from calculation hot pathHarsh Shandilya1-3/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Fix instrumentation testsHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31treewide: Resolve layout warningsHarsh Shandilya9-66/+7
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-29Convert autofill package to Kotlin (#515)Harsh Shandilya12-1312/+1228
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Simplify password row layout and resolve icon tintsHarsh Shandilya3-47/+42
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Added a "SHOW EXTRA CONTENT" button under the "SHOW PASSWORD" button. (#510)Emmanuel Corrales3-2/+33
* 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-26Improve nullability coverage (#514)Harsh Shandilya5-88/+38
* 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-25Vectorize drawables (#516)Harsh Shandilya76-0/+117
All icons were sourced from material.io/icons Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-16Fix finding Otp digits (#511)Bastian Köcher1-2/+2
If no `digits` was present, this function failed with a `NullPointerException`.
2019-05-15Allow the user to push local master to a new branch in case of conflict (#508)Mohamed Zenadi5-22/+109
* 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-04-25PasswordStore: Resolve some IDE warningsHarsh Shandilya1-16/+9
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25Use storage access framework (#469)Hussein Al Abry4-242/+202
* 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-06Authentication using OpenKeystore SSH API (#486)vexofp5-62/+492
* 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-03-15fixed accidental newlinesDan Ho1-4/+2
2019-03-15minor spelling mistake fixDan Ho2-6/+9
2019-03-15break several lines to limit the line lengthDan Ho2-10/+13
2019-03-14Read OTP digits, algorithm, period from uri, support Steam GuardDan Ho3-10/+57
2019-02-28Fix clear clipboard 20 times history (#465) (#487)rk0n1-1/+1
2019-02-21[ImgBot] Optimize images (#485)Harsh Shandilya9-0/+0
*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%)