From a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e Mon Sep 17 00:00:00 2001 From: dcc Date: Mon, 4 Sep 2023 02:54:35 -0700 Subject: move to 2.5.5 --- .../activity_pub/activity_pub_controller_test.exs | 0 .../pleroma/web/activity_pub/activity_pub_test.exs | 0 test/pleroma/web/activity_pub/builder_test.exs | 0 .../mrf/activity_expiration_policy_test.exs | 0 .../mrf/anti_followbot_policy_test.exs | 0 .../mrf/anti_link_spam_policy_test.exs | 0 .../activity_pub/mrf/ensure_re_prepended_test.exs | 0 .../activity_pub/mrf/follow_bot_policy_test.exs | 0 .../mrf/force_bot_unlisted_policy_test.exs | 0 .../mrf/force_mentions_in_content_test.exs | 0 .../web/activity_pub/mrf/hashtag_policy_test.exs | 0 .../activity_pub/mrf/hellthread_policy_test.exs | 0 .../web/activity_pub/mrf/keyword_policy_test.exs | 0 .../mrf/media_proxy_warming_policy_test.exs | 0 .../web/activity_pub/mrf/mention_policy_test.exs | 0 .../web/activity_pub/mrf/no_empty_policy_test.exs | 0 .../mrf/no_placeholder_text_policy_test.exs | 0 .../web/activity_pub/mrf/normalize_markup_test.exs | 0 .../activity_pub/mrf/object_age_policy_test.exs | 0 .../activity_pub/mrf/reject_non_public_test.exs | 0 .../web/activity_pub/mrf/simple_policy_test.exs | 0 .../activity_pub/mrf/steal_emoji_policy_test.exs | 0 .../web/activity_pub/mrf/subchain_policy_test.exs | 0 .../web/activity_pub/mrf/tag_policy_test.exs | 0 .../mrf/user_allow_list_policy_test.exs | 0 .../activity_pub/mrf/vocabulary_policy_test.exs | 0 test/pleroma/web/activity_pub/mrf_test.exs | 0 .../object_validators/accept_validation_test.exs | 0 .../object_validators/announce_validation_test.exs | 0 .../article_note_page_validator_test.exs | 0 .../attachment_validator_test.exs | 0 .../object_validators/block_validation_test.exs | 0 .../object_validators/chat_validation_test.exs | 0 .../create_generic_validator_test.exs | 0 .../object_validators/delete_validation_test.exs | 0 .../emoji_react_handling_test.exs | 0 .../object_validators/follow_validation_test.exs | 0 .../object_validators/like_validation_test.exs | 0 .../object_validators/reject_validation_test.exs | 0 .../object_validators/undo_handling_test.exs | 0 .../object_validators/update_handling_test.exs | 0 test/pleroma/web/activity_pub/pipeline_test.exs | 0 test/pleroma/web/activity_pub/publisher_test.exs | 0 test/pleroma/web/activity_pub/relay_test.exs | 0 .../web/activity_pub/side_effects/delete_test.exs | 0 .../pleroma/web/activity_pub/side_effects_test.exs | 0 .../transmogrifier/accept_handling_test.exs | 0 .../transmogrifier/add_remove_handling_test.exs | 0 .../transmogrifier/announce_handling_test.exs | 0 .../transmogrifier/answer_handling_test.exs | 0 .../transmogrifier/article_handling_test.exs | 0 .../transmogrifier/audio_handling_test.exs | 0 .../transmogrifier/block_handling_test.exs | 0 .../transmogrifier/chat_message_test.exs | 0 .../transmogrifier/delete_handling_test.exs | 0 .../transmogrifier/emoji_react_handling_test.exs | 0 .../transmogrifier/event_handling_test.exs | 0 .../transmogrifier/follow_handling_test.exs | 0 .../transmogrifier/like_handling_test.exs | 0 .../transmogrifier/note_handling_test.exs | 0 .../transmogrifier/page_handling_test.exs | 0 .../transmogrifier/question_handling_test.exs | 0 .../transmogrifier/reject_handling_test.exs | 0 .../transmogrifier/undo_handling_test.exs | 0 .../transmogrifier/user_update_handling_test.exs | 0 .../transmogrifier/video_handling_test.exs | 0 .../web/activity_pub/transmogrifier_test.exs | 0 test/pleroma/web/activity_pub/utils_test.exs | 0 .../web/activity_pub/views/object_view_test.exs | 0 .../web/activity_pub/views/user_view_test.exs | 0 test/pleroma/web/activity_pub/visibility_test.exs | 0 .../controllers/admin_api_controller_test.exs | 0 .../controllers/announcement_controller_test.exs | 0 .../admin_api/controllers/chat_controller_test.exs | 0 .../controllers/config_controller_test.exs | 0 .../controllers/frontend_controller_test.exs | 0 .../controllers/instance_controller_test.exs | 0 .../instance_document_controller_test.exs | 0 .../controllers/invite_controller_test.exs | 0 .../media_proxy_cache_controller_test.exs | 0 .../controllers/o_auth_app_controller_test.exs | 0 .../controllers/relay_controller_test.exs | 0 .../controllers/report_controller_test.exs | 0 .../controllers/status_controller_test.exs | 0 .../admin_api/controllers/user_controller_test.exs | 0 test/pleroma/web/admin_api/search_test.exs | 0 .../web/admin_api/views/account_view_test.exs | 0 .../admin_api/views/moderation_log_view_test.exs | 0 .../web/admin_api/views/report_view_test.exs | 0 test/pleroma/web/api_spec/schema_examples_test.exs | 0 test/pleroma/web/auth/auth_controller_test.exs | 0 test/pleroma/web/auth/authenticator_test.exs | 0 test/pleroma/web/auth/basic_auth_test.exs | 0 .../web/auth/pleroma_authenticator_test.exs | 0 test/pleroma/web/auth/totp_authenticator_test.exs | 0 test/pleroma/web/common_api/utils_test.exs | 41 +++++++++++++++------- test/pleroma/web/common_api_test.exs | 18 ++++++++++ .../pleroma/web/endpoint/metrics_exporter_test.exs | 0 test/pleroma/web/fallback_test.exs | 0 test/pleroma/web/federator_test.exs | 0 test/pleroma/web/feed/tag_controller_test.exs | 0 test/pleroma/web/feed/user_controller_test.exs | 0 test/pleroma/web/gettext_test.exs | 0 test/pleroma/web/manifest_controller_test.exs | 0 .../controllers/account_controller_test.exs | 0 .../controllers/announcement_controller_test.exs | 0 .../controllers/app_controller_test.exs | 0 .../controllers/conversation_controller_test.exs | 0 .../controllers/custom_emoji_controller_test.exs | 0 .../controllers/directory_controller_test.exs | 0 .../controllers/domain_block_controller_test.exs | 0 .../controllers/filter_controller_test.exs | 0 .../controllers/follow_request_controller_test.exs | 0 .../controllers/instance_controller_test.exs | 0 .../controllers/list_controller_test.exs | 0 .../controllers/marker_controller_test.exs | 0 .../controllers/media_controller_test.exs | 0 .../controllers/notification_controller_test.exs | 0 .../controllers/poll_controller_test.exs | 0 .../controllers/report_controller_test.exs | 0 .../scheduled_activity_controller_test.exs | 0 .../controllers/search_controller_test.exs | 0 .../controllers/status_controller_test.exs | 0 .../controllers/subscription_controller_test.exs | 0 .../controllers/suggestion_controller_test.exs | 0 .../controllers/timeline_controller_test.exs | 0 .../mastodon_api/mastodon_api_controller_test.exs | 0 .../pleroma/web/mastodon_api/mastodon_api_test.exs | 0 .../web/mastodon_api/update_credentials_test.exs | 0 .../web/mastodon_api/views/account_view_test.exs | 0 .../mastodon_api/views/conversation_view_test.exs | 0 .../web/mastodon_api/views/list_view_test.exs | 0 .../web/mastodon_api/views/marker_view_test.exs | 0 .../mastodon_api/views/notification_view_test.exs | 0 .../web/mastodon_api/views/poll_view_test.exs | 0 .../views/scheduled_activity_view_test.exs | 2 +- .../web/mastodon_api/views/status_view_test.exs | 0 .../mastodon_api/views/subscription_view_test.exs | 0 .../mastodon_api/views/suggestion_view_test.exs | 0 .../web/media_proxy/invalidation/http_test.exs | 0 .../web/media_proxy/invalidation/script_test.exs | 0 test/pleroma/web/media_proxy/invalidation_test.exs | 0 .../media_proxy/media_proxy_controller_test.exs | 0 test/pleroma/web/media_proxy_test.exs | 0 test/pleroma/web/metadata/player_view_test.exs | 0 test/pleroma/web/metadata/providers/feed_test.exs | 0 .../web/metadata/providers/open_graph_test.exs | 0 .../pleroma/web/metadata/providers/rel_me_test.exs | 0 .../metadata/providers/restrict_indexing_test.exs | 0 .../web/metadata/providers/twitter_card_test.exs | 0 test/pleroma/web/metadata/utils_test.exs | 0 test/pleroma/web/mongoose_im_controller_test.exs | 0 test/pleroma/web/node_info_test.exs | 0 test/pleroma/web/o_auth/app_test.exs | 0 test/pleroma/web/o_auth/authorization_test.exs | 0 .../pleroma/web/o_auth/ldap_authorization_test.exs | 0 test/pleroma/web/o_auth/mfa_controller_test.exs | 0 test/pleroma/web/o_auth/o_auth_controller_test.exs | 0 test/pleroma/web/o_auth/token/utils_test.exs | 0 test/pleroma/web/o_auth/token_test.exs | 0 .../web/o_status/o_status_controller_test.exs | 0 .../controllers/account_controller_test.exs | 0 .../controllers/app_controller_test.exs | 0 .../controllers/backup_controller_test.exs | 0 .../controllers/chat_controller_test.exs | 0 .../controllers/conversation_controller_test.exs | 0 .../controllers/emoji_file_controller_test.exs | 0 .../controllers/emoji_pack_controller_test.exs | 0 .../controllers/emoji_reaction_controller_test.exs | 0 .../controllers/instances_controller_test.exs | 0 .../controllers/mascot_controller_test.exs | 0 .../controllers/notification_controller_test.exs | 0 .../controllers/report_controller_test.exs | 0 .../controllers/scrobble_controller_test.exs | 0 .../controllers/settings_controller_test.exs | 0 .../two_factor_authentication_controller_test.exs | 0 .../controllers/user_import_controller_test.exs | 0 .../web/pleroma_api/views/app_view_test.exs | 0 .../web/pleroma_api/views/backup_view_test.exs | 0 .../views/chat_message_reference_view_test.exs | 2 +- .../web/pleroma_api/views/chat_view_test.exs | 0 .../web/pleroma_api/views/scrobble_view_test.exs | 0 .../admin_secret_authentication_plug_test.exs | 0 .../pleroma/web/plugs/authentication_plug_test.exs | 0 .../web/plugs/basic_auth_decoder_plug_test.exs | 0 test/pleroma/web/plugs/cache_control_test.exs | 0 test/pleroma/web/plugs/cache_test.exs | 0 test/pleroma/web/plugs/digest_plug_test.exs | 0 .../web/plugs/ensure_authenticated_plug_test.exs | 0 .../web/plugs/ensure_privileged_plug_test.exs | 0 .../ensure_public_or_authenticated_plug_test.exs | 0 .../plugs/ensure_user_token_assigns_plug_test.exs | 0 test/pleroma/web/plugs/federating_plug_test.exs | 0 .../web/plugs/frontend_static_plug_test.exs | 0 test/pleroma/web/plugs/http_security_plug_test.exs | 0 .../pleroma/web/plugs/http_signature_plug_test.exs | 0 test/pleroma/web/plugs/idempotency_plug_test.exs | 0 test/pleroma/web/plugs/instance_static_test.exs | 0 .../mapped_signature_to_identity_plug_test.exs | 0 test/pleroma/web/plugs/o_auth_plug_test.exs | 0 test/pleroma/web/plugs/o_auth_scopes_plug_test.exs | 0 test/pleroma/web/plugs/plug_helper_test.exs | 0 test/pleroma/web/plugs/rate_limiter_test.exs | 0 test/pleroma/web/plugs/remote_ip_test.exs | 0 test/pleroma/web/plugs/set_format_plug_test.exs | 0 test/pleroma/web/plugs/set_locale_plug_test.exs | 0 .../web/plugs/set_user_session_id_plug_test.exs | 0 .../pleroma/web/plugs/uploaded_media_plug_test.exs | 0 test/pleroma/web/plugs/user_enabled_plug_test.exs | 0 test/pleroma/web/plugs/user_fetcher_plug_test.exs | 0 test/pleroma/web/plugs/user_is_admin_plug_test.exs | 0 test/pleroma/web/plugs/user_is_staff_plug_test.exs | 0 test/pleroma/web/plugs/user_tracking_plug_test.exs | 0 .../web/preload/providers/instance_test.exs | 0 .../web/preload/providers/timeline_test.exs | 0 test/pleroma/web/preload/providers/user_test.exs | 0 test/pleroma/web/push/impl_test.exs | 0 test/pleroma/web/rel_me_test.exs | 0 test/pleroma/web/rich_media/helpers_test.exs | 0 .../rich_media/parser/ttl/aws_signed_url_test.exs | 0 test/pleroma/web/rich_media/parser_test.exs | 0 .../web/rich_media/parsers/twitter_card_test.exs | 0 test/pleroma/web/shout_channel_test.exs | 0 .../web/static_fe/static_fe_controller_test.exs | 0 test/pleroma/web/streamer_test.exs | 0 test/pleroma/web/twitter_api/controller_test.exs | 0 .../web/twitter_api/password_controller_test.exs | 0 .../twitter_api/remote_follow_controller_test.exs | 0 test/pleroma/web/twitter_api/twitter_api_test.exs | 0 .../web/twitter_api/util_controller_test.exs | 0 test/pleroma/web/uploader_controller_test.exs | 0 test/pleroma/web/views/error_view_test.exs | 0 .../web/web_finger/web_finger_controller_test.exs | 0 test/pleroma/web/web_finger_test.exs | 0 test/pleroma/web/xml_test.exs | 0 235 files changed, 48 insertions(+), 15 deletions(-) mode change 100644 => 100755 test/pleroma/web/activity_pub/activity_pub_controller_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/activity_pub_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/builder_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/activity_expiration_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/anti_followbot_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/anti_link_spam_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/ensure_re_prepended_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/follow_bot_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/hashtag_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/hellthread_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/keyword_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/media_proxy_warming_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/mention_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/no_empty_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/no_placeholder_text_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/normalize_markup_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/object_age_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/reject_non_public_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/simple_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/steal_emoji_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/subchain_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/tag_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/user_allow_list_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf/vocabulary_policy_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/mrf_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/accept_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/announce_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/attachment_validator_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/block_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/create_generic_validator_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/delete_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/emoji_react_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/follow_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/like_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/reject_validation_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/undo_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/object_validators/update_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/pipeline_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/publisher_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/relay_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/side_effects/delete_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/side_effects_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/accept_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/add_remove_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/announce_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/answer_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/article_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/audio_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/block_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/chat_message_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/event_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/like_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/page_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/reject_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/undo_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/user_update_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/transmogrifier_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/utils_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/views/object_view_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/views/user_view_test.exs mode change 100644 => 100755 test/pleroma/web/activity_pub/visibility_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/announcement_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/chat_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/config_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/frontend_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/instance_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/invite_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/relay_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/report_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/status_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/controllers/user_controller_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/search_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/views/account_view_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/views/moderation_log_view_test.exs mode change 100644 => 100755 test/pleroma/web/admin_api/views/report_view_test.exs mode change 100644 => 100755 test/pleroma/web/api_spec/schema_examples_test.exs mode change 100644 => 100755 test/pleroma/web/auth/auth_controller_test.exs mode change 100644 => 100755 test/pleroma/web/auth/authenticator_test.exs mode change 100644 => 100755 test/pleroma/web/auth/basic_auth_test.exs mode change 100644 => 100755 test/pleroma/web/auth/pleroma_authenticator_test.exs mode change 100644 => 100755 test/pleroma/web/auth/totp_authenticator_test.exs mode change 100644 => 100755 test/pleroma/web/common_api/utils_test.exs mode change 100644 => 100755 test/pleroma/web/common_api_test.exs mode change 100644 => 100755 test/pleroma/web/endpoint/metrics_exporter_test.exs mode change 100644 => 100755 test/pleroma/web/fallback_test.exs mode change 100644 => 100755 test/pleroma/web/federator_test.exs mode change 100644 => 100755 test/pleroma/web/feed/tag_controller_test.exs mode change 100644 => 100755 test/pleroma/web/feed/user_controller_test.exs mode change 100644 => 100755 test/pleroma/web/gettext_test.exs mode change 100644 => 100755 test/pleroma/web/manifest_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/account_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/announcement_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/app_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/custom_emoji_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/directory_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/domain_block_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/filter_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/follow_request_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/instance_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/list_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/marker_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/media_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/notification_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/poll_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/report_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/scheduled_activity_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/search_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/status_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/suggestion_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/mastodon_api_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/update_credentials_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/account_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/conversation_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/list_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/marker_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/notification_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/poll_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/status_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/subscription_view_test.exs mode change 100644 => 100755 test/pleroma/web/mastodon_api/views/suggestion_view_test.exs mode change 100644 => 100755 test/pleroma/web/media_proxy/invalidation/http_test.exs mode change 100644 => 100755 test/pleroma/web/media_proxy/invalidation/script_test.exs mode change 100644 => 100755 test/pleroma/web/media_proxy/invalidation_test.exs mode change 100644 => 100755 test/pleroma/web/media_proxy/media_proxy_controller_test.exs mode change 100644 => 100755 test/pleroma/web/media_proxy_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/player_view_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/providers/feed_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/providers/open_graph_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/providers/rel_me_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/providers/restrict_indexing_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/providers/twitter_card_test.exs mode change 100644 => 100755 test/pleroma/web/metadata/utils_test.exs mode change 100644 => 100755 test/pleroma/web/mongoose_im_controller_test.exs mode change 100644 => 100755 test/pleroma/web/node_info_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/app_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/authorization_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/ldap_authorization_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/mfa_controller_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/o_auth_controller_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/token/utils_test.exs mode change 100644 => 100755 test/pleroma/web/o_auth/token_test.exs mode change 100644 => 100755 test/pleroma/web/o_status/o_status_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/account_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/app_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/conversation_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/emoji_file_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/emoji_pack_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/emoji_reaction_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/mascot_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/notification_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/report_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/scrobble_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/settings_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/views/app_view_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/views/backup_view_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/views/chat_view_test.exs mode change 100644 => 100755 test/pleroma/web/pleroma_api/views/scrobble_view_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/admin_secret_authentication_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/authentication_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/basic_auth_decoder_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/cache_control_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/cache_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/digest_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/ensure_authenticated_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/ensure_privileged_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/ensure_public_or_authenticated_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/ensure_user_token_assigns_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/federating_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/frontend_static_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/http_security_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/http_signature_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/idempotency_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/instance_static_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/mapped_signature_to_identity_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/o_auth_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/o_auth_scopes_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/plug_helper_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/rate_limiter_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/remote_ip_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/set_format_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/set_locale_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/set_user_session_id_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/uploaded_media_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/user_enabled_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/user_fetcher_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/user_is_admin_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/user_is_staff_plug_test.exs mode change 100644 => 100755 test/pleroma/web/plugs/user_tracking_plug_test.exs mode change 100644 => 100755 test/pleroma/web/preload/providers/instance_test.exs mode change 100644 => 100755 test/pleroma/web/preload/providers/timeline_test.exs mode change 100644 => 100755 test/pleroma/web/preload/providers/user_test.exs mode change 100644 => 100755 test/pleroma/web/push/impl_test.exs mode change 100644 => 100755 test/pleroma/web/rel_me_test.exs mode change 100644 => 100755 test/pleroma/web/rich_media/helpers_test.exs mode change 100644 => 100755 test/pleroma/web/rich_media/parser/ttl/aws_signed_url_test.exs mode change 100644 => 100755 test/pleroma/web/rich_media/parser_test.exs mode change 100644 => 100755 test/pleroma/web/rich_media/parsers/twitter_card_test.exs mode change 100644 => 100755 test/pleroma/web/shout_channel_test.exs mode change 100644 => 100755 test/pleroma/web/static_fe/static_fe_controller_test.exs mode change 100644 => 100755 test/pleroma/web/streamer_test.exs mode change 100644 => 100755 test/pleroma/web/twitter_api/controller_test.exs mode change 100644 => 100755 test/pleroma/web/twitter_api/password_controller_test.exs mode change 100644 => 100755 test/pleroma/web/twitter_api/remote_follow_controller_test.exs mode change 100644 => 100755 test/pleroma/web/twitter_api/twitter_api_test.exs mode change 100644 => 100755 test/pleroma/web/twitter_api/util_controller_test.exs mode change 100644 => 100755 test/pleroma/web/uploader_controller_test.exs mode change 100644 => 100755 test/pleroma/web/views/error_view_test.exs mode change 100644 => 100755 test/pleroma/web/web_finger/web_finger_controller_test.exs mode change 100644 => 100755 test/pleroma/web/web_finger_test.exs mode change 100644 => 100755 test/pleroma/web/xml_test.exs (limited to 'test/pleroma/web') diff --git a/test/pleroma/web/activity_pub/activity_pub_controller_test.exs b/test/pleroma/web/activity_pub/activity_pub_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/activity_pub_test.exs b/test/pleroma/web/activity_pub/activity_pub_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/builder_test.exs b/test/pleroma/web/activity_pub/builder_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/activity_expiration_policy_test.exs b/test/pleroma/web/activity_pub/mrf/activity_expiration_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/anti_followbot_policy_test.exs b/test/pleroma/web/activity_pub/mrf/anti_followbot_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/anti_link_spam_policy_test.exs b/test/pleroma/web/activity_pub/mrf/anti_link_spam_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/ensure_re_prepended_test.exs b/test/pleroma/web/activity_pub/mrf/ensure_re_prepended_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/follow_bot_policy_test.exs b/test/pleroma/web/activity_pub/mrf/follow_bot_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy_test.exs b/test/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs b/test/pleroma/web/activity_pub/mrf/force_mentions_in_content_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/hashtag_policy_test.exs b/test/pleroma/web/activity_pub/mrf/hashtag_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/hellthread_policy_test.exs b/test/pleroma/web/activity_pub/mrf/hellthread_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/keyword_policy_test.exs b/test/pleroma/web/activity_pub/mrf/keyword_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/media_proxy_warming_policy_test.exs b/test/pleroma/web/activity_pub/mrf/media_proxy_warming_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/mention_policy_test.exs b/test/pleroma/web/activity_pub/mrf/mention_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/no_empty_policy_test.exs b/test/pleroma/web/activity_pub/mrf/no_empty_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/no_placeholder_text_policy_test.exs b/test/pleroma/web/activity_pub/mrf/no_placeholder_text_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/normalize_markup_test.exs b/test/pleroma/web/activity_pub/mrf/normalize_markup_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/object_age_policy_test.exs b/test/pleroma/web/activity_pub/mrf/object_age_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/reject_non_public_test.exs b/test/pleroma/web/activity_pub/mrf/reject_non_public_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/simple_policy_test.exs b/test/pleroma/web/activity_pub/mrf/simple_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/steal_emoji_policy_test.exs b/test/pleroma/web/activity_pub/mrf/steal_emoji_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/subchain_policy_test.exs b/test/pleroma/web/activity_pub/mrf/subchain_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/tag_policy_test.exs b/test/pleroma/web/activity_pub/mrf/tag_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/user_allow_list_policy_test.exs b/test/pleroma/web/activity_pub/mrf/user_allow_list_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf/vocabulary_policy_test.exs b/test/pleroma/web/activity_pub/mrf/vocabulary_policy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/mrf_test.exs b/test/pleroma/web/activity_pub/mrf_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/accept_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/accept_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/announce_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/announce_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs b/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/attachment_validator_test.exs b/test/pleroma/web/activity_pub/object_validators/attachment_validator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/block_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/block_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/create_generic_validator_test.exs b/test/pleroma/web/activity_pub/object_validators/create_generic_validator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/delete_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/delete_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/emoji_react_handling_test.exs b/test/pleroma/web/activity_pub/object_validators/emoji_react_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/follow_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/follow_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/like_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/like_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/reject_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/reject_validation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/undo_handling_test.exs b/test/pleroma/web/activity_pub/object_validators/undo_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/object_validators/update_handling_test.exs b/test/pleroma/web/activity_pub/object_validators/update_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/pipeline_test.exs b/test/pleroma/web/activity_pub/pipeline_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/relay_test.exs b/test/pleroma/web/activity_pub/relay_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/side_effects/delete_test.exs b/test/pleroma/web/activity_pub/side_effects/delete_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/side_effects_test.exs b/test/pleroma/web/activity_pub/side_effects_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/accept_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/accept_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/add_remove_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/add_remove_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/announce_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/announce_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/answer_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/answer_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/article_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/article_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/audio_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/audio_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/block_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/block_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/chat_message_test.exs b/test/pleroma/web/activity_pub/transmogrifier/chat_message_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/event_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/event_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/like_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/like_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/page_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/page_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/reject_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/reject_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/undo_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/undo_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/user_update_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/user_update_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/transmogrifier_test.exs b/test/pleroma/web/activity_pub/transmogrifier_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/utils_test.exs b/test/pleroma/web/activity_pub/utils_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/views/object_view_test.exs b/test/pleroma/web/activity_pub/views/object_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/views/user_view_test.exs b/test/pleroma/web/activity_pub/views/user_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/activity_pub/visibility_test.exs b/test/pleroma/web/activity_pub/visibility_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs b/test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/announcement_controller_test.exs b/test/pleroma/web/admin_api/controllers/announcement_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/chat_controller_test.exs b/test/pleroma/web/admin_api/controllers/chat_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/config_controller_test.exs b/test/pleroma/web/admin_api/controllers/config_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/frontend_controller_test.exs b/test/pleroma/web/admin_api/controllers/frontend_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/instance_controller_test.exs b/test/pleroma/web/admin_api/controllers/instance_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs b/test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/invite_controller_test.exs b/test/pleroma/web/admin_api/controllers/invite_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs b/test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs b/test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/relay_controller_test.exs b/test/pleroma/web/admin_api/controllers/relay_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/report_controller_test.exs b/test/pleroma/web/admin_api/controllers/report_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/status_controller_test.exs b/test/pleroma/web/admin_api/controllers/status_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/controllers/user_controller_test.exs b/test/pleroma/web/admin_api/controllers/user_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/search_test.exs b/test/pleroma/web/admin_api/search_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/views/account_view_test.exs b/test/pleroma/web/admin_api/views/account_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/views/moderation_log_view_test.exs b/test/pleroma/web/admin_api/views/moderation_log_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/admin_api/views/report_view_test.exs b/test/pleroma/web/admin_api/views/report_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/api_spec/schema_examples_test.exs b/test/pleroma/web/api_spec/schema_examples_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/auth/auth_controller_test.exs b/test/pleroma/web/auth/auth_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/auth/authenticator_test.exs b/test/pleroma/web/auth/authenticator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/auth/basic_auth_test.exs b/test/pleroma/web/auth/basic_auth_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/auth/pleroma_authenticator_test.exs b/test/pleroma/web/auth/pleroma_authenticator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/auth/totp_authenticator_test.exs b/test/pleroma/web/auth/totp_authenticator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/common_api/utils_test.exs b/test/pleroma/web/common_api/utils_test.exs old mode 100644 new mode 100755 index d309c6d..c52d3e9 --- a/test/pleroma/web/common_api/utils_test.exs +++ b/test/pleroma/web/common_api/utils_test.exs @@ -586,41 +586,56 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do end end - describe "attachments_from_ids_descs/2" do + describe "attachments_from_ids_descs/3" do test "returns [] when attachment ids is empty" do - assert Utils.attachments_from_ids_descs([], "{}") == [] + assert Utils.attachments_from_ids_descs([], "{}", nil) == [] end test "returns list attachments with desc" do - object = insert(:note) + user = insert(:user) + object = insert(:note, %{user: user}) desc = Jason.encode!(%{object.id => "test-desc"}) - assert Utils.attachments_from_ids_descs(["#{object.id}", "34"], desc) == [ + assert Utils.attachments_from_ids_descs(["#{object.id}", "34"], desc, user) == [ Map.merge(object.data, %{"name" => "test-desc"}) ] end end - describe "attachments_from_ids/1" do + describe "attachments_from_ids/2" do test "returns attachments with descs" do - object = insert(:note) + user = insert(:user) + object = insert(:note, %{user: user}) desc = Jason.encode!(%{object.id => "test-desc"}) - assert Utils.attachments_from_ids(%{ - media_ids: ["#{object.id}"], - descriptions: desc - }) == [ + assert Utils.attachments_from_ids( + %{ + media_ids: ["#{object.id}"], + descriptions: desc + }, + user + ) == [ Map.merge(object.data, %{"name" => "test-desc"}) ] end test "returns attachments without descs" do - object = insert(:note) - assert Utils.attachments_from_ids(%{media_ids: ["#{object.id}"]}) == [object.data] + user = insert(:user) + object = insert(:note, %{user: user}) + assert Utils.attachments_from_ids(%{media_ids: ["#{object.id}"]}, user) == [object.data] end test "returns [] when not pass media_ids" do - assert Utils.attachments_from_ids(%{}) == [] + assert Utils.attachments_from_ids(%{}, nil) == [] + end + + test "returns [] when media_ids not belong to current user" do + user = insert(:user) + user2 = insert(:user) + + object = insert(:attachment, %{user: user}) + + assert Utils.attachments_from_ids(%{media_ids: ["#{object.id}"]}, user2) == [] end end diff --git a/test/pleroma/web/common_api_test.exs b/test/pleroma/web/common_api_test.exs old mode 100644 new mode 100755 index 5c9103e..e606919 --- a/test/pleroma/web/common_api_test.exs +++ b/test/pleroma/web/common_api_test.exs @@ -279,6 +279,24 @@ defmodule Pleroma.Web.CommonAPITest do assert {:reject, "[KeywordPolicy] Matches with rejected keyword"} == CommonAPI.post_chat_message(author, recipient, "GNO/Linux") end + + test "it reject messages with attachments not belonging to user" do + author = insert(:user) + not_author = insert(:user) + recipient = author + + attachment = insert(:attachment, %{user: not_author}) + + {:error, message} = + CommonAPI.post_chat_message( + author, + recipient, + "123", + media_id: attachment.id + ) + + assert message == :forbidden + end end describe "unblocking" do diff --git a/test/pleroma/web/endpoint/metrics_exporter_test.exs b/test/pleroma/web/endpoint/metrics_exporter_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/fallback_test.exs b/test/pleroma/web/fallback_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/federator_test.exs b/test/pleroma/web/federator_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/feed/tag_controller_test.exs b/test/pleroma/web/feed/tag_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/feed/user_controller_test.exs b/test/pleroma/web/feed/user_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/gettext_test.exs b/test/pleroma/web/gettext_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/manifest_controller_test.exs b/test/pleroma/web/manifest_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/announcement_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/announcement_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/app_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/app_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/custom_emoji_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/custom_emoji_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/directory_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/directory_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/domain_block_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/domain_block_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/filter_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/filter_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/follow_request_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/follow_request_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/instance_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/instance_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/list_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/list_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/marker_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/marker_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/notification_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/notification_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/poll_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/poll_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/report_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/report_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/scheduled_activity_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/scheduled_activity_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/suggestion_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/suggestion_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs b/test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/mastodon_api_test.exs b/test/pleroma/web/mastodon_api/mastodon_api_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/update_credentials_test.exs b/test/pleroma/web/mastodon_api/update_credentials_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/account_view_test.exs b/test/pleroma/web/mastodon_api/views/account_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/conversation_view_test.exs b/test/pleroma/web/mastodon_api/views/conversation_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/list_view_test.exs b/test/pleroma/web/mastodon_api/views/list_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/marker_view_test.exs b/test/pleroma/web/mastodon_api/views/marker_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/notification_view_test.exs b/test/pleroma/web/mastodon_api/views/notification_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/poll_view_test.exs b/test/pleroma/web/mastodon_api/views/poll_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs b/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs old mode 100644 new mode 100755 index e5e510d..07a65a3 --- a/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs +++ b/test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs @@ -48,7 +48,7 @@ defmodule Pleroma.Web.MastodonAPI.ScheduledActivityViewTest do id: to_string(scheduled_activity.id), media_attachments: %{media_ids: [upload.id]} - |> Utils.attachments_from_ids() + |> Utils.attachments_from_ids(user) |> Enum.map(&StatusView.render("attachment.json", %{attachment: &1})), params: %{ in_reply_to_id: to_string(activity.id), diff --git a/test/pleroma/web/mastodon_api/views/status_view_test.exs b/test/pleroma/web/mastodon_api/views/status_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/subscription_view_test.exs b/test/pleroma/web/mastodon_api/views/subscription_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mastodon_api/views/suggestion_view_test.exs b/test/pleroma/web/mastodon_api/views/suggestion_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/media_proxy/invalidation/http_test.exs b/test/pleroma/web/media_proxy/invalidation/http_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/media_proxy/invalidation/script_test.exs b/test/pleroma/web/media_proxy/invalidation/script_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/media_proxy/invalidation_test.exs b/test/pleroma/web/media_proxy/invalidation_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/media_proxy/media_proxy_controller_test.exs b/test/pleroma/web/media_proxy/media_proxy_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/media_proxy_test.exs b/test/pleroma/web/media_proxy_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/player_view_test.exs b/test/pleroma/web/metadata/player_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/providers/feed_test.exs b/test/pleroma/web/metadata/providers/feed_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/providers/open_graph_test.exs b/test/pleroma/web/metadata/providers/open_graph_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/providers/rel_me_test.exs b/test/pleroma/web/metadata/providers/rel_me_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/providers/restrict_indexing_test.exs b/test/pleroma/web/metadata/providers/restrict_indexing_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/providers/twitter_card_test.exs b/test/pleroma/web/metadata/providers/twitter_card_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/metadata/utils_test.exs b/test/pleroma/web/metadata/utils_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/mongoose_im_controller_test.exs b/test/pleroma/web/mongoose_im_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/node_info_test.exs b/test/pleroma/web/node_info_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/app_test.exs b/test/pleroma/web/o_auth/app_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/authorization_test.exs b/test/pleroma/web/o_auth/authorization_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/ldap_authorization_test.exs b/test/pleroma/web/o_auth/ldap_authorization_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/mfa_controller_test.exs b/test/pleroma/web/o_auth/mfa_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/o_auth_controller_test.exs b/test/pleroma/web/o_auth/o_auth_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/token/utils_test.exs b/test/pleroma/web/o_auth/token/utils_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_auth/token_test.exs b/test/pleroma/web/o_auth/token_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/o_status/o_status_controller_test.exs b/test/pleroma/web/o_status/o_status_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/account_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/account_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/app_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/app_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/conversation_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/conversation_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/emoji_file_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/emoji_file_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/emoji_pack_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/emoji_pack_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/emoji_reaction_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/emoji_reaction_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/instances_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/mascot_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/mascot_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/notification_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/notification_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/report_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/report_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/scrobble_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/scrobble_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/settings_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/settings_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/views/app_view_test.exs b/test/pleroma/web/pleroma_api/views/app_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/views/backup_view_test.exs b/test/pleroma/web/pleroma_api/views/backup_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs b/test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs old mode 100644 new mode 100755 index 017c9c5..7ab3f5a --- a/test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs +++ b/test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs @@ -24,7 +24,7 @@ defmodule Pleroma.Web.PleromaAPI.ChatMessageReferenceViewTest do filename: "an_image.jpg" } - {:ok, upload} = ActivityPub.upload(file, actor: user.ap_id) + {:ok, upload} = ActivityPub.upload(file, actor: recipient.ap_id) {:ok, activity} = CommonAPI.post_chat_message(user, recipient, "kippis :firefox:", idempotency_key: "123") diff --git a/test/pleroma/web/pleroma_api/views/chat_view_test.exs b/test/pleroma/web/pleroma_api/views/chat_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/pleroma_api/views/scrobble_view_test.exs b/test/pleroma/web/pleroma_api/views/scrobble_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/admin_secret_authentication_plug_test.exs b/test/pleroma/web/plugs/admin_secret_authentication_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/authentication_plug_test.exs b/test/pleroma/web/plugs/authentication_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/basic_auth_decoder_plug_test.exs b/test/pleroma/web/plugs/basic_auth_decoder_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/cache_control_test.exs b/test/pleroma/web/plugs/cache_control_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/cache_test.exs b/test/pleroma/web/plugs/cache_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/digest_plug_test.exs b/test/pleroma/web/plugs/digest_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/ensure_authenticated_plug_test.exs b/test/pleroma/web/plugs/ensure_authenticated_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/ensure_privileged_plug_test.exs b/test/pleroma/web/plugs/ensure_privileged_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/ensure_public_or_authenticated_plug_test.exs b/test/pleroma/web/plugs/ensure_public_or_authenticated_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/ensure_user_token_assigns_plug_test.exs b/test/pleroma/web/plugs/ensure_user_token_assigns_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/federating_plug_test.exs b/test/pleroma/web/plugs/federating_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/frontend_static_plug_test.exs b/test/pleroma/web/plugs/frontend_static_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/http_security_plug_test.exs b/test/pleroma/web/plugs/http_security_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/http_signature_plug_test.exs b/test/pleroma/web/plugs/http_signature_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/idempotency_plug_test.exs b/test/pleroma/web/plugs/idempotency_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/instance_static_test.exs b/test/pleroma/web/plugs/instance_static_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/mapped_signature_to_identity_plug_test.exs b/test/pleroma/web/plugs/mapped_signature_to_identity_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/o_auth_plug_test.exs b/test/pleroma/web/plugs/o_auth_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/o_auth_scopes_plug_test.exs b/test/pleroma/web/plugs/o_auth_scopes_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/plug_helper_test.exs b/test/pleroma/web/plugs/plug_helper_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/rate_limiter_test.exs b/test/pleroma/web/plugs/rate_limiter_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/remote_ip_test.exs b/test/pleroma/web/plugs/remote_ip_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/set_format_plug_test.exs b/test/pleroma/web/plugs/set_format_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/set_locale_plug_test.exs b/test/pleroma/web/plugs/set_locale_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/set_user_session_id_plug_test.exs b/test/pleroma/web/plugs/set_user_session_id_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/uploaded_media_plug_test.exs b/test/pleroma/web/plugs/uploaded_media_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/user_enabled_plug_test.exs b/test/pleroma/web/plugs/user_enabled_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/user_fetcher_plug_test.exs b/test/pleroma/web/plugs/user_fetcher_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/user_is_admin_plug_test.exs b/test/pleroma/web/plugs/user_is_admin_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/user_is_staff_plug_test.exs b/test/pleroma/web/plugs/user_is_staff_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/plugs/user_tracking_plug_test.exs b/test/pleroma/web/plugs/user_tracking_plug_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/preload/providers/instance_test.exs b/test/pleroma/web/preload/providers/instance_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/preload/providers/timeline_test.exs b/test/pleroma/web/preload/providers/timeline_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/preload/providers/user_test.exs b/test/pleroma/web/preload/providers/user_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/push/impl_test.exs b/test/pleroma/web/push/impl_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/rel_me_test.exs b/test/pleroma/web/rel_me_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/rich_media/helpers_test.exs b/test/pleroma/web/rich_media/helpers_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/rich_media/parser/ttl/aws_signed_url_test.exs b/test/pleroma/web/rich_media/parser/ttl/aws_signed_url_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/rich_media/parser_test.exs b/test/pleroma/web/rich_media/parser_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/rich_media/parsers/twitter_card_test.exs b/test/pleroma/web/rich_media/parsers/twitter_card_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/shout_channel_test.exs b/test/pleroma/web/shout_channel_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/static_fe/static_fe_controller_test.exs b/test/pleroma/web/static_fe/static_fe_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/streamer_test.exs b/test/pleroma/web/streamer_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/twitter_api/controller_test.exs b/test/pleroma/web/twitter_api/controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/twitter_api/password_controller_test.exs b/test/pleroma/web/twitter_api/password_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/twitter_api/remote_follow_controller_test.exs b/test/pleroma/web/twitter_api/remote_follow_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/twitter_api/twitter_api_test.exs b/test/pleroma/web/twitter_api/twitter_api_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/twitter_api/util_controller_test.exs b/test/pleroma/web/twitter_api/util_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/uploader_controller_test.exs b/test/pleroma/web/uploader_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/views/error_view_test.exs b/test/pleroma/web/views/error_view_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/web_finger/web_finger_controller_test.exs b/test/pleroma/web/web_finger/web_finger_controller_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/web_finger_test.exs b/test/pleroma/web/web_finger_test.exs old mode 100644 new mode 100755 diff --git a/test/pleroma/web/xml_test.exs b/test/pleroma/web/xml_test.exs old mode 100644 new mode 100755 -- cgit v1.2.3