Karta 1.0.0: audit fixes and the release commit #89

Merged
calvin merged 13 commits from release-1.0-karta into master 2026-11-13 02:09:48 +00:00
Owner

This is the 1.0 release pull request: merging it makes 1.0.0 (the last commit bumps mix.exs, the CHANGELOG, the status page, the README). It contains #86 (Scan panel, refusal log lines, guide fixes; reviewed, sound) and master (including #87, merged). Merge it instead of #86, or merge #86 first: no conflict either way.

What I checked on the live instance (https://karta.shilohbv.com)

Every console page on desktop and phone (no console errors, no horizontal overflow), sign-in of a new identity, a sender set up in the console, real SMTP conversations from truth to the public MX (STARTTLS, clean, GTUBE held and refused, EICAR refused, unknown recipient and domain), HTTP endpoint delivery with the signature verified, the five endpoint formats, the Karta/Postal/Mailgun/SendGrid/Postmark APIs, batch/schedule/cancel, suppressions, a real hard bounce, signed webhooks, the provisioning API, SMTP submission over STARTTLS with AUTH (SPF, DKIM and DMARC pass in the received headers), rate limits (429), pruning jobs, the docs site (305 pages), every OpenAPI operation. Full table and screenshots: docs/suite/release-1.0/karta.md on the manager's machine.

Fixes in this pull request (each with a test)

  • Behind Traefik the admin pages never got their WebSocket (X-Forwarded-Proto: wss was ignored, the upgrade got a 301).
  • The received message's page (opened by the Received list) had no Scan panel and no Release button for held mail; both now there (shared KartaWeb.ScanPanel).
  • An empty usage chart printed {@usage_days}.
  • A delivery's last reply showed its codes twice.
  • A DKIM key that stays pending after its record was published (resolver negative cache): the page and the domains guide say why.
  • Docs: backup and restore step by step; sent mail is not scanned (decision for 1.0, recommended: scanning guards what strangers send in).

Not verified, and why

Tracking (opens, clicks, unsubscribe): KARTA_TRACKING_URL is not set on the live instance. DMARC/TLS report sending: no reporting identity is set. Forwarding with SRS: no return-path domain. Publishing DNS records and DKIM rotation: not configured. Submission on 465. Adding a member (needs a second identity). A restore drill. The full suite and credo are for the manager's check; I ran the touched test files once each on my own test database (MIX_TEST_PARTITION=rel): 70 tests, and credo and format on the touched files.

Needs a deploy to be true on live

Everything above except the docs. Then rebuild the docs site (it says v0.1.0).

🤖 Generated with Claude Code

This is the 1.0 release pull request: merging it makes `1.0.0` (the last commit bumps `mix.exs`, the CHANGELOG, the status page, the README). **It contains #86** (Scan panel, refusal log lines, guide fixes; reviewed, sound) and master (including #87, merged). Merge it instead of #86, or merge #86 first: no conflict either way. ## What I checked on the live instance (https://karta.shilohbv.com) Every console page on desktop and phone (no console errors, no horizontal overflow), sign-in of a new identity, a sender set up in the console, real SMTP conversations from truth to the public MX (STARTTLS, clean, GTUBE held and refused, EICAR refused, unknown recipient and domain), HTTP endpoint delivery with the signature verified, the five endpoint formats, the Karta/Postal/Mailgun/SendGrid/Postmark APIs, batch/schedule/cancel, suppressions, a real hard bounce, signed webhooks, the provisioning API, SMTP submission over STARTTLS with AUTH (SPF, DKIM and DMARC pass in the received headers), rate limits (429), pruning jobs, the docs site (305 pages), every OpenAPI operation. Full table and screenshots: `docs/suite/release-1.0/karta.md` on the manager's machine. ## Fixes in this pull request (each with a test) - Behind Traefik the admin pages never got their WebSocket (`X-Forwarded-Proto: wss` was ignored, the upgrade got a 301). - The received message's page (opened by the Received list) had no Scan panel and no Release button for held mail; both now there (shared `KartaWeb.ScanPanel`). - An empty usage chart printed `{@usage_days}`. - A delivery's last reply showed its codes twice. - A DKIM key that stays pending after its record was published (resolver negative cache): the page and the domains guide say why. - Docs: backup and restore step by step; sent mail is not scanned (decision for 1.0, recommended: scanning guards what strangers send in). ## Not verified, and why Tracking (opens, clicks, unsubscribe): `KARTA_TRACKING_URL` is not set on the live instance. DMARC/TLS report sending: no reporting identity is set. Forwarding with SRS: no return-path domain. Publishing DNS records and DKIM rotation: not configured. Submission on 465. Adding a member (needs a second identity). A restore drill. The full suite and credo are for the manager's check; I ran the touched test files once each on my own test database (`MIX_TEST_PARTITION=rel`): 70 tests, and credo and format on the touched files. ## Needs a deploy to be true on live Everything above except the docs. Then rebuild the docs site (it says v0.1.0). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A refused message is stored nowhere, so nothing said which sender was
refused or why. The line carries the sender address, the envelope sender and
what the scanners answered, never a recipient.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The score, rspamd's action and symbols, the virus result, or why a scanner
did not answer were only in the raw header fields and the API.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Correct the scanning guides and advise a longer scan budget
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
1231406537
The symbols field is cut at 900 bytes, not 20 symbols; the rspamd password
is not the controller's; DNS checks can take several seconds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	CHANGELOG.md
#	config/runtime.exs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Version 1.0.0: changelog, status page, README
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
24c0421326
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
calvin merged commit 57e384d4ba into master 2026-11-13 02:09:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
external/karta!89
No description provided.