mastodon/app/models
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767)
2024-01-25 15:28:27 +00:00
..
account
account_suggestions Move followable by logic to suggestion class (#28710) 2024-01-12 13:09:33 +00:00
admin Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 2024-01-19 01:39:30 +00:00
concerns Fix `Rails/WhereExists` cop in account/interactions concern (#28789) 2024-01-18 09:36:16 +00:00
form Disable `Rails/SkipsModelValidations` cop (#28712) 2024-01-15 13:46:47 +00:00
trends Fix `Lint/RedundantSafeNavigation` cop (#28172) 2023-12-01 15:52:56 +00:00
user_settings Fix `Lint/SymbolConversion` cop (#28175) 2023-12-01 15:53:35 +00:00
web Add explicit `dependent: nil` to associations (#28169) 2023-12-01 15:52:47 +00:00
account.rb Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 2024-01-22 13:55:37 +00:00
account_alias.rb Use Rails 7.1 `normalizes` feature (#27521) 2023-10-24 10:06:10 +00:00
account_conversation.rb
account_deletion_request.rb
account_domain_block.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
account_filter.rb Replace unused `by_recent_sign_in` scope (#28616) 2024-01-08 15:31:13 +00:00
account_migration.rb Use Rails 7.1 `normalizes` feature (#27521) 2023-10-24 10:06:10 +00:00
account_moderation_note.rb
account_note.rb
account_pin.rb
account_stat.rb
account_statuses_cleanup_policy.rb
account_suggestions.rb Eager loading fixes for `api/` controllers (#28848) 2024-01-23 11:41:54 +00:00
account_summary.rb Simplify `AccountSummary.filtered` query generation (#28868) 2024-01-24 09:57:32 +00:00
account_warning.rb Use Rails 7.1 `normalizes` feature (#27521) 2023-10-24 10:06:10 +00:00
account_warning_preset.rb
admin.rb
announcement.rb Announcement reactions query spec improvement and refactor (#28768) 2024-01-17 09:18:13 +00:00
announcement_filter.rb
announcement_mute.rb
announcement_reaction.rb
appeal.rb Group common `class_name` options in associations (#28779) 2024-01-18 12:29:41 +00:00
application_record.rb
backup.rb
block.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
bookmark.rb
bulk_import.rb Disable `Rails/SkipsModelValidations` cop (#28712) 2024-01-15 13:46:47 +00:00
bulk_import_row.rb
canonical_email_block.rb
content_retention_policy.rb
context.rb
conversation.rb Add explicit `dependent: nil` to associations (#28169) 2023-12-01 15:52:47 +00:00
conversation_mute.rb
custom_emoji.rb Use Arel `matches` method in CustomEmoji search (#28615) 2024-01-08 13:26:12 +00:00
custom_emoji_category.rb Add explicit `dependent: nil` to associations (#28169) 2023-12-01 15:52:47 +00:00
custom_emoji_filter.rb Use Arel `nulls_first` method in ordering CustomEmojiFilter scope (#28614) 2024-01-08 11:09:50 +00:00
custom_filter.rb Add `CustomFilterKeyword#to_regex` method (#28893) 2024-01-25 13:00:34 +00:00
custom_filter_keyword.rb Add `CustomFilterKeyword#to_regex` method (#28893) 2024-01-25 13:00:34 +00:00
custom_filter_status.rb
device.rb
domain_allow.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 2024-01-18 16:11:04 +00:00
domain_block.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 2024-01-18 16:11:04 +00:00
email_domain_block.rb Group common `class_name` options in associations (#28779) 2024-01-18 12:29:41 +00:00
encrypted_message.rb
export.rb
extended_description.rb
favourite.rb
featured_tag.rb Extract shared tagged statuses method in `FeaturedTag` (#28805) 2024-01-18 16:14:15 +00:00
feed.rb Fix `Performance/MapMethodChain` cop (#27744) 2023-11-07 13:01:09 +00:00
follow.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
follow_recommendation.rb
follow_recommendation_filter.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
follow_recommendation_mute.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
follow_recommendation_suppression.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
follow_request.rb Disable `Rails/SkipsModelValidations` cop (#28712) 2024-01-15 13:46:47 +00:00
generated_annual_report.rb Add annual reports for accounts (#28693) 2024-01-24 09:38:10 +00:00
home_feed.rb
identity.rb
import.rb
instance.rb Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 2024-01-25 15:28:27 +00:00
instance_filter.rb
invite.rb Add explicit `dependent: nil` to associations (#28169) 2023-12-01 15:52:47 +00:00
invite_filter.rb
ip_block.rb
list.rb
list_account.rb
list_feed.rb
login_activity.rb
marker.rb
media_attachment.rb Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 2024-01-24 10:32:54 +00:00
mention.rb
message_franking.rb
mute.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
notification.rb Fix N+1s because of association preloaders not actually getting called (#28339) 2023-12-13 07:47:32 +00:00
one_time_key.rb
poll.rb Fix `Rails/WhereExists` cop in app/models (#28863) 2024-01-24 09:57:49 +00:00
poll_vote.rb
preview_card.rb Change link previews to keep original URL from the status (#27312) 2023-11-13 09:58:28 +00:00
preview_card_provider.rb
preview_card_trend.rb
preview_cards_status.rb Change algorithm of follow recommendations (#28314) 2023-12-19 10:59:43 +00:00
privacy_policy.rb Move privacy policy into markdown file (#28699) 2024-01-19 11:22:23 +00:00
public_feed.rb
relationship_filter.rb
relay.rb Use Rails 7.1 `normalizes` feature (#27521) 2023-10-24 10:06:10 +00:00
remote_follow.rb
report.rb Eager loading fixes for `api/` controllers (#28848) 2024-01-23 11:41:54 +00:00
report_filter.rb
report_note.rb
rule.rb
scheduled_status.rb
search.rb
session_activation.rb Fix `Rails/WhereExists` cop in app/models (#28863) 2024-01-24 09:57:49 +00:00
setting.rb Clean up `Setting` model and remove dead code (#28661) 2024-01-09 14:01:53 +00:00
site_upload.rb
software_update.rb
status.rb Fix `Rails/WhereExists` cop in app/models (#28863) 2024-01-24 09:57:49 +00:00
status_edit.rb Remove `default_scope` from `StatusEdit` class (#28042) 2023-11-23 09:26:11 +00:00
status_pin.rb
status_stat.rb
status_trend.rb
system_key.rb
tag.rb Add coverage for `Tag.recently_used` scope (#28850) 2024-01-23 09:10:11 +00:00
tag_feed.rb
tag_follow.rb
tombstone.rb
translation.rb
trends.rb
unavailable_domain.rb
user.rb Fix `Rails/WhereExists` cop in User model (#28792) 2024-01-18 13:55:44 +00:00
user_invite_request.rb
user_ip.rb
user_role.rb Refactor, lint fix, and bug fix on admin/roles/form partial (#27558) 2023-11-29 10:00:52 +00:00
user_settings.rb
web.rb
webauthn_credential.rb
webhook.rb Use `normalizes` to prepare `Webhook#events` value (#27605) 2023-11-13 22:47:44 +00:00