v0.310.0: „A gép kikapcsolása" — the household turns the whole machine off (R-998); honest restart text (R-999)
gates / gates (push) Successful in 48s
gates / gates (push) Successful in 48s
POST /api/server/poweroff (dashboard login, POST only, the typed word KIKAPCSOLÁS / TURN OFF) → agent POST /host/poweroff (MinAgent 0.155.0; hidden for an older agent). The controller refuses during its own backup/restore/app update; the agent's reasons are shown as household sentences. „Kiszolgáló újraindítása" becomes „A Felhom újraindítása" and says it restarts the Felhom part; /api/server/reboot is POST only (R-983). Tests red-proofed; parity fixtures regenerated on purpose.
This commit is contained in:
@@ -61,7 +61,7 @@ func TestSettingsSplitPagesRender(t *testing.T) {
|
||||
mustNot []string
|
||||
}{
|
||||
{"/settings",
|
||||
[]string{"Rendszer konfiguráció", "Verzió és frissítés", "Vezérlő újraindítása", "Kiszolgáló újraindítása"},
|
||||
[]string{"Rendszer konfiguráció", "Verzió és frissítés", "Vezérlő újraindítása", "A Felhom újraindítása", "A gép kikapcsolása"},
|
||||
[]string{"Adattárolók", "Jelszó módosítás", "Értesítési szünet"}},
|
||||
{"/settings/notifications",
|
||||
[]string{"Beállítások — Értesítések"},
|
||||
@@ -110,7 +110,7 @@ func TestSettingsSectionInventory(t *testing.T) {
|
||||
"Alkalmazás-email",
|
||||
"Vészhelyzeti információk", // renamed from the misspelled "Veszhelyzeti informaciok"
|
||||
"Vezérlő újraindítása",
|
||||
"Kiszolgáló újraindítása",
|
||||
"A Felhom újraindítása", // R-999: was „Kiszolgáló újraindítása" — it restarts the Felhom part, not the machine
|
||||
}
|
||||
var union strings.Builder
|
||||
for _, f := range []string{"settings_system.html", "settings_notifications.html", "settings_security.html", "storage.html", "storage_network.html"} {
|
||||
|
||||
Reference in New Issue
Block a user