pleroma/lib/pleroma/web/activity_pub
rinpatch 2c55f7d7cb Remove FedSockets
Current FedSocket implementation has a bunch of problems. It doesn't
have proper error handling (in case of an error the server just doesn't
respond until the connection is closed, while the client doesn't match
any error messages and just assumes there has been an error after 15s)
and the code is full of bad descisions (see: fetch registry which uses
uuids for no reason and waits for a response by recursively querying a
 ets table until the value changes, or double JSON encoding).

Sometime ago I almost completed rewriting fedsockets from scrach to
adress these issues. However, while doing so, I realized that fedsockets
 are just too overkill for what they were trying to accomplish, which is
 reduce the overhead of federation by not signing every message.
This could be done without reimplementing failure states and endpoint
 logic we already have with HTTP by, for example, using TLS cert auth,
or switching to a more performant signature algorithm. I opened
https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further
discussion on alternatives to fedsockets.

From discussions I had with other Pleroma developers it seems like they
 would approve the descision to remove them as well,
therefore I am submitting this patch.
2020-11-17 17:28:30 +03:00
..
mrf making credo happy and test fix 2020-11-11 10:48:03 +03:00
object_validators Ingest blurhash for attachments if they were federated 2020-11-11 12:27:51 -06:00
views Merge branch 'develop' into refactor/discoverable_user_field 2020-10-15 16:39:01 -05:00
activity_pub.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
activity_pub_controller.ex Merge branch 'docs/ap_c2s' into 'develop' 2020-10-26 02:09:20 +00:00
builder.ex Add missing Copyright headers 2020-10-12 12:00:50 -05:00
internal_fetch_actor.ex Update Copyrights 2020-03-03 16:44:49 -06:00
mrf.ex little changes for MRF config descriptions 2020-11-11 18:49:15 +03:00
object_validator.ex Pipeline Ingestion: Article 2020-09-11 01:40:20 +02:00
pipeline.ex Create MRF.filter_pipeline to inject :object_data when present 2020-09-17 22:07:54 +03:00
publisher.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
relay.ex added `force` option to the unfollow operation 2020-09-28 09:16:42 +03:00
side_effects.ex Merge branch 'bugfix/poll_replies_count' into 'develop' 2020-11-02 12:08:20 +00:00
transmogrifier.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
utils.ex [#2791] AccountView: renamed `:force` option to `:skip_visibility_check`. 2020-07-23 15:08:30 +03:00
visibility.ex [#3053] Unauthenticated access control for OStatus-related controllers and ActivityPubController (base actions: :user, :object, :activity). Tests adjustments. 2020-10-05 23:48:00 +03:00