pleroma/lib/pleroma
rinpatch d34fe2840d HTTP: radically simplify pool checkin/checkout
Use a custom tesla middleware instead of adapter helper function +
custom redirect middleware.

This will also fix "Client died before releasing the connection"
messages when the request pool is overloaded. Since the checkout is
now done after passing ConcurrentLimiter.

This is technically less efficient, since the connection needs to be
checked in/out every time the middleware is left or entered respectively.
But I don't think the nanoseconds we might lose on redirects
to the same host are worth the complexity.
2020-09-03 23:44:13 +03:00
..
activity Activity.Queries: Use correct actor restriction. 2020-06-08 01:20:13 +03:00
bbs Use atoms as keys in `ActivityPub.fetch_*` functions options 2020-06-04 21:36:26 +04:00
captcha Expose seconds_valid in Pleroma Captcha API endpoint 2020-07-29 16:07:22 -05:00
chat ChatController: Add `last_read_id` option to mark_as_read. 2020-06-07 15:38:33 +02:00
config Apply 1 suggestion(s) to 1 file(s) 2020-07-27 12:24:41 +00:00
conversation Conversations: Return last dm for conversation, not last message. 2020-06-15 12:27:13 +02:00
docs Config/Docs: Expand behaviour suggestions at runtime 2020-07-12 17:23:33 +02:00
ecto_type Add new Emoji Ecto.Type and fix emoji in Question 2020-09-01 08:34:57 +02:00
emails fixes for mix tasks 2020-08-19 11:06:03 +03:00
emoji Use the Pleroma.Config alias 2020-07-09 10:53:51 -05:00
gopher using atom keys in search params 2020-07-17 18:06:05 +03:00
gun improvements and fixes for http requests 2020-09-02 09:04:23 +03:00
helpers Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1}) 2020-06-05 14:48:02 +00:00
http HTTP: radically simplify pool checkin/checkout 2020-09-03 23:44:13 +03:00
instances correct pool and uniform headers format 2020-09-02 09:16:51 +03:00
mfa copyright update 2020-05-18 15:15:51 +03:00
migration_helper Notification Backfill: Explicitly select the needed fields. 2020-07-03 11:25:12 +02:00
object Merge branch 'bugfix/incoming-poll-emoji' into 'develop' 2020-09-03 11:50:30 +00:00
plugs Merge branch 'stable' of git.pleroma.social:pleroma/pleroma into pleroma-2.1-rc0 2020-08-25 15:38:12 +02:00
reverse_proxy ReverseProxy tesla client: remove handling of old_conn 2020-07-26 20:52:00 +03:00
telemetry Connection pool: Add client death tracking 2020-07-15 15:26:35 +03:00
tesla/middleware HTTP: radically simplify pool checkin/checkout 2020-09-03 23:44:13 +03:00
tests Merge branch 'authenticated-api-oauth-check-enforcement' into 'develop' 2020-05-01 00:58:40 +03:00
upload Mogrifun: Add a line about the purpose of the module. 2020-08-14 18:27:18 +02:00
uploaders timeout option moved to gun adapter helper 2020-09-02 10:50:51 +03:00
user search: fix 'following' query parameter 2020-09-02 02:08:43 +02:00
web Merge branch 'bugfix/incoming-poll-emoji' into 'develop' 2020-09-03 11:50:30 +00:00
workers fix cron wroker 2020-08-13 21:03:15 +03:00
activity.ex don't load pinned activities in due_expirations 2020-08-12 19:46:47 +03:00
activity_expiration.ex don't load pinned activities in due_expirations 2020-08-12 19:46:47 +03:00
application.ex user agent if Endpoint is not started yet 2020-09-02 15:45:47 +03:00
application_requirements.ex Merge branch 'develop' into issue/1934-welcome-email 2020-07-23 16:36:27 +03:00
bookmark.ex Update Copyrights 2020-03-03 16:44:49 -06:00
chat.ex Chats: Change id to flake id. 2020-06-07 14:25:30 +02:00
clippy.ex Update Copyrights 2020-03-03 16:44:49 -06:00
config.ex [#2046] Defaulted pleroma/restrict_unauthenticated basing on instance privacy setting (i.e. restrict on private instances only by default). 2020-08-14 20:55:45 +03:00
constants.ex static-fe.css: Restore and move to /priv/static/static-fe 2020-06-12 20:42:43 +03:00
conversation.ex User: Change signature of get_users_from_set 2020-05-25 15:06:35 +02:00
counter_cache.ex Set sum types in query 2020-05-10 09:13:24 +03:00
delivery.ex Update Copyrights 2020-03-03 16:44:49 -06:00
earmark_renderer.ex Formatting: Do not use \n and prefer <br> instead 2020-03-15 16:59:52 +03:00
ecto_enums.ex Merge branch 'following-relationships-optimizations' into 'develop' 2020-05-01 14:31:26 +03:00
emoji-data.txt Emoji: Add function to detect if a character is an emoji 2019-09-13 02:11:02 +02:00
emoji.ex Update Copyrights 2020-03-03 16:44:49 -06:00
filter.ex renaming back and reject nil on create 2020-07-06 09:30:42 +03:00
following_relationship.ex relay fix for admin-fe 2020-08-19 08:41:39 +03:00
formatter.ex Revert "Merge branch 'revert-2b5d9eb1' into 'develop'" 2020-07-21 22:18:17 +00:00
healthcheck.ex healthcheck: report real amount of memory allocated by beam 2020-05-10 02:11:33 +03:00
html.ex html.ex: optimize external url extraction 2020-09-02 12:45:20 +03:00
instances.ex Use instances table instead of Cachex 2020-07-08 06:28:39 +02:00
job_queue_monitor.ex fix job monitor 2020-08-11 22:06:33 +03:00
jwt.ex Digest emails 2019-04-20 19:42:19 +07:00
keys.ex Update Copyrights 2020-03-03 16:44:49 -06:00
list.ex Update Copyrights 2020-03-03 16:44:49 -06:00
maintenance.ex Abstract out the database maintenance. I'd like to use this from AdminFE too. 2020-05-27 16:40:51 -05:00
maps.ex Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1}) 2020-06-05 14:48:02 +00:00
marker.ex added an endpoint for getting unread notification count 2020-04-15 21:19:43 +03:00
mfa.ex copyright update 2020-05-18 15:15:51 +03:00
mime.ex Bump copyright years of files changed after 2020-01-07 2020-03-02 06:08:45 +01:00
moderation_log.ex AdminAPI: Add `PATCH /api/pleroma/admin/users/approve` endpoint 2020-07-14 18:02:44 -05:00
notification.ex Notification: Small refactor. 2020-08-31 11:02:54 +02:00
object.ex Fix linting. 2020-08-05 15:40:32 +02:00
object_tombstone.ex Update Copyrights 2020-03-03 16:44:49 -06:00
otp_version.ex otp version 2020-03-04 09:23:42 +03:00
pagination.ex [#1873] Fixes missing :offset pagination param support. Added pagination support for hashtags search. 2020-06-19 16:14:06 +03:00
password_reset_token.ex Update Copyrights 2020-03-03 16:44:49 -06:00
registration.ex Update Copyrights 2020-03-03 16:44:49 -06:00
release_tasks.ex Update Copyrights 2020-03-03 16:44:49 -06:00
repo.ex added verify RUM settings before start app 2020-06-22 17:27:49 +03:00
repo_streamer.ex Update Copyrights 2020-03-03 16:44:49 -06:00
report_note.ex Update Copyrights 2020-03-03 16:44:49 -06:00
scheduled_activity.ex Add OpenAPI spec for StatusController 2020-05-13 00:25:21 +04:00
signature.ex moving custom ecto types in context folders 2020-06-16 17:50:33 +03:00
stats.ex Update stats admin endpoint 2020-05-09 11:30:37 +03:00
thread_mute.ex Merge branch '1364-notifications-sending-control' into 'develop' 2020-03-31 13:39:58 +03:00
upload.ex Pleroma.Upload: Set default upload name / description based on config. 2020-08-18 13:21:30 +02:00
user.ex User table: ensure bio is always a string 2020-09-01 10:45:42 +03:00
user_invite_token.ex Update Copyrights 2020-03-03 16:44:49 -06:00
user_relationship.ex [#2456] Added support for `embed_relationships` param, nailed down endpoints which should support it. Fixed :source_mutes relationships subset fetching. 2020-05-12 19:14:35 +03:00
utils.ex Add Pleroma.Utils.command_available?/1 and use where appropriate 2020-07-11 15:48:45 +03:00