mastodon/app/models
Claire dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
2023-07-06 15:05:05 +02:00
..
account Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_suggestions Fix Performance/MapCompact cop (#24797) 2023-05-23 10:49:12 +02:00
admin Fix ArgumentError in /api/v1/admin/accounts/:id/action (#25386) 2023-06-14 15:21:36 +02:00
concerns Merge pull request from GHSA-9928-3cp5-93fm 2023-07-06 15:05:05 +02:00
form Add support for importing lists (#25203) 2023-06-01 14:47:31 +02:00
trends Fix Performance/CollectionLiteralInLoop cop (#24819) 2023-05-04 05:33:55 +02:00
user_settings Wrong type for user setting when default is defined by lambda (#24321) 2023-03-31 07:33:17 +02:00
web Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account.rb Fix rails rewhere deprecation warning in directories api controller (#25625) 2023-07-01 21:48:16 +02:00
account_alias.rb
account_conversation.rb Fix /api/v1/conversations sometimes returning empty accounts (#25499) 2023-06-20 18:32:26 +02:00
account_deletion_request.rb
account_domain_block.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_filter.rb Change moderation search an account using the username with @ (#24242) 2023-04-17 14:16:36 +02:00
account_migration.rb Rename with_lock to with_redis_lock to avoid confusion with ActiveRecord's method (#24741) 2023-05-02 18:16:07 +02:00
account_moderation_note.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_note.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_pin.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_stat.rb Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761) 2023-03-31 15:07:22 +02:00
account_statuses_cleanup_policy.rb Fix Performance/MapCompact cop (#24797) 2023-05-23 10:49:12 +02:00
account_statuses_filter.rb Fix Lint/DuplicateBranch cop (#24766) 2023-05-02 12:57:11 +02:00
account_suggestions.rb
account_summary.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_warning.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
account_warning_preset.rb
admin.rb
announcement.rb Revert "Rails 7 update" (#25667) 2023-07-02 11:14:22 +02:00
announcement_filter.rb
announcement_mute.rb
announcement_reaction.rb Fix Rails/ActiveRecordCallbacksOrder cop (#24689) 2023-05-02 18:23:35 +02:00
appeal.rb Fix Rails/InverseOf cop (#24732) 2023-04-30 14:06:53 +02:00
application_record.rb
backup.rb Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (#24200) 2023-03-27 17:07:37 +02:00
block.rb Fix Rails/ActiveRecordCallbacksOrder cop (#24689) 2023-05-02 18:23:35 +02:00
bookmark.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
bulk_import.rb Add support for importing lists (#25203) 2023-06-01 14:47:31 +02:00
bulk_import_row.rb Rewrite import feature (#21054) 2023-05-02 12:08:48 +02:00
canonical_email_block.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
content_retention_policy.rb
context.rb
conversation.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
conversation_mute.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
custom_emoji.rb Fix Rails/InverseOf cop (#24732) 2023-04-30 14:06:53 +02:00
custom_emoji_category.rb
custom_emoji_filter.rb
custom_filter.rb Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761) 2023-03-31 15:07:22 +02:00
custom_filter_keyword.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
custom_filter_status.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
device.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
domain_allow.rb Autofix Rubocop Regex Style rules (#23690) 2023-06-06 14:50:51 +02:00
domain_block.rb Autofix Rubocop Regex Style rules (#23690) 2023-06-06 14:50:51 +02:00
email_domain_block.rb Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761) 2023-03-31 15:07:22 +02:00
encrypted_message.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
export.rb Add ability to filter followed accounts' posts by language (#19095) 2022-09-20 23:51:21 +02:00
extended_description.rb
favourite.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
featured_tag.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
feed.rb
follow.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
follow_recommendation.rb Fix Rails/InverseOf cop (#24732) 2023-04-30 14:06:53 +02:00
follow_recommendation_filter.rb Fix Performance/MapCompact cop (#24797) 2023-05-23 10:49:12 +02:00
follow_recommendation_suppression.rb Upgrade to latest redis-rb 4.x and fix deprecations (#23616) 2023-03-04 16:38:28 +01:00
follow_request.rb Change lists to be able to include accounts with pending follow requests (#19727) 2023-05-02 14:40:36 +02:00
home_feed.rb
identity.rb Change Identity to not destroy associated User on destroy (#25098) 2023-05-23 15:00:36 +02:00
import.rb Rewrite import feature (#21054) 2023-05-02 12:08:48 +02:00
instance.rb Fix inconsistent naming of Instance.by_domain_and_subdomain (#25159) 2023-05-31 09:57:24 +02:00
instance_filter.rb
invite.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
invite_filter.rb
ip_block.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
list.rb Add exclusive lists (#22048) 2023-06-05 09:37:02 +02:00
list_account.rb Fix various edge cases with local moves (#24812) 2023-05-03 19:19:25 +02:00
list_feed.rb
login_activity.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
marker.rb Add timeline read markers API (#11762) 2019-09-06 13:55:51 +02:00
media_attachment.rb Autofix Rubocop Style/HashSyntax (#23754) 2023-05-04 05:54:26 +02:00
mention.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
message_franking.rb
mute.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
notification.rb Revert "Rails 7 update" (#25667) 2023-07-02 11:14:22 +02:00
one_time_key.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
poll.rb Fix Rails/CompactBlank cop (#24690) 2023-04-30 14:07:21 +02:00
poll_vote.rb Fix single-record invalid condition on PollVote (#23810) 2023-02-27 09:31:15 +01:00
preview_card.rb Change media upload limits and remove client-side resizing (#23726) 2023-03-25 10:00:03 +01:00
preview_card_provider.rb Add trend management to admin API (#24257) 2023-04-18 11:33:30 +02:00
preview_card_trend.rb
privacy_policy.rb
public_feed.rb Revert filtering public timelines by locale by default (#20294) 2022-11-10 05:34:42 +01:00
relationship_filter.rb Fix Performance/CollectionLiteralInLoop cop (#24819) 2023-05-04 05:33:55 +02:00
relay.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
remote_follow.rb
report.rb Add missing report category translation (#25400) 2023-06-13 15:05:40 +02:00
report_filter.rb
report_note.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
rule.rb
scheduled_status.rb Fix deleting a scheduled status immediately deleting media attachments (#9728) 2019-01-06 16:38:40 +01:00
search.rb
session_activation.rb Fix Rails/ActiveRecordCallbacksOrder cop (#24689) 2023-05-02 18:23:35 +02:00
setting.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
site_upload.rb Autofix Rubocop Regex Style rules (#23690) 2023-06-06 14:50:51 +02:00
status.rb Extract StatusSafeReblogInsert concern from Status (#24821) 2023-05-04 14:06:20 +02:00
status_edit.rb Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761) 2023-03-31 15:07:22 +02:00
status_pin.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
status_stat.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
status_trend.rb
system_key.rb
tag.rb Autofix Rubocop Regex Style rules (#23690) 2023-06-06 14:50:51 +02:00
tag_feed.rb
tag_follow.rb
tombstone.rb
translation.rb Translate CW, poll options and media descriptions (#24175) 2023-06-01 00:10:21 +02:00
trends.rb
unavailable_domain.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
user.rb Add time zone preference (#25342) 2023-06-10 03:29:37 +02:00
user_invite_request.rb
user_ip.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
user_role.rb Fix Performance/MapCompact cop (#24797) 2023-05-23 10:49:12 +02:00
user_settings.rb Fix missing validation on default_privacy setting (#25513) 2023-06-20 18:32:14 +02:00
web.rb
webauthn_credential.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
webhook.rb Add finer permission requirements for managing webhooks (#25463) 2023-06-22 14:52:25 +02:00