Skip to content

fix: july2026 form changes - #382

Merged
johannesparty merged 10 commits into
mainfrom
fix/july2026-form-changes
Jul 24, 2026
Merged

fix: july2026 form changes #382
johannesparty merged 10 commits into
mainfrom
fix/july2026-form-changes

Conversation

@johannesparty

@johannesparty johannesparty commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Added spaces form c
Better cache bust nonce.

johannesparty and others added 10 commits July 22, 2026 20:47
Case E (email provided but no newsletter/endorser/adoption) now records the submission and returns success without sending a confirmation email.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Three variants: any opt-in checked -> 'watch your inbox'; no opt-in with a comment -> 'received your comments'; no opt-in and no comment -> a new 'if you have ideas or comments' message.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…to-reply

Cases B/C/D gain a 'follow us on Bluesky and LinkedIn' link (Case A unchanged). Endorser confirmations now say 'your name (and affiliation if you've provided one)'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Remove the 'enter an email or a message' requirement so a submission with only the required first/last name (no email, comment, or opt-in) is accepted — this is Case 2 / success message 2, previously unreachable. Email is still required when an opt-in is checked.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… opt-in)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add blank lines around the Case C confirm items so email clients (Gmail) don't reflow the two bullets onto one line.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The form page is edge-cached, so the embedded nonce can be stale/expired by submit time, failing check_ajax_referer with a 403 ('Your session expired'). Add an uncached admin-ajax endpoint (bd4d_nonce) that returns a fresh nonce, and fetch it at submit time (in parallel with the reCAPTCHA token), falling back to the baked-in nonce on failure.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@johannesparty
johannesparty merged commit d3f1b22 into main Jul 24, 2026
3 of 4 checks passed
@johannesparty
johannesparty deleted the fix/july2026-form-changes branch July 24, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant