diff --git a/integration_http_race_test.go b/integration_http_race_test.go index 4e7c428..702088c 100644 --- a/integration_http_race_test.go +++ b/integration_http_race_test.go @@ -373,7 +373,6 @@ func TestIntegrationZoneCreationDelegationRace(t *testing.T) { if _, err := newUserStore(gate, tables).UserByIDForUpdate(ctx, firstActor.ID); err != nil { t.Fatal(err) } - // Both handlers acquire the zone lock before checking the actor's row. a := make(chan *httptest.ResponseRecorder, 1) b := make(chan *httptest.ResponseRecorder, 1) go func() { a <- it.do(ctx, first) }() diff --git a/rules.go b/rules.go index 5372021..2ea7609 100644 --- a/rules.go +++ b/rules.go @@ -198,8 +198,6 @@ func validateZoneChanges(zone string, current []recordRow, changes zoneChanges) problems, warnings = zoneRuleProblems(zone, result, after, true) soaRepair := len(after.soa) != 0 && soaDefects(after.soa) < soaDefects(before.soa) soaOnlyRepair := soaRepair && slices.Equal(nonSOARows(current), nonSOARows(result)) - // An existing CNAME can block an SOA repair at the apex. Permit an - // independent repair without permitting normal writes on the broken zone. cnameRepair := soaDefects(after.soa) != 0 && changes.deletesOnly() if len(problems) != 0 && (soaOnlyRepair || cnameRepair) { beforeProblems, _ := zoneRuleProblems(zone, current, before, true) diff --git a/templates/html/layout.html b/templates/html/layout.html index a84362b..bf3a9cc 100644 --- a/templates/html/layout.html +++ b/templates/html/layout.html @@ -1,5 +1,6 @@ {{- /* SPDX-License-Identifier: GPL-2.0-or-later */ -}} {{- /* Copyright (C) 2026 Bryan Joshua Pedini */ -}} + {{define "layout"}}
diff --git a/templates/html/pages/account.html b/templates/html/pages/account.html index 4640fab..70a0bf4 100644 --- a/templates/html/pages/account.html +++ b/templates/html/pages/account.html @@ -1,5 +1,6 @@ {{- /* SPDX-License-Identifier: GPL-2.0-or-later */ -}} {{- /* Copyright (C) 2026 Bryan Joshua Pedini */ -}} + {{define "title"}}Account{{end}} {{define "content"}}