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 alias alphabetically order 2020-10-13 16:43:59 +03:00
channels
common_api Merge branch 'develop' into chore/elixir-1.11 2020-10-13 09:54:53 -05:00
fallback RedirectController: Don't replace title, but inject into the meta 2020-11-11 17:10:59 +01:00
federator other files consistency 2020-10-13 16:38:19 +03:00
feed escaping summary and other fields in xml templates 2020-11-10 10:46:57 +03:00
mailer Add missing Copyright headers 2020-10-12 12:00:50 -05:00
mastodon_api Use absolute URLs to thumbnail and background in /api/v1/instance 2020-11-16 21:29:15 +00:00
media_proxy Merge branch 'develop' into chore/elixir-1.11 2020-10-13 09:54:53 -05:00
metadata Merge branch 'develop' into refactor/discoverable_user_field 2020-10-13 09:54:11 -05:00
mongoose_im alias alphabetically order 2020-10-13 16:43:59 +03:00
nodeinfo Nodeinfo: Add chat information back in. 2020-06-26 13:04:15 +02:00
o_auth alias alphabetically order 2020-10-13 16:43:59 +03:00
o_status Merge remote-tracking branch 'remotes/origin/develop' into ostatus-controller-no-auth-check-on-non-federating-instances 2020-10-17 13:12:39 +03:00
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 fix after rebase 2020-10-13 16:44:00 +03:00
push more files renamings 2020-10-13 16:38:19 +03:00
rich_media more files renamings 2020-10-13 16:38:19 +03:00
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 alias alphabetically order 2020-10-13 16:43:59 +03:00
views Add missing Copyright headers 2020-10-12 12:00:50 -05:00
web_finger FederatingPlug module name 2020-10-13 16:43:55 +03:00
api_spec.ex OpenAPI: make it possible to generate a spec without starting the app 2020-09-19 16:26:15 +03:00
chat_channel.ex [#2791] AccountView: renamed :force option to :skip_visibility_check. 2020-07-23 15:08:30 +03:00
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 added paginate links to headers for /chats/:id/messages 2020-09-10 12:39:29 +03:00
embed_controller.ex
endpoint.ex Merge branch '1668-prometheus-access-restrictions' into 'develop' 2020-10-27 17:47:56 +00:00
federator.ex other files consistency 2020-10-13 16:38:19 +03:00
gettext.ex
instance_document.ex Return the file content for GET /api/pleroma/admin/instance_document/:document_name 2020-09-17 16:55:53 +03:00
masto_fe_controller.ex alias alphabetically order 2020-10-13 16:43:59 +03:00
media_proxy.ex other files consistency 2020-10-13 16:38:19 +03:00
metadata.ex Metadata: Move restriction check from Feed provider to activated_providers 2020-09-08 20:21:34 +03:00
o_auth.ex oauth consistency 2020-10-13 16:38:18 +03:00
plug.ex more files renamings 2020-10-13 16:38:19 +03:00
preload.ex add status_net/config 2020-06-03 16:34:03 -04:00
push.ex more files renamings 2020-10-13 16:38:19 +03:00
rel_me.ex passing adapter options directly without adapter key 2020-09-07 19:59:17 +03:00
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 Merge remote-tracking branch 'upstream/develop' into restrict-domain 2020-10-13 19:26:04 -05:00
translation_helpers.ex
uploader_controller.ex
web_finger.ex more files renamings 2020-10-13 16:38:19 +03:00
xml.ex more files renamings 2020-10-13 16:38:19 +03:00