martbost
6ef7a023df
Member erase: their username leaves the messages that stay (another member's chat to them, a notice to their sponsor about them), whole words, 5+ characters; names option for a second pass after the account is gone; residue sweep also finds a long username inside text (REGEXP whole word)
...
Found on the LS-1021 erase: two kept messages still said "rajumiddha". qa/erase.mysql.test.cjs 3 pass (disposable mysql:8 on core), qa/erase.test.cjs 6 pass. NOT deployed (one InstantAdPay deploy today for this lane); ships with the next one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 12:43:14 -06:00
martbost
84d566e784
Member erase (Marty 2026-11-15, ticket LS-1021): POST /api/admin/erase {email, dryRun (default true), force} + the hub's member.erased event
...
erase.js runs inside the app so the documents modules keep in memory and the MySQL rows stay consistent. Refused unless
force: a main wallet, an on-chain member number, positions, a team here, ads still running or queued. SQL: the account,
sessions, signals, credits (unspent ad credits go away), credit log, views, visits, drips, nudges, digests, adoptions,
marks, promo redemptions, prospects, pipeline notes, their ads and every row hanging off them; messages they sent and
notices to them; a chat another member sent them stays for that member with a tombstone recipient; help-desk tickets
stay as history with the requester tombstoned and their own messages blanked; other members' mute lists. Documents:
every doc that mentions them is scrubbed by scrub.js (new, same file in LinkSpin) through the owning module's live copy
(lsinbound, lssync, sponsorfollow, refill, tank-ready, hubsync) or through docstore (legacy reloaded). A residue sweep
over every text column reports anything left. A 30-day email-hash tombstone (erase.json) stops lsinbound and the hub
path from bringing them back; the log keeps hashes and counts only. hubsync handles member.erased {emailHash}.
qa/erase.test.cjs 6 pass (JSON mode); qa/erase.mysql.test.cjs passes against a disposable mysql:8 on core.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 12:29:31 -06:00
martbost
b925661eac
Network footer links: CODES adds viraladblitz nwvab, fivex nw5x and downlinehydra nwdh (Marty 2026-11-15), identical to LinkSpin's netsites.js. qa member ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 10:17:31 -06:00
martbost
dd50674d96
Merge dh-networksso ( 1c06c58 DownlineHydra network sign-in) for the 5x/DH IAP deploy
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 08:05:54 -06:00
martbost
ea07861b36
Footer network links carry a referral username (Marty 2026-11-15): the signed-in member's own (/api/me), else the sponsor the visitor came in on (iap.sponsor cookie, usernames only, never a member number or wallet). Tracked links get it as s1 (LinkSpin sends it on as ?ref=), plain links as ?ref=, none for Earners Corner. common.js + netline.js, same approach as VBB 6798503; ?v=20261115nr. iap-qa member: ALL PASSED. NOT deployed (5xYourTeam lane owns today's IAP deploy).
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 08:05:30 -06:00
martbost
1c06c58daf
Network sign-in for DownlineHydra (2026-11-15): networksso NAMES downlinehydra, wallets.downlinehydra = DH_URL (default https://downlinehydra.com ; staging https://dh.saasy.top until the domain switch), /go/downlinehydra. networksso.test ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 08:02:10 -06:00
martbost
e1bee03b95
hubsync: a tank adoption-window expiry (sponsorfollow label 'expire') now reaches the hub as a sponsor change by 'expiry' (the hub's name); before, these moves were silently skipped. qa/hubsync.test.cjs 20/20 (new test fails without the fix)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 07:50:03 -06:00
martbost
e17d8c4fbb
5xYourTeam The Draft on the network holding tank (Marty approved the rules 2026-11-15): signed partner routes draftpartner.js, LOCAL ONLY
...
POST /api/partner/draft/{pool,adopt,release,status}, HMAC DRAFT_PARTNER_SECRET over 'draft.v1.' + ts + newline + body (X-Draft-Ts /
X-Draft-Sig, 5 min), 503 until the secret is set; GET /api/admin/draft (picks + log). Every pick is tank.adopt() with opts.partner:
the signed 5x claim (positions >= 1) replaces the own-$20-buy rule for these calls only (the member's own tank button keeps it); the
coach needs an account here with a wallet linked and someone on this contract in their line (else a pick who starts here would walk
up to the company), not flagged, under the people-held cap; max 10 open picks; max 2 adoptions per person; the 24 h grace; rule 3
plus a fresh hub lock check at adopt (hub silent = refused); pool also drops spam/flagged (fraud + link-farm list), throwaway and
mistyped email domains, anyone adopted twice. Cards carry no contact data (hub ids or opaque i_ ids, door, joined, last seen,
wallet yes/no, surfing credits; games null, not tracked here). The adoption email is the only mail: no payTrack reminders, no
payments-topic post. Sponsor moves via setSponsor (sponsorfollow + hub sponsor-change, by 'adopt' / 'release').
Pick window: adoption row expires +3 days; tank.sweep skips picks (hooks.isDraftPick); draftpartner.sweep (hourly) closes them by the
pick rule: started (payouts on / purchase) = done, adopted twice or locked = kept with the coach, hub silent = wait, else back to the
tank with the original join time (no new grace). Coach release after 48 h. rid makes adopt/release idempotent. A pick closed some
other way reconciles as 'moved'. MySQL tables draft_picks + draft_log (JSON fallback locally); every call logged with a code/reason.
Tests: qa/draft-partner.test.mjs 66/66 (real tank.js, mocked clock, fake hub + a local copy's routes on 8825), in run.sh member and
run.sh draft; bash qa/run.sh member exit 0 (bugs 0); tank-cap 13/13, sponsorfollow 30/30.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 07:20:14 -06:00
martbost
7f57aedcb6
hubsync: ask the hub for ids on /v1/locked (hub id + first door per row) and expose hubInfo(email) / resolvePerson(q) for the 5xYourTeam draft pool
...
Read-only. A hub without hub 1e99713 ignores ids: true and the draft pool falls back to opaque i_ ids. hubsync.test 19/19.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 07:20:13 -06:00
martbost
968e60835f
Network sign-in by wallet for ViralAdBlitz (2026-11-15): networksso NAMES viraladblitz, wallets.viraladblitz = VAB_URL (default https://viraladblitz.com ; staging https://vab.saasy.top until the domain switch), /go/viraladblitz. qa member: ALL PASSED (bugs 0), networksso.test ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 05:41:11 -06:00
martbost
911dd623c0
Kestrel is free at level 20 in Shards of Valor (Marty approved 2026-11-14, Dallas: "The Archer should be free to everyone at level 20")
...
gamepass.js: HERO_DEFS kestrel freeAt 20. She is never sold here any more: buyHero refuses her ("free for every player at level 20
in Shards of Valor, so she is not for sale"), a bundle setting that names her drops her, heroOrderPrices/heroOrderOpen skip her, and a
waiting Kestrel order from before is cancelled unpaid (never fulfilled by a package). A member who bought her keeps her (the hand-off
still lists kestrel); nothing refunded. Valda, Morag, Roland, the $50 bundle of those three and every price unchanged.
Member card: Kestrel shows "Free at level 20" and "Not for sale" (my.js?v=20261114kes). Chatbot canned answer + AI fact say so.
qa/sov-heroes-store.cjs reworked for it (old Kestrel buyer kept, stale order cancelled, stats $180). iap-qa member: ALL PASSED.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 16:21:12 -06:00
martbost
4ccdb914c7
Network sign-in: a deliberate 'Sign in with InstantAdPay/LinkSpin' tap while signed out on the provider now asks for the provider's sign-in, then finishes the trip (/sso/resume), instead of bouncing back silently (Marty 2026-11-14: VBB sign-in did nothing)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 14:31:47 -06:00
martbost
82eab8016b
GET /api/admin/member-extra?email= (Marty 2026-11-14, network hub member lookup): read-only, admin Bearer; what the member card leaves out: optedOut (drip unsubscribe), updatesOptIn, tank {inTank, ready {readyAt, holdUntil}, adoptions summary}, fraud {flags, suspended, suspendedReason}. qa/member-extra.mjs in the member run (401 without/with a wrong password, 404 unknown, fields present). iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 12:57:33 -06:00
martbost
4787390e8b
Tracked network links (Marty 2026-11-14: "make sure each of these sites is its own traffic source and link spun so we can track it"). netsites.js: /api/network-sites adds go = the LinkSpin network link for each site with ?src=iap (linkspin.app/r/nwls|nwdlb|nwvbb|nwsp|nwec, fixed codes on Marty's LinkSpin account), this site found by NETWORK_SITE_ID or the request host; common.js + netline.js footers use go (rel nofollow), plain url as fallback. Promo tools > Network sites: every kit link shows a tracked twin, credited to InstantAdPay (?src=iap) as the site that sent the visit; it lands on the same page with ?ref=<member>. Chatbot Network sites answer says so. Same netsites.js in all five sites. common.js?v=20261114ns, netline.js?v=20261114ns, netkits.js?v=20261114ns
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 11:39:14 -06:00
martbost
d033cc7122
Network line on the six pages with their own footer (conversion-tracking, earning, friday, games, partners, wednesday): netline.js adds Terms, Earnings Disclaimer, Privacy, Contract, Ledger, Support when the footer has none, the company line, and the 'Part of the network' list from /api/network-sites (InstantAdPay current, fallback copy). netline.js?v=20261114nf. iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 11:02:14 -06:00
martbost
efb054d916
Footer: 'Part of the network' line from the network hub (Marty 2026-11-14 trust pack). netsites.js serves GET /api/network-sites (hub GET /v1/network-sites, 10 min cache, never waits on a slow hub, built-in fallback); common.js paints the line (InstantAdPay marked as current) in the site footer and in the members-area footer; company line TrustClickz, 615 Green Valley Drive, Moody, AL 35004; footer link reads Earnings Disclaimer; the members area footer now links Terms, Earnings Disclaimer, Privacy. common.js?v=20261114nf. iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 10:19:13 -06:00
martbost
32f001aade
Promo tools > Network sites (Marty 2026-11-14: DLB + VBB creatives "in all the places they need to go"): a new pill shows the Downline Banners and Viral Banner Blitz promo kits, read live from each site's public feed (GET <site>/api/promo-kit?u=<username>, one source: a creative or line changed on the site shows here at once). The member's username fills every link, creative HTML snippet, line, headline, email and post; usernames are network-wide, so the links work even if they never visited those sites. netkits.js (new), my.html card #promo-network, my.js setPromoSub 'network' + fillPromo hands over the username. CSP connect-src admits downlinebanners.com + viralbannerblitz.com. Chatbot: VBB + Network sites canned answers, DLB answer points at the kit, PROMO TOOLS line, KNOWLEDGE_DATE 2026-11-14. netkits.js?v=20261114nk, my.js?v=20261114nk. iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 10:01:41 -06:00
martbost
edc484db27
One network tank (Marty 2026-11-14: IAP and LinkSpin tanks should show the same people): waiting() counts waiting accounts that never signed in here (BTC4Hits / LinkSpin arrivals) as LinkSpin does; quiet hub-made accounts stay out. The weekly email only counts the tank. hubsync test + iap-qa member ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 09:28:36 -06:00
martbost
836c7b17c2
Hub switch-on (Marty 2026-11-14). Rule 2: a hub arrival (and a sponsor climbed for it) gets person.locks.iap's sponsor when the InstantAdPay contract holds them, never the plain network sponsor; sponsor.changed stays ignored. Quiet: lssync never pushes a hub waiting account to LinkSpin (its registry route would switch payouts on and email them). Rule 3: the holding tank (waiting, release, expiry, rescue, readyTick, autoAssign) leaves out anyone the hub reports locked on any contract or sponsored; /v1/locked detail cached 10 min, last answer kept 1 h, after that held (unknown). Alignment to the hub sponsor only with HUB_TANK_ALIGN=on. Needs network-hub b44dba6. qa/hubsync.test.cjs 19/19 (mail audit with recording mailer, messages, fetch and https), iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 08:51:58 -06:00
martbost
a01d6f2e8c
Hub rule 2 (Marty 2026-11-14): every paid Purchase on the InstantAdPay contract goes to the hub's /v1/contract-spend (keyed by the position wallet so its bind is sent first, tx hash so a resend counts once, POL-in only), so when two contracts lock different sponsors the one with money spent decides the network sponsor. Still one way, only with HUB_ENABLED; needs network-hub 296aa5d. qa/hubsync.test.cjs 15/15
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 08:22:54 -06:00
martbost
ff568d973c
Network sign-in for Viral Banner Blitz (2026-11-14): vbb listed under networksso wallets (VBB_URL, default https://viralbannerblitz.com ) and /go/vbb routed, so "Sign in with InstantAdPay" works on VBB the way it does on Downline Banners; NAMES gains vbb (same networksso.js as LinkSpin, DLB, VBB). iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 08:15:58 -06:00
martbost
5398faadee
Holding-tank arrivals post shows the running total too (Marty 2026-11-14: post those totals so people know who is waiting to be adopted): '(N waiting in total)' after the new names
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 08:06:41 -06:00
martbost
a7c36a908a
Earners Corner sign-in no longer fills in a website (Marty 2026-11-14): the stackpol.com link made Discourse hold every new member for approval as 'entered profile information without reading'. iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 07:34:54 -06:00
martbost
92288a30f5
Admin adoption for a member (Marty 2026-11-14): POST /api/admin/tank/adopt {adopter, who, note} runs the same tank.adopt as the member's button (their eligibility and cap, the adoptee's email and chat), no payments-topic post per pickup. For topping up sponsors who lost people when the contract sponsor won. iap-qa member: ALL PASSED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-14 07:19:15 -06:00
martbost
d626469980
Admin personal notices (2026-11-13, first use: Downline Banners wallet nudge, Marty's go): POST /api/admin/notice-batch {batch, subject, html, text, items:[{email, vars}]} fills {{key}} per member, sends to the InstantAdPay inbox + email through the site mailer (opt-outs skipped, unsubscribe link added), once per member per batch (marks.claim), 400 ms apart, in the background; GET ?batch= for the result
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 11:04:27 -06:00
martbost
e98a6ebcd8
docstore.js: claim() for once-across-copies actions (same file as Downline Banners)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 10:35:15 -06:00
martbost
f29f6d1407
InstantAdPay data documents in MySQL (Marty 2026-11-13: 'everything database-driven'): docstore.js (same file as LinkSpin) keeps every .json/.jsonl data document in table docs of the InstantAdPay database (DOCSTORE_URL), one writer at a time, first boot imports and sets the files aside. Accounts and the other DB-mode tables are unchanged. Rehearsed on a copy with a copy of the database: 64/64 documents byte-identical, pages and APIs answer after a restart.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 09:33:16 -06:00
martbost
9efdfc8ee9
Data safety (2026-11-13 incident: a deploy read a half-written rotator.json, the store fell back to empty and its next save wiped 294 spin links): safefs.js makes every .json write inside DATA_DIR atomic (temp file + rename); LinkSpin's rotator refuses to start empty when rotator.json exists but will not parse
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 09:11:30 -06:00
martbost
4e2178d779
Refuel spots (Marty 2026-11-13, paid from the company fee share): a counted Monthly Refuel of $50+ on either site sends one signed request to Downline Banners to buy a spot for the member's main wallet (sponsor = their network sponsor's wallet), once per tx, with a member notice. Chatbot knows Downline Banners, the Banner Spin button and the refuel spot
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 08:55:47 -06:00
martbost
f20062133f
Downline Banners now lives at https://downlinebanners.com (Marty 2026-11-13): network sign-in hop default moved off new.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 08:35:57 -06:00
martbost
24b4ae9134
Hub gaps (Marty 2026-11-13): any later username/sponsor change (old members too) -> /v1/join, deliberate sponsor changes -> /v1/sponsor-change, MemberActivated -> /v1/contract-bind (contract iap); still one way, only with HUB_ENABLED
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 08:22:02 -06:00
martbost
2d4fc7a9f3
Merge branch 'hub-listener'
2026-11-13 07:51:48 -06:00
martbost
00cfd09c8f
Network sign-in reaches Downline Banners (Marty 2026-11-13): networksso.js vouches for a wallet site (/go/bannerline, /sso/check?r=bannerline carry the member's wallet + username); public /api/network/member lookup (username <-> linked wallet) so Downline Banners share links use the network username
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 07:35:15 -06:00
martbost
4cf3512106
Network links (Marty 2026-11-13 'yes please proceed'): every click on a link to the other site goes through /go/<peer> (InstantAdPay -> /go/linkspin, LinkSpin -> /go/iap), so a signed-in member arrives signed in; signed out it is a plain redirect. Click-time rewrite in the shared scripts (IAP common.js; LinkSpin common.js + cr-shell.js), so copied share links stay clean; data-nogo opts a link out. Browser check: path+query+hash kept, other hosts and data-nogo untouched. iap-qa member ALL PASSED. common.js/cr-shell.js ?v=20261113nl
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 05:28:11 -06:00
martbost
1f584f894f
Network sign-in landing (Marty 2026-11-13, Android Chrome: signed in on LinkSpin via InstantAdPay but landed on the public home page, which always says Sign in): a hop with no page named lands on the member dashboard (LinkSpin /ads, InstantAdPay /my); LinkSpin's home page turns Sign in into 'Open my dashboard' for a signed-in visitor (home.js?v=20261113me). networksso.test + e2e ALL PASSED.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 05:16:35 -06:00
martbost
ff2f668583
Network sign-in: a wallet-only session counts as signed in when its wallet belongs to an account (session carries the address, not the email), so a member who signed in with their wallet is signed in on the other site too (Marty 2026-11-13: signed in on IAP, LinkSpin's check came back 'not signed in here'). networksso.test + e2e ALL PASSED.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 05:09:53 -06:00
martbost
fab7732620
Merge network sign-in (InstantAdPay <-> LinkSpin) into main for the Friday launch (Marty 2026-11-13: 'we need to get that done now'). Conflicts only in script version tags (kept today's newer assets, re-tagged ?v=20261113sso). networksso.test 'ALL PASSED' both repos, networksso.e2e ALL PASSED, iap-qa member ALL PASSED. NETWORK_SSO_SECRET set on both Coolify apps. Chatbot KNOWLEDGE_DATE 2026-11-13.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 04:53:08 -06:00
martbost
5c896cb782
Network hub listener (hubsync.js), off unless HUB_ENABLED
...
POST /api/hub/events: signed hub hooks (HUB_SECRET, 5-minute window), each seq applied once, 503 so the hub retries.
member.joined from another door: /v1/resolve the person (climbing to sponsors not here yet) and make waiting accounts
through lsinbound.receive (joinedVia 'hub', joinedRef 'hub:<door>'); existing accounts keep their sponsor and the
difference is listed in /api/admin/hub. wallet.connected fills waiting accounts only; sponsor.changed is a TODO.
Our own new accounts and wallet links go to /v1/join and /v1/wallet from a persisted outbox (hubsync.json), never
in the way of a sign-up. With the flag off nothing is initialised, wired, routed or written; the LinkSpin sync is
unchanged. Test: qa/hubsync.test.cjs against a local network-hub (needs /v1/resolve by id, branch hub-resolve-id).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 17:02:45 -06:00
martbost
74354346a3
Chasing Unicorns: the page's own ?src= (where the link was posted) rides into the join button as unicorns-<src>, so sign-ups show the channel (Marty 2026-11-12, Massifly + LeasedAdSpace posts). chasing-unicorns.js?v=20261112d
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 14:48:42 -06:00
martbost
dbdeb5a7e6
Chasing Unicorns copy (Marty 2026-11-12): the 'free' ones (free to join until the countdown ends, then everybody gets the fee) and the small miner/gas/admin fee angle in the costs list and the pay-to-unlock card. chasing-unicorns.js?v=20261112c
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 13:42:16 -06:00
martbost
85d43f7483
Chasing Unicorns promo tool (Marty 2026-11-12): /chasing-unicorns, a labeled training simulation of a fake earnings dashboard where every button is one of 8 scam red flags (reveal card + scam-radar score), then PAS: what chasing unicorns costs, then how InstantAdPay works instead with a free join that keeps the sharer's ?ref=. Promo tools card with the member's link, OG image, chatbot fact, qa/chasing-unicorns.mjs (18 checks). my.js?v=20261112cu
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 13:34:11 -06:00
martbost
cedb291aaa
My line: your directs' email (with copy), where they came from (referrer + ?src= tag) and how they joined, up front in 'Your line', the Activity drop-down and the three-level card; levels 2-3 never get emails (Marty 2026-11-12: 'it was kind of buried in there'). Search also matches email + source. qa/line-origin.mjs (11 checks). Chatbot fact. my.js/site.css ?v=20261112ln
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 12:59:09 -06:00
martbost
574a0cafb1
Join page records the ?src= tag in the first-touch source (Marty 2026-11-12: 'we need the source tag so we can know where these things come from'): joinedRef = <referrer host>/<src> or just <src> when the referrer was stripped; a tagged visit replaces an untagged 'direct' first touch; a real earlier source is kept.
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com > (PolHunter/Drip Runner arrivals stay untagged for the bounty proof.)
2026-11-12 12:10:44 -06:00
martbost
55d3597f12
My line: search box on every member list (Your line, three-level downline, Holding tank) to find a member by name, username (with or without @), email or member number (Marty 2026-11-12). Narrows as you type, keeps focus across re-renders, restarts paging at page 1, works with sort + filter chips. Chatbot fact added. my.js/site.css ?v=20261112q
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 11:24:53 -06:00
martbost
fe70c857be
Text ads get their own network rate (Marty 2026-11-12): Network Ad Space text-ad views cost 1/synRateDivisorText (default 10, 1 credit = 100 network views) of the on-site rate; banners and partner visits keep synRateDivisor 4. Going forward only (cumulative served counter, existing NAS bookings topped up by reconcile). Admin Rates field, Campaigns table shows 1/N per type, chatbot canned + prompt updated (KNOWLEDGE_DATE 2026-11-12). my.js?v=20261112txt, admin.js?v=20261112txt
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 09:31:10 -06:00
martbost
5585abb663
Network sign-in with LinkSpin (Marty approved 2026-11-12): signed in on one site = signed in on the other, no email code
...
networksso.js (same file in both repos): /go/linkspin hop for signed-in members' cross-site links; /sso/start (state cookie +
30-minute loop guard) -> LinkSpin /sso/check -> /sso/in?t=<v1 HMAC-SHA256 token, NETWORK_SSO_SECRET, 60 s, single-use nonce
(MySQL table network_sso_nonces when on the DB, else DATA_DIR file), bound to the browser's state cookie, email, audience and a
same-site relative path>. Member sessions only (admin portal never shared), ordinary 4-hour session, /my lands with ?welcome=1
so the login ad runs as after a code sign-in. An email with no account here or a waiting LinkSpin/BTC4Hits account gets the
normal email-code sign-in, email prefilled; nothing is created. Silent check on /my via public/assets/netsso.js
(/api/sso/status); never for bots/fetches; sign-out pauses it 12 hours. Engine Room + Fuel links go through /go/linkspin.
Chatbot knows it (KNOWLEDGE_DATE 2026-11-12). Off until NETWORK_SSO_SECRET (32+ chars) is set.
qa: networksso.test.cjs all passed, networksso.e2e.mjs (both servers, real browser) 31/31, run.sh member green (0 bugs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 07:00:23 -06:00
martbost
db1ab8359c
Admin member card: Message (inbox + email) button (Marty 2026-11-12). POST /api/admin/member/message puts a broadcast in the member's inbox and emails it through the site mailer (opt-outs and unsubscribe link kept); reports when email is skipped. admin.js?v=20261112msg; qa member passed; local route test passed
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-12 06:47:52 -06:00
Marty Bostick
3eae242dc3
BTC4Hits import, round 2: tank cap 10 at one time (setting tankAdoptCap), BTC4Hits wording in the adoption note/email/auto-assign message, lssync rows carry origin btc4hits (not hashed), chatbot knows the import + the cap (KNOWLEDGE_DATE 2026-11-11). qa: tank-cap 13/13, tank-hold all passed, sponsorfollow 30/30, sponsorfollow-e2e 24/24
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-11 08:08:58 -06:00
Marty Bostick
5e8dee7517
Holding tank: an adopter may hold up to 6 people at one time (open adoptions not yet switched on payouts; setting tankAdoptCap, default 6; was 2 open adoptions), clear message at the cap
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-11 07:49:03 -06:00
Marty Bostick
ffcc0c6339
BTC4Hits import: joinedVia 'btc4hits' accounts are waiting accounts like LinkSpin's (left out of every sweep that mails, counts or adopts until their owner signs in); listAll's limit now counts members, not waiting accounts
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-11 07:23:35 -06:00