akkoma/lib/pleroma/web/plugs
Hélène 439c1baf25
OAuthPlug: use user cache instead of joining
As this plug is called on every request, this should reduce load on the
database by not requiring to select on the users table every single
time, and to instead use the by-ID user cache whenever possible.
2022-08-24 03:40:05 +02:00
..
rate_limiter Copyright bump for 2022 2022-02-25 23:11:42 -07:00
admin_secret_authentication_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
authentication_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
basic_auth_decoder_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
cache.ex Skip cache when /objects or /activities is authenticated 2022-05-06 10:23:26 +02:00
digest_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ensure_authenticated_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ensure_public_or_authenticated_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ensure_staff_privileged_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ensure_user_token_assigns_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
expect_authenticated_check_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
expect_public_or_authenticated_check_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federating_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend_static.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http_security_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http_signature_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
idempotency_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instance_static.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mapped_signature_to_identity_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth_plug.ex OAuthPlug: use user cache instead of joining 2022-08-24 03:40:05 +02:00
o_auth_scopes_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
plug_helper.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rate_limiter.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
remote_ip.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
set_format_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
set_locale_plug.ex Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
set_user_session_id_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
static_fe_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
trailing_format_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploaded_media.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_enabled_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_fetcher_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_is_admin_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_is_staff_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_tracking_plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00