discourse/plugins/automation/lib/discourse_automation/scripts
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
..
add_user_to_group_through_custom_field.rb DEV: Memoize group find when adding users to groups (#30296) 2024-12-16 17:47:24 +08:00
append_last_checked_by.rb
append_last_edited_by.rb
auto_responder.rb DEV: Move array type custom fields to JSON type in automation (#26939) 2024-05-10 18:47:12 +03:00
auto_tag_topic.rb FIX: relax automation restrictions (#32238) 2025-04-11 07:27:43 +08:00
banner_topic.rb
close_topic.rb
flag_post_on_words.rb
gift_exchange.rb
group_category_notification_default.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
pin_topic.rb
post.rb
send_pms.rb
suspend_user_by_email.rb
topic.rb FIX: prevents creating post from impacting the app (#28518) 2024-08-23 15:17:16 +02:00
topic_required_words.rb
user_global_notice.rb
user_group_membership_through_badge.rb
zapier_webhook.rb DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00