aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
AgeCommit message (Collapse)Author
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya
2022-04-21Remove support for external storage and raise target SDK to 31 (#1863)Harsh Shandilya
2021-12-31Revert "autofill-parser: remove Bromite from supported browsers (#1423)" (#1632)Harsh Shandilya
This reverts commit 3f20678d799e15e21d1b7f013bc3672270f0d20f.
2021-05-26autofill-parser: remove Bromite from supported browsers (#1423)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: format XML files to 2 space indentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-12Rework settings to use ModernAndroidPreferences (#1236)Harsh Shandilya
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2020-11-02Improve Autofill UI and enable inline presentations (#1181)Fabian Henneke
* Improve Autofill UI and enable inline presentations Improves the Autofill UI in the following ways: * Add support for Android 11 inline presentations of Autofill datasets. * Instead of showing the identifier (app name or web origin) of the current app on top of every Autofill dataset, it is now shown 1) as a header dataset on Android 9 and 10 as well as 2) at the top of the search activity on all supported versions of Android. Rationale: The identifier is only used in trust decisions when choosing an existing entry to fill and should feature prominently in that view, not elsewhere. * Show the actual identifier part of a matched entry's path, which may differ from the identifier of the matched app/website. * Slightly tweak the labels of Search/Generate Autofill actions to indicate that a) this is about entries and b) the user may skip the generation of a password and supply a custom one as well. * Suppress lint error * Address review comments * Add a fixme about properly handling fill-in datasets * CHANGELOG: add entry for inline presentation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove unused parameter Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23Rollback automatic synchronization feature (#1165)Harsh Shandilya
* Revert "Add option to automatically sync repository on app launch (#1137)" Fixes #1163 This reverts commit 92f1aab25da12411aa256c3b763e0cb6182e9320. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for auto sync rollback Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-22Remove accessibility autofill support (#1162)Harsh Shandilya
* autofill: remove Accessibility backend Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-15Add option to automatically sync repository on app launch (#1137)Aditya Wasan
* Add option to automatically sync repository on app launch Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Pull repo if user is not authenticated Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Hijack incoming intent rather than copying it Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initialize password repository before using it Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-08Introduce app-wide HTTPS proxy setting (#1134)Harsh Shandilya
2020-09-10Autofill: add kiwi as a supported browser (#1091)Rounak Datta
2020-08-27Expand show hidden folders to also cover files (#1059)Harsh Shandilya
* PasswordItem: only strip .gpg suffixes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add preference key and migration for showing all hidden contents Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Allow showing both hidden files and directories Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add tests for hidden folder setting migration Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add changelog entry Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Slightly improve migration logic Skip migration if old key is not found and always delete the previous key even if its set to false. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Tweak wording Suggested-by: Fabian Henneke <fabian@henneke.me> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Assert previous key's removal in tests Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-22Autofill: add support for Bromite and Ungoogled Chromium (#1041)Devin J. Pohly
2020-08-16Also invert copy_on_decrypt preference value (#1024)Harsh Shandilya
Fixes: e0350043d0cb ("Disable automatic copy on decrypt by default (#1006)") Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-27Disable Autofill compatibility for Firefox (#976)Fabian Henneke
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-16Remove manual key selection and start actually using `.gpg-id` (#916)Harsh Shandilya
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-14Add debug icon and update color palette (#931)Harsh Shandilya
2020-07-14Revert "Work around Chrome Autofill issue (#921)" (#933)Fabian Henneke
2020-07-07Work around Chrome Autofill issue (#921)Fabian Henneke
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-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya
2020-05-14treewide: Reformat XML resources again (#774)Fabian Henneke
2020-05-13treewide: fix copyright template and apply to all files (#773)Harsh Shandilya
Signed-off-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-03Better handle non-git repositories (#756)Harsh Shandilya
2020-04-25Add toggle for debug logging (#745)Harsh Shandilya
2020-04-25Improve UX around settings items (#744)Harsh Shandilya
Fixes #461
2020-04-17Update SSH clear passphrase preference to handle HTTPS (#716)Harsh Shandilya
* Update SSH clear passphrase preference to handle HTTPS Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Explicitly set preference to visible if it can do anything * Address review comments Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-04-10Modernize legacy RecyclerView adapters (#694)Fabian Henneke
* 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-03-29Significantly improve app theming (#679)Harsh Shandilya
* 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 Henneke
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 Henneke
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-21Revise copy (#656)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01Add xkpasswd-style password generator (#633)glowinthedark
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-20Better UI flow (#630)Gigahawk
* Filter against entire pathname when searching * Add option to directly open search dialog on start * Replace basic search filter with fuzzy search * Update CHANGELOG Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Open search in onResume, force search icon to always show * Add option to always search from root directory Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-21Add full path open in autofill dialog (#609) (#610)Gigahawk
Fixes #609
2019-11-13Add option to show hidden folders (#571)Harsh Shandilya
* Add option to show hidden folders Fixes #446 * Simplify filtering Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12Switch to openpgp-ktx (#565)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-08Re-add OpenPgpAppPreferenceHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06treewide: Reformat with latest ktlintHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03Use SwitchPreferenceCompatHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27Add setting to save OpenKeychain auth keyid (#554)Harsh Shandilya
* Add setting to save OpenKeychain auth keyid * Hide pref not disable Co-Authored-By: Reagan Sanders <vexofp@gmail.com> Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02Initial biometric authentication support (#541)Harsh Shandilya
* [WIP] Initial biometric authentication support * Redirect decryption app shortcut to go through LaunchActivity * UserPreference: Clear existing shortcuts when toggling password auth Clears out any auth-bypassed entries that exist * Fix hilarious copypasta derp Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya
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.
2018-09-25Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code ↵Joel Beckmeyer
(#413) * Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code * Add ability to show HOTP instead of showing every decrypt * Fix off by 1 error * fix return intent logic so that edits and HOTP increments are properly committed * fix linting errors * Fix broken logic for case when a password is created * add ability to choose if password entry will be updated on HOTP code calculation
2018-08-20change the sort order of password items (#421)حسين
2017-11-11add android:summary for accessibilityMohamed