summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-12-26Fix Transmogrifier testsMark Felder
These tests relied on the removed Fetcher.fetch_object_from_id!/2 function injecting the error tuple into a log message with the exact words "Object containment failed." We will keep this behavior by generating a similar log message, but perhaps this should do a better job of matching on the error tuple returned by Transmogrifier.handle_incoming/1
2023-12-26Remove Fetcher.fetch_object_from_id!/2Mark Felder
It was only being called once and can be replaced with a case statement.
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-21Use consistent terminologymarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-21Use consistent terminologymarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
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-17ActivityPub.Publisher: Filter inboxesLain Soykaf
2023-12-16User: Ignore non-local users when setting 'last active at'Lain Soykaf
2023-12-16B ActivityPub.Publisher: Prioritize direct mentionsLain Soykaf
2023-12-15ap userview: add outbox field.Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
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-12Add media proxy to opengraph rich media cardsAlexander Tumin
2023-12-12EmailTest: use config mockLain Soykaf
2023-12-12RichMediaTest: Use mocked configLain Soykaf
2023-12-12ScheduledActivity: Use config mockingLain Soykaf
2023-12-12Exiftool.ReadDescription: Remove wrong spec.Lain Soykaf
2023-12-12Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Lain Soykaf
no-async-clear-config
2023-12-11Merge branch 'authorize-interaction' into 'develop'lain
Support /authorize-interaction route used by Mastodon See merge request pleroma/pleroma!3957
2023-12-11Merge branch 'optimistic-inbox' into 'develop'lain
Optimistic Inbox See merge request pleroma/pleroma!3989
2023-12-11S3 Test: Remove global state dependenciesLain Soykaf
2023-12-10User.get_or_fetch_public_key_for_ap_id/1 is no longer required.Mark Felder
2023-12-10ActivityPub.make_user_from_ap_id/1 fetches the whole actor object including ↵Mark Felder
updating the public key for us
2023-12-10Cancel the job if the signature is still invalid after a refetch of the ↵Mark Felder
public key
2023-12-10Backup: Fix configLain Soykaf
2023-12-10Backup Tests: Split out async tests, use mox.Lain Soykaf
2023-12-09Process inbound Delete activities at lowest priorityMark Felder
2023-12-09Revert "Remove unnecessary forced refresh of user"Mark Felder
This reverts commit 97cf78f63d312d0475ac8908d0b093cb5eff18d5.
2023-12-09Do not retry fetching deleted objectsMark Felder
2023-12-08Fix the req_headers formattingMark Felder
2023-12-08Our version of Oban only supports priorities 0-3Mark Felder
2023-12-08Remove unnecessary forced refresh of userMark Felder
2023-12-08get_cached_by_ap_id/1 returns a single result, not a tupleMark Felder
2023-12-08Optimistic InboxMark Felder
Rework inbound federation to accept requests optimistically. The HTTP Signatures Plug will not attempt to fetch the actor or key and will fail early. If the signature cannot be validated we pass the required data into the Oban job with a reduced priority and increase the timeout to 20 seconds. The Oban job will handle the actor and key fetching before attempting to validate the activity again. This job will be retried 5 times by default. Another welcome side effect is that actors who change their keys can federate to Pleroma instances immediately instead of needing to wait the default value of 86400s / 24 hours before the key will be fetched again.
2023-12-07fix: AnalyzeMetadata filter no longer depends on ImageMagick's commandskPherox
2023-12-07AccountView: Add test, refactorLain Soykaf
2023-12-07Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into last_status_atLain Soykaf
2023-12-07Merge branch 'more-test-fixes' into 'develop'lain
More test fixes See merge request pleroma/pleroma!3984
2023-12-06Change set_reachable/1 to an upsertMark Felder
2023-11-30LintingLain Soykaf
2023-11-30MRF, Docs.Generator: Ensure code is loaded before checking itLain Soykaf
2023-11-29Merge branch 'neetzsche/add_url_to_scrobbles' into 'develop'HJ
Add optional URL value for scrobbles See merge request pleroma/pleroma!3977
2023-11-29Change url to externalLink as requested by hj here: ↵NEETzsche
https://shigusegubu.club/notice/AcIjZjackKAt6e522a
2023-11-29Merge branch 'vips' into 'develop'lain
Replace ImageMagick with Vips See merge request pleroma/pleroma!3771
2023-11-28LintingLain Soykaf
2023-11-28AnayzeMetadata: Fix error case that would never matchLain Soykaf