aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
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-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-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-28Remove HOTP/TOTP support (#806)Harsh Shandilya
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke
2020-05-27treewide: update fragments to use LayoutRes constructor (#802)Harsh Shandilya
Third time's the charm Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-27Resolve ViewBinding regressions (#799)Harsh Shandilya
* PasswordStore: remove broken snippet Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Cleanup code and remove incorrect onCreateView uses Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fixup imports Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-27Introduce and switch to FragmentViewBindingDelegate (#797)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-26Introduce better R8 optimizations (#796)Harsh Shandilya
2020-05-25Remove "name" from the list of username heuristics (#793)Fabian Henneke
2020-05-24BaseGitActivity: always enforce absolute URLs (#788)Harsh Shandilya
2020-05-23Make connection mode a <= 1 toggle group to prevent UI overflow (#778)Fabian Henneke
2020-05-14treewide: correct misspellings (#781)Harsh Shandilya
app/src/main/java/com/zeapo/pwdstore/git/CloneOperation.kt:71:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/PullOperation.kt:45:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.kt:60:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/ResetToRemoteOperation.kt:52:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:10:22: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:15:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:16:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:17:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:20:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:23:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:24:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:27:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:30:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:36:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:38:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:39:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:41:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:42:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:45:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:47:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:111:54: corrected "Dipthong" to "Diphthong" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:113:30: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:207:56: corrected "DIPTHONG" to "DIPHTHONG" Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-14Add specific error messages to GitServerConfigActivityFabian Henneke
2020-05-14Use absolute paths for custom ports, relative for default portFabian Henneke
2020-05-14Improve Git/HTTPS URL generationFabian Henneke
2020-05-12Make APS buildable on F-Droid (#762)Fabian Henneke
* Include lib-publicsuffixlist in tree with proper license attribution * Exclude lib-publicsuffixlist from code style * Move applicationId to app/build.gradle * build: add distributionSha256Sum to Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial workflow configuration for PSL update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial check-in of PSL data Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-11Add setting for fallback username (#772)Harsh Shandilya
* PasswordEntry: remove useless annotations Turns out VisibleForTesting only applies for documentation purposes. Boo >:( Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: silence locale warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add setting for fallback username Fixes #763 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-05-10Miscellaneous UI tweaking (#771)Harsh Shandilya
* Remove dangling UI element and relayout authentication modes * Drop unnecessary actionBarPopupTheme declaration * Improve ssh keygen UI * Commonize button styling * Tweak save button in server config * Tweak generate button in ssh keygen * Commonize OutlinedButton style Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-08Introduce no-auth mode for connections (#768)Harsh Shandilya
Fixes #758 Fixes #526
2020-05-06PasswordEntry: add user to the potential candidates for username (#766)Harsh Shandilya
2020-05-06PasswordEntry: add more potential fields for username (#764)Harsh Shandilya
2020-05-03Better handle non-git repositories (#756)Harsh Shandilya
2020-05-01Confirm password move if it will replace an existing one (#757)Harsh Shandilya
* Confirm password move if it will replace an existing one Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29Use official FastScroll fix and refactor PasswordFragment (#753)Fabian Henneke
2020-04-29build: update to openpgp-ktx 2.0 (#749)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-25Add toggle for debug logging (#745)Harsh Shandilya
2020-04-25Improve UX around settings items (#744)Harsh Shandilya
Fixes #461
2020-04-25Fix search if external root dir starts with a dot (#743)Maxime Catrice
Fixes #740 Co-Authored-By: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-04-24auth: redo implementation with a cleaner and simpler API surface (#741)Harsh Shandilya
2020-04-24Better detect uninitialized repositories and offer to clone (#738)Harsh Shandilya
* PasswordRepository: more comprehensive check for valid repository * PasswordFragment: Give 'repo uninitialized' Snackbar some purpose in life * GitOperationActivity: finish immediately when an unhandled request code is used * PasswordFragment: Make uninitialized repo Snackbar indefinite * spotless Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-22Improve permission handling logic (#732)Harsh Shandilya
* Improve permission handling logic Ensure we always ask for storage permissions when required * Refactor storage permission checks and invert return value * PasswordStore: improve permission grant flow * strings: slightly reword permission grant request message Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-22Fix crash when using type independent sort (#734)Fabian Henneke