Переглянути джерело

Add license/copyright to all project files

tags/v1.1.4
feld kaniini 5 роки тому
джерело
коміт
93a0eeab16
64 змінених файлів з 256 додано та 0 видалено
  1. +4
    -0
      lib/healthcheck.ex
  2. +4
    -0
      lib/jason_types.ex
  3. +4
    -0
      lib/mix/tasks/pleroma/benchmark.ex
  4. +4
    -0
      lib/mix/tasks/pleroma/config.ex
  5. +4
    -0
      lib/pleroma/bbs/authenticator.ex
  6. +4
    -0
      lib/pleroma/bbs/handler.ex
  7. +4
    -0
      lib/pleroma/bookmark.ex
  8. +4
    -0
      lib/pleroma/config/transfer_task.ex
  9. +4
    -0
      lib/pleroma/instances.ex
  10. +4
    -0
      lib/pleroma/instances/instance.ex
  11. +4
    -0
      lib/pleroma/object/fetcher.ex
  12. +4
    -0
      lib/pleroma/object_tombstone.ex
  13. +4
    -0
      lib/pleroma/pagination.ex
  14. +4
    -0
      lib/pleroma/reverse_proxy/client.ex
  15. +4
    -0
      lib/pleroma/user/welcome_message.ex
  16. +4
    -0
      lib/pleroma/web/activity_pub/visibility.ex
  17. +4
    -0
      lib/pleroma/web/admin_api/views/config_view.ex
  18. +4
    -0
      lib/pleroma/web/mastodon_api/mastodon_api.ex
  19. +4
    -0
      lib/pleroma/web/mastodon_api/views/conversation_view.ex
  20. +4
    -0
      lib/pleroma/web/metadata/player_view.ex
  21. +4
    -0
      lib/pleroma/web/metadata/rel_me.ex
  22. +4
    -0
      lib/pleroma/web/oauth/token/response.ex
  23. +4
    -0
      lib/pleroma/web/oauth/token/strategy/refresh_token.ex
  24. +4
    -0
      lib/pleroma/web/oauth/token/strategy/revoke.ex
  25. +4
    -0
      lib/pleroma/web/oauth/token/utils.ex
  26. +4
    -0
      lib/pleroma/web/rich_media/parsers/meta_tags_parser.ex
  27. +4
    -0
      lib/pleroma/web/rich_media/parsers/oembed_parser.ex
  28. +4
    -0
      lib/pleroma/web/rich_media/parsers/ogp.ex
  29. +4
    -0
      lib/pleroma/web/rich_media/parsers/twitter_card.ex
  30. +4
    -0
      lib/pleroma/web/uploader_controller.ex
  31. +4
    -0
      lib/transports.ex
  32. +4
    -0
      lib/xml_builder.ex
  33. +4
    -0
      test/bbs/handler_test.exs
  34. +4
    -0
      test/bookmark_test.exs
  35. +4
    -0
      test/config/transfer_task_test.exs
  36. +4
    -0
      test/emoji_test.exs
  37. +4
    -0
      test/healthcheck_test.exs
  38. +4
    -0
      test/http/request_builder_test.exs
  39. +4
    -0
      test/keys_test.exs
  40. +4
    -0
      test/object/containment_test.exs
  41. +4
    -0
      test/object/fetcher_test.exs
  42. +4
    -0
      test/plugs/rate_limiter_test.exs
  43. +4
    -0
      test/repo_test.exs
  44. +4
    -0
      test/reverse_proxy_test.exs
  45. +4
    -0
      test/tasks/config_test.exs
  46. +4
    -0
      test/tasks/ecto/ecto_test.exs
  47. +4
    -0
      test/tasks/ecto/rollback_test.exs
  48. +4
    -0
      test/tasks/instance.exs
  49. +4
    -0
      test/tasks/pleroma_test.exs
  50. +4
    -0
      test/tasks/robots_txt_test.exs
  51. +4
    -0
      test/upload/filter/anonymize_filename_test.exs
  52. +4
    -0
      test/user_invite_token_test.exs
  53. +4
    -0
      test/web/activity_pub/utils_test.exs
  54. +4
    -0
      test/web/activity_pub/views/object_view_test.exs
  55. +4
    -0
      test/web/activity_pub/views/user_view_test.exs
  56. +4
    -0
      test/web/activity_pub/visibilty_test.exs
  57. +4
    -0
      test/web/admin_api/config_test.exs
  58. +4
    -0
      test/web/metadata/rel_me_test.exs
  59. +4
    -0
      test/web/ostatus/incoming_documents/delete_handling_test.exs
  60. +4
    -0
      test/web/rel_me_test.exs
  61. +4
    -0
      test/web/rich_media/helpers_test.exs
  62. +4
    -0
      test/web/rich_media/parser_test.exs
  63. +4
    -0
      test/web/twitter_api/password_controller_test.exs
  64. +4
    -0
      test/web/twitter_api/util_controller_test.exs

