summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-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
2024-08-07Merge branch 'stream-follow-relationships-count' into developMark Felder
2024-08-07Tests to confirm wanted behaviorMark Felder
2024-08-07Merge branch 'remove/workerhelper' into 'develop'feld
Remove WorkerHelper See merge request pleroma/pleroma!4166
2024-08-06Remove unused mocksMark Felder
2024-08-06Test that cc on a published Follow is an empty listMark Felder
2024-08-06Test Factory: ensure remote users have a valid inboxMark Felder
Without a valid inbox we can't generate the publish_one Oban jobs
2024-08-06Remove test, logic was flawedMark Felder
Before splitting the publish_one/1 function into two parts for testing purposes we had logic that checked the keys of params for :unreachable_since and if it was absent it did not set the instance as reachable. There is also a test to validate that when unreachable_since is nil, we set it as reachable. However the default value of :unreachable_since when an instance is reachable is nil. The test appears to be testing a scenario that does not exist in the real world, and with this refactor we will always have an :unreachable_since key. We were attempting to update the reachability upon every successful federation because we always include it when we generate the publish_one jobs.
2024-08-06Split Federator.publish_one/1 into a second function called prepare_one/1Mark Felder
2024-08-06Use the normal Oban test assertionsMark Felder
2024-08-03Support `id` param in `GET /api/v1/statuses`marcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-30Remove WorkerHelperMark Felder
2024-07-30Merge branch 'oban/simpler-publish' into 'develop'feld
Publisher job simplification See merge request pleroma/pleroma!4194
2024-07-29Insert replacement jobs in the new format if any remain undeliveredMark Felder
The old jobs remain and will fail gracefully
2024-07-29Merge branch 'oban/backup' into 'develop'feld
Backups Refactoring See merge request pleroma/pleroma!4158
2024-07-29Fix cancelling jobsMark Felder
2024-07-29Remove actor and actor_id from the job as it can be inferred by the activityMark Felder
2024-07-28Publisher job simplificationMark Felder
Publisher jobs now store the the activity id instead of inserting duplicate JSON data in the Oban queue for each delivery.
2024-07-25Merge remote-tracking branch 'origin/develop' into oban/backupMark Felder
2024-07-25Add test to fetch and validate an activity that originally failed signatureMark Felder
2024-07-24Fix RichMedia negative cache entriesMark Felder
The negative cache entry was a nil value, but that is an expected response when the cache is missing an entry so it didn't work as intended.
2024-07-23Refactor tests for BackupsMark Felder