aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-03 08:43:49 +0100
committerDanilo M. <danix@danix.xyz>2026-11-03 08:43:49 +0100
commit84d89854ce02a5833e88bfd9c150b8e90b51b4a5 (patch)
tree496494f43f1accf18e787eac89dba3dfcb9e1aa4 /app/src/main/res/values
parent5871d4e73245e179e22286580f4668da69c1484e (diff)
downloadHardenedPass-84d89854ce02a5833e88bfd9c150b8e90b51b4a5.tar.gz
HardenedPass-84d89854ce02a5833e88bfd9c150b8e90b51b4a5.zip
fix(app): harden the editor save path and the picker
- Run the save's write, original delete, autofill and history updates under NonCancellable so a recreated activity cannot leave a half done rename. - fsync the temporary file before the atomic move. - Move dialog: refuse targets outside the store (symlinks) and moving a folder into itself or a descendant, with a toast. - Folder picker: do not navigate into a new folder whose mkdirs failed; show a toast (new string, en and it). - Normalize entryFile so "./" and "a/../b" give the same keys as the list; covered in EditorModelTest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/strings.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 5370751e..a6d9dbba 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -395,5 +395,6 @@
<!-- Compose folder picker -->
<string name="folder_picker_title">Choose a folder</string>
+ <string name="folder_creation_err_failed">Could not create the folder</string>
<string name="folder_picker_new">New folder</string>
</resources>