Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/235-236-card-edits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds two inline affordances to each peer relationship card, closing the gap found in the #106 dogfood where correcting a wrong peer URL or rotating a re-issued outbound key forced a full Remove + re-register + re-exchange.
#235 — editable URL: an "Edit URL" button in the card head swaps the URL span for an input + Save/Cancel; Save PATCHes just
url.#236 — replace outbound key: a "Replace key" button in the actions row opens a
CAIRN-PEER1…input + Save/Cancel; Save PATCHes justkey. Mirrors the existing inbound issue/revoke, for the key the peer issued us.Backend:
updatePeergains optionalurl/keyfields, each validated exactly as registration (absolute http(s); http only for private hosts;CAIRN-PEER1.prefix) and applied independently, so a URL edit leaves the key untouched and vice versa.Runner: splice applied,
go vet/go build/go test ./internal/peering/... ./internal/api/...all green.Closes #235, closes #236.