discourse/plugins/automation/spec
Joffrey JAFFEUX 932bd6ba85
UX: logs when an automation is destroyed (#29565)
A `UserHistory` entry will now be created when an automation is destroyed. This is visible in `/admin/logs/staff_action_logs`. id, name, trigger and script will be logged.

This commit also creates a service `DestroyAutomation` to hold all the destroy automation logic.

---------
Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>
2024-11-04 11:12:18 +09:00
..
fabricators FIX: ensures global notices are destroyed on post created (#28684) 2024-09-02 21:17:10 +02:00
integration DEV: Move array type custom fields to JSON type in automation (#26939) 2024-05-10 18:47:12 +03:00
jobs DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00
lib FIX: adds post_quote as placeholder (#29083) 2024-10-08 21:55:11 +09:00
models UX: simplify and shorten new script flow for automations (#29178) 2024-10-23 14:04:17 -04:00
requests UX: logs when an automation is destroyed (#29565) 2024-11-04 11:12:18 +09:00
scripts FIX: prevents creating post from impacting the app (#28518) 2024-08-23 15:17:16 +02:00
serializers DEV: Clean up state to prevent flaky tests (#27397) 2024-06-10 08:41:03 +08:00
services UX: logs when an automation is destroyed (#29565) 2024-11-04 11:12:18 +09:00
system DEV: Remove extraneous spec code (#29386) 2024-10-24 14:15:32 +02:00
triggers FEATURE: add trigger_with_pms option to topic tags changed automation trigger (#29122) 2024-10-09 09:51:40 -03:00
plugin_helper.rb DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00