spc-pleroma/test
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
..
credo/check/consistency Move Consistency.FileLocation to ./test 2020-10-13 19:57:45 +02:00
fixtures Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix pleroma.instance: Fix Exiftool module name 2020-11-14 22:31:01 +01:00
pleroma Remove FedSockets 2020-11-17 17:28:30 +03:00
support Fix object spoofing vulnerability in attachments 2020-11-12 15:25:33 +03:00
test_helper.exs removing GunMock to use Mox 2020-03-06 20:23:58 +03:00