2018-10-11 17:37:39 +02:00
|
|
|
defmodule Mobilizon.Mixfile do
|
2017-12-08 09:58:14 +01:00
|
|
|
use Mix.Project
|
|
|
|
|
2021-06-26 16:45:22 +02:00
|
|
|
@version "1.2.0-beta.2"
|
2019-03-14 15:00:34 +01:00
|
|
|
|
2017-12-08 09:58:14 +01:00
|
|
|
def project do
|
|
|
|
[
|
2018-10-11 17:37:39 +02:00
|
|
|
app: :mobilizon,
|
2019-03-14 15:00:34 +01:00
|
|
|
version: @version,
|
2021-02-04 18:57:50 +01:00
|
|
|
elixir: "~> 1.11",
|
2018-07-25 16:42:04 +02:00
|
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
|
|
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
|
2020-11-06 15:43:38 +01:00
|
|
|
xref: [exclude: [:eldap]],
|
2018-07-25 16:42:04 +02:00
|
|
|
start_permanent: Mix.env() == :prod,
|
2017-12-08 09:58:14 +01:00
|
|
|
aliases: aliases(),
|
2018-01-14 00:56:26 +01:00
|
|
|
deps: deps(),
|
|
|
|
test_coverage: [tool: ExCoveralls],
|
2018-07-25 16:42:04 +02:00
|
|
|
preferred_cli_env: [
|
|
|
|
coveralls: :test,
|
|
|
|
"coveralls.detail": :test,
|
|
|
|
"coveralls.post": :test,
|
2018-11-13 12:23:37 +01:00
|
|
|
"coveralls.html": :test,
|
|
|
|
vcr: :test,
|
|
|
|
"vcr.delete": :test,
|
|
|
|
"vcr.check": :test,
|
|
|
|
"vcr.show": :test
|
2018-07-25 16:42:04 +02:00
|
|
|
],
|
2018-10-11 17:37:39 +02:00
|
|
|
name: "Mobilizon",
|
2019-07-08 17:35:22 +02:00
|
|
|
source_url: "https://framagit.org/framasoft/mobilizon",
|
|
|
|
homepage_url: "https://joinmobilizon.org",
|
2021-01-18 08:54:27 +01:00
|
|
|
docs: docs(),
|
|
|
|
releases: [
|
|
|
|
mobilizon: [
|
2021-03-30 14:36:41 +02:00
|
|
|
include_executables_for: [:unix],
|
2021-02-01 14:57:58 +01:00
|
|
|
applications: [eldap: :transient],
|
2021-04-13 11:35:19 +02:00
|
|
|
config_providers: [{Mobilizon.ConfigProvider, "/etc/mobilizon/config.exs"}],
|
|
|
|
steps: [:assemble, ©_files/1, ©_config/1]
|
2021-01-18 08:54:27 +01:00
|
|
|
]
|
|
|
|
]
|
2017-12-08 09:58:14 +01:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Configuration for the OTP application.
|
|
|
|
#
|
|
|
|
# Type `mix help compile.app` for more information.
|
|
|
|
def application do
|
|
|
|
[
|
2019-09-16 01:13:20 +02:00
|
|
|
mod: {Mobilizon, []},
|
2021-01-18 08:54:27 +01:00
|
|
|
extra_applications: [:logger, :runtime_tools, :guardian, :bamboo, :geolix, :crypto, :cachex]
|
2017-12-08 09:58:14 +01:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2021-04-13 11:35:19 +02:00
|
|
|
def copy_files(%{path: target_path} = release) do
|
|
|
|
File.cp_r!("./rel/overlays", target_path)
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
def copy_config(%{path: target_path} = release) do
|
|
|
|
support_path = Path.join([target_path, "support"])
|
|
|
|
File.mkdir!(support_path)
|
|
|
|
|
|
|
|
File.cp_r!(
|
|
|
|
"./support",
|
|
|
|
support_path
|
|
|
|
)
|
|
|
|
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2017-12-08 09:58:14 +01:00
|
|
|
# Specifies which paths to compile per environment.
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
2018-07-27 10:45:35 +02:00
|
|
|
defp elixirc_paths(:dev), do: ["lib", "test/support/factory.ex"]
|
2018-07-25 16:42:04 +02:00
|
|
|
defp elixirc_paths(_), do: ["lib"]
|
2017-12-08 09:58:14 +01:00
|
|
|
|
2020-06-27 19:12:45 +02:00
|
|
|
# Specifies OAuth dependencies.
|
|
|
|
defp oauth_deps do
|
|
|
|
oauth_strategy_packages =
|
|
|
|
System.get_env("OAUTH_CONSUMER_STRATEGIES")
|
|
|
|
|> to_string()
|
|
|
|
|> String.split()
|
|
|
|
|> Enum.map(fn strategy_entry ->
|
|
|
|
with [_strategy, dependency] <- String.split(strategy_entry, ":") do
|
|
|
|
dependency
|
|
|
|
else
|
|
|
|
[strategy] -> "ueberauth_#{strategy}"
|
|
|
|
end
|
|
|
|
end)
|
|
|
|
|
|
|
|
for s <- oauth_strategy_packages, do: {String.to_atom(s), ">= 0.0.0"}
|
|
|
|
end
|
|
|
|
|
2017-12-08 09:58:14 +01:00
|
|
|
# Specifies your project dependencies.
|
|
|
|
#
|
|
|
|
# Type `mix help deps` for examples and options.
|
|
|
|
defp deps do
|
|
|
|
[
|
2020-02-18 08:57:00 +01:00
|
|
|
{:phoenix, "~> 1.5.0"},
|
|
|
|
{:phoenix_pubsub, "~> 2.0"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:phoenix_ecto, "~> 4.0"},
|
2019-12-13 12:10:30 +01:00
|
|
|
{:postgrex, ">= 0.15.3"},
|
2017-12-08 09:58:14 +01:00
|
|
|
{:phoenix_html, "~> 2.10"},
|
|
|
|
{:gettext, "~> 0.11"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:cowboy, "~> 2.6"},
|
2019-09-24 09:43:54 +02:00
|
|
|
{:guardian, "~> 2.0"},
|
2021-01-11 11:30:03 +01:00
|
|
|
{:guardian_db, "~> 2.1.0"},
|
2019-12-03 11:29:51 +01:00
|
|
|
{:guardian_phoenix, "~> 2.0"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:argon2_elixir, "~> 2.0"},
|
2019-02-07 16:53:58 +01:00
|
|
|
{:cors_plug, "~> 2.0"},
|
2019-07-23 15:41:59 +02:00
|
|
|
{:ecto_autoslug_field, "~> 2.0"},
|
2018-08-24 12:31:41 +02:00
|
|
|
{:geo, "~> 3.0"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:geo_postgis, "~> 3.1"},
|
2018-01-13 23:33:03 +01:00
|
|
|
{:timex, "~> 3.0"},
|
2019-04-03 17:29:03 +02:00
|
|
|
{:icalendar, github: "tcitworld/icalendar"},
|
2018-01-26 11:02:11 +01:00
|
|
|
{:exgravatar, "~> 2.0.1"},
|
2020-02-18 08:57:00 +01:00
|
|
|
# {:json_ld, "~> 0.3"},
|
|
|
|
{:jason, "~> 1.2"},
|
2019-10-31 10:50:24 +01:00
|
|
|
{:ecto_enum, "~> 1.4"},
|
2018-08-24 12:31:41 +02:00
|
|
|
{:ex_ical, "~> 0.2"},
|
2021-04-26 10:45:42 +02:00
|
|
|
{:bamboo, "~> 2.1"},
|
2021-03-09 10:42:01 +01:00
|
|
|
{:bamboo_phoenix, "~> 1.0"},
|
|
|
|
{:bamboo_smtp, "~> 4.0"},
|
2020-09-30 10:39:00 +02:00
|
|
|
{:geolix, "~> 2.0"},
|
|
|
|
{:geolix_adapter_mmdb2, "~> 0.6.0"},
|
2021-03-09 10:42:01 +01:00
|
|
|
{:absinthe, "~> 1.6"},
|
2021-02-15 09:40:42 +01:00
|
|
|
{:absinthe_phoenix, "~> 2.0.1"},
|
2020-02-18 08:57:00 +01:00
|
|
|
{:absinthe_plug, "~> 1.5.0"},
|
2019-04-01 17:17:08 +02:00
|
|
|
{:dataloader, "~> 1.0.6"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:plug_cowboy, "~> 2.0"},
|
2021-01-22 14:02:28 +01:00
|
|
|
{:atomex, "~> 0.4"},
|
2019-02-27 16:28:09 +01:00
|
|
|
{:cachex, "~> 3.1"},
|
2020-10-08 09:24:26 +02:00
|
|
|
{:geohax, "~> 0.4.0"},
|
2020-08-11 10:13:09 +02:00
|
|
|
{:mogrify, "~> 0.8.0"},
|
2020-11-30 12:22:05 +01:00
|
|
|
{:linkify, "~> 0.3"},
|
|
|
|
{:http_signatures, "~> 0.1.0"},
|
2020-02-18 08:57:00 +01:00
|
|
|
{:ex_cldr, "~> 2.0"},
|
2020-01-28 16:30:52 +01:00
|
|
|
{:ex_cldr_dates_times, "~> 2.2"},
|
2019-10-21 13:42:45 +02:00
|
|
|
{:ex_optimizer, "~> 0.1"},
|
2019-10-22 10:25:28 +02:00
|
|
|
{:progress_bar, "~> 2.0"},
|
2020-10-13 17:03:19 +02:00
|
|
|
{:oban, "~> 2.2"},
|
2021-06-21 09:12:02 +02:00
|
|
|
{:floki, "~> 0.31"},
|
2020-02-18 08:57:00 +01:00
|
|
|
{:ip_reserved, "~> 0.1.0"},
|
|
|
|
{:fast_sanitize, "~> 0.1"},
|
2020-06-27 19:12:45 +02:00
|
|
|
{:ueberauth, "~> 0.6"},
|
|
|
|
{:ueberauth_twitter, "~> 0.3"},
|
|
|
|
{:ueberauth_github, "~> 0.7"},
|
|
|
|
{:ueberauth_facebook, "~> 0.8"},
|
|
|
|
{:ueberauth_discord, "~> 0.5"},
|
|
|
|
{:ueberauth_google, "~> 0.9"},
|
|
|
|
{:ueberauth_keycloak_strategy,
|
|
|
|
git: "https://github.com/tcitworld/ueberauth_keycloak.git", branch: "upgrade-deps"},
|
|
|
|
{:ueberauth_gitlab_strategy,
|
|
|
|
git: "https://github.com/tcitworld/ueberauth_gitlab.git", branch: "upgrade-deps"},
|
2020-07-09 17:24:28 +02:00
|
|
|
{:ecto_shortuuid, "~> 0.1"},
|
2020-11-16 10:04:23 +01:00
|
|
|
{:tesla, "~> 1.4.0"},
|
2021-06-27 16:35:21 +02:00
|
|
|
{:sitemapper, "~> 0.6"},
|
|
|
|
{:xml_builder, "~> 2.2"},
|
2021-03-25 14:42:02 +01:00
|
|
|
{:remote_ip, "~> 1.0.0"},
|
2020-10-07 15:37:23 +02:00
|
|
|
{:ex_cldr_languages, "~> 0.2.1"},
|
2020-12-21 15:47:26 +01:00
|
|
|
{:slugger, "~> 0.3"},
|
2021-02-04 18:57:26 +01:00
|
|
|
{:sentry, "~> 8.0"},
|
2021-03-29 19:26:49 +02:00
|
|
|
{:html_entities, "~> 0.5"},
|
2021-04-09 10:19:25 +02:00
|
|
|
{:sweet_xml, "~> 0.6.6"},
|
2021-06-07 16:38:51 +02:00
|
|
|
{:web_push_encryption,
|
|
|
|
git: "https://github.com/tcitworld/elixir-web-push-encryption", branch: "otp-24"},
|
2021-06-11 15:06:44 +02:00
|
|
|
{:eblurhash, "~> 1.2"},
|
2018-01-26 11:02:11 +01:00
|
|
|
# Dev and test dependencies
|
2019-10-05 19:07:50 +02:00
|
|
|
{:phoenix_live_reload, "~> 1.2", only: [:dev, :e2e]},
|
2019-04-01 17:17:08 +02:00
|
|
|
{:ex_machina, "~> 2.3", only: [:dev, :test]},
|
2021-02-15 09:40:42 +01:00
|
|
|
{:excoveralls, "~> 0.14.0", only: :test},
|
2020-10-13 17:03:19 +02:00
|
|
|
{:ex_doc, "~> 0.23", only: [:dev, :test], runtime: false},
|
2019-10-31 10:50:24 +01:00
|
|
|
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
|
2021-01-11 11:30:03 +01:00
|
|
|
{:ex_unit_notifier, "~> 1.0", only: :test},
|
2021-03-09 10:42:01 +01:00
|
|
|
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
|
2020-10-08 15:58:54 +02:00
|
|
|
{:exvcr, "~> 0.12", only: :test},
|
2020-11-02 12:42:49 +01:00
|
|
|
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
|
2019-12-13 12:10:30 +01:00
|
|
|
{:mock, "~> 0.3.4", only: :test},
|
2020-07-09 17:24:28 +02:00
|
|
|
{:elixir_feed_parser, "~> 2.1.0", only: :test},
|
2021-01-12 20:09:44 +01:00
|
|
|
{:mox, "~> 1.0", only: :test},
|
2021-01-22 17:06:00 +01:00
|
|
|
{:junit_formatter, "~> 3.1", only: [:test]},
|
|
|
|
{:sobelow, "~> 0.8", only: [:dev, :test]}
|
2020-06-27 19:12:45 +02:00
|
|
|
] ++ oauth_deps()
|
2017-12-08 09:58:14 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
# Aliases are shortcuts or tasks specific to the current project.
|
|
|
|
# For example, to create, migrate and run the seeds file at once:
|
|
|
|
#
|
|
|
|
# $ mix ecto.setup
|
|
|
|
#
|
|
|
|
# See the documentation for `Mix` for more info on aliases.
|
|
|
|
defp aliases do
|
|
|
|
[
|
2019-09-08 01:51:18 +02:00
|
|
|
"ecto.setup": [
|
|
|
|
"ecto.create",
|
|
|
|
"ecto.migrate",
|
|
|
|
"run priv/repo/seeds.exs"
|
|
|
|
],
|
|
|
|
"ecto.reset": [
|
|
|
|
"ecto.drop",
|
|
|
|
"ecto.setup"
|
|
|
|
],
|
|
|
|
test: [
|
2020-01-30 20:27:25 +01:00
|
|
|
"ecto.create",
|
2019-09-08 01:51:18 +02:00
|
|
|
"ecto.migrate",
|
2019-09-09 09:55:33 +02:00
|
|
|
&run_test/1
|
2019-09-08 01:51:18 +02:00
|
|
|
],
|
2019-04-30 13:16:29 +02:00
|
|
|
"phx.deps_migrate_serve": [
|
|
|
|
"deps.get",
|
|
|
|
"ecto.create --quiet",
|
|
|
|
"ecto.migrate",
|
|
|
|
"cmd cd js && yarn install && cd ../",
|
|
|
|
"phx.server"
|
|
|
|
]
|
2017-12-08 09:58:14 +01:00
|
|
|
]
|
|
|
|
end
|
2019-03-14 15:00:34 +01:00
|
|
|
|
2019-09-09 09:55:33 +02:00
|
|
|
defp run_test(args) do
|
|
|
|
Mix.Task.run("test", args)
|
|
|
|
File.rm_rf!("test/uploads")
|
|
|
|
end
|
|
|
|
|
2019-03-14 15:00:34 +01:00
|
|
|
defp docs() do
|
|
|
|
[
|
|
|
|
source_ref: "v#{@version}",
|
|
|
|
groups_for_modules: groups_for_modules(),
|
|
|
|
nest_modules_by_prefix: [
|
|
|
|
Mobilizon,
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Service.Geospatial,
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web.Resolvers,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Schema,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Service
|
|
|
|
]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp groups_for_modules() do
|
|
|
|
[
|
|
|
|
Models: [
|
|
|
|
Mobilizon.Actors,
|
|
|
|
Mobilizon.Actors.Actor,
|
2019-09-09 00:52:49 +02:00
|
|
|
Mobilizon.Actors.ActorOpenness,
|
|
|
|
Mobilizon.Actors.ActorType,
|
|
|
|
Mobilizon.Actors.MemberRole,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Actors.Bot,
|
|
|
|
Mobilizon.Actors.Follower,
|
|
|
|
Mobilizon.Actors.Member,
|
|
|
|
Mobilizon.Addresses,
|
|
|
|
Mobilizon.Addresses.Address,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Admin,
|
|
|
|
Mobilizon.Admin.ActionLog,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Events,
|
|
|
|
Mobilizon.Events.Event,
|
|
|
|
Mobilizon.Events.FeedToken,
|
|
|
|
Mobilizon.Events.Participant,
|
|
|
|
Mobilizon.Events.Session,
|
|
|
|
Mobilizon.Events.Tag,
|
|
|
|
Mobilizon.Events.TagRelations,
|
|
|
|
Mobilizon.Events.Track,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Events.EventCategory,
|
2019-09-13 01:01:17 +02:00
|
|
|
Mobilizon.Events.EventStatus,
|
|
|
|
Mobilizon.Events.EventVisibility,
|
|
|
|
Mobilizon.Events.JoinOptions,
|
|
|
|
Mobilizon.Events.ParticipantRole,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Events.Tag.TitleSlug,
|
|
|
|
Mobilizon.Events.Tag.TitleSlug.Type,
|
|
|
|
Mobilizon.Events.TagRelation,
|
2020-11-26 11:41:13 +01:00
|
|
|
Mobilizon.Medias,
|
|
|
|
Mobilizon.Medias.File,
|
|
|
|
Mobilizon.Medias.Media,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Mention,
|
|
|
|
Mobilizon.Reports,
|
|
|
|
Mobilizon.Reports.Note,
|
|
|
|
Mobilizon.Reports.Report,
|
|
|
|
Mobilizon.Share,
|
|
|
|
Mobilizon.Tombstone,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Users,
|
|
|
|
Mobilizon.Users.User,
|
2019-09-07 19:54:11 +02:00
|
|
|
Mobilizon.Users.UserRole,
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Activity
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
APIs: [
|
2020-01-26 21:44:19 +01:00
|
|
|
Mobilizon.GraphQL.API.Comments,
|
|
|
|
Mobilizon.GraphQL.API.Events,
|
|
|
|
Mobilizon.GraphQL.API.Follows,
|
|
|
|
Mobilizon.GraphQL.API.Groups,
|
|
|
|
Mobilizon.GraphQL.API.Participations,
|
|
|
|
Mobilizon.GraphQL.API.Reports,
|
|
|
|
Mobilizon.GraphQL.API.Search,
|
|
|
|
Mobilizon.GraphQL.API.Utils
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Web: [
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web,
|
|
|
|
Mobilizon.Web.Endpoint,
|
|
|
|
Mobilizon.Web.Router,
|
|
|
|
Mobilizon.Web.Router.Helpers,
|
|
|
|
Mobilizon.Web.Plugs.UploadedMedia,
|
|
|
|
Mobilizon.Web.FallbackController,
|
|
|
|
Mobilizon.Web.FeedController,
|
|
|
|
Mobilizon.Web.PageController,
|
|
|
|
Mobilizon.Web.ChangesetView,
|
|
|
|
Mobilizon.Web.JsonLD.ObjectView,
|
|
|
|
Mobilizon.Web.EmailView,
|
|
|
|
Mobilizon.Web.ErrorHelpers,
|
|
|
|
Mobilizon.Web.ErrorView,
|
|
|
|
Mobilizon.Web.LayoutView,
|
|
|
|
Mobilizon.Web.PageView,
|
|
|
|
Mobilizon.Web.Auth.Context,
|
|
|
|
Mobilizon.Web.Auth.ErrorHandler,
|
|
|
|
Mobilizon.Web.Auth.Guardian,
|
|
|
|
Mobilizon.Web.Auth.Pipeline,
|
|
|
|
Mobilizon.Web.Cache,
|
|
|
|
Mobilizon.Web.Cache.ActivityPub,
|
|
|
|
Mobilizon.Web.Email,
|
|
|
|
Mobilizon.Web.Email.Admin,
|
|
|
|
Mobilizon.Web.Email.Checker,
|
|
|
|
Mobilizon.Web.Email.Event,
|
|
|
|
Mobilizon.Web.Email.Mailer,
|
|
|
|
Mobilizon.Web.Email.Participation,
|
|
|
|
Mobilizon.Web.Email.User,
|
|
|
|
Mobilizon.Web.Upload,
|
|
|
|
Mobilizon.Web.Upload.Filter,
|
|
|
|
Mobilizon.Web.Upload.Filter.AnonymizeFilename,
|
|
|
|
Mobilizon.Web.Upload.Filter.Dedupe,
|
|
|
|
Mobilizon.Web.Upload.Filter.Mogrify,
|
|
|
|
Mobilizon.Web.Upload.Filter.Optimize,
|
|
|
|
Mobilizon.Web.Upload.MIME,
|
|
|
|
Mobilizon.Web.Upload.Uploader,
|
|
|
|
Mobilizon.Web.Upload.Uploader.Local,
|
|
|
|
Mobilizon.Web.ReverseProxy
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Geospatial: [
|
|
|
|
Mobilizon.Service.Geospatial,
|
|
|
|
Mobilizon.Service.Geospatial.Addok,
|
|
|
|
Mobilizon.Service.Geospatial.GoogleMaps,
|
|
|
|
Mobilizon.Service.Geospatial.MapQuest,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Service.Geospatial.Mimirsbrunn,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Service.Geospatial.Nominatim,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Service.Geospatial.Pelias,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Service.Geospatial.Photon,
|
|
|
|
Mobilizon.Service.Geospatial.Provider
|
|
|
|
],
|
2020-01-23 21:59:50 +01:00
|
|
|
Localization: [
|
|
|
|
Mobilizon.Cldr,
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web.Gettext
|
2020-01-23 21:59:50 +01:00
|
|
|
],
|
2019-03-14 15:00:34 +01:00
|
|
|
GraphQL: [
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web.GraphQLSocket,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Resolvers.Address,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Admin,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Comment,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Config,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Event,
|
|
|
|
Mobilizon.GraphQL.Resolvers.FeedToken,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Group,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Member,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Person,
|
2020-11-26 11:41:13 +01:00
|
|
|
Mobilizon.GraphQL.Resolvers.Media,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Resolvers.Report,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Search,
|
|
|
|
Mobilizon.GraphQL.Resolvers.Tag,
|
|
|
|
Mobilizon.GraphQL.Resolvers.User,
|
|
|
|
Mobilizon.GraphQL.Schema,
|
|
|
|
Mobilizon.GraphQL.Schema.ActorInterface,
|
|
|
|
Mobilizon.GraphQL.Schema.Actors.ApplicationType,
|
|
|
|
Mobilizon.GraphQL.Schema.Actors.FollowerType,
|
|
|
|
Mobilizon.GraphQL.Schema.Actors.GroupType,
|
|
|
|
Mobilizon.GraphQL.Schema.Actors.MemberType,
|
|
|
|
Mobilizon.GraphQL.Schema.Actors.PersonType,
|
|
|
|
Mobilizon.GraphQL.Schema.AddressType,
|
|
|
|
Mobilizon.GraphQL.Schema.AdminType,
|
2020-07-09 17:24:28 +02:00
|
|
|
Mobilizon.GraphQL.Schema.Discussions.CommentType,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Schema.ConfigType,
|
|
|
|
Mobilizon.GraphQL.Schema.EventType,
|
|
|
|
Mobilizon.GraphQL.Schema.Events.FeedTokenType,
|
|
|
|
Mobilizon.GraphQL.Schema.Events.ParticipantType,
|
2020-11-26 11:41:13 +01:00
|
|
|
Mobilizon.GraphQL.Schema.MediaType,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Schema.ReportType,
|
|
|
|
Mobilizon.GraphQL.Schema.SearchType,
|
|
|
|
Mobilizon.GraphQL.Schema.SortType,
|
|
|
|
Mobilizon.GraphQL.Schema.TagType,
|
|
|
|
Mobilizon.GraphQL.Schema.UserType,
|
|
|
|
Mobilizon.GraphQL.Schema.Utils,
|
|
|
|
Mobilizon.GraphQL.Schema.Custom.Point,
|
|
|
|
Mobilizon.GraphQL.Schema.Custom.UUID
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
ActivityPub: [
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.ActivityPub,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Audience,
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Federator,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Relay,
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Transmogrifier,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Visibility,
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.ActivityPub.Utils,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Federation.ActivityStream.Convertible,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Actor,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Address,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Comment,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Event,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Flag,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Follower,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Participant,
|
2020-11-26 11:41:13 +01:00
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Media,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Tombstone,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Utils,
|
2020-01-22 02:14:42 +01:00
|
|
|
Mobilizon.Federation.HTTPSignatures.Signature,
|
2020-01-22 22:40:40 +01:00
|
|
|
Mobilizon.Federation.WebFinger,
|
|
|
|
Mobilizon.Federation.WebFinger.XmlBuilder,
|
2020-01-26 21:36:50 +01:00
|
|
|
Mobilizon.Web.Plugs.Federating,
|
|
|
|
Mobilizon.Web.Plugs.HTTPSignatures,
|
|
|
|
Mobilizon.Web.Plugs.MappedSignatureToIdentity,
|
|
|
|
Mobilizon.Web.ActivityPubController,
|
|
|
|
Mobilizon.Web.NodeInfoController,
|
|
|
|
Mobilizon.Web.WebFingerController,
|
|
|
|
Mobilizon.Web.ActivityPub.ActorView,
|
|
|
|
Mobilizon.Web.ActivityPub.ObjectView
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Services: [
|
|
|
|
Mobilizon.Service.Export.Feed,
|
|
|
|
Mobilizon.Service.Export.ICalendar,
|
|
|
|
Mobilizon.Service.Formatter,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Service.Formatter.HTML,
|
|
|
|
Mobilizon.Service.Formatter.DefaultScrubbler,
|
|
|
|
Mobilizon.Service.Metadata,
|
|
|
|
Mobilizon.Service.Metadata.Actor,
|
|
|
|
Mobilizon.Service.Metadata.Comment,
|
|
|
|
Mobilizon.Service.Metadata.Event,
|
|
|
|
Mobilizon.Service.Metadata.Instance,
|
|
|
|
Mobilizon.Service.Metadata.Utils,
|
|
|
|
Mobilizon.Service.Statistics,
|
|
|
|
Mobilizon.Service.Workers.Background,
|
|
|
|
Mobilizon.Service.Workers.BuildSearch,
|
|
|
|
Mobilizon.Service.Workers.Helper
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Tools: [
|
|
|
|
Mobilizon.Application,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Config,
|
|
|
|
Mobilizon.Crypto,
|
2019-03-14 15:00:34 +01:00
|
|
|
Mobilizon.Factory,
|
2020-01-23 21:59:50 +01:00
|
|
|
Mobilizon.Storage.Ecto,
|
|
|
|
Mobilizon.Storage.Page,
|
|
|
|
Mobilizon.Storage.Repo
|
2019-03-14 15:00:34 +01:00
|
|
|
]
|
|
|
|
]
|
|
|
|
end
|
2017-12-08 09:58:14 +01:00
|
|
|
end
|