Commit Graph

3 Commits

Author SHA1 Message Date
martbost ffb4275683 Network hub sign-in, step 3 (Marty 2026-11-15): networksso.js hub mode + every GET passes networksso.page()
networksso.js (the same file on every network site): with HUB_SSO=on (and HUB_URL, HUB_SECRET, HUB_SITE) /sso/start asks the network hub instead of one other site, /sso/in takes the hub's h1. token (this site's HUB_SECRET, iss hub, aud this site, 60 s, single use, state cookie) and falls back once to the old pairwise provider when the hub has nobody. page(): a signed-in member's real page load tells the hub once (nsso.hp, through hub /sso/set and straight back) and pings POST /v1/activity once a day (fire and forget; HUB_ACTIVITY=0 turns it off), only when the hub answered /health lately, so a hub that is down never takes a page with it. HUB_SSO stays off until switched on per site.
qa smoke passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:20:13 -06:00
martbost d15259fb21 networksso.js: the network-wide copy (Marty 2026-11-15). Loop guard TRIED_AGE 30 min -> 120 s (the 30-minute guard blocked Marty's silent sign-in on LinkSpin); NAMES gains fivex (5xYourTeam); a provider refuses an unknown r= instead of answering it as its peer (IAP answered 5xYourTeam as LinkSpin, the loop Marty hit). Byte-identical in IAP, LinkSpin, VBB, DLB, ViralAdBlitz, DownlineHydra, 5xYourTeam (DLB also catches up with the 2026-11-14 deliberate-tap pieces it was missing). qa smoke: 5x 160/160, VBB 249/249, VAB 198/198, DLB 131/131, DH 210/211 (the 1 front-page check also fails on a clean HEAD).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:51:57 -06:00
martbost 0507c1a815 Downline Banners (Marty 2026-11-13: keep the name): renamed everywhere members see it, new stacked-banner logo + favicon; network sign-in (arrive signed in from InstantAdPay/LinkSpin as your wallet); share links, sponsor and directs use network usernames (?ref=username resolves through InstantAdPay)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:35:22 -06:00