pleroma/test
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
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
fixtures AnalyzeMetadata: Switch to rinpatch_blurhash 2023-11-28 12:23:41 +04:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Fix most tests that call SearchIndexWorker. 2023-11-12 15:54:16 +04:00
pleroma Optimistic Inbox 2023-12-08 17:45:20 -05:00
support B Getting: Add default implementation, delegate, prepare test support. 2023-11-12 14:49:15 +04:00
test_helper.exs B TestHelper, CI: Work with older elixir version. 2023-02-09 12:36:02 -05:00