more files renamings
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 23 Jun 2020 17:02:53 +0000 (20:02 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 13 Oct 2020 13:38:19 +0000 (16:38 +0300)
12 files changed:
lib/phoenix/transports/web_socket/raw.ex [moved from lib/transports.ex with 100% similarity]
lib/pleroma/web.ex [moved from lib/pleroma/web/web.ex with 97% similarity]
lib/pleroma/web/mongoose_im/mongoose_im_controller.ex [moved from lib/pleroma/web/mongooseim/mongoose_im_controller.ex with 100% similarity]
lib/pleroma/web/o_status/o_status_controller.ex [moved from lib/pleroma/web/ostatus/ostatus_controller.ex with 100% similarity]
lib/pleroma/web/plug.ex [new file with mode: 0644]
lib/pleroma/web/push.ex [moved from lib/pleroma/web/push/push.ex with 100% similarity]
lib/pleroma/web/rich_media/parsers/o_embed.ex [moved from lib/pleroma/web/rich_media/parsers/oembed_parser.ex with 100% similarity]
lib/pleroma/web/streamer.ex [moved from lib/pleroma/web/streamer/streamer.ex with 100% similarity]
lib/pleroma/web/twitter_api/controller.ex [moved from lib/pleroma/web/twitter_api/twitter_api_controller.ex with 100% similarity]
lib/pleroma/web/web_finger.ex [moved from lib/pleroma/web/web_finger/web_finger.ex with 100% similarity]
lib/pleroma/web/xml.ex [moved from lib/pleroma/web/xml/xml.ex with 100% similarity]
lib/pleroma/xml_builder.ex [moved from lib/xml_builder.ex with 100% similarity]

similarity index 97%
rename from lib/pleroma/web/web.ex
rename to lib/pleroma/web.ex
index 4f9281851dd5d43a2f3812d49cd89a7a509ef320..9ca52733d72599b18c4f9b00ccec29eb44c663df 100644 (file)
@@ -2,11 +2,6 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.Plug do
-  # Substitute for `call/2` which is defined with `use Pleroma.Web, :plug`
-  @callback perform(Plug.Conn.t(), Plug.opts()) :: Plug.Conn.t()
-end
-
 defmodule Pleroma.Web do
   @moduledoc """
   A module that keeps using definitions for controllers,
diff --git a/lib/pleroma/web/plug.ex b/lib/pleroma/web/plug.ex
new file mode 100644 (file)
index 0000000..840b350
--- /dev/null
@@ -0,0 +1,8 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Web.Plug do
+  # Substitute for `call/2` which is defined with `use Pleroma.Web, :plug`
+  @callback perform(Plug.Conn.t(), Plug.opts()) :: Plug.Conn.t()
+end