DEV: Add reviewables:populate rake task (#30540)

Adds a new reviewables:populate rake task that works in a similar fashion to the existing *:populate rake tasks. The rake task creates pending reviewable of all core types, with possibility for plugins to extend the task to populate their own reviewable types.
This commit is contained in:
Osama Sayegh
2025-01-03 05:05:04 +03:00
committed by GitHub
parent 4aa7a89371
commit 5a55c9062a
10 changed files with 186 additions and 3 deletions

View File

@ -73,6 +73,7 @@ class DiscoursePluginRegistry
define_register :groups_callback_for_users_search_controller_action, Hash
define_register :mail_pollers, Set
define_register :site_setting_areas, Set
define_register :discourse_dev_populate_reviewable_types, Set
define_filtered_register :staff_user_custom_fields
define_filtered_register :public_user_custom_fields