spc-pleroma/lib/pleroma/web
Mark Felder 074b31d9ab Optimistic Inbox
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-08 17:45:20 -05:00
..
activity_pub Optimistic Inbox 2023-12-08 17:45:20 -05:00
admin_api Also list frontends that are not in the config file 2023-03-30 11:16:40 +03:00
api_spec Change url to externalLink as requested by hj here: https://shigusegubu.club/notice/AcIjZjackKAt6e522a 2023-11-29 07:55:44 -07:00
auth Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
channels Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
common_api Change url to externalLink as requested by hj here: https://shigusegubu.club/notice/AcIjZjackKAt6e522a 2023-11-29 07:55:44 -07:00
fallback RedirectController: Unify server-generated-meta insertion code 2023-11-14 11:06:36 +01:00
federator Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
feed Merge branch 'fix/tag-feed-crashes' into 'develop' 2023-03-30 12:46:35 +02:00
mailer Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
mastodon_api AccountView: Add test, refactor 2023-12-07 11:25:18 +04:00
media_proxy Revert MediaProxy Host header validation 2023-06-07 09:19:22 -04:00
metadata twitter card: handle case where image has no alt text 2023-05-29 02:52:49 +05:00
mongoose_im Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
nodeinfo Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
o_auth Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
o_status Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
pleroma_api Change url to externalLink as requested by hj here: https://shigusegubu.club/notice/AcIjZjackKAt6e522a 2023-11-29 07:55:44 -07:00
plugs Make lint happy 2023-08-30 20:36:52 -04:00
preload/providers Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
push Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
rich_media Filter OEmbed HTML tags 2023-05-26 19:56:36 +02:00
static_fe add url to Metadata.build_tags call 2023-05-29 02:52:41 +05:00
templates Fix deprecated calls to get_flash/2 2023-05-31 13:36:21 -04:00
twitter_api TwitterAPI: Return proper error when healthcheck is disabled 2023-09-24 23:32:17 +02:00
utils Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
views Use pleroma: instead of pleroma. for ws events 2023-10-15 17:20:25 -04:00
web_finger Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
api_spec.ex Start writing api docs for streaming endpoint 2023-10-15 17:20:25 -04:00
common_api.ex CommonAPI: Prevent users from accessing media of other users 2023-09-03 10:41:37 +02:00
controller_helper.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
embed_controller.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
endpoint.ex Switch to PromEx for prometheus metrics 2023-11-13 15:34:59 -05:00
federator.ex Optimistic Inbox 2023-12-08 17:45:20 -05:00
gettext.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
instance_document.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
manifest_controller.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
media_proxy.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
metadata.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
multipart.ex endpoint: Use custom Multipart module for dynamic configuration 2023-06-27 10:41:25 +02:00
o_auth.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
plug.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
preload.ex B Preload: Make sure that the preloaded json is html safe 2023-06-02 17:03:21 +04:00
push.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
rel_me.ex Remove unwanted code specific to MIX_ENV=test 2023-02-20 12:24:38 -05:00
router.ex router: Make /federation_status publicly available 2023-11-14 10:48:30 +01:00
shout_channel.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
streamer.ex Clear up debug statement 2023-10-15 17:20:25 -04:00
translation_helpers.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
uploader_controller.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
web_finger.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
xml.ex Completely disable xml entity resolution 2023-08-05 14:17:04 +02:00