Repository navigation
feat(proposals): email outbox templates and send/revoke actions (TASK-0060) - #72
Merged
Ediminator merged 5 commits intoOct 28, 2026
Merged
Conversation
…/revoke actions (TASK-0060) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
…okens (TASK-0060) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
… fixtures (TASK-0060) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
… revoked deliveries (TASK-0060) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
Ediminator
deleted the
feat/task-0060-proposals-email-outbox-templates-and-sen
branch
October 28, 2026 20:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements
TASK-0060: Proposals email outbox templates, outbox processor wiring,getAcceptedProposalForProjectquery helper, andsaveDraftProposalAction/sendProposalAction/revokeProposalTokenActionserver actions.0021_motionless_cerebro.sql): Extendedemail_outboxwith nullableproposal_id(ON DELETE CASCADE) and email kindsproposal_sent,proposal_accepted_client, andproposal_accepted_owner.en/de) HTML + plain-text templates with RFC 3834 anti-loop headers (Auto-Submitted: auto-generated,Precedence: bulk) and validated absolute/p/[token]URLs (NEXT_PUBLIC_APP_URL). WiredprocessEmailOutboxBatchto dispatch proposal emails via SMTP and suppressproposal_sentemails if a proposal token was revoked prior to delivery.saveDraftProposalAction,sendProposalAction(generating 256-bit cryptographically random tokens and persisting only the SHA-256 hash), andrevokeProposalTokenAction(protected byrequireOwner()), plusgetAcceptedProposalForProjectinsrc/server/proposals/accepted-summary.ts(decoupled from Next.js request headers for worker bundle safety).Validation
--profile full): 13/13 steps PASS on927f3ff5a186(unit/integration coverage: 91.10% statements, 85.98% branches, 87.09% functions, 91.45% lines; 208/208 Playwright E2E tests).validator(PASS, 0 blocking) andsecurity-privacy-auditor(PASS, 0 blocking) in iteration 2.