WIP: Milestone: delivery lifecycle, retention, config and session hardening #111
Reference in New Issue
Block a user
Delete Branch "next"
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?
Milestone branch for 1.0.0. Issue PRs land here by squash-merge as each passes independent review; this PR is the single unit
maintakes.WIP:comes off, and this getsmerge-readyand assigned, once the 1.0.0 milestone is empty andnextis verified green. Until then it is deliberately unmergeable.Landed
context.Background()— the delivery engine and retention reaper no longer die ~15s after startup (#97)retention_daysof 0 to mean retain forever, and bound the reaper's cutoff arithmetic against int64 overflow (#79)Still open in the milestone
X-Forwarded-For, andREPO_POLICIES.mdrequires trusted-proxy gating.source_logstemplate dataCSRF ran before MaxBodySize, so the CSRF middleware parsed the form body before any cap applied and an oversized request was read in full before being rejected. MaxBodySize is now the first middleware in all four route groups that parse forms, ahead of CSRF and RequireAuth. An oversize request therefore gets 413 without the handler running and without state changing, including the password-change route. Note the ordering trade: an unauthenticated client now receives 413 rather than an auth redirect on /user/{username}/password.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.