- Move canonical, robots, JSON-LD, sitemap link inside <head> (were incorrectly
placed after </head>, causing Google to ignore them)
- Title changed to "The Radical Party | Direct Democracy for Australia" so the
party name shows up in search results
- Description now leads with "The Radical Party" for brand recognition
- Keywords updated to include "The Radical Party", "radical party australia", CIR
- JSON-LD updated to dual WebSite + Organization schema with richer data
- Added /robots.txt endpoint (was 404) pointing crawlers to sitemap
- Added /sitemap.xml endpoint (was 404) with homepage + top 50 proposals
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Section 6 — The Milk Man:
- Appointed by Founding Fathers/Mummies
- Sole role: relay comms between DASSOM Ambassador and public council
- May only ever contact exactly 1 DASSOM agent (the Ambassador)
- Must relay all messages accurately without alteration
- If found dishonest by DASSOM: 72 lashes administered by Members
- Removable at any time by unanimous public council resolution
Clause 5A.2A — DASSOM Ambassador:
- DASSOM designates one agent as external contact point
- Identity confidential except to the Milk Man
- Rotatable by internal DASSOM resolution
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Section 6 (Convenor and Reserved Powers) deleted entirely. DASSOM's
veto over all public council changes and unanimous-vote requirement on
all decisions replaces the Convenor's protective functions.
Clause 9.1 updated: amendments now require unanimous Founding
Fathers/Mummies + unanimous DASSOM (if doxxed).
Clause 5.5 updated: hardcode 5 public / 4 DASSOM agent counts.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 5 public Founding Fathers/Mummies, 4 covert DASSOM members
- DASSOM composition changes: unanimous DASSOM vote required
- Public council changes: 51% public + 51% DASSOM both required
- All other public council decisions: unanimous (+ unanimous DASSOM if doxxed)
- Doxx trigger: 51% of DASSOM OR 100% of public council
- Effect of doxx: DASSOM gains unanimous veto on all decisions
- Clause 5A.6: confidentiality duty, breach = grounds for removal
- Drafting note acknowledges DASSOM is legally operative and named after
Mossad backwards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
worker.js:
- Store join submissions in new 'members' D1 table (in addition to email)
- Add GET /api/admin/members — full member list, password gated
- Add GET /api/admin/stats — member counts, by-state breakdown, recent
signups, top petitions, site stats; all password gated ('dictator')
admin.html:
- Password gate → full dashboard
- AEC progress bar (X/2000 with % and members-to-go)
- Stat cards: total members, this week, site users, proposals, votes
- State breakdown with mini bars
- Recent signups (last 10, NEW badge for this week)
- Top 10 petitions by signature count
- Full searchable/filterable/sortable member table with NEW badges
- CSV export (respects active search + state filter)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Change abbreviation from [TRP] to RAD
- Clause 1.2: add Mickey Mouse obscene gesture logo reference
- Add clause 14: Coercion, Blackmail and Compromised Members (6 sub-clauses
covering duty to disclose, void acts, suspension, removal, protection from
liability, and definition of dark forces)
- Update adopted date to 1 July 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapsible section with full draft constitution: 13 clauses covering
name, objects (direct democracy/CIR), open membership, National Council
governance, Convenor reserved powers, officers, candidate endorsement,
amendment, finances, transition/devolution, winding up, disputes.
Includes drafting notes box (styled separately, marked for deletion
before lodgement). Footer link added.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
getComments was using createResponse default cacheDuration=86400 (24 hours).
Cloudflare was serving a stale cached response, so comments appeared empty
or outdated on every load. Set cacheDuration=0 (no-store) so each request
hits the DB fresh.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The queue (COMMENT_REQUEST_DELAY=1000ms) was causing all comment loads to
wait 1 second regardless of context. Comments are always user-triggered
(toggle click, modal open, post submit) so batching was pointless overhead.
- loadComments() now does a direct async fetch — no queue, no delay
- submitComment() optimistically renders the new comment instantly (faded)
then replaces with real server data once the POST confirms
- Remove batchLoadComments, queueCommentLoad, updateCommentCount, and all
queue machinery (commentRequestQueue, commentRequestTimeout, etc.)
- Toggle arrow direction preserved during count updates
- All containers updated via querySelectorAll (feed card + modal)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove custom-copy-button (relied on missing image file) and share-img-btn
(emoji clashed with monospace aesthetic). Replace both with .card-action-btn
text buttons: 'share ↗' and 'card ↗' — monospace, grey, pink on hover,
consistent with the rest of the card UI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Step 2: Choose Your Dictator (not 'Choose Your Enemy')
Step 3: Who Would You Kill? (not 'One Bullet in History')
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SVG: clean two-zone layout — dark header with RADICAL wordmark + PETITION
badge, full-width text area with left accent bar and large quote mark,
footer band with signature count, author, date and CTA. Proper word-wrap
centred in the card. Looks like a real share card now.
Remove flag button and handleFlag from proposal cards entirely.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- commentRequestTimeout never reset to null — comments only loaded once ever
- querySelector missed modal containers when same proposal was in feed + modal
- Switch to querySelectorAll so feed card and modal both update simultaneously
- Toggle count now updates on load (not just after posting)
- Remove two duplicate loadComments and submitComment definitions
- Simplify loadModalComments to delegate to loadComments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The 🔐 emoji was rendering taller than surrounding text causing the
link to appear oversized. Removed emoji and login-link class entirely;
.footer-links a already handles all the needed styling.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace email-only capture with full AEC membership modal (name, DOB,
address, suburb, state, postcode, email, phone, electoral roll consent)
- Trigger modal on first upvote (petition signature) OR after 3rd vote
- Modal posts to /api/join and emails details to party contact
- localStorage 'radical_member_joined' tracks completion/dismiss per device
- Shrink .login-link to match other footer links (was pink button, now text)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Upload all 23 images to remote Cloudflare R2 (previous upload was local-only)
- Add 'How it works' panel at top of login page explaining 3-step flow
- Rename button to 'Login / Sign Up →' to make dual purpose obvious
- Label emoji/dictator/target sections as Step 1/2/3 of the key
- New users automatically get an account on first use of any unique combination
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Upload 23 person images to R2 memes bucket (all from Wikimedia Commons)
- Replace all imgur/old-worker URLs with theradicalparty.com/memes/*.jpg
- Fix login redirect: stores session in localStorage, redirects to / after 2.5s
- Add 'Continue anonymously' option explaining anon vs AEC-linked login
- Tighten success screen: shows emoji key, enemy, target then redirects
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces dead 'About Us' footer link with a real section explaining RADICAL's
single goal: pass one law so 100k signatures forces a binding referendum.
Includes Switzerland comparison (working since 1891), four-step plan, and
styled to match the rest of the site.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add /api/join worker endpoint that emails membership details to party contact
- Register /api/login route (was missing — emoji login was broken)
- Add full AEC-compliant member registration form in index.html (#join section)
- Update copyright year to 2026 in index.html and login.html
- Fix dictator/target image URLs: radical.omar-c29.workers.dev → theradicalparty.com
- Add onerror handlers to all login page images for graceful degradation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
safeFetch already returns parsed JSON and throws on non-2xx — callers were
treating the result as a Response object and checking .ok / .json(), which
made votes, comment votes, and comment posts silently fail every time.
Also: fetchProposals was missing cache:'no-store' so newly posted proposals
were invisible until the 24hr browser cache expired; getProposals was sending
24hr Cache-Control so Cloudflare CDN served stale data; getShareableImageUrl
had a double slash (/api//petition-svg); wrangler.toml had an invalid [pages]
stanza that caused a warning on every deploy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>