parsimony/internal/router
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi cfcfd42110 fix(router,store): consume a confirmation token only when its action happened
- store: ConfirmPending claims the row (DELETE ... RETURNING), applies join or leave and commits in one
  transaction; a refusal from check, a database error, a token of another list or a rollback leaves the
  token usable; concurrent confirmations of one token apply exactly once
- store: CreatePending purges pending rows older than the 72 h TTL
- store: IsActiveMember
- router: confirm uses it, the list policy check runs before anything is consumed
- router: +join from a member disabled by bounces sends the confirmation; confirming re-enables it
- tests: purge, refusal, forced database error, other list, expiry, 8 concurrent confirms, whole rejoin flow
- cli test: the create error text changed with the new name rule
2026-11-10 11:54:05 +01:00
..
commands.go fix(router,store): consume a confirmation token only when its action happened 2026-11-10 11:54:05 +01:00
headers.go fix(router): RFC 2047 encode a non-ASCII List-Id phrase 2026-11-10 11:51:05 +01:00
identity_test.go fix(ingest): answer 552 for a message too big to hold, with tests 2026-11-10 11:39:41 +01:00
loop_test.go fix(security): discard mail loops and automatic replies 2026-11-09 20:24:16 +01:00
m2_test.go fix(router,store): consume a confirmation token only when its action happened 2026-11-10 11:54:05 +01:00
m3_test.go fix(security): hold posts whose From header does not match the sender 2026-11-09 20:23:07 +01:00
router.go fix(ingest): answer 552 for a message too big to hold, with tests 2026-11-10 11:39:41 +01:00
router_test.go fix(router): RFC 2047 encode a non-ASCII List-Id phrase 2026-11-10 11:51:05 +01:00