mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 02:43:08 -05:00
This change adds webhook support for the user anonymization event, allowing external systems to be notified when a user is anonymized in Discourse. Changes: - Add user_anonymized event type (ID: 310) to WebHookEventType - Wires up DiscourseEvent listener to trigger webhooks on anonymization - Add translation string for the event in admin UI - Add database fixture to seed the event type - Add comprehensive test coverage The webhook is triggered when UserAnonymizer.make_anonymous is called and sends the anonymized user data using WebHookUserSerializer. Nudged along the path by Claude Code