mastodon/app/models
Matt Jankowski f0c9cbaf3b
Use `EXPIRATION_DURATIONS` constant in `CustomFilter` class (#30088)
2024-04-29 09:01:46 +00:00
..
account
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE (#29619) 2024-03-18 12:57:21 +00:00
admin Add in-app notifications for moderation actions/warnings (#30065) 2024-04-25 17:26:05 +00:00
concerns Use Rails `upsert` to generate update_count! query in Counters concern (#28738) 2024-04-17 08:16:51 +00:00
form Ensure case-insensitive fields are converted to lowercase in user imports (#29740) 2024-03-26 09:30:10 +00:00
trends Add `not_allowed` scope for `PreviewCardTrend` (#29599) 2024-03-26 13:21:20 +00:00
user_settings
web
account.rb Use existing `DEFAULT_FIELDS_SIZE` constant to limit `Account#fields` (#29911) 2024-04-12 09:04:23 +00:00
account_alias.rb
account_conversation.rb
account_deletion_request.rb
account_domain_block.rb
account_filter.rb
account_migration.rb
account_moderation_note.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
account_note.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
account_pin.rb
account_relationship_severance_event.rb Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 2024-03-22 15:44:31 +00:00
account_stat.rb Add `AccountStat.by_recent_status`, use in `Account` (#29704) 2024-03-26 13:12:09 +00:00
account_statuses_cleanup_policy.rb
account_suggestions.rb Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string (#29108) 2024-02-06 17:10:17 +00:00
account_summary.rb Extract scenic view model common methods to concern (#28111) 2024-02-06 09:08:07 +00:00
account_warning.rb Pull out constant from `AccountWarning.recent` scope (#29767) 2024-03-27 14:08:04 +00:00
account_warning_preset.rb
admin.rb
announcement.rb Change `/api/v1/announcements` to return regular `Status` entities (#26736) 2024-04-17 09:06:23 +00:00
announcement_filter.rb
announcement_mute.rb
announcement_reaction.rb
appeal.rb
application_record.rb
backup.rb
block.rb
bookmark.rb
bulk_import.rb Use enum-generated scopes/queries for `BulkImport` (#29975) 2024-04-18 10:13:35 +00:00
bulk_import_row.rb
canonical_email_block.rb Allow unblocking email addresses from any matching account (#29305) 2024-03-20 14:38:00 +00:00
content_retention_policy.rb
context.rb
conversation.rb
conversation_mute.rb
custom_emoji.rb
custom_emoji_category.rb
custom_emoji_filter.rb
custom_filter.rb Use `EXPIRATION_DURATIONS` constant in `CustomFilter` class (#30088) 2024-04-29 09:01:46 +00:00
custom_filter_keyword.rb Extract shared callback behaviour to `CustomFilterCache` concern (#29695) 2024-04-05 09:17:58 +00:00
custom_filter_status.rb Extract shared callback behaviour to `CustomFilterCache` concern (#29695) 2024-04-05 09:17:58 +00:00
device.rb
domain_allow.rb
domain_block.rb Extract `by_domain_length` scope in `DomainNormalizable` concern (#29517) 2024-03-12 13:09:11 +00:00
email_domain_block.rb Extract `by_domain_length` scope in `DomainNormalizable` concern (#29517) 2024-03-12 13:09:11 +00:00
encrypted_message.rb
export.rb
extended_description.rb
favourite.rb
featured_tag.rb Add scope `Status.distributable_visibility` (#29950) 2024-04-16 13:16:54 +00:00
feed.rb Remove caching in `cache_collection` (#29862) 2024-04-08 13:46:13 +00:00
follow.rb
follow_recommendation.rb Extract scenic view model common methods to concern (#28111) 2024-02-06 09:08:07 +00:00
follow_recommendation_filter.rb
follow_recommendation_mute.rb
follow_recommendation_suppression.rb
follow_request.rb
generated_annual_report.rb Add annual reports for accounts (#28693) 2024-01-24 09:38:10 +00:00
home_feed.rb
identity.rb Merge pull request from GHSA-vm39-j3vx-pch3 2024-02-14 15:16:07 +01:00
import.rb Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
instance.rb Extract scenic view model common methods to concern (#28111) 2024-02-06 09:08:07 +00:00
instance_filter.rb
invite.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
invite_filter.rb
ip_block.rb Use enum-generated scope for `IpBlock` in CLI (#28144) 2024-03-14 09:31:15 +00:00
list.rb Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
list_account.rb
list_feed.rb
login_activity.rb Add `BrowserDetection` model concern (#29513) 2024-03-19 15:39:14 +00:00
marker.rb
media_attachment.rb Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
mention.rb
message_franking.rb
mute.rb
notification.rb Fix moderator account being exposed in account moderation notification (#30082) 2024-04-26 12:42:06 +00:00
notification_permission.rb Add notification policies and notification requests (#29366) 2024-03-07 14:53:37 +00:00
notification_policy.rb Add notification policies and notification requests (#29366) 2024-03-07 14:53:37 +00:00
notification_request.rb Fix error when attempting to delete posts that triggered a notification request (#29666) 2024-03-20 16:48:24 +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 Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
preview_card_provider.rb Extract `by_domain_length` scope in `DomainNormalizable` concern (#29517) 2024-03-12 13:09:11 +00:00
preview_card_trend.rb Add `not_allowed` scope for `PreviewCardTrend` (#29599) 2024-03-26 13:21:20 +00:00
preview_cards_status.rb
privacy_policy.rb Move privacy policy into markdown file (#28699) 2024-01-19 11:22:23 +00:00
public_feed.rb Remove caching in `cache_collection` (#29862) 2024-04-08 13:46:13 +00:00
relationship_filter.rb Add `AccountStat.by_recent_status`, use in `Account` (#29704) 2024-03-26 13:12:09 +00:00
relationship_severance_event.rb Update `enum` away from deprecated (#29678) 2024-03-21 08:32:35 +00:00
relay.rb Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
remote_follow.rb
report.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
report_filter.rb
report_note.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
rule.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
scheduled_status.rb
search.rb
session_activation.rb Add `BrowserDetection` model concern (#29513) 2024-03-19 15:39:14 +00:00
setting.rb
severed_relationship.rb Use existing `SeveredRelationship.about_local_account` scope in more places (#29673) 2024-03-21 08:36:49 +00:00
site_upload.rb
software_update.rb Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
status.rb Add scope `Status.distributable_visibility` (#29950) 2024-04-16 13:16:54 +00:00
status_edit.rb
status_pin.rb
status_stat.rb
status_trend.rb Add `RankedTrend` concern for trends classes (#29388) 2024-02-26 13:45:39 +00:00
system_key.rb
tag.rb Add `not_featured_by` scope to Tag (#28815) 2024-04-17 10:05:38 +00:00
tag_feed.rb Remove caching in `cache_collection` (#29862) 2024-04-08 13:46:13 +00:00
tag_follow.rb
tombstone.rb
translation.rb
trends.rb
unavailable_domain.rb
user.rb Use composable query in `User.active` scope (#29775) 2024-04-08 13:53:49 +00:00
user_invite_request.rb Extract constants for column size length validation limits (#30045) 2024-04-24 08:56:28 +00:00
user_ip.rb Add `by_latest_used` scope, move admin area recent IPs to partial (#29497) 2024-04-02 13:51:34 +00:00
user_role.rb Move `nobody` position in `UserRole` magic number to constant (#29465) 2024-03-01 11:05:24 +00:00
user_settings.rb Remove setting for unfollow confirmation modal, and make it unconditional (#29373) 2024-03-22 16:24:04 +00:00
web.rb
webauthn_credential.rb
webhook.rb