summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-08-30NodeInfo: Accept application/activity+json requestsMark Felder
2024-08-30InboxGuardPlug: Add early rejection of unknown activity typesMark Felder
2024-08-30Add recognized activity types to a constant and use it in the testMark Felder
2024-08-29Test more types we do not want to receive from strangersMark Felder
2024-08-29Fix test title to be more specific as it has a broader but incorrect meaningMark Felder
2024-08-29Convert to an Plug called InboxGuardMark Felder
2024-08-29Switch test to the inboxMark Felder
2024-08-29Drop incoming Delete activities from unknown actorsMark Felder
2024-08-28Move user active check into Federator.perform/1Mark Felder
2024-08-28ReceiverWorker job canceled due to deleted objectMark Felder
2024-08-28Cancel ReceiverWorker jobs if the user account has been disabled / deactivatedMark Felder
2024-08-28Add test for origin containment failuresMark Felder
2024-08-28Simplify test, move data into a json fixtureMark Felder
By removing the inReplyTo, tags, and cc we can simplify the test and it still passes signature validation
2024-08-28Cancel if the User fetch resulted in a 410Mark Felder
2024-08-28Add test confirming cancellation for activity by a deleted userMark Felder
2024-08-28ReceiverWorker: cancel job if user fetch is forbiddenMark Felder
An instance block with authenticated fetch being required can cause this as we couldn't get the user to find their public key to verify the signature. Commonly observed if someone boosts/Announces a post from an instance that blocked you.
2024-08-22Change imports to generate an Oban job per each taskMark Felder
2024-08-22Fix Oban jobs for importsMark Felder
2024-08-19Merge branch 'reachability' into 'develop'feld
Fix reachability based on results of publishing attempts See merge request pleroma/pleroma!4231
2024-08-19Fix test cases for validating instance reachability based on results of ↵Mark Felder
publishing attempts Now that we store the unreachable_since in the Oban job the value is no longer a %NaiveDateTime{} so the code was wrong
2024-08-17Improve Remote Object Fetcher error handling, ObanMark Felder
2024-08-17Update testsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-17Validate media description lengthmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-17Add test for avatar descriptionmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-16Merge branch 'bugfix-truncate-remote-user-fields' into 'develop'feld
User: truncate remote user fields instead of rejecting See merge request pleroma/pleroma!4220
2024-08-14Fix 'Setting a marker should mark notifications as read'marcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-14User: truncate remote user fields instead of rejectingHaelwenn (lanodan) Monnier
2024-08-13Revert "Custom mix task to retry failed tests once in CI pipeline"Mark Felder
This reverts commit ed2976b237b53a524247d564691e0a12d3231d68.
2024-08-13Fix the uploads migration mix task test which leaked a change to the ↵Mark Felder
configured Uploader
2024-08-12MRF.FODirectReply: use Visibility module to verify the scopeMark Felder
2024-08-12MRF.QuietReply: add test for replies to unlisted postsMark Felder
2024-08-12Merge branch 'followers-only-reply-direct-mrf' into 'develop'feld
MRF.FODirectReply See merge request pleroma/pleroma!4091
2024-08-12User Factory: include the nickname in the generated URLsMark Felder
2024-08-12MRF.FODirectReplyMark Felder
Force replies to followers-only posts to always be direct
2024-08-12Merge branch 'mrf-quietreply' into 'develop'feld
MRF.QuietReply See merge request pleroma/pleroma!4213
2024-08-12Revert accidental removal of test unrelated to identity proofsMark Felder
2024-08-12Update test as /api/v1/endorsements is not a stubmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-12Remove stub for /api/v1/accounts/:id/identity_proofs (deprecated by Mastodon ↵marcin mikołajczak
3.5.0) Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-08We must change to/cc in the activity and inner objectMark Felder
2024-08-08Unintended commitMark Felder
2024-08-08Added MRF.QuietReply which prevents replies to public posts from being ↵Mark Felder
published to the timelines
2024-08-08Merge branch 'inactive-test' into 'develop'feld
Do not allow committing tests with a .ex extension See merge request pleroma/pleroma!4211
2024-08-07Improve variable nameMark Felder
2024-08-07Add test for Follow objects with a ccMark Felder
2024-08-07Merge remote-tracking branch 'origin/develop' into inactive-testMark Felder
2024-08-07Merge branch 'workerhelper-fix' into 'develop'feld
Fix WebPush notifications not generating jobs See merge request pleroma/pleroma!4210
2024-08-07Do not allow committing tests with a .ex extensionMark Felder
2024-08-07Fix WebPush notifications not generating jobsMark Felder
Dialyzer pointed this one out. The WorkerHelper removal in !4166 was missing this Oban.insert() and tests were not noticing any problems because we mocked the Push.send function instead of executing it and checking for the Oban job.
2024-08-07Fix CommonAPI.follow/2 which returned users in the reverse order they were ↵Mark Felder
provided to the function
2024-08-07Merge branch 'stream-follow-relationships-count' into 'develop'feld
StreamerView: Do not leak follows count if hidden See merge request pleroma/pleroma!4205