aboutsummaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
2020-03-26Workaround: Prevent fill-in datasets from being shown on Android… (#666)Fabian Henneke
2020-03-25Fix: Properly handle IP addresses and invalid domains in Autofill (#664)Fabian Henneke
Mozilla's getPublicSuffixPlusOne is only meant to be invoked on syntactically valid domain names. In particular, it does not give reasonable results for IP addresses. This commit ensures that the domain passed to getPublicSuffixPlusOne is syntactically valid and not an IP address (the latter is unfortunately considered a domain by the Android validation patterns).
2020-03-25Make preferred directory structure for Autofill configurable (#660)Fabian Henneke
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-25Add "pass" as a hint pattern for password fields (#661)Fabian Henneke
2020-03-25Add more lenient rules that apply only on manual request (#662)Fabian Henneke
Add rules that match password/username fields even if no heuristic matches, but only when the user explicitly requests Autofill. Since there is now a generic way to always trigger Autofill (at least in apps), other rules no longer need to match fields that fail the heuristics. Along the way, the apply functions in AutofillStrategy.kt are renamed to match in order to not conflict with the Kotlin apply() extension function. Furthermore, named parameters are used more widely now to pass around Booleans.
2020-03-25Delete AutofillMatches when deleting files (#659)Fabian Henneke
2020-03-24Add support for Oreo Autofill (#653)Fabian Henneke
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 Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-20Codestyle cleanupHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-20ClipboardService: Fix iconHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-07Show snackbar when git repo is not initialized (#651)Aditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-03-05Resolve various memory leaks (#637)Harsh Shandilya
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-01Swipe2refresh fix (#647)glowinthedark
2020-03-01swipe to refresh using androidx SwipeRefreshLayout (#645)glowinthedark
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01Add xkpasswd-style password generator (#633)glowinthedark
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-24Add longpress to copy implicit username (#635)Gigahawk
* Add longpress to copy implicit username * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-22Delete passwords recursively (#639)Harsh Shandilya
Delete passwords recursively * Fixes #638 * Update CHANGELOG Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-21UserPreference: Fix changes from 9787489bc5b7Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-21AutofillService: Speed item loadingHarsh Shandilya
Don't make cacheable function calls in loops Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-21Resolve some crashes reported on Play Store (#631)Harsh Shandilya
* ShowSshKeyFragment: Resolve illegal casts * UserPreference: Try harder to not crash Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-20Better UI flow (#630)Gigahawk
* 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-10Gain focus in folder creation dialog (#624)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2020-02-01Theming related fixes (#627)Harsh Shandilya
* 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-30Autofill UX improvements and code cleanup (#626)Harsh Shandilya
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-30Update license headers (#625)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-28Allow creating folders (#623)Harsh Shandilya
* 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-27Improved debugging tools (#620)Harsh Shandilya
* Add WhatTheStack * Add leakcanary * Codestyle nit * Support snapshot builds for debug tooling Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-26Add fastscroller with alphabetic hints (#616)Harsh Shandilya
* 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-26Switch to Timber for logging (#617)Harsh Shandilya
* Switch to Timber for logging Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Update changelog Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Fix rebase error Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-25Correctly unmarshal errors from OpenKeychain (#615)Harsh Shandilya
Fixes #614 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-21Add full path open in autofill dialog (#609) (#610)Gigahawk
Fixes #609
2020-01-21Fix autofill window size (#611) (#612)Gigahawk
2020-01-05Update/correct some zh-CN strings (#606)kpengboy
Namely those for git_commit_{edit,add}_text
2019-12-31Prepare for new Play Store listing (#602)Harsh Shandilya
* Gradle cleanup * Update package name * Remove release APK from git This should have never been here * Move package name to dependencies.gradle * github: Setup caching for gradle * Update Play Store art * gradle: Use constraints API in place of deprecated force * Update dependencies * Raise minSdk to 23 * Target SDK 28 for now External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can. * Revert "Opt into legacy external storage handling (#595)" Not needed on SDK 28 This reverts commit 3f249e4bffffe0ba30e7546735c7fb4576918c69. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16Fix release builds (#601)Harsh Shandilya
* proguard: Don't obfuscate stacktraces * Deploy snapshots from this branch * PasswordRepository: Handle uninitialized settings * Keep classes that are used in parcels * Revert "Deploy snapshots from this branch" This reverts commit 66918ca2b90dbf7629bd56606eb3d3f578d96105. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-15Fix missing margin in server config view (#594)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-15Opt into legacy external storage handling (#595)Harsh Shandilya
The app is too messy to migrate properly to SAF so let's just take the easier route for now. Fixes #593 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29Update to openpgp-ktx 1.0.0 (#585)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29LaunchActivity: Optionally delay finish call to allow transition… (#583)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-16Tweak password row layout some more (#567)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-15Also count subdirectories in child count (#573)Harsh Shandilya
* Also count sub-directories in child count * Respect hidden folders setting in child count Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Prevent an activity loop when no OpenPGP Provider is selected (#572)Aditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2019-11-13Add option to show hidden folders (#571)Harsh Shandilya
* Add option to show hidden folders Fixes #446 * Simplify filtering Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Fix snackbars drawing behind input methodsHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Convert java files to kotlin (#570)Aditya Wasan
* 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-12PasswordGeneratorDialogFragment: Rewrite in Kotlin (#569)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12Switch to openpgp-ktx (#565)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11Switch clear icon to outlined variantHarsh Shandilya
Also missed in #566 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11Switch share icon to outlined variantHarsh Shandilya
Missed it in #566 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-10Redo in-app iconography (#566)Harsh Shandilya
* 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>