Pleroma/lib/pleroma
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
bbs alias alphabetically order 2020-10-13 16:43:59 +03:00
captcha Use Pleroma.HTTP instead of Tesla 2020-11-01 12:05:39 +03:00
chat
config migration and warning for RemoteIp plug rename 2020-10-13 16:44:04 +03:00
conversation Merge branch 'issue/2069' into 'develop' 2020-10-29 23:39:15 +00:00
docs config descriptions for custom MRF policies 2020-11-10 19:20:14 +03:00
ecto_type
emails AdminEmail: Use AP id as user url. 2020-11-04 17:12:47 +01:00
emoji Use Pleroma.HTTP instead of Tesla 2020-11-01 12:05:39 +03:00
gopher
gun other files consistency 2020-10-13 16:38:19 +03:00
helpers [#1668] Restricted access to app metrics endpoint by default. Added ability to configure IP whitelist for this endpoint. 2020-10-18 21:22:21 +03:00
http changes after rebase 2020-10-13 16:44:03 +03:00
instances federation_status: New endpoint showing unreachable instances 2020-10-16 01:14:04 +02:00
mfa
migration_helper
object Remove FedSockets 2020-11-17 17:28:30 +03:00
reverse_proxy other files consistency 2020-10-13 16:38:19 +03:00
telemetry Add missing Copyright headers 2020-10-12 12:00:50 -05:00
tesla/middleware changes after rebase 2020-10-13 16:44:03 +03:00
tests alias alphabetically order 2020-10-13 16:43:59 +03:00
upload
uploaders UploadedMedia module name 2020-10-13 16:42:51 +03:00
user Merge remote-tracking branch 'origin/develop' into feature/account-export 2020-10-30 19:34:02 +04:00
web Remove FedSockets 2020-11-17 17:28:30 +03:00
workers Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes 2020-11-04 16:51:42 +01:00
activity.ex Permit fetching individual reports with notes preloaded 2020-11-02 13:06:59 -06:00
application_requirements.ex
application.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
bookmark.ex
captcha.ex other files consistency 2020-10-13 16:38:19 +03:00
chat.ex
clippy.ex
config_db.ex other files consistency 2020-10-13 16:38:19 +03:00
config.ex
constants.ex
conversation.ex
counter_cache.ex
delivery.ex
earmark_renderer.ex
ecto_enums.ex
emoji-data.txt
emoji.ex
filter.ex
following_relationship.ex
formatter.ex
gun.ex other files consistency 2020-10-13 16:38:19 +03:00
healthcheck.ex
html.ex
http.ex other files consistency 2020-10-13 16:38:19 +03:00
instances.ex federation_status: New endpoint showing unreachable instances 2020-10-16 01:14:04 +02:00
job_queue_monitor.ex
jwt.ex Add missing Copyright headers 2020-10-12 12:00:50 -05:00
keys.ex
list.ex
maintenance.ex
maps.ex
marker.ex
mfa.ex
moderation_log.ex Merge branch 'develop' into feature/account-export 2020-10-14 15:27:15 -05:00
notification.ex Make notifs view work for reports 2020-11-13 13:35:46 +00:00
object_tombstone.ex
object.ex
otp_version.ex
pagination.ex
password_reset_token.ex
registration.ex
release_tasks.ex
repo.ex
report_note.ex
reverse_proxy.ex other files consistency 2020-10-13 16:38:19 +03:00
scheduled_activity.ex
signature.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
stats.ex
thread_mute.ex
upload.ex
user_invite_token.ex
user_relationship.ex
user.ex Remove FedSockets 2020-11-17 17:28:30 +03:00
utils.ex
web.ex Merge branch 'develop' into chore/elixir-1.11 2020-10-13 09:54:53 -05:00
xml_builder.ex more files renamings 2020-10-13 16:38:19 +03:00