mastodon/app/models
2024-03-18 12:57:21 +00:00
..
account Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
account_suggestions Revert friends-of-friends follow recommendation query to using a CTE () 2024-03-18 12:57:21 +00:00
admin Add Account.auditable scope, fix N+1 in admin/action_logs#index () 2024-01-19 01:39:30 +00:00
concerns Remove unused Account::Interactions#endorsed? method () 2024-03-15 09:00:26 +00:00
form Disable Rails/SkipsModelValidations cop () 2024-01-15 13:46:47 +00:00
trends Add RankedTrend concern for trends classes () 2024-02-26 13:45:39 +00:00
user_settings Fix Lint/SymbolConversion cop () 2023-12-01 15:53:35 +00:00
web Add explicit dependent: nil to associations () 2023-12-01 15:52:47 +00:00
account.rb Use Account.activitypub generated scope () 2024-03-14 13:19:20 +00:00
account_alias.rb Use Rails 7.1 normalizes feature () 2023-10-24 10:06:10 +00:00
account_conversation.rb Fix /api/v1/conversations sometimes returning empty accounts () 2023-06-20 18:32:26 +02:00
account_deletion_request.rb Change account suspensions to be reversible by default () 2020-09-15 14:37:58 +02:00
account_domain_block.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
account_filter.rb Replace unused by_recent_sign_in scope () 2024-01-08 15:31:13 +00:00
account_migration.rb Use Rails 7.1 normalizes feature () 2023-10-24 10:06:10 +00:00
account_moderation_note.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
account_note.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
account_pin.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
account_stat.rb Autofix Rubocop Rails/IgnoredColumnsAssignment () 2023-03-31 15:07:22 +02:00
account_statuses_cleanup_policy.rb Fix Performance/MapCompact cop () 2023-05-23 10:49:12 +02:00
account_suggestions.rb Change source attribute of Suggestion entity in /api/v2/suggestions back to a string () 2024-02-06 17:10:17 +00:00
account_summary.rb Extract scenic view model common methods to concern () 2024-02-06 09:08:07 +00:00
account_warning.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
account_warning_preset.rb Add titles to warning presets in admin UI () 2020-03-12 17:57:59 +01:00
admin.rb Add logging of admin actions () 2017-11-24 02:05:53 +01:00
announcement.rb Announcement reactions query spec improvement and refactor () 2024-01-17 09:18:13 +00:00
announcement_filter.rb Fix error when passing unknown filter param in REST API () 2022-11-14 08:06:06 +01:00
announcement_mute.rb Add announcements () 2020-01-23 22:00:13 +01:00
announcement_reaction.rb Fix Rails/ActiveRecordCallbacksOrder cop () 2023-05-02 18:23:35 +02:00
appeal.rb Group common class_name options in associations () 2024-01-18 12:29:41 +00:00
application_record.rb Fix ActiveRecord using two connection pools when no replica is defined () 2023-09-22 16:01:59 +02:00
backup.rb Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support () 2023-03-27 17:07:37 +02:00
block.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
bookmark.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
bulk_import.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
bulk_import_row.rb Rewrite import feature () 2023-05-02 12:08:48 +02:00
canonical_email_block.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
content_retention_policy.rb Add retention policy for cached content and media () 2022-09-27 03:08:19 +02:00
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl () 2017-07-07 04:02:06 +02:00
conversation.rb Add explicit dependent: nil to associations () 2023-12-01 15:52:47 +00:00
conversation_mute.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
custom_emoji.rb Use Arel matches method in CustomEmoji search () 2024-01-08 13:26:12 +00:00
custom_emoji_category.rb Add explicit dependent: nil to associations () 2023-12-01 15:52:47 +00:00
custom_emoji_filter.rb Use Arel nulls_first method in ordering CustomEmojiFilter scope () 2024-01-08 11:09:50 +00:00
custom_filter.rb Use normalizes on CustomFilter#context value () 2024-03-13 08:50:21 +00:00
custom_filter_keyword.rb Add CustomFilterKeyword#to_regex method () 2024-01-25 13:00:34 +00:00
custom_filter_status.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
device.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
domain_allow.rb Remove unused matches_domain scopes on Account, DomainAllow, DomainBlock () 2024-01-18 16:11:04 +00:00
domain_block.rb Extract by_domain_length scope in DomainNormalizable concern () 2024-03-12 13:09:11 +00:00
email_domain_block.rb Extract by_domain_length scope in DomainNormalizable concern () 2024-03-12 13:09:11 +00:00
encrypted_message.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
export.rb Add ability to filter followed accounts' posts by language () 2022-09-20 23:51:21 +02:00
extended_description.rb Change about page to be mounted in the web UI () 2022-10-13 14:42:37 +02:00
favourite.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
featured_tag.rb Extract shared tagged statuses method in FeaturedTag () 2024-01-18 16:14:15 +00:00
feed.rb Fix Performance/MapMethodChain cop () 2023-11-07 13:01:09 +00:00
follow.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
follow_recommendation.rb Extract scenic view model common methods to concern () 2024-02-06 09:08:07 +00:00
follow_recommendation_filter.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
follow_recommendation_mute.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
follow_recommendation_suppression.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
follow_request.rb Disable Rails/SkipsModelValidations cop () 2024-01-15 13:46:47 +00:00
generated_annual_report.rb Add annual reports for accounts () 2024-01-24 09:38:10 +00:00
home_feed.rb Fix rubocop config and warnings () 2021-01-07 09:40:55 +01:00
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 () 2024-02-16 14:54:23 +00:00
instance.rb Extract scenic view model common methods to concern () 2024-02-06 09:08:07 +00:00
instance_filter.rb Fix error when passing unknown filter param in REST API () 2022-11-14 08:06:06 +01:00
invite.rb Add explicit dependent: nil to associations () 2023-12-01 15:52:47 +00:00
invite_filter.rb Fix error when passing unknown filter param in REST API () 2022-11-14 08:06:06 +01:00
ip_block.rb Use enum-generated scope for IpBlock in CLI () 2024-03-14 09:31:15 +00:00
list.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
list_account.rb Fix various edge cases with local moves () 2023-05-03 19:19:25 +02:00
list_feed.rb Fix rubocop config and warnings () 2021-01-07 09:40:55 +01:00
login_activity.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
marker.rb Add timeline read markers API () 2019-09-06 13:55:51 +02:00
media_attachment.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
mention.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
message_franking.rb Add E2EE API () 2020-06-02 19:24:53 +02:00
mute.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
notification.rb Refactor notification filtering behavior definition () 2024-03-13 10:35:49 +00:00
notification_permission.rb Add notification policies and notification requests () 2024-03-07 14:53:37 +00:00
notification_policy.rb Add notification policies and notification requests () 2024-03-07 14:53:37 +00:00
notification_request.rb Add notification policies and notification requests in web UI () 2024-03-11 15:02:21 +00:00
one_time_key.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
poll.rb Fix Rails/WhereExists cop in app/models () 2024-01-24 09:57:49 +00:00
poll_vote.rb Fix single-record invalid condition on PollVote () 2023-02-27 09:31:15 +01:00
preview_card.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
preview_card_provider.rb Extract by_domain_length scope in DomainNormalizable concern () 2024-03-12 13:09:11 +00:00
preview_card_trend.rb Add RankedTrend concern for trends classes () 2024-02-26 13:45:39 +00:00
preview_cards_status.rb Change algorithm of follow recommendations () 2023-12-19 10:59:43 +00:00
privacy_policy.rb Move privacy policy into markdown file () 2024-01-19 11:22:23 +00:00
public_feed.rb Use enum-generated public_visibility scope on Status () 2024-03-14 09:31:57 +00:00
relationship_filter.rb Fix crash when filtering for “dormant” relationships () 2023-10-06 12:58:16 +02:00
relay.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
remote_follow.rb Autofix Rubocop Style/RedundantBegin () 2023-02-19 07:09:40 +09:00
report.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
report_filter.rb Fix deprecation warning about rewhere: true being default behavior (Rails 7.1 prep) () 2023-09-28 16:52:23 +02:00
report_note.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
rule.rb Add hints for rules () 2024-03-11 08:57:07 +00:00
scheduled_status.rb Fix deleting a scheduled status immediately deleting media attachments () 2019-01-06 16:38:40 +01:00
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl () 2017-07-07 04:02:06 +02:00
session_activation.rb Fix Rails/WhereExists cop in app/models () 2024-01-24 09:57:49 +00:00
setting.rb Clean up Setting model and remove dead code () 2024-01-09 14:01:53 +00:00
site_upload.rb Properly remove tIME chunk from PNG uploads () 2023-09-25 19:21:07 +02:00
software_update.rb Update enum syntax to use the new Rails 7.0 style () 2024-02-16 14:54:23 +00:00
status.rb Remove setting of sensitive value (default false, not null) in Status model () 2024-03-14 13:56:59 +00:00
status_edit.rb Remove default_scope from StatusEdit class () 2023-11-23 09:26:11 +00:00
status_pin.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
status_stat.rb Fix obsolete cache key in status cache invalidation logic () 2023-09-15 19:52:28 +02:00
status_trend.rb Add RankedTrend concern for trends classes () 2024-02-26 13:45:39 +00:00
system_key.rb Autofix Rubocop Lint/AmbiguousOperatorPrecedence () 2023-02-18 04:30:23 +01:00
tag.rb Add coverage for Tag.recently_used scope () 2024-01-23 09:10:11 +00:00
tag_feed.rb Revert filtering public timelines by locale by default () 2022-11-10 05:34:42 +01:00
tag_follow.rb Add ability to follow hashtags () 2022-07-17 13:49:29 +02:00
tombstone.rb Record deleted(by mod) status to prevent re-appear () 2019-05-09 22:03:02 +02:00
translation.rb Translate CW, poll options and media descriptions () 2023-06-01 00:10:21 +02:00
trends.rb Admin mailer parameterization () 2023-07-08 20:03:38 +02:00
unavailable_domain.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
user.rb Use enum-generated scope for IpBlock in CLI () 2024-03-14 09:31:15 +00:00
user_invite_request.rb Add "why do you want to join" field to invite requests () 2019-04-09 23:06:30 +09:00
user_ip.rb Extract scenic view model common methods to concern () 2024-02-06 09:08:07 +00:00
user_role.rb Move nobody position in UserRole magic number to constant () 2024-03-01 11:05:24 +00:00
user_settings.rb Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
web.rb Add extended about page stub 2017-01-13 03:24:41 +01:00
webauthn_credential.rb Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
webhook.rb Use normalizes to prepare Webhook#events value () 2023-11-13 22:47:44 +00:00