aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/arrays.xml
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-03-25 18:13:04 +0100
committerGitHub <noreply@github.com>2020-03-25 18:13:04 +0100
commitfde16c60f4ce5d57a0c7d5a0186dcd532a23f0f0 (patch)
tree8a72bcc077590707c47017548cc8adc3eae6e0d1 /app/src/main/res/values/arrays.xml
parent973e023dda3caf17fe024b9ba7f1872c5527e654 (diff)
Make preferred directory structure for Autofill configurable (#660)
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
Diffstat (limited to 'app/src/main/res/values/arrays.xml')
-rw-r--r--app/src/main/res/values/arrays.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 522fe6cc..37b55432 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -51,5 +51,13 @@
<item>classic</item>
<item>xkpasswd</item>
</string-array>
+ <string-array name="oreo_autofill_directory_structure_entries">
+ <item>/example.org/john@doe.org(.gpg)</item>
+ <item>/example.org/john@doe.org/password(.gpg)</item>
+ </string-array>
+ <string-array name="oreo_autofill_directory_structure_values">
+ <item>file</item>
+ <item>directory</item>
+ </string-array>
</resources>