discourse/plugins/automation/lib/discourse_automation/triggers
Joffrey JAFFEUX bf715c8235
FIX: resets pending automations only if necessary (#26685)
Prior to this fix, any change to an automation would reset `pending_automations`, now we only do it if any value related to recurrence (start_date, interval, frequency, execute_at...) has been changed.

It means that any trigger creating `pending_automations` now needs to manage them in the `on_update` callback.
2024-04-19 14:23:57 +02:00
..
after_post_cook.rb
api_call.rb
category_created_edited.rb
pm_created.rb
point_in_time.rb FIX: resets pending automations only if necessary (#26685) 2024-04-19 14:23:57 +02:00
post_created_edited.rb
recurring.rb FIX: resets pending automations only if necessary (#26685) 2024-04-19 14:23:57 +02:00
stalled_topic.rb
stalled_wiki.rb
topic.rb
user_added_to_group.rb
user_badge_granted.rb
user_first_logged_in.rb
user_promoted.rb
user_removed_from_group.rb
user_updated.rb