akkoma/test/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 Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
admin_api Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into alexgleason/pleroma-restrict-domain 2020-11-04 15:05:01 +01:00
api_spec tests consistency 2020-10-13 16:35:09 +03:00
auth tests consistency 2020-10-13 16:35:09 +03:00
common_api tests consistency 2020-10-13 16:35:09 +03:00
endpoint phoenix_controller_render_duration is no longer available in telemetry of Phoenix 1.5+ 2020-10-27 14:37:48 -05:00
feed escaping summary and other fields in xml templates 2020-11-10 10:46:57 +03:00
mastodon_api Use absolute URLs to thumbnail and background in /api/v1/instance 2020-11-16 21:29:15 +00:00
media_proxy tests consistency 2020-10-13 16:35:09 +03:00
metadata Merge branch 'develop' into refactor/discoverable_user_field 2020-10-13 09:54:11 -05:00
o_auth Fix warnings 2020-10-15 16:54:59 +04: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 Remove unused aliases 2020-10-30 18:42:43 +04:00
preload/providers update files consistency after rebase 2020-10-13 16:44:00 +03:00
push JPEG content_type must be image/jpeg 2020-10-13 10:37:24 -05:00
rich_media changes after rebase 2020-10-13 17:10:34 +03:00
static_fe 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
twitter_api Remove unused aliases 2020-10-30 18:42:43 +04:00
views tests consistency 2020-10-13 16:35:09 +03:00
web_finger tests consistency 2020-10-13 16:35:09 +03:00
chat_channel_test.exs tests consistency 2020-10-13 16:35:09 +03:00
common_api_test.exs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes 2020-11-04 16:51:42 +01:00
fallback_test.exs RedirectController: Don't replace title, but inject into the meta 2020-11-11 17:10:59 +01:00
federator_test.exs tests consistency 2020-10-13 16:35:09 +03:00
media_proxy_test.exs tests consistency 2020-10-13 16:35:09 +03:00
metadata_test.exs Merge branch 'develop' into refactor/discoverable_user_field 2020-10-13 09:54:11 -05:00
mongoose_im_controller_test.exs tests consistency 2020-10-13 16:35:09 +03:00
node_info_test.exs tests consistency 2020-10-13 16:35:09 +03:00
rel_me_test.exs tests consistency 2020-10-13 16:35:09 +03:00
streamer_test.exs Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into alexgleason/pleroma-restrict-domain 2020-11-04 15:05:01 +01:00
uploader_controller_test.exs tests consistency 2020-10-13 16:35:09 +03:00
web_finger_test.exs tests consistency 2020-10-13 16:35:09 +03:00