mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 17:23:50 +08:00
ec46487870
* FEATURE: Added trigger for topic tags changed * DEV: register new file in plugin.rb * DEV: update to use already existing `:topic_tags_changed` event * DEV: Add tests to topic_tags_changed trigger remove `watching_user` field * DEV: add more tests to topic_tags_changed_spec.rb * DEV: update tests and implementation for topic tags changed automation trigger * DEV: update checking for tags changed automation * DEV: Update argument application for `handle_topic_tags_changed`
24 lines
756 B
Ruby
24 lines
756 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscourseAutomation
|
|
module Triggers
|
|
AFTER_POST_COOK = "after_post_cook"
|
|
API_CALL = "api_call"
|
|
CATEGORY_CREATED_EDITED = "category_created_edited"
|
|
PM_CREATED = "pm_created"
|
|
TOPIC_TAGS_CHANGED = "topic_tags_changed"
|
|
POINT_IN_TIME = "point_in_time"
|
|
POST_CREATED_EDITED = "post_created_edited"
|
|
RECURRING = "recurring"
|
|
STALLED_TOPIC = "stalled_topic"
|
|
STALLED_WIKI = "stalled_wiki"
|
|
TOPIC = "topic"
|
|
USER_ADDED_TO_GROUP = "user_added_to_group"
|
|
USER_BADGE_GRANTED = "user_badge_granted"
|
|
USER_FIRST_LOGGED_IN = "user_first_logged_in"
|
|
USER_PROMOTED = "user_promoted"
|
|
USER_REMOVED_FROM_GROUP = "user_removed_from_group"
|
|
USER_UPDATED = "user_updated"
|
|
end
|
|
end
|