akkoma/lib/pleroma/web
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
..
activity_pub Remove FedSockets 2020-11-17 17:28:30 +03:00
admin_api Permit fetching individual reports with notes preloaded 2020-11-02 13:06:59 -06:00
api_spec Make notifs view work for reports 2020-11-13 13:35:46 +00:00
auth
channels
common_api
fallback RedirectController: Don't replace title, but inject into the meta 2020-11-11 17:10:59 +01:00
federator
feed escaping summary and other fields in xml templates 2020-11-10 10:46:57 +03:00
mailer
mastodon_api Use absolute URLs to thumbnail and background in /api/v1/instance 2020-11-16 21:29:15 +00:00
media_proxy
metadata
mongoose_im
nodeinfo
o_auth
o_status
pleroma_api Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/federation-status 2020-11-04 15:38:10 +01:00
plugs FrontStatic plug: excluded invalid url 2020-10-27 22:59:27 +03:00
preload/providers
push
rich_media
static_fe @doc fix. 2020-10-28 19:09:38 +03:00
templates escaping summary and other fields in xml templates 2020-11-10 10:46:57 +03:00
twitter_api
views
web_finger
api_spec.ex
chat_channel.ex
common_api.ex Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes 2020-11-04 16:51:42 +01:00
controller_helper.ex
embed_controller.ex
endpoint.ex
federator.ex
gettext.ex
instance_document.ex
masto_fe_controller.ex
media_proxy.ex
metadata.ex
o_auth.ex
plug.ex
preload.ex
push.ex
rel_me.ex
router.ex Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/federation-status 2020-11-04 15:38:10 +01:00
streamer.ex
translation_helpers.ex
uploader_controller.ex
web_finger.ex
xml.ex