discourse/plugins/poll/spec
Régis Hanol fba56920b5
FEATURE: Prompt anonymous users to sign up after engagement clicks (#40256)
Previously, anonymous users clicking event RSVP buttons hit a dead-end
with no signup prompt, and other engagement actions (Like, React, Vote)
opened the login modal but lost the click on the way to authentication.

This change captures the intent in a short-lived signed cookie via `POST
/anonymous-action` and replays it through each action's existing service
when `CurrentUser#log_on_user` completes, so anonymous engagement
converts to signups with the original action carried through.

Ref - t/184288

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 09:30:38 +02:00
..
controllers SECURITY: Fix poll post_id array authorization bypass 2026-03-19 15:21:28 +00:00
fabricators FEATURE: Add Ranked Choice Voting 2024-07-17 11:49:14 +02:00
integration DEV: Enable some minor rubocop rules (#40094) 2026-05-19 15:29:38 +02:00
jobs/regular DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
lib DEV: Fix flaky poll specs (#39722) 2026-05-05 12:22:23 +02:00
models FIX: match ActiveRecord#reload signature in overrides (#38639) 2026-03-17 09:10:34 +11:00
requests DEV: Update rubocop-discourse (#30552) 2025-01-04 13:48:21 +01:00
serializers DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
system FEATURE: Prompt anonymous users to sign up after engagement clicks (#40256) 2026-05-26 09:30:38 +02:00