+ 4
- 0
lib/healthcheck.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Healthcheck do
@moduledoc """
Module collects metrics about app and assign healthy status.


+ 4
- 0
lib/jason_types.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

Postgrex.Types.define(
Pleroma.PostgresTypes,
[] ++ Ecto.Adapters.Postgres.extensions(),


+ 4
- 0
lib/mix/tasks/pleroma/benchmark.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Benchmark do
import Mix.Pleroma
use Mix.Task


+ 4
- 0
lib/mix/tasks/pleroma/config.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Config do
use Mix.Task
import Mix.Pleroma


+ 4
- 0
lib/pleroma/bbs/authenticator.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.BBS.Authenticator do
use Sshd.PasswordAuthenticator
alias Comeonin.Pbkdf2


+ 4
- 0
lib/pleroma/bbs/handler.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.BBS.Handler do
use Sshd.ShellHandler
alias Pleroma.Activity


+ 4
- 0
lib/pleroma/bookmark.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Bookmark do
use Ecto.Schema



+ 4
- 0
lib/pleroma/config/transfer_task.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Config.TransferTask do
use Task
alias Pleroma.Web.AdminAPI.Config


+ 4
- 0
lib/pleroma/instances.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Instances do
@moduledoc "Instances context."



+ 4
- 0
lib/pleroma/instances/instance.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Instances.Instance do
@moduledoc "Instance."



+ 4
- 0
lib/pleroma/object/fetcher.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Object.Fetcher do
alias Pleroma.HTTP
alias Pleroma.Object


+ 4
- 0
lib/pleroma/object_tombstone.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.ObjectTombstone do
@enforce_keys [:id, :formerType, :deleted]
defstruct [:id, :formerType, :deleted, type: "Tombstone"]


+ 4
- 0
lib/pleroma/pagination.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Pagination do
@moduledoc """
Implements Mastodon-compatible pagination.


+ 4
- 0
lib/pleroma/reverse_proxy/client.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.ReverseProxy.Client do
@callback request(atom(), String.t(), [tuple()], String.t(), list()) ::
{:ok, pos_integer(), [tuple()], reference() | map()}


+ 4
- 0
lib/pleroma/user/welcome_message.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.User.WelcomeMessage do
alias Pleroma.User
alias Pleroma.Web.CommonAPI


+ 4
- 0
lib/pleroma/web/activity_pub/visibility.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.Visibility do
alias Pleroma.Activity
alias Pleroma.Object


+ 4
- 0
lib/pleroma/web/admin_api/views/config_view.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.AdminAPI.ConfigView do
use Pleroma.Web, :view



+ 4
- 0
lib/pleroma/web/mastodon_api/mastodon_api.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.MastodonAPI.MastodonAPI do
import Ecto.Query
import Ecto.Changeset


+ 4
- 0
lib/pleroma/web/mastodon_api/views/conversation_view.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.MastodonAPI.ConversationView do
use Pleroma.Web, :view



+ 4
- 0
lib/pleroma/web/metadata/player_view.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.Metadata.PlayerView do
use Pleroma.Web, :view
import Phoenix.HTML.Tag, only: [content_tag: 3, tag: 2]


+ 4
- 0
lib/pleroma/web/metadata/rel_me.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.Metadata.Providers.RelMe do
alias Pleroma.Web.Metadata.Providers.Provider
@behaviour Provider


+ 4
- 0
lib/pleroma/web/oauth/token/response.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.OAuth.Token.Response do
@moduledoc false



+ 4
- 0
lib/pleroma/web/oauth/token/strategy/refresh_token.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.OAuth.Token.Strategy.RefreshToken do
@moduledoc """
Functions for dealing with refresh token strategy.


+ 4
- 0
lib/pleroma/web/oauth/token/strategy/revoke.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.OAuth.Token.Strategy.Revoke do
@moduledoc """
Functions for dealing with revocation.


