aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-06 10:13:20 +0100
committerDanilo M. <danix@danix.xyz>2026-11-06 10:13:20 +0100
commit9ec740b0c73e33485e1d754759de46aa99444733 (patch)
tree6be3d2e29014acc0c48a91fe86fbe8a5d671bb08 /app/src/main/res/values
parentc3c433a038e304ddb82b282dad2d09899daf241e (diff)
downloadHardenedPass-9ec740b0c73e33485e1d754759de46aa99444733.tar.gz
HardenedPass-9ec740b0c73e33485e1d754759de46aa99444733.zip
feat(app): optionally push after each change
Changes made in the app could sit unpushed and collide with a later desktop change. The new setting, off by default, pushes after a save, move, rename or delete. It pushes rather than syncs because a rejected push changes nothing, while a pull can stop in a rebase. A failed push only shows a snackbar: the commit stays local and promptOnErrorHandler would delete saved credentials over a missing network. Autofill saves are left out: AutofillSaveActivity closes right after saving, which would cancel the push. TODO.md tracks that. 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.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c8782fad..fa9fb0f3 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -126,6 +126,9 @@
<string name="pref_rebase_on_pull_title">Rebase on pull</string>
<string name="pref_rebase_on_pull_summary">When pulling or syncing, create a merge commit with upstream changes</string>
<string name="pref_rebase_on_pull_summary_on">When pulling or syncing, rebase commits that are not present in the remote repository</string>
+ <string name="pref_push_after_commit_title">Push after each change</string>
+ <string name="pref_push_after_commit_summary">Push to the remote repository after saving, moving or deleting in the app</string>
+ <string name="git_push_after_commit_failed">Saved on this device, but not pushed. Sync to try again</string>
<string name="pref_disable_sync_on_pull_title">Disable pull to sync action</string>
<string name="pref_disable_sync_on_pull_summary">Prevent pulling down on the password list from triggering a Git sync</string>
<string name="pref_import_pgp_key_title">Import PGP key</string>