aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures
AgeCommit message (Collapse)Author
2022-09-11Use set of pregenerated RSA keysFloatingGhost
Randomness is a huge resource sink, so let's just use a some that we made earlier
2022-08-15CommonFixes: more predictable context generationHélène
`context` fields for objects and activities can now be generated based on the object/activity `inReplyTo` field or its ActivityPub ID, as a fallback method in cases where `context` fields are missing for incoming activities and objects.
2022-08-10CreateGenericValidator: fix reply context fixingHélène
Incoming Pleroma replies to a Misskey thread were rejected due to a broken context fix, which caused them to not be visible until a non-Pleroma user interacted with the replies. This fix properly sets the post-fix object context to its parent Create activity as well, if it was changed.
2022-07-31Merge branch 'develop' into 'from/develop/tusooa/emit-move'tusooa
# Conflicts: # CHANGELOG.md # test/pleroma/user_test.exs
2022-07-25EmojiReactValidator: use new qualification methodHélène
2022-07-24EmojiReactValidator: fix emoji qualificationHélène
Tries fully-qualifying emoji when receiving them, by adding the emoji variation sequence to the received reaction emoji. This issue arises when other instance software, such as Misskey, tries reacting with emoji that have unqualified or minimally qualified variants, like a red heart. Pleroma only accepts fully qualified emoji in emoji reactions, and refused those emoji. Now, Pleroma will attempt to properly qualify them first, and reject them if checks still fail. This commit contains changes to tests proposed by lanodan. Co-authored-by: Haelwenn <contact+git.pleroma.social@hacktivis.me>
2022-07-22Revert "Merge branch 'fix/emoji-react-qualification' into 'develop'"Haelwenn
This reverts merge request !3684
2022-07-22Add test for broken owncast federationFloatingGhost
2022-07-21Merge branch 'fix/emoji-react-qualification' into 'develop'Haelwenn
EmojiReactValidator: fix emoji qualification See merge request pleroma/pleroma!3684
2022-07-01Descriptions from exif data with only whitespeces are considered emptyIlja
I noticed that pictures taken with Ubuntu-Touch have whitespace in one of the fields This should just be ignored imo
2022-07-01Change test picturesIlja
The previous pictures were labeled as public domain, but are actually a collage of pictures under other licenses. I now replaced them with a jpeg of simply a white pixel.
2022-07-01Use EXIF data of image to prefill image descriptionIlja
During attachment upload Pleroma returns a "description" field. Pleroma-fe has an MR to use that to pre-fill the image description field, <https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1399> * This MR allows Pleroma to read the EXIF data during upload and return the description to the FE * If a description is already present (e.g. because a previous module added it), it will use that * Otherwise it will read from the EXIF data. First it will check -ImageDescription, if that's empty, it will check -iptc:Caption-Abstract * If no description is found, it will simply return nil, just like before * When people set up a new instance, they will be asked if they want to read metadata and this module will be activated if so This was taken from an MR i did on Pleroma and isn't finished yet.
2022-06-28EmojiReactValidator: fix emoji qualificationHélène
Tries fully-qualifying emoji when receiving them, by adding the emoji variation sequence to the received reaction emoji. This issue arises when other instance software, such as Misskey, tries reacting with emoji that have unqualified or minimally qualified variants, like a red heart. Pleroma only accepts fully qualified emoji in emoji reactions, and refused those emoji. Now, Pleroma will attempt to properly qualify them first, and reject them if checks still fail.
2022-02-25Copyright bump for 2022Sean King
2022-02-02Add tests for mismatched context in repliesAlex Gleason
2022-02-02Test that a Note from Roadhouse validatesAlex Gleason
2022-01-23Birthdays: Fix tests, add test for misskeymarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20Merge branch 'private-pins' into 'develop'Alex Gleason
Support private pinned posts from Mastodon See merge request pleroma/pleroma!3611
2022-01-20Support private pinned posts from Mastodonmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-19Add ForceMentionsInContentPolicyrinpatch
Even though latest PleromaFE supports displaying these properly, mobile apps still exist, so I think we should offer a workaround to those who want it.
2021-12-28Test that the target account is re-fetched in move_accountTusooa Zhu
Ref: emit-move
2021-07-12Merge branch 'features/ingestion-page' into 'develop'Haelwenn
Pipeline Ingestion: Page See merge request pleroma/pleroma!3097
2021-06-08Add test for AnalyzeMetadata upload filter fetching dimensions from a videoMark Felder
2021-06-07MRF: create MRF.Policy behaviour separate from MRF moduleAlex Gleason
Speeds up recompilation by reducing compile-time deps
2021-06-04Pipeline Ingestion: PageHaelwenn (lanodan) Monnier
2021-06-01Merge branch 'features/validators-note' into 'develop'Haelwenn
Pipeline Ingestion: Note Closes #290 See merge request pleroma/pleroma!2984
2021-05-20Switch from the deprecated "use Mix.config" to "import Config"Mark Felder
2021-04-16Merge branch 'feature/521-pinned-post-federation' into 'develop'rinpatch
Pinned posts federation Closes #521 See merge request pleroma/pleroma!3312
2021-04-05Pipeline Ingestion: NoteHaelwenn (lanodan) Monnier
2021-03-27tests for release config providerAlexander Strizhakov
2021-03-25moving fixture into mastodon folderAlexander Strizhakov
2021-03-25not neededAlexander Strizhakov
2021-03-25featured_address valition in AddRemoveValidatorAlexander Strizhakov
2021-03-25mastodon pinsAlexander Strizhakov
2021-03-25Let pins federateAlexander Strizhakov
- save object ids on pin, instead of activity ids - pins federation - removed pinned_activities field from the users table - activityPub endpoint for user pins - pulling remote users pins
2021-03-22Copy emoji in the subject from parent postrinpatch
Sometimes people put emoji in the subject, which results in the subject looking broken if someone replies to it from a server that does not have the said emoji under the same shortcode. This patch solves the problem by extending the emoji set available in the summary to that of the parent post.
2021-03-19respect content-type header in finger requestAlexander Strizhakov
2021-03-15Add support for actor icon being a list (Bridgy)Haelwenn (lanodan) Monnier
2021-02-21Video: Handle peertube videos only stashing attachments in x-mpegURLHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2535
2021-02-10not used mockAlexander Strizhakov
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-07ActivtityPub Test: Add example for guppe actorlain
2020-11-23Fix badly formatted JSON fixtures which causes Jason to erroneously detect ↵Mark Felder
control characters
2020-11-19fix for mastodon forwarded reportsAlexander Strizhakov
2020-11-12Fix object spoofing vulnerability in attachmentsrinpatch
Validate the content-type of the response when fetching an object, according to https://www.w3.org/TR/activitypub/#x3-2-retrieving-objects. content-type headers had to be added to many mocks in order to support this, some of this was done with a regex. While I did go over the resulting files to check I didn't modify anything unrelated, there is a possibility I missed something. Closes pleroma#1948
2020-11-10config descriptions for custom MRF policiesAlexander Strizhakov
2020-10-26Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 2236-no-namelain
2020-10-23User: Correctly handle whitespace names.lain
2020-10-19Transmogrifier: Downcase incoming Hashtagslain
Also, set sensitive to true if we have an nsfw hashtag present.
2020-10-13tests consistencyAlexander Strizhakov