mastodon/spec/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 Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
admin Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` (#25386) 2023-06-14 15:21:36 +02:00
concerns Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
form Reduce `RSpec/MultipleExpectations` cop max to 8 (#25313) 2023-06-10 18:38:22 +02:00
trends Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
user_settings Fix minor typos in comments and spec names (#21831) 2023-05-19 17:13:29 +02:00
web Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
account_alias_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
account_conversation_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
account_deletion_request_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
account_domain_block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
account_filter_spec.rb Autofix Rubocop RSpec/MatchArray (#24675) 2023-04-26 21:29:36 +02:00
account_migration_spec.rb Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
account_moderation_note_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
account_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
account_statuses_cleanup_policy_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
account_statuses_filter_spec.rb Autofix Rubocop RSpec/LeadingSubject (#23670) 2023-02-20 13:24:14 +09:00
account_warning_preset_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
announcement_mute_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
announcement_reaction_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
announcement_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
appeal_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
backup_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
canonical_email_block_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
conversation_mute_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
conversation_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
custom_emoji_category_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
custom_emoji_filter_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
custom_emoji_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
custom_filter_keyword_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
custom_filter_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
device_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
domain_allow_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
domain_block_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
email_domain_block_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
encrypted_message_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
export_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
extended_description_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
favourite_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
featured_tag_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
follow_recommendation_suppression_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
follow_request_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
follow_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
home_feed_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
identity_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
import_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
invite_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
ip_block_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
list_account_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
list_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
login_activity_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
marker_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
media_attachment_spec.rb Merge pull request from GHSA-9928-3cp5-93fm 2023-07-06 15:05:05 +02:00
mention_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
mute_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
notification_spec.rb Reduce `RSpec/MultipleExpectations` cop max to 8 (#25313) 2023-06-10 18:38:22 +02:00
one_time_key_spec.rb Misc coverage improvements for validators (#23928) 2023-03-04 17:00:00 +01:00
poll_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
poll_vote_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
preview_card_provider_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
preview_card_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
preview_card_trend_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
privacy_policy_spec.rb Models specs coverage (#23940) 2023-03-04 16:43:47 +01:00
public_feed_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
relationship_filter_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
relay_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
remote_follow_spec.rb Fix RSpec/ContextWording cop (#24739) 2023-05-04 05:49:08 +02:00
report_filter_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
report_spec.rb Allow reports with long comments from remote instances, but truncate (#25028) 2023-05-22 13:15:21 +02:00
rule_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
scheduled_status_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
session_activation_spec.rb Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
setting_spec.rb Fix `RSpec/VerifiedDoubles` cop (#25469) 2023-06-22 14:55:22 +02:00
site_upload_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
status_edit_spec.rb Pending example models minimal coverage (#23912) 2023-03-04 17:16:45 +01:00
status_pin_spec.rb Fix `RSpec/DescribedClass` cop (#25104) 2023-06-06 13:58:33 +02:00
status_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
status_stat_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
status_trend_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
system_key_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
tag_feed_spec.rb Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2023-06-14 16:44:37 +02:00
tag_follow_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
tag_spec.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
unavailable_domain_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
user_invite_request_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
user_role_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
user_settings_spec.rb Fix user settings not getting validated (#25508) 2023-06-19 14:06:06 +01:00
user_spec.rb Fix RSpec/MissingExampleGroupArgument cop (#25310) 2023-06-06 15:51:42 +02:00
webauthn_credentials_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00
webhook_spec.rb Fix RSpec/InferredSpecType cop (#24736) 2023-05-04 05:49:53 +02:00