discourse/plugins/automation/app/controllers/discourse_automation
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
..
admin_automations_controller.rb UX: logs when an automation is destroyed (#29565) 2024-11-04 11:12:18 +09:00
admin_controller.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00
admin_scriptables_controller.rb FIX: correctly show validation errors in automation (#27622) 2024-06-26 14:09:26 +02:00
admin_triggerables_controller.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00
append_last_checked_by_controller.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00
automations_controller.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00
user_global_notices_controller.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00