pleroma/test/fixtures
Lain Soykaf 695dd340de
fix(federation): reject actors that point at other hosts
A remote actor could set its inbox or shared inbox to a third-party
host, so our signed deliveries went there. It could also claim
another actor's followers collection, which the visibility checks
trust.

Validate fetched actors and incoming actor Updates: inbox,
endpoints.sharedInbox, followers, following, featured and the
publicKey id must be on the same host as the actor id.

Based on Akkoma f07eb4cb5. The Bridgy fixture gets the key id that
current Bridgy Fed serves.
2026-10-27 21:37:20 +04:00
..
birthdays Birthdays: Fix tests, add test for misskey 2022-01-23 09:41:21 +01:00
bridgy fix(federation): reject actors that point at other hosts 2026-10-27 21:37:20 +04:00
config test(config): exclude static fixture from test loader 2026-07-26 12:40:38 +04:00
emoji/packs tests for emoji mix task 2020-04-06 11:13:59 +03:00
fedidev.fun AP ingest: fill missing attributedTo from activity 2026-01-17 02:46:59 +04:00
fetch_mocks Fetcher: Work when we can't get the OP. 2020-07-01 11:48:51 +02:00
mastodon Support private pinned posts from Mastodon 2022-01-20 12:35:32 +01:00
modules Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
peertube Video: Handle peertube videos only stashing attachments in x-mpegURL 2021-02-21 23:41:28 +01:00
preload_static/instance Preload: Load the correct instance panel 2020-06-30 11:35:54 +02:00
quote_post MRF InlineQuotePolicy: Don't inline quoted post URL in Mastodon quotes 2025-11-29 18:12:32 +01:00
relay relay list shows hosts without accepted follow 2020-03-02 09:27:20 +03:00
rich_media Truncate the length of Rich Media title and description fields 2025-03-19 10:29:45 -07:00
rsa_keys Use set of pregenerated RSA keys 2022-09-11 21:33:20 +02:00
statuses mastodon pins 2021-03-25 13:03:40 +03:00
tesla_mock Merge remote-tracking branch 'origin/develop' into translate-posts 2024-06-12 17:13:23 +02:00
users_mock Normalize Hubzilla alsoKnownAs from string to array 2026-02-12 18:47:22 +01:00
webfinger Webfinger: Add test showing wrong webfinger behavior 2024-05-22 12:57:30 +04:00
activitypub-client-post-activity.json Pipeline Ingestion: Note 2021-04-05 19:19:11 +02:00
avatar_data_uri Fix more specs. 2018-02-25 17:48:31 +01:00
bogus-mastodon-announce.json Add test for handling Announces with inlined object from different origin 2019-10-05 13:56:40 +02:00
bovine-bogus-public-note.json Transmogrifier: convert "as:Public" to full w3 URL 2025-11-08 07:39:46 +03:00
break_analyze.png AnalyzeMetadata: Don't crash on grayscale image blurhash 2025-01-30 12:18:20 +04:00
ccworld-ap-bridge_note.json Test incoming federation from Convergence AP Bridge 2024-01-26 17:05:18 +01:00
create-chat-message.json Revert "Merge branch 'strip-object-actor' into 'develop'" 2024-05-16 23:33:48 +00:00
create-pleroma-reply-to-misskey-thread.json CreateGenericValidator: fix reply context fixing 2022-08-10 02:29:38 +02:00
custom-emoji-reaction.json Allow custom emoji reactions: Fix tests, mixed custom and unicode reactions 2023-03-02 11:18:16 +03:00
custom_instance_panel.html AdminAPI: Allow to modify Terms of Service and Instance Panel via Admin API 2020-09-17 16:48:07 +03:00
denniskoch.json Add test to fetch and validate an activity that originally failed signature 2024-07-25 14:34:55 -04:00
DSCN0010.jpg Support Exiftool for stripping EXIF data 2020-07-10 16:46:26 -05:00
DSCN0010.png StripLocationTest: Add failing test for PNGs 2024-06-28 20:31:03 +04:00
emoji-reaction-no-emoji.json EmojiReactions: Rename to EmojiReacts 2020-02-06 18:09:57 +01:00
emoji-reaction-too-long.json EmojiReactions: Rename to EmojiReacts 2020-02-06 18:09:57 +01:00
emoji-reaction.json EmojiReactions: Rename to EmojiReacts 2020-02-06 18:09:57 +01:00
emojis.zip finland-emojis.zip -> emojis.zip 2020-09-22 21:58:30 +03:00
empty.zip added tests 2020-08-24 15:01:45 +03:00
fep-e232.json TagValidator: Drop unrecognized tags 2023-02-27 23:09:46 +00:00
friendica-dislike-undo.json Handle the Dislike activity by transforming into a thumbs-down emote 2025-06-16 14:18:15 +03:00
friendica-dislike.json Handle the Dislike activity by transforming into a thumbs-down emote 2025-06-16 14:18:15 +03:00
friendica_salmon.xml Ignore padding for salmon public keys. 2017-08-25 15:09:05 +02:00
fulmo.html Rich Media Parser should use first og:image 2025-02-28 15:12:49 -08:00
guppe-actor.json ActivtityPub Test: Add example for guppe actor 2021-01-07 16:20:30 +01:00
host-meta-zetsubou.xn--q9jyb4c.xml support for idna domains 2019-07-10 15:23:25 +00:00
hubzilla-actor.json Add support for Image objects 2023-03-09 14:21:12 +01:00
hubzilla-create-image.json Add support for Image objects 2023-03-09 14:21:12 +01:00
hubzilla-follow-activity.json tests: add test for hubzilla follow activity too 2018-05-19 03:28:32 -05:00
image.gif [#2497] Configurability of :min_content_length (preview proxy). Refactoring, documentation, tests. 2020-09-17 17:13:40 +03:00
image.jpg used imageOptim to reduce size of image files 2019-03-19 10:10:48 +01:00
image.png [#2497] Configurability of :min_content_length (preview proxy). Refactoring, documentation, tests. 2020-09-17 17:13:40 +03:00
image_with_caption-abstract.jpg Change test pictures 2022-07-01 12:15:02 +02:00
image_with_imagedescription_and_caption-abstract.jpg Change test pictures 2022-07-01 12:15:02 +02:00
image_with_imagedescription_and_caption-abstract_and_stray_data_after.png Ignores in exiftool read descriptions 2023-02-11 00:30:52 -05:00
image_with_imagedescription_and_caption-abstract_whitespaces.jpg Descriptions from exif data with only whitespeces are considered empty 2022-07-01 13:47:23 +02:00
image_with_no_description.jpg Change test pictures 2022-07-01 12:15:02 +02:00
image_with_stray_data_after.png Ignores in exiftool read descriptions 2023-02-11 00:30:52 -05:00
kroeg-announce-with-inline-actor.json Transmogrifier Test: Extract Announce handling. 2020-05-18 14:48:37 +02:00
kroeg-array-less-emoji.json transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor 2018-09-27 20:00:47 +02:00
kroeg-array-less-hashtag.json transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor 2018-09-27 20:00:47 +02:00
kroeg-post-activity.json test: add kroeg fixtures 2018-08-14 17:09:17 +00:00
lain.xml support for idna domains 2019-07-10 15:23:25 +00:00
lambadalambda.json twitter api registration 2019-04-06 17:18:59 +07:00
margaret-corbin-grave-west-point.html meta tag parser respect first title header 2020-01-28 19:29:27 +03:00
mastodon-accept-activity.json ActivityPub: Send out Accept after Follow. 2018-02-17 16:08:55 +01:00
mastodon-announce-private.json Import object from self-Announce whenever possible 2019-10-05 13:56:40 +02:00
mastodon-announce.json Add test fixtures. 2018-02-17 21:56:52 +01:00
mastodon-block-activity.json Formatting and add tests for blocks/unblocks 2018-05-19 21:23:52 -04:00
mastodon-create-with-attachment.json ActivityPub: Handle attachments. 2018-02-17 18:38:58 +01:00
mastodon-delete-user.json Send and handle "Delete" activity for deleted users 2019-07-10 05:16:08 +00:00
mastodon-delete.json Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters 2020-11-23 14:48:14 -06:00
mastodon-follow-activity.json ActivityPub: Partly handle incoming follows. 2018-02-17 14:55:44 +01:00
mastodon-like.json ActivityPub: Handle incoming likes. 2018-02-17 20:13:12 +01:00
mastodon-nodeinfo20.json instances: Store some metadata based on NodeInfo 2023-03-16 09:02:20 +01:00
mastodon-note-object.json Announcements: Handle through common pipeline. 2020-05-20 15:44:37 +02:00
mastodon-post-activity-contentmap.json tests: add regression test for contentMap-only posts 2018-06-18 22:14:51 +00:00
mastodon-post-activity-hashtag.json activitypub transmogrifier: rewrite incoming hashtags 2018-03-24 16:42:17 -05:00
mastodon-post-activity-nsfw.json Transmogrifier: Downcase incoming Hashtags 2020-10-19 15:40:50 +02:00
mastodon-post-activity.json [#1505] Improved replies-handling tests: updated Mastodon message fixture, used exact Pleroma federation message. 2020-02-10 11:46:16 +03:00
mastodon-question-activity.json question_validator: fix for mastodon poll expiration 2020-07-15 11:39:56 +02:00
mastodon-reject-activity.json activitypub transmogrifier: cleanups and tests for incoming accepts/rejects 2018-05-25 12:53:12 +00:00
mastodon-unblock-activity.json Fix unblock handling 2018-05-21 05:00:58 -04:00
mastodon-undo-announce.json Update test fixture 2018-05-12 11:10:49 -04:00
mastodon-undo-like-compact-object.json Transmogrifier: Handle compact objects in undos. 2019-09-30 18:13:05 +02:00
mastodon-undo-like.json Support Undo like activities (Fix #139) 2018-05-19 22:14:15 +02:00
mastodon-unfollow-activity.json Fix unfollows 2018-05-20 21:01:14 -04:00
mastodon-update-with-likes.json Fix Mastodon incoming edits with inlined "likes" 2025-01-28 22:47:42 +01:00
mastodon-update.json Support user attachment update in Transmogrifier 2019-08-14 14:52:54 +07:00
mastodon-vote.json Handle poll votes 2019-05-21 14:12:10 +03:00
mastodon-well-known-nodeinfo.json instances: Store some metadata based on NodeInfo 2023-03-16 09:02:20 +01:00
mewmew_no_name.json User: Correctly handle whitespace names. 2020-10-23 13:53:01 +02:00
minds-invalid-mention-post.json Add ForceMention mrf 2024-03-01 18:16:09 +01:00
minds-pleroma-mentioned-post.json Add ForceMention mrf 2024-03-01 18:16:09 +01:00
misskey-custom-emoji-like.json Transmogrifier: Also accept mitra emoji likes. 2025-03-18 15:53:27 +04:00
misskey-like.json Transmogrifier: Handle misskey likes with reactions like EmojiReactions. 2019-10-04 17:01:04 +02:00
mitra-custom-emoji-like.json Transmogrifier: Also accept mitra emoji likes. 2025-03-18 15:53:27 +04:00
nypd-facial-recognition-children-teenagers.html [#1150] fixed parser TwitterCard 2019-08-06 20:19:28 +00:00
nypd-facial-recognition-children-teenagers2.html [#1150] fixed parser TwitterCard 2019-08-06 20:19:28 +00:00
nypd-facial-recognition-children-teenagers3.html [#1150] fixed parser TwitterCard 2019-08-06 20:19:28 +00:00
nypd-facial-recognition-children-teenagers4.html title parse improvement 2020-01-29 11:13:34 +03:00
osada-follow-activity.json Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters 2020-11-23 14:48:14 -06:00
owncast-note-with-attachment.json Add test for broken owncast federation 2022-07-22 20:30:45 +02:00
png_with_transparency.png AnalyzeMetadata: Switch to rinpatch_blurhash 2023-11-28 12:23:41 +04:00
prismo-url-map.json add missing prismo testcase data 2018-11-10 11:11:01 +00:00
private_key.pem Salmon creation. 2017-04-26 14:25:44 +02:00
receiver_worker_signature_activity.json Simplify test, move data into a json fixture 2024-08-28 16:31:59 -04:00
rel_me_anchor.html Pleroma.Web.RelMeTest: Add test against Pleroma.Web.RelMe 2019-03-02 06:31:33 +01:00
rel_me_anchor_nofollow.html Web.RelMe: Fix having other values in rel attr 2019-03-05 02:13:22 +01:00
rel_me_link.html Pleroma.Web.RelMeTest: Add test against Pleroma.Web.RelMe 2019-03-02 06:31:33 +01:00
rel_me_null.html Web.RelMe: Fix having other values in rel attr 2019-03-05 02:13:22 +01:00
roadhouse-create-activity.json Test that a Note from Roadhouse validates 2022-02-02 10:38:30 -06:00
salmon.xml
salmon2.xml Make key fetching use ostatus fetching. 2017-04-29 19:47:56 +02:00
server.pem test(http): reproduce hackney follow_redirect crash via CONNECT proxy 2026-01-16 21:17:40 +04:00
soapbox_no_mentions_in_content.json Add ForceMentionsInContentPolicy 2022-01-19 21:04:57 +03:00
sound.mp3 Add mascot get/set tests 2019-05-20 12:58:06 +01:00
spoofed-object.json Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
test.txt Mix Task Frontend test: Expand. 2020-08-07 16:03:06 +02:00
unindexed_fk.sql Test for missing FK indexes 2024-05-30 10:49:45 -04:00
user_full.xml
user_name_only.xml
video.mp4 Add test for AnalyzeMetadata upload filter fetching dimensions from a video 2021-06-08 14:02:56 -05:00
webfinger.xml Add some basic webfingering. 2017-04-28 17:41:12 +02:00
wildebeest-nodeinfo21.json instances: Store some metadata based on NodeInfo 2023-03-16 09:02:20 +01:00
wildebeest-well-known-nodeinfo.json instances: Store some metadata based on NodeInfo 2023-03-16 09:02:20 +01:00
xml_billion_laughs.xml Completely disable xml entity resolution 2023-08-05 14:17:04 +02:00
xml_external_entities.xml Add unit test for external entity loading 2023-08-05 08:14:27 +02:00