mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 12:11:12 +08:00
FEATURE: Merge discourse-automation (#26432)
Automation (previously known as discourse-automation) is now a core plugin.
This commit is contained in:
24
plugins/automation/lib/discourse_automation/scripts.rb
Normal file
24
plugins/automation/lib/discourse_automation/scripts.rb
Normal file
@ -0,0 +1,24 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module DiscourseAutomation
|
||||
module Scripts
|
||||
ADD_USER_TO_GROUP_THROUGH_CUSTOM_FIELD = "add_user_to_group_through_custom_field"
|
||||
APPEND_LAST_CHECKED_BY = "append_last_checked_by"
|
||||
APPEND_LAST_EDITED_BY = "append_last_edited_by"
|
||||
AUTO_RESPONDER = "auto_responder"
|
||||
AUTO_TAG_TOPIC = "auto_tag_topic"
|
||||
BANNER_TOPIC = "banner_topic"
|
||||
CLOSE_TOPIC = "close_topic"
|
||||
FLAG_POST_ON_WORDS = "flag_post_on_words"
|
||||
GIFT_EXCHANGE = "gift_exchange"
|
||||
GROUP_CATEGORY_NOTIFICATION_DEFAULT = "group_category_notification_default"
|
||||
PIN_TOPIC = "pin_topic"
|
||||
POST = "post"
|
||||
SEND_PMS = "send_pms"
|
||||
SUSPEND_USER_BY_EMAIL = "suspend_user_by_email"
|
||||
TOPIC_REQUIRED_WORDS = "topic_required_words"
|
||||
USER_GLOBAL_NOTICE = "user_global_notice"
|
||||
USER_GROUP_MEMBERSHIP_THROUGH_BADGE = "user_group_membership_through_badge"
|
||||
ZAPIER_WEBHOOK = "zapier_webhook"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user