2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 22:05:52 +08:00
discourse/db/fixtures
Mark Doerr 15e8a8042f
Add user_anonymized webhook event (#36208)
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
2025-11-25 07:43:16 -08:00
..
001_refresh.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00
002_groups.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00
003_flags.rb FIX: setup with db:create db:migrate (#29609) 2024-11-06 15:06:17 +11:00
003_post_action_types.rb PERF: do not expire cache when PostActionType is saved (#28337) 2024-08-13 18:01:31 +10:00
004_screened_ip_addresses.rb
005_badge_types.rb
006_badges.rb DEV: raise error on deprecated icon name caught on JS in system and qunit tests (#30942) 2025-01-24 09:26:00 +08:00
007_web_hook_event_types.rb Add user_anonymized webhook event (#36208) 2025-11-25 07:43:16 -08:00
009_users.rb DEV: Use Discourse::SYSTEM_USER_ID in fixtures/009_users (#24743) 2023-12-07 09:04:45 +10:00
010_uploads.rb DEV: update comments on unused Uploads. -4 is now considered reserved. (#14362) 2021-09-16 17:44:51 -04:00
500_categories.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00
600_themes.rb FIX: Allow creating new color palettes based on custom palettes (#34351) 2025-08-20 11:58:40 +08:00
990_settings.rb
990_topics.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00