summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-01-15Fix StatusController test by using the get_query_parameter/2 helper to ↵Mark Felder
reliably retrieve the max_id value
2024-01-15Add Pleroma.Test.Helpers.get_query_parameter/2 to retrieve specific query ↵Mark Felder
parameter values
2024-01-15Fix ChatController tests validating prev/next URLs by sorting the query ↵Mark Felder
parameters before comparison
2024-01-15Add Pleroma.Support.Helpers.uri_query_sort/1 for easy sorting of a URL's ↵Mark Felder
query parameters
2023-12-30LintingLain Soykaf
2023-12-29Revert grammar leak from bad mergeMark Felder
2023-12-29ConfigDB export to file does not have a consistent order.Mark Felder
Just test a few values to prove it was written
2023-12-29Fix regex string match due to OTP26 key order changeMark Felder
OTP25: "<http://localhost:4001/api/v1/favourites?limit=1&max_id=Ad1FhzPIS7gcHjUcoC&offset=0>; rel=\"next\"" OTP26: "<http://localhost:4001/api/v1/favourites?offset=0&limit=1&max_id=Ad1FmOIAXiSNgygflA>; rel=\"next\""
2023-12-29Fix Chat controller tests failing due to OTP26 key order changeMark Felder
2023-12-29Remove call to Pleroma.Web.Endpoint.config_change/2Mark Felder
This is not necessary for the tests to pass and breaks other tests as this change doesn't get cleanly reverted causing the hostname to stay set this way and leak into other test causing failures with "sub.example.com" not matching "localhost"
2023-12-29Fix test "transforms config to tuples"Mark Felder
This should have never worked. The default empty values for the other MRF Simple options will always be there.
2023-12-29Update Floki to get the :attributes_as_maps feature to allow us to compare ↵Mark Felder
equality of parsed documents without issues of key ordering
2023-12-29Implement a custom uri_equal?/2 to fix comparisons of URLs with unordered ↵Mark Felder
query parameters
2023-12-29Fix tests by leveraging Keyword.equal?/2Mark Felder
2023-12-29Merge branch 'bugfix/chat-attachment-empty-array' into 'develop'lain
ChatMessage: Tolerate attachment field set to an empty array Closes #3224 See merge request pleroma/pleroma!4020
2023-12-29ChatMessage: Tolerate attachment field set to an empty arrayHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/3224
2023-12-28Remove reference to the :federation_publisher_modules setting in our config testMark Felder
2023-12-28Retire the Pleroma.Web.Federator.Publisher moduleMark Felder
2023-12-28Merge branch 'tusooa/3205-group-actor' into 'develop'Haelwenn
Implement group actors See merge request pleroma/pleroma!3969
2023-12-28Fix some more typosmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-27Do not boost if group is blocking postertusooa
2023-12-27Test group actor behaviour in SideEffectstusooa
2023-12-27Allow group actors to boost poststusooa
2023-12-27Allow local user to have group actor typetusooa
https://git.pleroma.social/pleroma/pleroma/-/issues/3205
2023-12-22Merge remote-tracking branch 'origin/develop' into webfinger-fixmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-22Merge branch 'bad_inbox_request' into 'develop'lain
Return a 400 from a bad delivery attempt to the inbox Closes #2884 See merge request pleroma/pleroma!4009
2023-12-21Merge branch 'instance-v2' into 'develop'Haelwenn
Implement api/v2/instance route See merge request pleroma/pleroma!3939
2023-12-20Fix invalid string comparison for OTP versions and replace with configMark Felder
Old way was wrong for multiple reasons. If we do this as a config value it fixes :slave.start/3 being picked up as a compile warning on OTP26. Also if we want to do any real clustering we'll need something like this to support OTP25 and older.
2023-12-20Fix more Logger warn -> warningMark Felder
2023-12-20Backwards compatibility for OTPMark Felder
2023-12-20OTP26: Chase the :slave.start/3 deprecationMark Felder
2023-12-20Elixir 1.15: Chase the Logger.warn deprecationMark Felder
2023-12-19Return a 400 from a bad delivery attempt to the inboxMark Felder
This stops the backend from generating 500 errors from these events.
2023-12-19Fix Web Push notification deliveryMark Felder
Finch does not automatically append header content-type: octet-stream for binary payloads.
2023-12-16B ActivityPub.Publisher: Prioritize direct mentionsLain Soykaf
2023-12-15UserViewTest: Add basice service actor test.Lain Soykaf
2023-12-13StatusViewTest: Fix tests.Lain Soykaf
2023-12-13Merge branch 'add-opengraph-rich-media-proxy' into 'develop'lain
Add media proxy to opengraph rich media cards See merge request pleroma/pleroma!3997
2023-12-12Revert "EmailTest: use config mock"Lain Soykaf
This reverts commit dca41cc4a37999a6971b70ef5e0996e528b79bf5.
2023-12-12Revert "Tests: fix more tests"Lain Soykaf
This reverts commit 05352330bb536a13dee6df20c2d0b3fa75dbd50e.
2023-12-12Add media proxy to opengraph rich media cardsAlexander Tumin
2023-12-12LintingLain Soykaf
2023-12-12Tests: fix more testsLain Soykaf
2023-12-12EmailTest: use config mockLain Soykaf
2023-12-12Tests: Remove `skip_on_mac` tagLain Soykaf
2023-12-12Tests: More test fixesLain Soykaf
2023-12-12RichMediaTest: Use mocked configLain Soykaf
2023-12-12ScheduledActivityControllerTest: Fix tests, make async.Lain Soykaf
2023-12-12MastodonAPITest: Fix testsLain Soykaf
2023-12-12ScheduledActivity: Use config mockingLain Soykaf