aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res
AgeCommit message (Collapse)AuthorFilesLines
2020-03-25Make preferred directory structure for Autofill configurable (#660)Fabian Henneke4-2/+19
Some users keep their password files in a directory structure such as: /example.org/john@doe.org.gpg while others prefer the style: /example.org/john@doe.org/password.gpg This commit adds a setting that allows to switch between the two. All Autofill operations, such as search, match, generate and save, respect this setting. Note: The first style seems to be the most widely used and is therefore kept as the default. The second style is mentioned on the official Pass website at: https://www.passwordstore.org/#organization
2020-03-24Add support for Oreo Autofill (#653)Fabian Henneke15-29/+536
Adds support for the Autofill feature first available in Android Oreo. In compatible apps and browsers, login forms are automatically detected and the user is presented with options to fill or generate credentials. In most apps and certain browsers, the service will also offer to create new Password Store entries from credentials entered into login forms. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-21Revise copy (#656)Harsh Shandilya12-164/+159
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-07Show snackbar when git repo is not initialized (#651)Aditya Wasan1-0/+1
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-03-05Resolve various memory leaks (#637)Harsh Shandilya2-11/+1
This migrates the clipboard clear logic into a foreground service that allows us to also provide a notification that runs the clear task immediately on click, rather than wait for the timeout. Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01swipe to refresh using androidx SwipeRefreshLayout (#645)glowinthedark1-6/+12
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01Add xkpasswd-style password generator (#633)glowinthedark5-1/+9215
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-20Better UI flow (#630)Gigahawk3-1/+15
* Filter against entire pathname when searching * Add option to directly open search dialog on start * Replace basic search filter with fuzzy search * Update CHANGELOG Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Open search in onResume, force search icon to always show * Add option to always search from root directory Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-01Theming related fixes (#627)Harsh Shandilya5-16/+4
* Make navigation match window background Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Remove light navigation flag Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Use black navbar in light theme windowLightNavigationBar is not portable across API 23 to 29 so we're better off with this solution Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Simplify folder dialog title UI Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Make night theme completely flat Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Remove unnecessary type Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Don't try to use non-existent external repo Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2020-01-28Allow creating folders (#623)Harsh Shandilya16-54/+115
* Introduce EmitExpandableTransformationBehaviour * Implement expand transition * More folder work * Add icons and tweak layout clipping Rishi again with the icon rescue * Theming rework * Dont set tag * Update list and commit after creating folder * Fix theme issues * Add dialog title * Fix hint text color * Remove commit method * Cleanup * Update CHANGELOG Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2020-01-26Add fastscroller with alphabetic hints (#616)Harsh Shandilya2-4/+7
* Setup basic fast scroll Work towards #558 * Implement PopupTextProvider Fixes #558 * Update changes * Hide system scrollbars * Port fastscroll to autofill preferences * Spotless Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-21Add full path open in autofill dialog (#609) (#610)Gigahawk2-0/+7
Fixes #609
2020-01-05Update/correct some zh-CN strings (#606)kpengboy1-2/+2
Namely those for git_commit_{edit,add}_text
2019-12-15Fix missing margin in server config view (#594)Harsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-16Tweak password row layout some more (#567)Harsh Shandilya1-14/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Add option to show hidden folders (#571)Harsh Shandilya2-0/+8
* Add option to show hidden folders Fixes #446 * Simplify filtering Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Convert java files to kotlin (#570)Aditya Wasan3-3/+9
* Break SshKeyGen into multiple files * Use tinted material button * Convert PasswordStore to kotlin * Remove SshKeyGen * Remove explicit imports and other tweaks Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2019-11-12Switch to openpgp-ktx (#565)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11Switch clear icon to outlined variantHarsh Shandilya1-1/+1
Also missed in #566 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11Switch share icon to outlined variantHarsh Shandilya1-1/+1
Missed it in #566 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-10Redo in-app iconography (#566)Harsh Shandilya12-30/+36
* Switch out folder icon * Switch out password icon * Switch out 'save and copy' icon * Switch out save icon * Switch out move icon * Switch out delete icon * Switch out edit icon Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-08Re-add OpenPgpAppPreferenceHarsh Shandilya1-3/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06treewide: Reformat with latest ktlintHarsh Shandilya24-24/+22
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-05Improve light mode list select colorHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-05Switch up folder iconHarsh Shandilya3-11/+11
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Remove useless parent layoutHarsh Shandilya1-63/+57
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04password_row: Improve alignmentHarsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Fix multiselect color on light themeHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Add child count to foldersHarsh Shandilya1-0/+11
Fixes #559 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Redesign onboarding fragmentHarsh Shandilya1-71/+70
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Add UI indicator for foldersHarsh Shandilya2-0/+20
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Improve IDE visualization of password recyclerviewHarsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03Improve password row UI (#561)Harsh Shandilya1-41/+31
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03Use SwitchPreferenceCompatHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27Authenticator: Allow using PIN/password/pattern as fallbacksHarsh Shandilya1-1/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27Add setting to save OpenKeychain auth keyid (#554)Harsh Shandilya2-0/+4
* 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-02Initial biometric authentication support (#541)Harsh Shandilya2-0/+12
* [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 Shandilya33-761/+775
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-09-14add save-and-copy button (#537)Alex Burka3-0/+18
2019-07-22Fix typo in username toast (#525)xPMo1-1/+1
2019-05-31treewide: Resolve layout warningsHarsh Shandilya9-66/+7
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 Corrales2-0/+15
* 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-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-15Allow the user to push local master to a new branch in case of conflict (#508)Mohamed Zenadi1-1/+3
* 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-25Use storage access framework (#469)Hussein Al Abry2-11/+2
* 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)vexofp2-0/+5
* 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-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-03Allow to create passwords without lowercase letters. (#478)reroman3-2/+14
* 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)reroman2-2/+4
* 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