From 2501793f819813d792fdae493fb0f1e65c6cc7b3 Mon Sep 17 00:00:00 2001 From: Alexander Strizhakov Date: Wed, 24 Jun 2020 08:35:22 +0300 Subject: [PATCH] moving plugs into web dir --- lib/pleroma/{ => web}/plugs/admin_secret_authentication_plug.ex | 0 lib/pleroma/{ => web}/plugs/authentication_plug.ex | 0 lib/pleroma/{ => web}/plugs/basic_auth_decoder_plug.ex | 0 lib/pleroma/{ => web}/plugs/cache.ex | 0 lib/pleroma/{ => web}/plugs/digest.ex | 0 lib/pleroma/{ => web}/plugs/ensure_authenticated_plug.ex | 0 .../{ => web}/plugs/ensure_public_or_authenticated_plug.ex | 0 lib/pleroma/{ => web}/plugs/ensure_user_key_plug.ex | 0 lib/pleroma/{ => web}/plugs/expect_authenticated_check_plug.ex | 0 .../{ => web}/plugs/expect_public_or_authenticated_check_plug.ex | 0 lib/pleroma/{ => web}/plugs/federating_plug.ex | 0 lib/pleroma/{ => web}/plugs/http_security_plug.ex | 0 lib/pleroma/{ => web}/plugs/http_signature.ex | 0 lib/pleroma/{ => web}/plugs/idempotency_plug.ex | 0 lib/pleroma/{ => web}/plugs/instance_static.ex | 0 lib/pleroma/{ => web}/plugs/legacy_authentication_plug.ex | 0 lib/pleroma/{ => web}/plugs/mapped_signature_to_identity_plug.ex | 0 lib/pleroma/{ => web}/plugs/o_auth_plug.ex | 0 lib/pleroma/{ => web}/plugs/o_auth_scopes_plug.ex | 0 lib/pleroma/{ => web}/plugs/plug_helper.ex | 0 lib/pleroma/{plugs/rate_limiter => web/plugs}/rate_limiter.ex | 0 lib/pleroma/{ => web}/plugs/rate_limiter/limiter_supervisor.ex | 0 lib/pleroma/{ => web}/plugs/rate_limiter/supervisor.ex | 0 lib/pleroma/{ => web}/plugs/remote_ip.ex | 0 lib/pleroma/{ => web}/plugs/session_authentication_plug.ex | 0 lib/pleroma/{ => web}/plugs/set_format_plug.ex | 0 lib/pleroma/{ => web}/plugs/set_locale_plug.ex | 0 lib/pleroma/{ => web}/plugs/set_user_session_id_plug.ex | 0 lib/pleroma/{ => web}/plugs/static_fe_plug.ex | 0 lib/pleroma/{ => web}/plugs/trailing_format_plug.ex | 0 lib/pleroma/{ => web}/plugs/uploaded_media.ex | 0 lib/pleroma/{ => web}/plugs/user_enabled_plug.ex | 0 lib/pleroma/{ => web}/plugs/user_fetcher_plug.ex | 0 lib/pleroma/{ => web}/plugs/user_is_admin_plug.ex | 0 34 files changed, 0 insertions(+), 0 deletions(-) rename lib/pleroma/{ => web}/plugs/admin_secret_authentication_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/authentication_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/basic_auth_decoder_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/cache.ex (100%) rename lib/pleroma/{ => web}/plugs/digest.ex (100%) rename lib/pleroma/{ => web}/plugs/ensure_authenticated_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/ensure_public_or_authenticated_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/ensure_user_key_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/expect_authenticated_check_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/expect_public_or_authenticated_check_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/federating_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/http_security_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/http_signature.ex (100%) rename lib/pleroma/{ => web}/plugs/idempotency_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/instance_static.ex (100%) rename lib/pleroma/{ => web}/plugs/legacy_authentication_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/mapped_signature_to_identity_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/o_auth_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/o_auth_scopes_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/plug_helper.ex (100%) rename lib/pleroma/{plugs/rate_limiter => web/plugs}/rate_limiter.ex (100%) rename lib/pleroma/{ => web}/plugs/rate_limiter/limiter_supervisor.ex (100%) rename lib/pleroma/{ => web}/plugs/rate_limiter/supervisor.ex (100%) rename lib/pleroma/{ => web}/plugs/remote_ip.ex (100%) rename lib/pleroma/{ => web}/plugs/session_authentication_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/set_format_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/set_locale_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/set_user_session_id_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/static_fe_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/trailing_format_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/uploaded_media.ex (100%) rename lib/pleroma/{ => web}/plugs/user_enabled_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/user_fetcher_plug.ex (100%) rename lib/pleroma/{ => web}/plugs/user_is_admin_plug.ex (100%) diff --git a/lib/pleroma/plugs/admin_secret_authentication_plug.ex b/lib/pleroma/web/plugs/admin_secret_authentication_plug.ex similarity index 100% rename from lib/pleroma/plugs/admin_secret_authentication_plug.ex rename to lib/pleroma/web/plugs/admin_secret_authentication_plug.ex diff --git a/lib/pleroma/plugs/authentication_plug.ex b/lib/pleroma/web/plugs/authentication_plug.ex similarity index 100% rename from lib/pleroma/plugs/authentication_plug.ex rename to lib/pleroma/web/plugs/authentication_plug.ex diff --git a/lib/pleroma/plugs/basic_auth_decoder_plug.ex b/lib/pleroma/web/plugs/basic_auth_decoder_plug.ex similarity index 100% rename from lib/pleroma/plugs/basic_auth_decoder_plug.ex rename to lib/pleroma/web/plugs/basic_auth_decoder_plug.ex diff --git a/lib/pleroma/plugs/cache.ex b/lib/pleroma/web/plugs/cache.ex similarity index 100% rename from lib/pleroma/plugs/cache.ex rename to lib/pleroma/web/plugs/cache.ex diff --git a/lib/pleroma/plugs/digest.ex b/lib/pleroma/web/plugs/digest.ex similarity index 100% rename from lib/pleroma/plugs/digest.ex rename to lib/pleroma/web/plugs/digest.ex diff --git a/lib/pleroma/plugs/ensure_authenticated_plug.ex b/lib/pleroma/web/plugs/ensure_authenticated_plug.ex similarity index 100% rename from lib/pleroma/plugs/ensure_authenticated_plug.ex rename to lib/pleroma/web/plugs/ensure_authenticated_plug.ex diff --git a/lib/pleroma/plugs/ensure_public_or_authenticated_plug.ex b/lib/pleroma/web/plugs/ensure_public_or_authenticated_plug.ex similarity index 100% rename from lib/pleroma/plugs/ensure_public_or_authenticated_plug.ex rename to lib/pleroma/web/plugs/ensure_public_or_authenticated_plug.ex diff --git a/lib/pleroma/plugs/ensure_user_key_plug.ex b/lib/pleroma/web/plugs/ensure_user_key_plug.ex similarity index 100% rename from lib/pleroma/plugs/ensure_user_key_plug.ex rename to lib/pleroma/web/plugs/ensure_user_key_plug.ex diff --git a/lib/pleroma/plugs/expect_authenticated_check_plug.ex b/lib/pleroma/web/plugs/expect_authenticated_check_plug.ex similarity index 100% rename from lib/pleroma/plugs/expect_authenticated_check_plug.ex rename to lib/pleroma/web/plugs/expect_authenticated_check_plug.ex diff --git a/lib/pleroma/plugs/expect_public_or_authenticated_check_plug.ex b/lib/pleroma/web/plugs/expect_public_or_authenticated_check_plug.ex similarity index 100% rename from lib/pleroma/plugs/expect_public_or_authenticated_check_plug.ex rename to lib/pleroma/web/plugs/expect_public_or_authenticated_check_plug.ex diff --git a/lib/pleroma/plugs/federating_plug.ex b/lib/pleroma/web/plugs/federating_plug.ex similarity index 100% rename from lib/pleroma/plugs/federating_plug.ex rename to lib/pleroma/web/plugs/federating_plug.ex diff --git a/lib/pleroma/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex similarity index 100% rename from lib/pleroma/plugs/http_security_plug.ex rename to lib/pleroma/web/plugs/http_security_plug.ex diff --git a/lib/pleroma/plugs/http_signature.ex b/lib/pleroma/web/plugs/http_signature.ex similarity index 100% rename from lib/pleroma/plugs/http_signature.ex rename to lib/pleroma/web/plugs/http_signature.ex diff --git a/lib/pleroma/plugs/idempotency_plug.ex b/lib/pleroma/web/plugs/idempotency_plug.ex similarity index 100% rename from lib/pleroma/plugs/idempotency_plug.ex rename to lib/pleroma/web/plugs/idempotency_plug.ex diff --git a/lib/pleroma/plugs/instance_static.ex b/lib/pleroma/web/plugs/instance_static.ex similarity index 100% rename from lib/pleroma/plugs/instance_static.ex rename to lib/pleroma/web/plugs/instance_static.ex diff --git a/lib/pleroma/plugs/legacy_authentication_plug.ex b/lib/pleroma/web/plugs/legacy_authentication_plug.ex similarity index 100% rename from lib/pleroma/plugs/legacy_authentication_plug.ex rename to lib/pleroma/web/plugs/legacy_authentication_plug.ex diff --git a/lib/pleroma/plugs/mapped_signature_to_identity_plug.ex b/lib/pleroma/web/plugs/mapped_signature_to_identity_plug.ex similarity index 100% rename from lib/pleroma/plugs/mapped_signature_to_identity_plug.ex rename to lib/pleroma/web/plugs/mapped_signature_to_identity_plug.ex diff --git a/lib/pleroma/plugs/o_auth_plug.ex b/lib/pleroma/web/plugs/o_auth_plug.ex similarity index 100% rename from lib/pleroma/plugs/o_auth_plug.ex rename to lib/pleroma/web/plugs/o_auth_plug.ex diff --git a/lib/pleroma/plugs/o_auth_scopes_plug.ex b/lib/pleroma/web/plugs/o_auth_scopes_plug.ex similarity index 100% rename from lib/pleroma/plugs/o_auth_scopes_plug.ex rename to lib/pleroma/web/plugs/o_auth_scopes_plug.ex diff --git a/lib/pleroma/plugs/plug_helper.ex b/lib/pleroma/web/plugs/plug_helper.ex similarity index 100% rename from lib/pleroma/plugs/plug_helper.ex rename to lib/pleroma/web/plugs/plug_helper.ex diff --git a/lib/pleroma/plugs/rate_limiter/rate_limiter.ex b/lib/pleroma/web/plugs/rate_limiter.ex similarity index 100% rename from lib/pleroma/plugs/rate_limiter/rate_limiter.ex rename to lib/pleroma/web/plugs/rate_limiter.ex diff --git a/lib/pleroma/plugs/rate_limiter/limiter_supervisor.ex b/lib/pleroma/web/plugs/rate_limiter/limiter_supervisor.ex similarity index 100% rename from lib/pleroma/plugs/rate_limiter/limiter_supervisor.ex rename to lib/pleroma/web/plugs/rate_limiter/limiter_supervisor.ex diff --git a/lib/pleroma/plugs/rate_limiter/supervisor.ex b/lib/pleroma/web/plugs/rate_limiter/supervisor.ex similarity index 100% rename from lib/pleroma/plugs/rate_limiter/supervisor.ex rename to lib/pleroma/web/plugs/rate_limiter/supervisor.ex diff --git a/lib/pleroma/plugs/remote_ip.ex b/lib/pleroma/web/plugs/remote_ip.ex similarity index 100% rename from lib/pleroma/plugs/remote_ip.ex rename to lib/pleroma/web/plugs/remote_ip.ex diff --git a/lib/pleroma/plugs/session_authentication_plug.ex b/lib/pleroma/web/plugs/session_authentication_plug.ex similarity index 100% rename from lib/pleroma/plugs/session_authentication_plug.ex rename to lib/pleroma/web/plugs/session_authentication_plug.ex diff --git a/lib/pleroma/plugs/set_format_plug.ex b/lib/pleroma/web/plugs/set_format_plug.ex similarity index 100% rename from lib/pleroma/plugs/set_format_plug.ex rename to lib/pleroma/web/plugs/set_format_plug.ex diff --git a/lib/pleroma/plugs/set_locale_plug.ex b/lib/pleroma/web/plugs/set_locale_plug.ex similarity index 100% rename from lib/pleroma/plugs/set_locale_plug.ex rename to lib/pleroma/web/plugs/set_locale_plug.ex diff --git a/lib/pleroma/plugs/set_user_session_id_plug.ex b/lib/pleroma/web/plugs/set_user_session_id_plug.ex similarity index 100% rename from lib/pleroma/plugs/set_user_session_id_plug.ex rename to lib/pleroma/web/plugs/set_user_session_id_plug.ex diff --git a/lib/pleroma/plugs/static_fe_plug.ex b/lib/pleroma/web/plugs/static_fe_plug.ex similarity index 100% rename from lib/pleroma/plugs/static_fe_plug.ex rename to lib/pleroma/web/plugs/static_fe_plug.ex diff --git a/lib/pleroma/plugs/trailing_format_plug.ex b/lib/pleroma/web/plugs/trailing_format_plug.ex similarity index 100% rename from lib/pleroma/plugs/trailing_format_plug.ex rename to lib/pleroma/web/plugs/trailing_format_plug.ex diff --git a/lib/pleroma/plugs/uploaded_media.ex b/lib/pleroma/web/plugs/uploaded_media.ex similarity index 100% rename from lib/pleroma/plugs/uploaded_media.ex rename to lib/pleroma/web/plugs/uploaded_media.ex diff --git a/lib/pleroma/plugs/user_enabled_plug.ex b/lib/pleroma/web/plugs/user_enabled_plug.ex similarity index 100% rename from lib/pleroma/plugs/user_enabled_plug.ex rename to lib/pleroma/web/plugs/user_enabled_plug.ex diff --git a/lib/pleroma/plugs/user_fetcher_plug.ex b/lib/pleroma/web/plugs/user_fetcher_plug.ex similarity index 100% rename from lib/pleroma/plugs/user_fetcher_plug.ex rename to lib/pleroma/web/plugs/user_fetcher_plug.ex diff --git a/lib/pleroma/plugs/user_is_admin_plug.ex b/lib/pleroma/web/plugs/user_is_admin_plug.ex similarity index 100% rename from lib/pleroma/plugs/user_is_admin_plug.ex rename to lib/pleroma/web/plugs/user_is_admin_plug.ex -- 2.45.2