aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/sshkeygen
AgeCommit message (Collapse)AuthorFilesLines
2020-12-05Refactor package structure (#1233)Harsh Shandilya2-202/+0
* idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-18Misc cleanups to build and extension functions (#1108)Harsh Shandilya1-2/+2
2020-09-05SshKeyGenActivity: use runCatching to replace exception handlingHarsh Shandilya1-21/+21
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-01Add Keystore backend for SSH public key authentication (#1070)Fabian Henneke2-69/+92
2020-08-11Switch to URL-based Git config and refactor Git settings (#1008)Fabian Henneke1-1/+0
* Make Git config URL-based and refactor * Use Kotlin style null handling for string prefs * Also show an error if generated URL can't be parsed * Add some testcases for migration strategy Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-06Refactor uses of applicationContext and startActivityForResult (#997)Fabian Henneke1-2/+2
* Refactor uses of applicationContext and startActivityForResult This commit applies three types of refactoring: 1. Remove context argument from PasswordRepository companion functions by relying on Application.instance. 2. Introduce a sharedPrefs extension function on Context that returns the default SharedPreferences for the applicationContext. 3. Use OpenDocument() and OpenDocumentTree() contracts. * Drop toPasswordItem argument
2020-07-08global: set an import order rule and reformat with it (#924)Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-29Merge SshKeyGenFragment into its activity (#897)Harsh Shandilya3-121/+91
* 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-12Break down PGP Activity into focused sections (#776)Harsh Shandilya1-4/+2
2020-06-10Replace FileUtils with Kotlin stdlib calls (#843)Fabian Henneke1-2/+0
2020-06-10Remove Apache Commons dependencies (#840)Diogenes Molinares1-2/+2
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke1-0/+5
2020-05-27treewide: update fragments to use LayoutRes constructor (#802)Harsh Shandilya1-1/+1
Third time's the charm Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-27Resolve ViewBinding regressions (#799)Harsh Shandilya1-4/+0
* 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 Shandilya1-11/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya3-13/+14
- 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 Shandilya1-16/+1
* 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-04-25Improve UX around settings items (#744)Harsh Shandilya3-120/+86
Fixes #461
2020-04-21treewide: use getSystemService extension everywhereHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: use edit extension and cleanup some deprecationHarsh Shandilya1-3/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-18SshKeygenTask: fix build errorHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-13Raise targetSdk to 29 (#682)Fabian Henneke1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-20Codestyle cleanupHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-21Resolve some crashes reported on Play Store (#631)Harsh Shandilya1-5/+4
* ShowSshKeyFragment: Resolve illegal casts * UserPreference: Try harder to not crash Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-30Update license headers (#625)Harsh Shandilya4-4/+4
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Convert java files to kotlin (#570)Aditya Wasan4-0/+271
* 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>