mastodon/app/models
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated ()
..
account Autofix Rubocop remaining Layout rules ()
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE ()
admin Add `Account.auditable` scope, fix N+1 in admin/action_logs#index ()
concerns Add notifications of severed relationships ()
form Disable `Rails/SkipsModelValidations` cop ()
trends Add `RankedTrend` concern for trends classes ()
user_settings Fix `Lint/SymbolConversion` cop ()
web Add explicit `dependent: nil` to associations ()
account.rb Use `Account.activitypub` generated scope ()
account_alias.rb Use Rails 7.1 `normalizes` feature ()
account_conversation.rb Fix /api/v1/conversations sometimes returning empty accounts ()
account_deletion_request.rb
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_relationship_severance_event.rb Fix error in severed relationship event serializer ()
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 Allow unblocking email addresses from any matching account ()
content_retention_policy.rb
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 Use `normalizes` on `CustomFilter#context` value ()
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 Extract `by_domain_length` scope in `DomainNormalizable` concern ()
email_domain_block.rb Extract `by_domain_length` scope in `DomainNormalizable` concern ()
encrypted_message.rb Autofix Rubocop remaining Layout rules ()
export.rb
extended_description.rb
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
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 Use enum-generated scope for `IpBlock` in CLI ()
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
login_activity.rb Add `BrowserDetection` model concern ()
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 issue with severed relationships notifications ()
notification_permission.rb Add notification policies and notification requests ()
notification_policy.rb Add notification policies and notification requests ()
notification_request.rb Fix error when attempting to delete posts that triggered a notification request ()
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 Extract `by_domain_length` scope in `DomainNormalizable` concern ()
preview_card_trend.rb Add `RankedTrend` concern for trends classes ()
preview_cards_status.rb Change algorithm of follow recommendations ()
privacy_policy.rb Move privacy policy into markdown file ()
public_feed.rb Use enum-generated `public_visibility` scope on Status ()
relationship_filter.rb Fix crash when filtering for “dormant” relationships ()
relationship_severance_event.rb Update `enum` away from deprecated ()
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 Add hints for rules ()
scheduled_status.rb
search.rb
session_activation.rb Add `BrowserDetection` model concern ()
setting.rb Clean up `Setting` model and remove dead code ()
severed_relationship.rb Update `enum` away from deprecated ()
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 Remove setting of `sensitive` value (default false, not null) in Status model ()
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 Add `RankedTrend` concern for trends classes ()
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
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 Use enum-generated scope for `IpBlock` in CLI ()
user_invite_request.rb
user_ip.rb Extract scenic view model common methods to concern ()
user_role.rb Move `nobody` position in `UserRole` magic number to constant ()
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 ()