- Save waitlist and B2B submissions and notify the info inbox - Add duplicate protection and hourly notification retries - Require server-verified invisible Turnstile challenges - Reject reused tokens with a lock-protected hash ledger - Remove browser-only signup success fallback - Add privacy notice, regression tests, and setup documentation
4.8 KiB
Tasks
Kerod: set up the contact email and route every inquiry to it
The coming-soon page asks people to email or call Gishen. Before we share the link:
- Create
b2b@gishenpharmacy.organdinfo@gishenpharmacy.org. Mail DNS, SPF, DKIM, DMARC and mail-client TLS are configured; Kerod verified end-to-end mail delivery. - Route inquiries to
info@gishenpharmacy.org: B2B mail is copied there while retaining the B2B mailbox; both web forms send their internal notifications there. - Assign someone on the Gishen team to read
info@daily and respond within one working day, as promised on the page. - Confirm
+251 930 099 850is answered for B2B onboarding calls, or send us the right number to put on the page. - Deploy
tools/waitlist-apps-script.gs, owned bykiburtw1@gmail.com, withNOTIFY=info@gishenpharmacy.org. The live/execURL is configured inindex.htmland deployed to the VPS. - Verify the email, phone-only and B2B forms on the live page. All three saved successfully and their notification messages arrived in
info@. Kerod also confirmed end-to-end mailbox delivery.
Operations
- Private Sheet: Gishen launch waitlist & B2B inquiries. Sharing was verified as "Private to only me" under
kiburtw1@gmail.com. Grant individual team members access as needed; never make the contact list public. - Apps Script: Gishen website — Waitlist & B2B.
- The
Waitlisttab stores individuals;Institutionsstores B2B inquiries.notificationStatusrecords whether the internal email was sent. Pending notifications retry hourly. - Notifications are sent by the owning Google account, with replies directed to
info@. Google email quotas apply; a delayed notification does not discard a saved signup. - This is signup collection only. Subscriber launch emails and SMS campaigns are not automatically sent. Plan the launch communication separately, honoring the page's promise of one launch message.
- Updating Apps Script code requires updating the existing deployment to a new version; saving the editor alone does not update
/exec. - Run backend regression checks with
node --test tools/waitlist.test.mjs. - Three clearly labelled
TEST — Gishen ... setup 2026-11-09records remain as verification examples: two inWaitlistand one inInstitutions. Exclude/delete these test records before using the lists for real outreach. Their notifications were received ininfo@. - The previous live page is recoverable at
/var/backups/gishen-waitlist-20261109-Jjqo59/index.htmlon the production VPS.
Silent CAPTCHA configuration
-
Deployed Apps Script Version 3 to the existing
/execURL on 2026-11-09, with invisible Turnstile verification and the independent replay guard. -
Verified in Safari: both forms succeed without visible challenges; missing/invalid tokens, wrong-form tokens and replayed valid tokens are rejected. Existing labelled test contacts were reused, and the signup count did not change during these checks.
-
All 13 backend regression tests pass, including failure-closed behavior, duplicate protection and replay rejection even if the provider repeats success.
-
Cloudflare account: the Yaltopia-Gishen profile's existing account. Widget:
Gishen .org waitlist — invisible, restricted togishenpharmacy.org; invisible mode, no pre-clearance. -
Public sitekey:
0x4AAAAAAF5kBCYJ6Vhl5ok7. The matching secret is stored only in Apps Script'sTURNSTILE_SECRET_KEYScript property, not in this repository. -
Both final form submissions require a fresh token. The server checks hostname and the appropriate
waitlist/b2baction before storing or emailing. Invalid/missing/replayed tokens must fail without changing the lists. -
Token reuse is also blocked by a script-lock-protected hash ledger, independent of the provider response. It stores only SHA-256 hashes for a ten-minute replay window; expired hash entries are pruned on subsequent accepted requests. Do not delete active replay properties to bypass a failed challenge.
-
No email/phone ownership check is enabled. If verification cannot finish, visitors can retry or contact Gishen directly; there is no unprotected form bypass.
-
Deploy
privacy.htmlalongside the page; its footer link and Cloudflare Privacy Addendum disclosure are required for invisible mode. -
Pre-captcha landing-page backup:
/var/backups/gishen-turnstile-20261109.XmlNVe/index.htmlon the production server. Reverting HTML alone is not sufficient: the protected backend still requires a token. Coordinate a complete rollback of the Apps Script deployment if needed; Version 1 is the earlier unprotected backend.