discourse/plugins/automation/spec/lib
Juan David Martínez Cubillos 65f324310d
DEV: Add automatically closed topics event trigger and adapt the automation plugin's auto tag_topic_script accordingly (#39235)
### Description

This PR fixes an issue where the :topic_closed DiscourseEvent only fired
when topics were closed manually, preventing automations from responding
to automatically closed topics. The event now fires for both manual and
automatic closures.

The auto_tag_topic automation script has been enhanced to take advantage
of this change by adding two new optional boolean fields
(closed_automatically and closed_manually) that allow users to configure
whether tags should be applied based on how the topic was closed.
2026-04-14 14:50:36 -05:00
..
discourse_automation DEV: Add automatically closed topics event trigger and adapt the automation plugin's auto tag_topic_script accordingly (#39235) 2026-04-14 14:50:36 -05:00
scriptable_spec.rb FEATURE: support target_user_ids for private messages (#37708) 2026-02-12 09:21:40 +11:00
triggerable_spec.rb FIX: thread safety for active automation tracking (#27044) 2024-05-16 13:34:24 +10:00