+ 4
- 0
lib/pleroma/web/oauth/token/utils.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.OAuth.Token.Utils do
@moduledoc """
Auxiliary functions for dealing with tokens.


+ 4
- 0
lib/pleroma/web/rich_media/parsers/meta_tags_parser.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.Parsers.MetaTagsParser do
def parse(html, data, prefix, error_message, key_name, value_name \\ "content") do
meta_data =


+ 4
- 0
lib/pleroma/web/rich_media/parsers/oembed_parser.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.Parsers.OEmbed do
def parse(html, _data) do
with elements = [_ | _] <- get_discovery_data(html),


+ 4
- 0
lib/pleroma/web/rich_media/parsers/ogp.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.Parsers.OGP do
def parse(html, data) do
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(


+ 4
- 0
lib/pleroma/web/rich_media/parsers/twitter_card.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.Parsers.TwitterCard do
def parse(html, data) do
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(


+ 4
- 0
lib/pleroma/web/uploader_controller.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.UploaderController do
use Pleroma.Web, :controller



+ 4
- 0
lib/transports.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Phoenix.Transports.WebSocket.Raw do
import Plug.Conn,
only: [


+ 4
- 0
lib/xml_builder.ex Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.XmlBuilder do
def to_xml({tag, attributes, content}) do
open_tag = make_open_tag(tag, attributes)


+ 4
- 0
test/bbs/handler_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.BBS.HandlerTest do
use Pleroma.DataCase
alias Pleroma.Activity


+ 4
- 0
test/bookmark_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.BookmarkTest do
use Pleroma.DataCase
import Pleroma.Factory


+ 4
- 0
test/config/transfer_task_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Config.TransferTaskTest do
use Pleroma.DataCase



+ 4
- 0
test/emoji_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.EmojiTest do
use ExUnit.Case, async: true
alias Pleroma.Emoji


+ 4
- 0
test/healthcheck_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.HealthcheckTest do
use Pleroma.DataCase
alias Pleroma.Healthcheck


+ 4
- 0
test/http/request_builder_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.HTTP.RequestBuilderTest do
use ExUnit.Case, async: true
alias Pleroma.HTTP.RequestBuilder


+ 4
- 0
test/keys_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.KeysTest do
use Pleroma.DataCase



+ 4
- 0
test/object/containment_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Object.ContainmentTest do
use Pleroma.DataCase



+ 4
- 0
test/object/fetcher_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Object.FetcherTest do
use Pleroma.DataCase



+ 4
- 0
test/plugs/rate_limiter_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Plugs.RateLimiterTest do
use ExUnit.Case, async: true
use Plug.Test


+ 4
- 0
test/repo_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.RepoTest do
use Pleroma.DataCase
import Pleroma.Factory


+ 4
- 0
test/reverse_proxy_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.ReverseProxyTest do
use Pleroma.Web.ConnCase, async: true
import ExUnit.CaptureLog


+ 4
- 0
test/tasks/config_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.ConfigTest do
use Pleroma.DataCase
alias Pleroma.Repo


+ 4
- 0
test/tasks/ecto/ecto_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.EctoTest do
use ExUnit.Case, async: true



+ 4
- 0
test/tasks/ecto/rollback_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Ecto.RollbackTest do
use Pleroma.DataCase
import ExUnit.CaptureLog


+ 4
- 0
test/tasks/instance.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.InstanceTest do
use ExUnit.Case, async: true



+ 4
- 0
test/tasks/pleroma_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.PleromaTest do
use ExUnit.Case, async: true
import Mix.Pleroma


+ 4
- 0
test/tasks/robots_txt_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.RobotsTxtTest do
use ExUnit.Case, async: true
alias Mix.Tasks.Pleroma.RobotsTxt


+ 4
- 0
test/upload/filter/anonymize_filename_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Upload.Filter.AnonymizeFilenameTest do
use Pleroma.DataCase



+ 4
- 0
test/user_invite_token_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.UserInviteTokenTest do
use ExUnit.Case, async: true
use Pleroma.DataCase


+ 4
- 0
test/web/activity_pub/utils_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.UtilsTest do
use Pleroma.DataCase
alias Pleroma.Activity


+ 4
- 0
test/web/activity_pub/views/object_view_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.ObjectViewTest do
use Pleroma.DataCase
import Pleroma.Factory


+ 4
- 0
test/web/activity_pub/views/user_view_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.UserViewTest do
use Pleroma.DataCase
import Pleroma.Factory


+ 4
- 0
test/web/activity_pub/visibilty_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.VisibilityTest do
use Pleroma.DataCase



+ 4
- 0
test/web/admin_api/config_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.AdminAPI.ConfigTest do
use Pleroma.DataCase, async: true
import Pleroma.Factory


+ 4
- 0
test/web/metadata/rel_me_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.Metadata.Providers.RelMeTest do
use Pleroma.DataCase
import Pleroma.Factory


+ 4
- 0
test/web/ostatus/incoming_documents/delete_handling_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.OStatus.DeleteHandlingTest do
use Pleroma.DataCase



+ 4
- 0
test/web/rel_me_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RelMeTest do
use ExUnit.Case, async: true



+ 4
- 0
test/web/rich_media/helpers_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.HelpersTest do
use Pleroma.DataCase



+ 4
- 0
test/web/rich_media/parser_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.RichMedia.ParserTest do
use ExUnit.Case, async: true



+ 4
- 0
test/web/twitter_api/password_controller_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.TwitterAPI.PasswordControllerTest do
use Pleroma.Web.ConnCase



+ 4
- 0
test/web/twitter_api/util_controller_test.exs Переглянути файл

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
use Pleroma.Web.ConnCase



Завантаження…
Відмінити
Зберегти