aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28Configure IME options and focus direction (#805)Harsh Shandilya1-3/+14
2020-05-26Introduce better R8 optimizations (#796)Harsh Shandilya1-5/+4
2020-05-23Make connection mode a <= 1 toggle group to prevent UI overflow (#778)Fabian Henneke1-18/+12
2020-05-14treewide: Reformat XML resources again (#774)Fabian Henneke19-38/+19
2020-05-13treewide: fix copyright template and apply to all files (#773)Harsh Shandilya26-0/+130
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya24-227/+230
- 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 Shandilya7-83/+22
* 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 Shandilya1-27/+16
Fixes #758 Fixes #526
2020-04-29Use official FastScroll fix and refactor PasswordFragment (#753)Fabian Henneke1-1/+1
2020-04-28Fix Autofill icons in dark mode (#748)Fabian Henneke2-0/+2
2020-04-25Improve UX around settings items (#744)Harsh Shandilya2-6/+29
Fixes #461
2020-04-21PasswordStore: onboard users to Oreo autofillHarsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-19PasswordFragment: Replace fab options with descriptive bottom sheetHarsh Shandilya2-31/+39
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-19Work around incompatibility between AndroidFastScroll and ↵Fabian Henneke1-1/+1
recyclerview-selection (#721) * Work around incompatibility between AndroidFastScroll and recyclerview-selection * move hacked recyclerview into separate package Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Make RecyclerViewHelper private static Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-17Refactor Git related activities (#685)Harsh Shandilya5-186/+219
* Refactor git logic into separate parts * Extract hardcoded strings * Add KDoc to updateHostname, remove unused field * Cleanups * Fix dialog message * Wire in repository clone flow * spotless * Remove unused method * Cleanup GitActivity - Rename to GitOperationActivity. - Ensure identityBuilder is always closed regardless of what fragment uses it. - Remove hardcoded "Operation" strings and replace with REQUEST_ARG_OP. - Apply a transparent theme to GitOperationActivity make the UI less jarring. * Tweak some stupidly worded dialog messages As pointed out in #629, these strings are shoddily worded and do not express any clear intent to the user, leaving them confused and angry. * GitOperationActivity: wrap Context to ensure right theme is used * spotless * undo build.gradle change * Use correct parent theme, remove now useless wrapping * GitServerConfigActivity: fix repository clone flow * temp: disable leakcanary framework leaks on Samsung are pissing me off * Make system bars transparent in git activity * Tweak HTTPS password layout * Unhardcode wrong passphrase string * Store SSH passphrase in EncryptedSharedPreferences Also revamp the dialog to look a bit better * Implement support for remembering HTTPS password Fixes #521 * Try to patch HTTPS remote creation logic * Update security-crypto * Clear saved passphrase/password on auth failure * Revert "Update security-crypto" Broken on R DP2.1 This reverts commit 4b20371dd42c512a3dd3b759859abb6c1ffd2961. * Revert "temp: disable leakcanary" This reverts commit 2db7d41bd67b79c6dc8c5b359a7b27100379f45f. * Update CHANGELOG * Remove spacer * Remove useless override * Wrap git server activity in a ScrollView * GitOperation: always finish calling activity when dialogs are dismissed * Wipe saved password/passphrase when hostname changes * Don't commit prefs updates * Don't call listFiles excessively * Finish activity after saving configuration * Make ConnectionMode and Protocol enum classes * Change SSH key passphrase key, don't wipe on host change * Reimplement BaseGitActivity.updateUrl (was updateHostname) * Use SharedPreferences.edit KTX extension * Disable inapplicable connection modes depending on scheme * BaseGitActivity: annotate onDestroy with CallSuper We'll leak the identityBuilder connection otherwise * Move input hack for AlertDialog into an extension function We re-use this in many places * Fix protocol/mode toggle issue and consistenly name options * Fix a crash when opening GitServerConfigActivity without a repo * Fix OpenKeychain callbacks by moving onActivityResult to BaseGitActivity * Run spotlessApply Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-04-15Add a switch between Fuzzy and StrictDomain mode to Autofill search viewFabian Henneke1-2/+17
2020-04-14Improve Autofill enable UI and flaky browser list (#704)Fabian Henneke1-3/+6
2020-04-10Modernize legacy RecyclerView adapters (#694)Fabian Henneke2-4/+4
* Modernize legacy RecyclerView adapters Introduces new adapters based on the SearchableRepositoryViewModel and using androidx.recyclerview.selection for multiselection support. The following positive effects in behavior are observable to end-users: - Search and navigation actions are executed on IO threads. - RecyclerViews are now animated during searches (but not navigations). - Exact scroll position is restored when navigating back. - The ActionBar title is updated with the current folder name. The following negative effects may warrant attention: - Support for the "always search from root" setting has been removed. - Due to a limitation of the fast scroll dependency, using the scroller may result in unwanted multiselections. If this is not fixed in the library, native fast scroller capabilities could be used, but these are more limited in appearance and to not offer popups. * Fix lint * Fix FastScroller/SelectionTracker incompatibility * Immediately react to settings changes * List directory entries when search term is blank * Use isEmpty() instead of == "" * Replace adapter inheritance with builders and fix selection drags * Remove dividers in password lists * Run spotlessApply * Use a more logical string in action mode * Commonize and constify path bundle key * Make lambda parameter name explicit Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-07Modernize file listing and search in AutofillFilterActivity (#683)Fabian Henneke1-9/+24
* WIP: Modernize file listing and search * Refactor * Implement fuzzy search * Improve ViewModel API and introduce Adapter * Integrate new search into AutofillFilterActivity and dedebounce * Improve no results layout * Reformat * Highlight origin in FileBased directory structure * Extract highlighting logic into DirectoryStructure * Trim whitespace before searching * Remove debug logging * Remove more debug logging * Organize imports * Remove imports * Update app/src/main/java/com/zeapo/pwdstore/SearchableRepositoryViewModel.kt Co-Authored-By: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-29Significantly improve app theming (#679)Harsh Shandilya7-32/+4
* Update CHANGELOG * Use outlined box style in folder creation dialog * Add user-facing choice for app theme Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-25Make preferred directory structure for Autofill configurable (#660)Fabian Henneke1-2/+2
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-24Add support for Oreo Autofill (#653)Fabian Henneke7-4/+426
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-05Resolve various memory leaks (#637)Harsh Shandilya1-10/+0
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-01swipe to refresh using androidx SwipeRefreshLayout (#645)glowinthedark1-6/+12
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01Add xkpasswd-style password generator (#633)glowinthedark1-0/+142
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-01Theming related fixes (#627)Harsh Shandilya1-8/+0
* 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-28Allow creating folders (#623)Harsh Shandilya3-16/+80
* 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-26Add fastscroller with alphabetic hints (#616)Harsh Shandilya2-4/+7
* 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>
2019-12-15Fix missing margin in server config view (#594)Harsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-16Tweak password row layout some more (#567)Harsh Shandilya1-14/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13Convert java files to kotlin (#570)Aditya Wasan1-3/+6
* 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-10Redo in-app iconography (#566)Harsh Shandilya1-1/+1
* 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>
2019-11-06treewide: Reformat with latest ktlintHarsh Shandilya10-10/+10
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-05Switch up folder iconHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Remove useless parent layoutHarsh Shandilya1-63/+57
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04password_row: Improve alignmentHarsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Add child count to foldersHarsh Shandilya1-0/+11
Fixes #559 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Redesign onboarding fragmentHarsh Shandilya1-71/+70
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Add UI indicator for foldersHarsh Shandilya1-0/+10
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Improve IDE visualization of password recyclerviewHarsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03Improve password row UI (#561)Harsh Shandilya1-41/+31
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya16-658/+611
Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
2019-05-31treewide: Resolve layout warningsHarsh Shandilya9-66/+7
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Simplify password row layout and resolve icon tintsHarsh Shandilya1-43/+36
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Added a "SHOW EXTRA CONTENT" button under the "SHOW PASSWORD" button. (#510)Emmanuel Corrales1-0/+13
* Add 'SHOW EXTRA CONTENT' button. * Show the extra content after clicking the 'SHOW EXTRA CONTENT' button. * Change the regular button to a toggle button and add text for hiding extra contents. * Change the implementaton of showing/hiding extra contents to accomodate using a toggle button. * Add padding to the top of the button.
2019-02-03Allow to create passwords without lowercase letters. (#478)reroman1-2/+8
* Clipboard now is cleared after manual copy * Spanish translation added * Spanish translations for commit messages updated * Now can generate passwords free of lowercase (for example only numbers, uppercase or symbols) Also it makes sure that uppercase is included when the generated char is ambiguous and discarded
2018-10-25extra field is multi-lineحسين1-1/+1
2018-10-12wrapping of long passwordsحسين1-1/+3
resolves #360
2018-10-12use visible password fieldHussein Mohammed1-0/+2
resolves #366.
2018-10-12Migrate to AndroidX (#430)Harsh Shandilya7-16/+16
* Update gradle and external dependencies - Switch away from deprecated compile directive - Remove explicit buildToolsVersion, is defined by the gradle plugin now - Fix build in SelectFolderActivity Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Upgrade gradle plugin and wrapper to latest alpha Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Don't use alpha gradle plugin Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Migrate to AndroidX https://developer.android.com/jetpack/androidx/ Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Upgrade AndroidX dependencies to stable release Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Enable Jetifier Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * SelectFolderFragment: Fix build Signed-off-by: Harsh Shandilya <harsh@prjkt.io>