6 Commits

Author SHA1 Message Date
martbost 7b973edcf8 Network sign-in: the way back after signing in on InstantAdPay (Marty 2026-11-17)
networksso.js (the shared file, same in every network site): providers now also know every
site in the hub's GET /v1/sso-sites, ?return=<site>&to=/path links on IAP/LinkSpin remember
the way back, a missing wallet sends the member to the provider's wallet step first and then
back, and the deliberate-tap state lives 1 hour (was 20 minutes) so a sign-up has time.
Join links to InstantAdPay carry ?return=<this site>&to=/my.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:09:38 -06:00
martbost ef79fcc461 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:04 -06:00
martbost 666cdd9569 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:48 -06:00
martbost 636ebb56bd Network sign-in: deliberate taps carry m=go and a 20-minute state so the member can sign in on the provider first (2026-11-14)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:32:04 -06:00
martbost 7c3e7f9a0e networksso.js: same NAMES line as InstantAdPay + LinkSpin (vbb listed there 2026-11-14). Smoke 117/117 (HTTP)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 08:09:48 -06:00
martbost 9d0dde4b57 VBB v1 skeleton: off-chain loop engine, verified visitors, members, banners, leaderboards, admin; docstore + networksso from Downline Banners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:24:34 -06:00