Sponsor invite emails for other network sites (siteinvite.js): Video App Income sponsors can email their own directs once, sent here (Marty approved 2026-11-20: directs only, fixed wording, IAP sends it). Signed /api/partner/invite/{eligible,send} (SITE_INVITE_SECRET), once ever per recipient per site, 25 a day per sender and 200 a day overall, pause switch siteInvitesPaused, the tank batches' never-mail list, no email address leaves this app; admin view + one sample to the admin address; chatbot answer; KNOWLEDGE_DATE 2026-11-21; qa/site-invite.test.mjs (39 checks)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-21 06:38:23 -06:00
parent 68825e694e
commit 1d5dd057e0
5 changed files with 336 additions and 1 deletions
+3
View File
@@ -79,6 +79,7 @@ elif [ "$MODE" = "member" ]; then
node qa/tank-batch.test.mjs || status=1 # holding tank batches: ladder, switch off = no writes, rotation, grace, cadence, follow-up, separate 5x cap
node qa/tank-readiness.test.mjs || status=1 # holding tank readiness (2026-11-18): entry reasons, stage, heat against a LOCAL network hub; hub down = card as before
node qa/draft-partner.test.mjs || status=1 # 5xYourTeam draft partner routes (DRAFT_E2E_PORT, default 8825)
node qa/site-invite.test.mjs || status=1 # sponsor invite emails for other network sites: directs only, once ever, caps, never-mail list
node qa/walletnudge.test.cjs || status=1
node qa/bixpay.test.cjs || status=1
node qa/profile-policy.test.cjs || status=1
@@ -90,6 +91,8 @@ elif [ "$MODE" = "weekend" ]; then
node qa/weekend.e2e.mjs || status=1 # /weekend, Home strip, ribbon, feeds, builders key at test clocks (local copies + a fake hub)
elif [ "$MODE" = "draft" ]; then
node qa/draft-partner.test.mjs || status=1
elif [ "$MODE" = "siteinvite" ]; then
node qa/site-invite.test.mjs || status=1 # sponsor invite emails for other network sites (siteinvite.js, 2026-11-21)
elif [ "$MODE" = "theme" ]; then
start_local 8797 && { LOCAL=http://127.0.0.1:8797 node qa/theme-contrast.mjs || status=1; }; stop_local 8797
elif [ "$MODE" = "policy" ]; then