mirror of
https://github.com/discourse/discourse.git
synced 2026-03-03 22:05:52 +08: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 |
||
|---|---|---|
| .. | ||
| 001_refresh.rb | ||
| 002_groups.rb | ||
| 003_flags.rb | ||
| 003_post_action_types.rb | ||
| 004_screened_ip_addresses.rb | ||
| 005_badge_types.rb | ||
| 006_badges.rb | ||
| 007_web_hook_event_types.rb | ||
| 009_users.rb | ||
| 010_uploads.rb | ||
| 500_categories.rb | ||
| 600_themes.rb | ||
| 990_settings.rb | ||
| 990_topics.rb | ||