mastodon/app/models
Matt Jankowski f56309f5f0
Add `by_latest_used` scope, move admin area recent IPs to partial ()
..
account Autofix Rubocop remaining Layout rules ()
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE ()
admin Ensure case-insensitive fields are converted to lowercase in Admin Imports ()
concerns Remove setting for unfollow confirmation modal, and make it unconditional ()
form Ensure case-insensitive fields are converted to lowercase in user imports ()
trends Add `not_allowed` scope for `PreviewCardTrend` ()
user_settings Fix `Lint/SymbolConversion` cop ()
web Add explicit `dependent: nil` to associations ()
account.rb Add `AccountStat.by_recent_status`, use in `Account` ()
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_relationship_severance_event.rb Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately ()
account_stat.rb Add `AccountStat.by_recent_status`, use in `Account` ()
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 Pull out constant from `AccountWarning.recent` scope ()
account_warning_preset.rb Add titles to warning presets in admin UI ()
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 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 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 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 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 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 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 Fix rubocop config and warnings ()
login_activity.rb Add `BrowserDetection` model concern ()
marker.rb Add timeline read markers API ()
media_attachment.rb Update enum syntax to use the new Rails 7.0 style ()
mention.rb Autofix Rubocop remaining Layout rules ()
message_franking.rb Add E2EE API ()
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 `not_allowed` scope for `PreviewCardTrend` ()
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 Add `AccountStat.by_recent_status`, use in `Account` ()
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 Use existing `SeveredRelationship.about_local_account` scope in more places ()
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 Use composable query in `Status.not_domain_blocked_by_account` scope ()
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 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 Remove obsolete `admin` and `moderator` columns from `users` table ()
user_invite_request.rb Add "why do you want to join" field to invite requests ()
user_ip.rb Add `by_latest_used` scope, move admin area recent IPs to partial ()
user_role.rb Move `nobody` position in `UserRole` magic number to constant ()
user_settings.rb Remove setting for unfollow confirmation modal, and make it unconditional ()
web.rb
webauthn_credential.rb Autofix Rubocop remaining Layout rules ()
webhook.rb Use `normalizes` to prepare `Webhook#events` value ()