4 Commits

Author SHA1 Message Date
Osama Sayegh
2f2355b0ad
DEV: Convert some files to autoloading and various improvements () 2024-05-06 23:12:55 +03:00
Osama Sayegh
0e44072b2b
FIX: Prevent infinite loop of automations triggering each other ()
It's currently possible to setup multiple automation rules that trigger each other resulting in an infinite loop. To prevent that, this commit adds a global "circuit breaker" that prevents all automations from triggering while an automation rule is executing.

Internal topic: t/124365.
2024-04-30 20:13:29 +03:00
Osama Sayegh
4733369f71
FEATURE: Add 'New users only' option to user_updated trigger ()
This commit adds a new option to the `user_updated` trigger of the automation plugin to only trigger an automation for new users that join after the automation is enabled.

Internal topic: t/125829/9.
2024-04-16 21:13:11 +03:00
Osama Sayegh
3d4faf3272
FEATURE: Merge discourse-automation ()
Automation (previously known as discourse-automation) is now a core plugin.
2024-04-03 18:20:43 +03:00