mastodon/app/models
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers ()
..
account Autofix Rubocop remaining Layout rules ()
account_suggestions Move followable by logic to suggestion class ()
admin Add `Account.auditable` scope, fix N+1 in admin/action_logs#index ()
concerns Fix `Rails/WhereExists` cop in account/interactions concern ()
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 Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller ()
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 Eager loading fixes for `api/` controllers ()
account_summary.rb Autofix Rubocop remaining Layout rules ()
account_warning.rb Use Rails 7.1 `normalizes` feature ()
account_warning_preset.rb Add titles to warning presets in admin UI ()
admin.rb Add logging of admin actions ()
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 Add announcements ()
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 Disable `Rails/SkipsModelValidations` cop ()
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 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
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 Enable Rails 7.1 Marshalling format ()
custom_filter_keyword.rb Enable Rails 7.1 Marshalling format ()
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 Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock ()
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 Change follow recommendation materialized view to be faster in most cases ()
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 ()
home_feed.rb Fix rubocop config and warnings ()
identity.rb Change Identity to not destroy associated User on destroy ()
import.rb Rewrite import feature ()
instance.rb Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
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 Autofix Rubocop remaining Layout rules ()
list.rb Fix incorrect model annotation for List#exclusive ()
list_account.rb Fix various edge cases with local moves ()
list_feed.rb Fix rubocop config and warnings ()
login_activity.rb Autofix Rubocop remaining Layout rules ()
marker.rb Add timeline read markers API ()
media_attachment.rb Remove `default_scope` from `MediaAttachment` class ()
mention.rb Autofix Rubocop remaining Layout rules ()
message_franking.rb Add E2EE API ()
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 Group common `class_name` options in associations ()
poll_vote.rb Fix single-record invalid condition on PollVote ()
preview_card.rb Change link previews to keep original URL from the status ()
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 Use Rails 7.1 `normalizes` feature ()
remote_follow.rb Autofix Rubocop Style/RedundantBegin ()
report.rb Eager loading fixes for `api/` controllers ()
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 Fix deleting a scheduled status immediately deleting media attachments ()
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
session_activation.rb Fix Rails/ActiveRecordCallbacksOrder cop ()
setting.rb Clean up `Setting` model and remove dead code ()
site_upload.rb Properly remove tIME chunk from PNG uploads ()
software_update.rb Add admin notifications for new Mastodon versions ()
status.rb Group common `class_name` options in associations ()
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 Record deleted(by mod) status to prevent re-appear ()
translation.rb Translate CW, poll options and media descriptions ()
trends.rb Admin mailer parameterization ()
unavailable_domain.rb Autofix Rubocop remaining Layout rules ()
user.rb Fix `Rails/WhereExists` cop in User model ()
user_invite_request.rb Add "why do you want to join" field to invite requests ()
user_ip.rb Autofix Rubocop remaining Layout rules ()
user_role.rb Refactor, lint fix, and bug fix on admin/roles/form partial ()
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 ()