aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main
AgeCommit message (Collapse)AuthorFilesLines
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%)
2019-02-03Convert PasswordEntry to Kotlin (#477)Harsh Shandilya3-141/+117
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-02-03Allow to create passwords without lowercase letters. (#478)reroman7-15/+88
* 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-01-13Clipboard now is cleared with manual copy (#464)reroman4-19/+35
* 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-13Suppress lint warning (#475)Harsh Shandilya1-1/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-12Fix autofill preference referencing hard-coded application id (#473)Timo Loewe1-1/+3
2019-01-03GitOperation: Dismiss activity on cancel (#468)Harsh Shandilya1-3/+2
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-02improve translations with format stringsحسين12-25/+24
delete dialog format string dialog text format
2019-01-02Bump minSdk to 21 (#466)Harsh Shandilya33-1423/+922
* 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>