discourse/plugins/automation/lib/discourse_automation
Jarek Radosz a54e3208cb
DEV: Hand-pick Rails/WhereNot autofixes (#35117)
We can't enable `Rails/WhereNot` lint/autofix, because it would break
code that uses mini_sql instead of AR (which rubocop, and tbh also we,
can't easily differentiate)

Those are safe because they either:
* are executed in AR model scope definitions
* are clearly chained starting from a AR model
* are less-clearly chained, but still can be traced to a AR model/scope

---------

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2025-10-03 13:29:22 +02:00
..
scripts DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
triggers DEV: add automation trigger on-close-topic (#34705) 2025-09-04 12:00:32 +02:00
engine.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
event_handlers.rb DEV: add automation trigger on-close-topic (#34705) 2025-09-04 12:00:32 +02:00
plugin_instance_extension.rb DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00
post_extension.rb DEV: Move array type custom fields to JSON type in automation (#26939) 2024-05-10 18:47:12 +03:00
scriptable.rb FIX: Improve automation on/off toggle (#33482) 2025-08-14 10:16:20 +03:00
scripts.rb
stalled_topic_finder.rb FIX: ensures tags/categories are present (#28230) 2024-08-05 22:26:12 +02:00
triggerable.rb FIX: Improve automation on/off toggle (#33482) 2025-08-14 10:16:20 +03:00
triggers.rb DEV: add automation trigger on-close-topic (#34705) 2025-09-04 12:00:32 +02:00