v0.333.0: the file manager's own token ends with the dashboard sign-out (R-1155); the recovery-code page says the code becomes live after the check (R-1161)
gates / gates (push) Successful in 49s

This commit is contained in:
2026-10-19 11:30:59 +02:00
parent a741bc1d0f
commit c809dd3bc6
10 changed files with 172 additions and 8 deletions
@@ -373,9 +373,12 @@ func TestEscrowTemplates_Render(t *testing.T) {
"A folytatáshoz add meg a bejelentkezési jelszavadat",
"Kód létrehozása",
"Kód megjelenítése",
// v0.127.3 (Viktor): the reveal states EXPLICITLY that the shown code is already the
// live one (the supersede happened at upload, before display).
"Ez mostantól az élő helyreállítási kód — a korábbi kód érvényét vesztette. Mentsd el most: a kód többé nem jelenik meg.",
// R-1161 (2026-10-19): with an agent >= 0.160.0 the code becomes live only after the two words come back
// (R-1151), so the reveal says that by default; v0.127.3's "already live" sentence is shown only for an
// older agent (confirm_required false), which still stores the package at the claim.
`id="live-after-check" style="margin-bottom:.5rem">Ez a kód az ellenőrzés után lesz az élő helyreállítási kód: írd be lent a két kért szót. Addig a korábbi kód marad érvényes, akkor is, ha most bezárod az oldalt. Mentsd el most: a kód többé nem jelenik meg.`,
`id="live-now" style="display:none;margin-bottom:.5rem">Ez mostantól az élő helyreállítási kód — a korábbi kód érvényét vesztette. Mentsd el most: a kód többé nem jelenik meg.`,
"if(!confirmRequired){ document.getElementById('live-after-check').style.display='none'; document.getElementById('live-now').style.display='block'; }",
// The pre-generation cancel must stay next to the start button (nothing runs until then).
`>Mégsem</a>`,
"nem ezen a szerveren",