aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
AgeCommit message (Collapse)Author
2020-07-01Improve and refactor Autofill heuristics (#905)Fabian Henneke
* Add support for `AUTOFILL_HINT_NEW_PASSWORD` and `AUTOFILL_HINT_NEW_USERNAME`. This allows apps to trigger a `ClassifiedScenario` with only a generate password action and is the analogue of the W3C new-password hint for websites. * Do not consider HTML password fields without hints to be certain password fields (they could contain e.g. bank account numbers, API secrets,...). * Reduce OTP field false positives by excluding the term "postal" as well as fields that match the "code" heuristic term but have HTML maxLength less than 6 or larger than 8. * Add German heuristic term "einmal" ("one-time") for OTP fields * Also exclude fields based on their HTML name (e.g. for terms such as "search"). * Extract fieldId, hint and htmlName matches into an extension property. * Reduce warnings and remove unnecessary suppression annotations.
2020-07-01Use PreferenceKeys file to manage SharedPreferences keys. (#891)Aditya Wasan
* Use PreferenceKeys file to manage SharedPreferences keys. Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Use PreferenceKeys in all files Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Divide PreferenceKeys into multiple regions Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Fix build error Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Use PreferenceKeys in more files Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Reformat code Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Fix build error Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Fix merge issues Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-06-30Revert "Support directly importing secrets" (#904)Harsh Shandilya
2020-06-30Allow importing TOTP configuration through QR codes (#903)Harsh Shandilya
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-06-30Workaround to prevent crash on first run (#898)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-29Offer TOTP Autofill for OTP fields (#899)Fabian Henneke
2020-06-29Merge SshKeyGenFragment into its activity (#897)Harsh Shandilya
* Merge SshKeyGenFragment into its activity Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Drop neutral button discouraged by material specs Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-29Reintroduce TOTP support (#890)Harsh Shandilya
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-06-28Consolidate password list refresh (#887)Fabian Henneke
2020-06-28UI fixups (#892)Harsh Shandilya
2020-06-27Update Public Suffix List data (#888)github-actions[bot]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-26Use remembered credential even if it is empty (#880)Fabian Henneke
* Use remembered credential even if it is empty Should fix #875. * .isNull() --> == null * Update relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reword relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * 2019 it is Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26Reset SSH passphrase after SSH key import (#885)Fabian Henneke
2020-06-26Prevent cached passwords from being wiped (#884)Fabian Henneke
2020-06-23Use a custom sshj config (#878)Fabian Henneke
* Use a custom sshj config * Get random numbers directly from SecureRandom * Use Timber calls for logging * Remove all algorithms that are not in the Mozilla Intermediate SSH config * Address review comments * Fixup slf4j's custom format string format Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-06-22Add org.gnu.icecat as a trusted multi-origin browser (#871)Fabian Henneke
I verified the following: * Store: F-Droid * Package hash: wi2iuVvK/WYZUzd2g0Qzn9ef3kAisQURZ8U1WSMTkcM= * Based on: Firefox * Actively maintained: https://git.savannah.gnu.org/cgit/gnuzilla.git/log/?h=68 * Multi-origin method: WebView * Save support: no
2020-06-21PasswordCreationActivity: properly guard rename codeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-20UserPreference: fix my inability to count (#863)Harsh Shandilya
2020-06-20Update Public Suffix List data (#864)github-actions[bot]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-19PasswordStore: refresh password list on swipe down in non-git mode (#862)Harsh Shandilya
* PasswordStore: refresh password list on swipe down in non-git mode Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-06-18Avoid destination's file outside repository (#861)Diogenes Molinares
2020-06-18Add support for category renaming (#854)Diogenes Molinares
* rename category * changed CHANGELOG * IDE Refactor * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * change Stack to List and fix bug when empty category name * create intermediate folders * little fixes and KDoc added * Reuse existing move code * change button Cancel => Skip * use canonicalPath to confirm destination inside repository * change error message * update KDoc * show different error to user Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com> Co-authored-by: Fabian Henneke <fabian@henneke.me> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-06-18Refactor password generation (#860)Fabian Henneke
* Refactor password generation * Update Extensions.kt * Update app/src/main/java/com/zeapo/pwdstore/pwgen/PasswordGenerator.kt Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-18Update state of encrypt username checkbox onCreate (#859)Fabian Henneke
2020-06-17Improve bulk deletion and password move flow (#855)Harsh Shandilya
Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-06-14Properly support password renaming (#852)Diogenes Molinares
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-14UserPreference: delete all shortcuts when repository is deleted (#850)Harsh Shandilya
2020-06-14Misc UI fixups (#851)Harsh Shandilya
2020-06-12Break down PGP Activity into focused sections (#776)Harsh Shandilya
2020-06-10Replace FileUtils with Kotlin stdlib calls (#843)Fabian Henneke
2020-06-10Remove Apache Commons dependencies (#840)Diogenes Molinares
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-09Allow custom public suffixes for Autofill (#841)Fabian Henneke
Adds a preference that allows the user to specify domains that are then treated as additional public suffixes for the purposes of Autofill.
2020-06-06Update Public Suffix List data (#834)github-actions[bot]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-05AccessibilityAutofill: disable the service above Oreo (#827)Harsh Shandilya
2020-06-04Don't show an error if password prompt is cancelled (#833)Fabian Henneke
2020-06-03Improve Git password/passphrase dialog behavior (#829)Fabian Henneke
* Reset PasswordFinder retry state after authentication * Memorize password inbetween Git commands
2020-06-02Remove a misguided require from GitOperation (#826)Fabian Henneke
2020-06-02Address GitOperationActivity regressions (#824)Fabian Henneke
2020-05-31app: main: res: add bools.xml with LeakCanary debug build config (#821)Simao Gomes Viana
According to https://square.github.io/leakcanary/recipes/#leakcanary-in-release-builds this is necessary. As of now, the latest snapshot build crashes when starting. This is needed to prevent that.
2020-05-31Completely revamp decrypted password screen (#817)Harsh Shandilya
* Completely revamp decrypted password screen Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-05-31build: Upgrade all dependencies (#803)Harsh Shandilya
* build: upgrade all dependencies We've accumulated a fat backlog here that's gonna need some heavy testing * build: adjust for WhatTheStack upgrade This is now automatically initialized * build: downgrade security-crypto * build: upgrade to Gradle 6.4 * idea: sync from AS 4.1.x * build: bump AGP to 4.0.0 * build: disable Jetifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-05-30Fix GitAsyncTask activity handling in error case (#818)Fabian Henneke
2020-05-30Make commitChange honor finishWithResultOnEnd (#815)Fabian Henneke
If PasswordRepository.isGitRepo() returns false, commitChange currently doesn't honor the finishWithResultOnEnd parameter, which causes Autofill generate flows to hang on a blank AutofillSaveActivity. This commit lets commitChange mimic what GitAsyncTask does with the parameter. Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-05-30Switch password authentication over to SSHJ (#811)Fabian Henneke
* Switch password authentication over to SSHJ * Address review comments and refactor further
2020-05-30Fix i18n fr (#813)Élie Bouttier
2020-05-29Update Public Suffix List data (#808)github-actions[bot]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya
2020-05-28Configure IME options and focus direction (#805)Harsh Shandilya
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke
2020-05-28Update Public Suffix List data (#804)github-actions[bot]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>