The first MINOR after 1.0.0: send-only DMARC guidance in the panel, AGPL packaging on every page, and an internal split of `internal/web` ahead of domain-admin work. Upgrading runs one SQLite migration (empty defaults; existing DNS guidance is unchanged until you set a report address). Changed: - `internal/web` split into subpackages (`web/view`, `web/auth`, `web/validate`, Added: - panel: DMARC guidance for send-only relays — the suggested `_dmarc` record - AGPL packaging hygiene: [NOTICE](NOTICE) names the copyright holder and the - [docs/roadmap.md](docs/roadmap.md) — candidate item **visual-style** (panel Full detail: CHANGELOG.md (1.1.0).
17 lines
233 B
Go
17 lines
233 B
Go
package handlers
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mixeme/selfpost/internal/web/view"
|
|
)
|
|
|
|
func mustView(t *testing.T) *view.Engine {
|
|
t.Helper()
|
|
v, err := view.New("test")
|
|
if err != nil {
|
|
t.Fatalf("view: %v", err)
|
|
}
|
|
return v
|
|
}
|