mastodon/app/models
Matt Jankowski 0ef44ee720
Move `AccountSuggestions::Source` subclasses default limit value to constant ()
..
account Autofix Rubocop remaining Layout rules ()
account_suggestions Move `AccountSuggestions::Source` subclasses default limit value to constant ()
admin Add `Account.auditable` scope, fix N+1 in admin/action_logs#index ()
concerns Move "everyone" role and "instance actor" account magic number IDs to constants ()
form Disable `Rails/SkipsModelValidations` cop ()
trends Fix `Lint/RedundantSafeNavigation` cop ()
user_settings Fix `Lint/SymbolConversion` cop ()
web Add explicit `dependent: nil` to associations ()
account.rb Move "everyone" role and "instance actor" account magic number IDs to constants ()
account_alias.rb Use Rails 7.1 `normalizes` feature ()
account_conversation.rb Fix /api/v1/conversations sometimes returning empty accounts ()
account_deletion_request.rb Change account suspensions to be reversible by default ()
account_domain_block.rb Change algorithm of follow recommendations ()
account_filter.rb Replace unused `by_recent_sign_in` scope ()
account_migration.rb Use Rails 7.1 `normalizes` feature ()
account_moderation_note.rb Autofix Rubocop remaining Layout rules ()
account_note.rb Autofix Rubocop remaining Layout rules ()
account_pin.rb Autofix Rubocop remaining Layout rules ()
account_stat.rb Autofix Rubocop Rails/IgnoredColumnsAssignment ()
account_statuses_cleanup_policy.rb Fix Performance/MapCompact cop ()
account_suggestions.rb Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string ()
account_summary.rb Extract scenic view model common methods to concern ()
account_warning.rb Update enum syntax to use the new Rails 7.0 style ()
account_warning_preset.rb
admin.rb
announcement.rb Announcement reactions query spec improvement and refactor ()
announcement_filter.rb Fix error when passing unknown filter param in REST API ()
announcement_mute.rb
announcement_reaction.rb Fix Rails/ActiveRecordCallbacksOrder cop ()
appeal.rb Group common `class_name` options in associations ()
application_record.rb Fix ActiveRecord using two connection pools when no replica is defined ()
backup.rb Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support ()
block.rb Change algorithm of follow recommendations ()
bookmark.rb Autofix Rubocop remaining Layout rules ()
bulk_import.rb Update enum syntax to use the new Rails 7.0 style ()
bulk_import_row.rb Rewrite import feature ()
canonical_email_block.rb Autofix Rubocop remaining Layout rules ()
content_retention_policy.rb Add retention policy for cached content and media ()
context.rb
conversation.rb Add explicit `dependent: nil` to associations ()
conversation_mute.rb Autofix Rubocop remaining Layout rules ()
custom_emoji.rb Use Arel `matches` method in CustomEmoji search ()
custom_emoji_category.rb Add explicit `dependent: nil` to associations ()
custom_emoji_filter.rb Use Arel `nulls_first` method in ordering CustomEmojiFilter scope ()
custom_filter.rb Update enum syntax to use the new Rails 7.0 style ()
custom_filter_keyword.rb Add `CustomFilterKeyword#to_regex` method ()
custom_filter_status.rb Autofix Rubocop remaining Layout rules ()
device.rb Autofix Rubocop remaining Layout rules ()
domain_allow.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock ()
domain_block.rb Update enum syntax to use the new Rails 7.0 style ()
email_domain_block.rb Group common `class_name` options in associations ()
encrypted_message.rb Autofix Rubocop remaining Layout rules ()
export.rb Add ability to filter followed accounts' posts by language ()
extended_description.rb Change about page to be mounted in the web UI ()
favourite.rb Autofix Rubocop remaining Layout rules ()
featured_tag.rb Extract shared tagged statuses method in `FeaturedTag` ()
feed.rb Fix `Performance/MapMethodChain` cop ()
follow.rb Change algorithm of follow recommendations ()
follow_recommendation.rb Extract scenic view model common methods to concern ()
follow_recommendation_filter.rb Change algorithm of follow recommendations ()
follow_recommendation_mute.rb Change algorithm of follow recommendations ()
follow_recommendation_suppression.rb Change algorithm of follow recommendations ()
follow_request.rb Disable `Rails/SkipsModelValidations` cop ()
generated_annual_report.rb Add annual reports for accounts ()
home_feed.rb Fix rubocop config and warnings ()
identity.rb Merge pull request from GHSA-vm39-j3vx-pch3
import.rb Update enum syntax to use the new Rails 7.0 style ()
instance.rb Extract scenic view model common methods to concern ()
instance_filter.rb Fix error when passing unknown filter param in REST API ()
invite.rb Add explicit `dependent: nil` to associations ()
invite_filter.rb Fix error when passing unknown filter param in REST API ()
ip_block.rb Update enum syntax to use the new Rails 7.0 style ()
list.rb Update enum syntax to use the new Rails 7.0 style ()
list_account.rb Fix various edge cases with local moves ()
list_feed.rb Fix rubocop config and warnings ()
login_activity.rb Update enum syntax to use the new Rails 7.0 style ()
marker.rb
media_attachment.rb Update enum syntax to use the new Rails 7.0 style ()
mention.rb Autofix Rubocop remaining Layout rules ()
message_franking.rb
mute.rb Change algorithm of follow recommendations ()
notification.rb Fix N+1s because of association preloaders not actually getting called ()
one_time_key.rb Autofix Rubocop remaining Layout rules ()
poll.rb Fix `Rails/WhereExists` cop in app/models ()
poll_vote.rb Fix single-record invalid condition on PollVote ()
preview_card.rb Update enum syntax to use the new Rails 7.0 style ()
preview_card_provider.rb Properly remove tIME chunk from PNG uploads ()
preview_card_trend.rb Add support for language preferences for trending statuses and links ()
preview_cards_status.rb Change algorithm of follow recommendations ()
privacy_policy.rb Move privacy policy into markdown file ()
public_feed.rb Fix timeout on invalid set of exclusionary parameters in `/api/v1/timelines/public` ()
relationship_filter.rb Fix crash when filtering for “dormant” relationships ()
relay.rb Update enum syntax to use the new Rails 7.0 style ()
remote_follow.rb Autofix Rubocop Style/RedundantBegin ()
report.rb Update enum syntax to use the new Rails 7.0 style ()
report_filter.rb Fix deprecation warning about `rewhere: true` being default behavior (Rails 7.1 prep) ()
report_note.rb Autofix Rubocop remaining Layout rules ()
rule.rb Fix rules with same priority being sorted non-deterministically ()
scheduled_status.rb
search.rb
session_activation.rb Fix `Rails/WhereExists` cop in app/models ()
setting.rb Clean up `Setting` model and remove dead code ()
site_upload.rb Properly remove tIME chunk from PNG uploads ()
software_update.rb Update enum syntax to use the new Rails 7.0 style ()
status.rb Update enum syntax to use the new Rails 7.0 style ()
status_edit.rb Remove `default_scope` from `StatusEdit` class ()
status_pin.rb Autofix Rubocop remaining Layout rules ()
status_stat.rb Fix obsolete cache key in status cache invalidation logic ()
status_trend.rb Fix trending statuses returning more than one post by the same author ()
system_key.rb Autofix Rubocop Lint/AmbiguousOperatorPrecedence ()
tag.rb Add coverage for `Tag.recently_used` scope ()
tag_feed.rb Revert filtering public timelines by locale by default ()
tag_follow.rb Add ability to follow hashtags ()
tombstone.rb
translation.rb Translate CW, poll options and media descriptions ()
trends.rb Admin mailer parameterization ()
unavailable_domain.rb Autofix Rubocop remaining Layout rules ()
user.rb Merge pull request from GHSA-7w3c-p9j8-mq3x
user_invite_request.rb
user_ip.rb Extract scenic view model common methods to concern ()
user_role.rb Add scope `providing_styles` to `UserRole` ()
user_settings.rb Add admin notifications for new Mastodon versions ()
web.rb
webauthn_credential.rb Autofix Rubocop remaining Layout rules ()
webhook.rb Use `normalizes` to prepare `Webhook#events` value ()