[control] Store and recovery fixes: cross-process token lock, revert keeps its journal until done, epoch and deny list never roll back, journal errors propagate, lost confirm reloads edge, trial hash checked

This commit is contained in:
2026-11-07 18:51:58 +01:00
parent b9e14c6aee
commit 4448527b16
10 changed files with 305 additions and 66 deletions
+6
View File
@@ -188,6 +188,9 @@ fn template(code: &str) -> &'static str {
"share.unavailable" => {
"Share links are not set up on this server: the share-link key is missing from the credentials."
}
"share.too_many" => {
"There are 2,000 active share links already. Stop some, or stop all, then try again."
}
"share.not_found" => "There is no share link with that id.",
"share.replaces" => "The link to replace is not a link for {hostname}.",
// 3.5 tokens, limits
@@ -203,6 +206,9 @@ fn template(code: &str) -> &'static str {
"token.name" => "Use 1 to 64 letters, digits, spaces, dots, dashes or underscores.",
"token.expiry" => "Choose between 1 and 3650 days, or never.",
"rate.limited" => "Too many requests in a short time. Try again in {seconds} s.",
"control.files_unwritten" => {
"The change is live, but Ianitor could not save the proxy settings to disk. Changes are paused until Ianitor restarts and saves them."
}
"control.paused" => "Changes are paused: {reason} Traffic keeps flowing.",
// request shape
"request.body" => "The request body is not valid: {problem}",