2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:15:08 +08:00
discourse/app/jobs/onceoff
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
..
clean_up_post_timings.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
clean_up_sidekiq_statistic.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
clean_up_user_export_topics.rb FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
clear_width_and_height.rb
correct_missing_dualstack_urls.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
create_tags_search_index.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_encoded_category_slugs.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_encoded_topic_slugs.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_featured_link_for_topics.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
fix_invalid_gravatar_uploads.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_out_of_sync_user_uploaded_avatar.rb
fix_post_search_data_after_default_locale_rename.rb
fix_posts_read.rb
fix_primary_emails_for_staged_users.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_retro_anniversary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_s3_etags.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_emoji.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_first_reply_by_email.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_onebox.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
init_category_tag_stats.rb
migrate_censored_words.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_custom_emojis.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_featured_links.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_tagging_plugin.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_upload_extensions.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff.rb FIX: Fix Jobs::Onceoff.enqueue_all undefined method for nilClass error (#28073) 2024-07-25 15:52:42 +08:00
post_uploads_recovery.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
remove_old_auto_close_jobs.rb
retro_grant_anniversary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
retro_recent_time_read.rb