From 5e66d99c852ea67a88b650c03b0e8d55e83eccde Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 5 Dec 2020 06:07:18 +0530 Subject: Refactor package structure (#1233) * idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya --- .idea/gradle.xml | 2 +- .../java/com/zeapo/pwdstore/MigrationsTest.kt | 109 ---- .../com/zeapo/pwdstore/StrictDomainRegexTest.kt | 49 -- .../pwdstore/model/PasswordEntryAndroidTest.kt | 115 ---- .../com/zeapo/pwdstore/utils/UriTotpFinderTest.kt | 45 -- .../aps/data/password/PasswordEntryAndroidTest.kt | 115 ++++ .../msfjarvis/aps/util/settings/MigrationsTest.kt | 107 ++++ .../msfjarvis/aps/util/totp/UriTotpFinderTest.kt | 45 ++ .../aps/util/viewmodel/StrictDomainRegexTest.kt | 49 ++ .../autofill/oreo/ui/AutofillSmsActivity.kt | 27 - .../aps/autofill/oreo/ui/AutofillSmsActivity.kt | 27 + app/src/main/AndroidManifest.xml | 46 +- .../main/java/com/zeapo/pwdstore/Application.kt | 65 -- .../java/com/zeapo/pwdstore/ClipboardService.kt | 182 ------ .../main/java/com/zeapo/pwdstore/LaunchActivity.kt | 62 -- app/src/main/java/com/zeapo/pwdstore/Migrations.kt | 117 ---- .../com/zeapo/pwdstore/PasswordExportService.kt | 157 ----- .../java/com/zeapo/pwdstore/PasswordFragment.kt | 342 ---------- .../main/java/com/zeapo/pwdstore/PasswordStore.kt | 692 -------------------- .../pwdstore/SearchableRepositoryViewModel.kt | 474 -------------- .../com/zeapo/pwdstore/SelectFolderActivity.kt | 60 -- .../com/zeapo/pwdstore/SelectFolderFragment.kt | 77 --- .../main/java/com/zeapo/pwdstore/UserPreference.kt | 673 -------------------- .../autofill/oreo/Api30AutofillResponseBuilder.kt | 189 ------ .../pwdstore/autofill/oreo/AutofillMatcher.kt | 193 ------ .../pwdstore/autofill/oreo/AutofillPreferences.kt | 139 ---- .../autofill/oreo/AutofillResponseBuilder.kt | 203 ------ .../pwdstore/autofill/oreo/AutofillViewUtils.kt | 113 ---- .../pwdstore/autofill/oreo/OreoAutofillService.kt | 142 ----- .../autofill/oreo/ui/AutofillDecryptActivity.kt | 245 -------- .../autofill/oreo/ui/AutofillFilterActivity.kt | 220 ------- .../oreo/ui/AutofillPublisherChangedActivity.kt | 114 ---- .../autofill/oreo/ui/AutofillSaveActivity.kt | 149 ----- .../autofill/oreo/ui/PasswordViewHolder.kt | 16 - .../com/zeapo/pwdstore/crypto/BasePgpActivity.kt | 310 --------- .../com/zeapo/pwdstore/crypto/DecryptActivity.kt | 260 -------- .../com/zeapo/pwdstore/crypto/GetKeyIdsActivity.kt | 76 --- .../pwdstore/crypto/PasswordCreationActivity.kt | 513 --------------- .../java/com/zeapo/pwdstore/git/BaseGitActivity.kt | 144 ----- .../java/com/zeapo/pwdstore/git/ErrorMessages.kt | 67 -- .../com/zeapo/pwdstore/git/GitCommandExecutor.kt | 117 ---- .../com/zeapo/pwdstore/git/GitConfigActivity.kt | 152 ----- .../zeapo/pwdstore/git/GitServerConfigActivity.kt | 265 -------- .../com/zeapo/pwdstore/git/config/GitSettings.kt | 182 ------ .../java/com/zeapo/pwdstore/git/log/GitCommit.kt | 18 - .../com/zeapo/pwdstore/git/log/GitLogActivity.kt | 49 -- .../com/zeapo/pwdstore/git/log/GitLogAdapter.kt | 56 -- .../java/com/zeapo/pwdstore/git/log/GitLogModel.kt | 55 -- .../pwdstore/git/operation/BreakOutOfDetached.kt | 36 -- .../zeapo/pwdstore/git/operation/CloneOperation.kt | 22 - .../pwdstore/git/operation/CredentialFinder.kt | 98 --- .../zeapo/pwdstore/git/operation/GitOperation.kt | 216 ------- .../zeapo/pwdstore/git/operation/PullOperation.kt | 31 - .../zeapo/pwdstore/git/operation/PushOperation.kt | 15 - .../git/operation/ResetToRemoteOperation.kt | 23 - .../zeapo/pwdstore/git/operation/SyncOperation.kt | 23 - .../git/sshj/ContinuationContainerActivity.kt | 37 -- .../pwdstore/git/sshj/OpenKeychainKeyProvider.kt | 191 ------ .../sshj/OpenKeychainWrappedKeyAlgorithmFactory.kt | 93 --- .../java/com/zeapo/pwdstore/git/sshj/SshKey.kt | 336 ---------- .../java/com/zeapo/pwdstore/git/sshj/SshjConfig.kt | 276 -------- .../zeapo/pwdstore/git/sshj/SshjSessionFactory.kt | 196 ------ .../java/com/zeapo/pwdstore/model/PasswordEntry.kt | 139 ---- .../com/zeapo/pwdstore/pwgen/PasswordGenerator.kt | 139 ---- .../zeapo/pwdstore/pwgen/RandomNumberGenerator.kt | 33 - .../pwdstore/pwgen/RandomPasswordGenerator.kt | 45 -- .../pwdstore/pwgen/RandomPhonemesGenerator.kt | 169 ----- .../java/com/zeapo/pwdstore/pwgenxkpwd/CapsType.kt | 9 - .../zeapo/pwdstore/pwgenxkpwd/PasswordBuilder.kt | 142 ----- .../zeapo/pwdstore/pwgenxkpwd/XkpwdDictionary.kt | 40 -- .../zeapo/pwdstore/sshkeygen/ShowSshKeyFragment.kt | 38 -- .../zeapo/pwdstore/sshkeygen/SshKeyGenActivity.kt | 164 ----- .../com/zeapo/pwdstore/ui/OnOffItemAnimator.kt | 71 --- .../ui/adapters/PasswordItemRecyclerAdapter.kt | 82 --- .../zeapo/pwdstore/ui/dialogs/BasicBottomSheet.kt | 161 ----- .../ui/dialogs/FolderCreationDialogFragment.kt | 106 ---- .../pwdstore/ui/dialogs/ItemCreationBottomSheet.kt | 77 --- .../ui/dialogs/PasswordGeneratorDialogFragment.kt | 101 --- .../dialogs/XkPasswordGeneratorDialogFragment.kt | 131 ---- .../ui/onboarding/activity/OnboardingActivity.kt | 26 - .../ui/onboarding/fragments/CloneFragment.kt | 59 -- .../onboarding/fragments/KeySelectionFragment.kt | 66 -- .../onboarding/fragments/RepoLocationFragment.kt | 192 ------ .../ui/onboarding/fragments/WelcomeFragment.kt | 30 - .../pwdstore/ui/proxy/ProxySelectorActivity.kt | 75 --- .../com/zeapo/pwdstore/utils/AndroidExtensions.kt | 178 ------ .../zeapo/pwdstore/utils/BiometricAuthenticator.kt | 78 --- .../java/com/zeapo/pwdstore/utils/Extensions.kt | 89 --- .../com/zeapo/pwdstore/utils/FragmentExtensions.kt | 36 -- .../pwdstore/utils/FragmentViewBindingDelegate.kt | 65 -- app/src/main/java/com/zeapo/pwdstore/utils/Otp.kt | 73 --- .../java/com/zeapo/pwdstore/utils/PasswordItem.kt | 86 --- .../com/zeapo/pwdstore/utils/PasswordRepository.kt | 238 ------- .../com/zeapo/pwdstore/utils/PasswordSortOrder.kt | 46 -- .../com/zeapo/pwdstore/utils/PreferenceKeys.kt | 85 --- .../java/com/zeapo/pwdstore/utils/ProxyUtils.kt | 66 -- .../java/com/zeapo/pwdstore/utils/TotpFinder.kt | 32 - .../java/com/zeapo/pwdstore/utils/UriTotpFinder.kt | 66 -- app/src/main/java/dev/msfjarvis/aps/Application.kt | 66 ++ .../msfjarvis/aps/data/password/PasswordEntry.kt | 139 ++++ .../msfjarvis/aps/data/password/PasswordItem.kt | 86 +++ .../msfjarvis/aps/data/repo/PasswordRepository.kt | 243 +++++++ .../aps/ui/adapters/PasswordItemRecyclerAdapter.kt | 83 +++ .../aps/ui/autofill/AutofillDecryptActivity.kt | 245 ++++++++ .../aps/ui/autofill/AutofillFilterActivity.kt | 220 +++++++ .../autofill/AutofillPublisherChangedActivity.kt | 114 ++++ .../aps/ui/autofill/AutofillSaveActivity.kt | 149 +++++ .../aps/ui/autofill/PasswordViewHolder.kt | 16 + .../dev/msfjarvis/aps/ui/crypto/BasePgpActivity.kt | 310 +++++++++ .../dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt | 260 ++++++++ .../msfjarvis/aps/ui/crypto/GetKeyIdsActivity.kt | 76 +++ .../aps/ui/crypto/PasswordCreationActivity.kt | 513 +++++++++++++++ .../msfjarvis/aps/ui/dialogs/BasicBottomSheet.kt | 161 +++++ .../aps/ui/dialogs/FolderCreationDialogFragment.kt | 106 ++++ .../aps/ui/dialogs/ItemCreationBottomSheet.kt | 77 +++ .../ui/dialogs/PasswordGeneratorDialogFragment.kt | 101 +++ .../dialogs/XkPasswordGeneratorDialogFragment.kt | 131 ++++ .../aps/ui/folderselect/SelectFolderActivity.kt | 63 ++ .../aps/ui/folderselect/SelectFolderFragment.kt | 81 +++ .../msfjarvis/aps/ui/git/base/BaseGitActivity.kt | 146 +++++ .../aps/ui/git/config/GitConfigActivity.kt | 153 +++++ .../aps/ui/git/config/GitServerConfigActivity.kt | 267 ++++++++ .../dev/msfjarvis/aps/ui/git/log/GitLogActivity.kt | 49 ++ .../dev/msfjarvis/aps/ui/git/log/GitLogAdapter.kt | 58 ++ .../dev/msfjarvis/aps/ui/main/LaunchActivity.kt | 63 ++ .../ui/onboarding/activity/OnboardingActivity.kt | 26 + .../aps/ui/onboarding/fragments/CloneFragment.kt | 59 ++ .../onboarding/fragments/KeySelectionFragment.kt | 66 ++ .../onboarding/fragments/RepoLocationFragment.kt | 192 ++++++ .../aps/ui/onboarding/fragments/WelcomeFragment.kt | 30 + .../msfjarvis/aps/ui/passwords/PasswordFragment.kt | 344 ++++++++++ .../msfjarvis/aps/ui/passwords/PasswordStore.kt | 697 +++++++++++++++++++++ .../aps/ui/proxy/ProxySelectorActivity.kt | 75 +++ .../msfjarvis/aps/ui/settings/UserPreference.kt | 676 ++++++++++++++++++++ .../aps/ui/sshkeygen/ShowSshKeyFragment.kt | 38 ++ .../aps/ui/sshkeygen/SshKeyGenActivity.kt | 164 +++++ .../dev/msfjarvis/aps/ui/util/OnOffItemAnimator.kt | 71 +++ .../aps/util/auth/BiometricAuthenticator.kt | 78 +++ .../util/autofill/Api30AutofillResponseBuilder.kt | 189 ++++++ .../msfjarvis/aps/util/autofill/AutofillMatcher.kt | 193 ++++++ .../aps/util/autofill/AutofillPreferences.kt | 140 +++++ .../aps/util/autofill/AutofillResponseBuilder.kt | 205 ++++++ .../aps/util/autofill/AutofillViewUtils.kt | 113 ++++ .../aps/util/extensions/AndroidExtensions.kt | 179 ++++++ .../msfjarvis/aps/util/extensions/Extensions.kt | 90 +++ .../aps/util/extensions/FragmentExtensions.kt | 36 ++ .../util/extensions/FragmentViewBindingDelegate.kt | 65 ++ .../dev/msfjarvis/aps/util/git/ErrorMessages.kt | 67 ++ .../msfjarvis/aps/util/git/GitCommandExecutor.kt | 117 ++++ .../java/dev/msfjarvis/aps/util/git/GitCommit.kt | 18 + .../java/dev/msfjarvis/aps/util/git/GitLogModel.kt | 55 ++ .../aps/util/git/operation/BreakOutOfDetached.kt | 36 ++ .../aps/util/git/operation/CloneOperation.kt | 22 + .../aps/util/git/operation/CredentialFinder.kt | 98 +++ .../aps/util/git/operation/GitOperation.kt | 216 +++++++ .../aps/util/git/operation/PullOperation.kt | 31 + .../aps/util/git/operation/PushOperation.kt | 15 + .../util/git/operation/ResetToRemoteOperation.kt | 23 + .../aps/util/git/operation/SyncOperation.kt | 23 + .../util/git/sshj/ContinuationContainerActivity.kt | 37 ++ .../aps/util/git/sshj/OpenKeychainKeyProvider.kt | 191 ++++++ .../sshj/OpenKeychainWrappedKeyAlgorithmFactory.kt | 93 +++ .../java/dev/msfjarvis/aps/util/git/sshj/SshKey.kt | 336 ++++++++++ .../dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt | 275 ++++++++ .../aps/util/git/sshj/SshjSessionFactory.kt | 197 ++++++ .../dev/msfjarvis/aps/util/proxy/ProxyUtils.kt | 66 ++ .../msfjarvis/aps/util/pwgen/PasswordGenerator.kt | 139 ++++ .../aps/util/pwgen/RandomNumberGenerator.kt | 33 + .../aps/util/pwgen/RandomPasswordGenerator.kt | 45 ++ .../aps/util/pwgen/RandomPhonemesGenerator.kt | 169 +++++ .../dev/msfjarvis/aps/util/pwgenxkpwd/CapsType.kt | 9 + .../aps/util/pwgenxkpwd/PasswordBuilder.kt | 142 +++++ .../aps/util/pwgenxkpwd/XkpwdDictionary.kt | 40 ++ .../aps/util/services/ClipboardService.kt | 183 ++++++ .../aps/util/services/OreoAutofillService.kt | 145 +++++ .../aps/util/services/PasswordExportService.kt | 158 +++++ .../dev/msfjarvis/aps/util/settings/GitSettings.kt | 181 ++++++ .../dev/msfjarvis/aps/util/settings/Migrations.kt | 114 ++++ .../aps/util/settings/PasswordSortOrder.kt | 49 ++ .../msfjarvis/aps/util/settings/PreferenceKeys.kt | 85 +++ .../main/java/dev/msfjarvis/aps/util/totp/Otp.kt | 73 +++ .../java/dev/msfjarvis/aps/util/totp/TotpFinder.kt | 32 + .../dev/msfjarvis/aps/util/totp/UriTotpFinder.kt | 66 ++ .../viewmodel/SearchableRepositoryViewModel.kt | 474 ++++++++++++++ app/src/main/res/layout/activity_git_clone.xml | 2 +- app/src/main/res/layout/activity_git_config.xml | 2 +- app/src/main/res/layout/activity_git_log.xml | 2 +- app/src/main/res/layout/activity_onboarding.xml | 2 +- .../res/layout/activity_oreo_autofill_filter.xml | 2 +- .../activity_oreo_autofill_publisher_changed.xml | 2 +- app/src/main/res/layout/decrypt_layout.xml | 2 +- .../main/res/layout/password_creation_activity.xml | 2 +- app/src/main/res/layout/password_recycler_view.xml | 2 +- app/src/main/res/menu/pgp_handler.xml | 2 +- app/src/main/res/menu/pgp_handler_new_password.xml | 2 +- .../main/res/menu/pgp_handler_select_folder.xml | 2 +- .../autofill/oreo/ui/AutofillSmsActivity.kt | 160 ----- .../aps/autofill/oreo/ui/AutofillSmsActivity.kt | 160 +++++ .../res/layout/activity_oreo_autofill_sms.xml | 2 +- .../com/zeapo/pwdstore/model/PasswordEntryTest.kt | 153 ----- .../test/java/com/zeapo/pwdstore/utils/OtpTest.kt | 56 -- .../aps/data/password/PasswordEntryTest.kt | 153 +++++ .../java/dev/msfjarvis/aps/util/totp/OtpTest.kt | 56 ++ 203 files changed, 12504 insertions(+), 12465 deletions(-) delete mode 100644 app/src/androidTest/java/com/zeapo/pwdstore/MigrationsTest.kt delete mode 100644 app/src/androidTest/java/com/zeapo/pwdstore/StrictDomainRegexTest.kt delete mode 100644 app/src/androidTest/java/com/zeapo/pwdstore/model/PasswordEntryAndroidTest.kt delete mode 100644 app/src/androidTest/java/com/zeapo/pwdstore/utils/UriTotpFinderTest.kt create mode 100644 app/src/androidTest/java/dev/msfjarvis/aps/data/password/PasswordEntryAndroidTest.kt create mode 100644 app/src/androidTest/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt create mode 100644 app/src/androidTest/java/dev/msfjarvis/aps/util/totp/UriTotpFinderTest.kt create mode 100644 app/src/androidTest/java/dev/msfjarvis/aps/util/viewmodel/StrictDomainRegexTest.kt delete mode 100644 app/src/free/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillSmsActivity.kt create mode 100644 app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/Application.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ClipboardService.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/Migrations.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/PasswordExportService.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/PasswordFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/SearchableRepositoryViewModel.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/SelectFolderActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/UserPreference.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/Api30AutofillResponseBuilder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/AutofillMatcher.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/AutofillPreferences.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/AutofillResponseBuilder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/AutofillViewUtils.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/OreoAutofillService.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillDecryptActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillFilterActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillPublisherChangedActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillSaveActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/PasswordViewHolder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/crypto/BasePgpActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/crypto/GetKeyIdsActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/BaseGitActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/ErrorMessages.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/GitCommandExecutor.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/GitConfigActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/GitServerConfigActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/config/GitSettings.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/log/GitCommit.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/log/GitLogActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/log/GitLogAdapter.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/log/GitLogModel.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/BreakOutOfDetached.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/CloneOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/GitOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/PullOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/PushOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/ResetToRemoteOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/operation/SyncOperation.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/ContinuationContainerActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/OpenKeychainKeyProvider.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/OpenKeychainWrappedKeyAlgorithmFactory.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/SshjConfig.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/git/sshj/SshjSessionFactory.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/model/PasswordEntry.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgen/PasswordGenerator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgen/RandomNumberGenerator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgen/RandomPasswordGenerator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgen/RandomPhonemesGenerator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgenxkpwd/CapsType.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgenxkpwd/PasswordBuilder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/pwgenxkpwd/XkpwdDictionary.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/sshkeygen/ShowSshKeyFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/sshkeygen/SshKeyGenActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/OnOffItemAnimator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/adapters/PasswordItemRecyclerAdapter.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/dialogs/BasicBottomSheet.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/dialogs/FolderCreationDialogFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/dialogs/ItemCreationBottomSheet.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/dialogs/PasswordGeneratorDialogFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/dialogs/XkPasswordGeneratorDialogFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/onboarding/activity/OnboardingActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/CloneFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/KeySelectionFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/RepoLocationFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ui/proxy/ProxySelectorActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/AndroidExtensions.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/BiometricAuthenticator.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/Extensions.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/FragmentExtensions.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/FragmentViewBindingDelegate.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/Otp.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordSortOrder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PreferenceKeys.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/UriTotpFinder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/Application.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/data/password/PasswordEntry.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/data/password/PasswordItem.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/data/repo/PasswordRepository.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/adapters/PasswordItemRecyclerAdapter.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillDecryptActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillFilterActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillPublisherChangedActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/autofill/AutofillSaveActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/autofill/PasswordViewHolder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/crypto/BasePgpActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/crypto/GetKeyIdsActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/dialogs/BasicBottomSheet.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/dialogs/FolderCreationDialogFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/dialogs/ItemCreationBottomSheet.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/dialogs/PasswordGeneratorDialogFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/dialogs/XkPasswordGeneratorDialogFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/folderselect/SelectFolderActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/folderselect/SelectFolderFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/git/base/BaseGitActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/git/config/GitConfigActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/git/config/GitServerConfigActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/git/log/GitLogActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/git/log/GitLogAdapter.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/main/LaunchActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/onboarding/activity/OnboardingActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/onboarding/fragments/CloneFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/onboarding/fragments/KeySelectionFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/onboarding/fragments/RepoLocationFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/onboarding/fragments/WelcomeFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/passwords/PasswordFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/passwords/PasswordStore.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/proxy/ProxySelectorActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/settings/UserPreference.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/sshkeygen/ShowSshKeyFragment.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/sshkeygen/SshKeyGenActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/ui/util/OnOffItemAnimator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/autofill/Api30AutofillResponseBuilder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillMatcher.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillPreferences.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillResponseBuilder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/extensions/Extensions.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/extensions/FragmentExtensions.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/extensions/FragmentViewBindingDelegate.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/ErrorMessages.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/GitCommandExecutor.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/GitCommit.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/GitLogModel.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/BreakOutOfDetached.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/CloneOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/CredentialFinder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/GitOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/PullOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/PushOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/ResetToRemoteOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/operation/SyncOperation.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/ContinuationContainerActivity.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/OpenKeychainKeyProvider.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/OpenKeychainWrappedKeyAlgorithmFactory.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshKey.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjSessionFactory.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/proxy/ProxyUtils.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgen/PasswordGenerator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgen/RandomNumberGenerator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgen/RandomPasswordGenerator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgen/RandomPhonemesGenerator.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgenxkpwd/CapsType.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgenxkpwd/PasswordBuilder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/pwgenxkpwd/XkpwdDictionary.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/services/ClipboardService.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/services/OreoAutofillService.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/services/PasswordExportService.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/settings/GitSettings.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/settings/Migrations.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/settings/PasswordSortOrder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/settings/PreferenceKeys.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/totp/Otp.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/totp/TotpFinder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/totp/UriTotpFinder.kt create mode 100644 app/src/main/java/dev/msfjarvis/aps/util/viewmodel/SearchableRepositoryViewModel.kt delete mode 100644 app/src/nonFree/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillSmsActivity.kt create mode 100644 app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt delete mode 100644 app/src/test/java/com/zeapo/pwdstore/model/PasswordEntryTest.kt delete mode 100644 app/src/test/java/com/zeapo/pwdstore/utils/OtpTest.kt create mode 100644 app/src/test/java/dev/msfjarvis/aps/data/password/PasswordEntryTest.kt create mode 100644 app/src/test/java/dev/msfjarvis/aps/util/totp/OtpTest.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 9f4d5198..12562841 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,7 +4,7 @@