2018-10-11 17:37:39 +02:00
|
|
|
defmodule Mobilizon.Mixfile do
|
2017-12-08 09:58:14 +01:00
|
|
|
use Mix.Project
|
|
|
|
|
2024-04-10 14:36:21 +02:00
|
|
|
@version "5.0.0-beta.1"
|
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,
|
2023-11-30 09:55:23 +01:00
|
|
|
elixir: "~> 1.15",
|
2018-07-25 16:42:04 +02:00
|
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
2022-08-19 14:43:21 +02:00
|
|
|
compilers: 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],
|
2021-09-10 11:27:59 +02:00
|
|
|
dialyzer: [plt_add_apps: [:mix]],
|
2018-07-25 16:42:04 +02:00
|
|
|
preferred_cli_env: [
|
|
|
|
coveralls: :test,
|
|
|
|
"coveralls.detail": :test,
|
|
|
|
"coveralls.post": :test,
|
2021-11-14 16:27:53 +01:00
|
|
|
"coveralls.html": :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
|
|
|
]
|
2021-10-05 15:29:23 +02:00
|
|
|
],
|
|
|
|
unused: [
|
|
|
|
ignore: [
|
|
|
|
Mobilizon.Storage.PostgresTypes,
|
|
|
|
Mobilizon.Factory,
|
|
|
|
Mobilizon.Web.Router.Helpers,
|
|
|
|
Mobilizon.Web.Email.Mailer,
|
|
|
|
Mobilizon.Web.Auth.Guardian.Plug,
|
|
|
|
Mobilizon.Web.Gettext,
|
|
|
|
Mobilizon.Web.Endpoint,
|
|
|
|
Mobilizon.Web.Auth.Guardian,
|
|
|
|
Mobilizon.Web,
|
|
|
|
Mobilizon.GraphQL.Schema.Compiled,
|
|
|
|
Mobilizon.GraphQL.Schema,
|
|
|
|
Mobilizon.Web.Router,
|
|
|
|
Mobilizon.Users.Setting.Location,
|
|
|
|
{:_, :start_link, 1},
|
|
|
|
{:_, :child_spec, 1},
|
|
|
|
{:_, :__impl__, 1},
|
|
|
|
{:_, :__schema__, :_},
|
|
|
|
{:_, :__struct__, 0..1},
|
|
|
|
{:_, :__changeset__, 0},
|
|
|
|
{:_, :create_type, 0},
|
|
|
|
{:_, :drop_type, 0},
|
|
|
|
{:_, :schema, 0},
|
|
|
|
{:_, :schemaless_type, 0},
|
|
|
|
{:_, :valid_value?, 0..1},
|
|
|
|
{:_, :__enum_map__, 0},
|
|
|
|
{:_, :__absinthe_blueprint__, :_},
|
|
|
|
{:_, :__absinthe_function__, :_},
|
|
|
|
{~r/^Mobilizon.Web.*Controller/, :_, 2},
|
|
|
|
{~r/^Mobilizon.Web.*View/, :_, :_},
|
|
|
|
{~r/^Mobilizon.Web.Email.*/, :render, 3},
|
|
|
|
{~r/^Mobilizon.Service.HTTP.*Client/, :_, :_},
|
|
|
|
{~r/^Mobilizon.Cldr.*/, :_, :_},
|
|
|
|
{Mobilizon.Web.GraphQLSocket, :__channel__, 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, []},
|
2023-08-18 11:22:13 +02:00
|
|
|
extra_applications: extra_applications(Mix.env())
|
2017-12-08 09:58:14 +01:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2023-08-18 11:22:13 +02:00
|
|
|
defp extra_applications(:test) do
|
|
|
|
extra_applications(:prod) ++ [:inets, :ssl]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp extra_applications(_env) do
|
2023-12-07 11:42:19 +01:00
|
|
|
[:tls_certificate_check, :logger, :runtime_tools, :guardian, :geolix, :crypto, :cachex]
|
2023-08-18 11:22:13 +02: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 ->
|
2024-02-08 11:02:53 +01:00
|
|
|
case String.split(strategy_entry, ":") do
|
|
|
|
[_strategy, dependency] ->
|
|
|
|
dependency
|
|
|
|
|
|
|
|
[strategy] ->
|
|
|
|
"ueberauth_#{strategy}"
|
2020-06-27 19:12:45 +02:00
|
|
|
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
|
|
|
|
[
|
2023-03-17 19:06:46 +01:00
|
|
|
{:phoenix, "~> 1.7.0"},
|
2020-02-18 08:57:00 +01:00
|
|
|
{:phoenix_pubsub, "~> 2.0"},
|
2019-02-14 14:19:55 +01:00
|
|
|
{:phoenix_ecto, "~> 4.0"},
|
2023-04-19 11:54:51 +02:00
|
|
|
{:postgrex, ">= 0.17.1"},
|
2021-09-06 12:28:10 +02:00
|
|
|
{:phoenix_html, "~> 3.0"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:phoenix_live_view, "~> 0.20.0"},
|
2023-03-17 19:06:46 +01:00
|
|
|
{:phoenix_view, "~> 2.0"},
|
2023-12-22 12:15:37 +01:00
|
|
|
{:gettext, "~> 0.24"},
|
2019-09-24 09:43:54 +02:00
|
|
|
{:guardian, "~> 2.0"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:guardian_db, "~> 3.0.0"},
|
2019-12-03 11:29:51 +01:00
|
|
|
{:guardian_phoenix, "~> 2.0"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:argon2_elixir, "~> 4.0"},
|
2022-03-21 16:52:52 +01:00
|
|
|
{:cors_plug, "~> 3.0"},
|
2021-09-24 16:43:19 +02:00
|
|
|
{:ecto_autoslug_field, "~> 3.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"},
|
2022-06-17 10:46:40 +02:00
|
|
|
{:swoosh, "~> 1.7"},
|
2022-04-05 12:16:22 +02:00
|
|
|
{:gen_smtp, "~> 1.1"},
|
|
|
|
{:phoenix_swoosh, "~> 1.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"},
|
2023-08-02 09:28:52 +02:00
|
|
|
{:dataloader, "~> 2.0"},
|
2021-01-22 14:02:28 +01:00
|
|
|
{:atomex, "~> 0.4"},
|
2019-02-27 16:28:09 +01:00
|
|
|
{:cachex, "~> 3.1"},
|
2022-08-19 14:43:21 +02:00
|
|
|
{:geohax, "~> 1.0.0"},
|
2021-08-02 18:11:22 +02:00
|
|
|
{:mogrify, "~> 0.9"},
|
2020-11-30 12:22:05 +01:00
|
|
|
{:linkify, "~> 0.3"},
|
|
|
|
{:http_signatures, "~> 0.1.0"},
|
2022-08-19 14:43:21 +02:00
|
|
|
{:ex_cldr, "~> 2.33"},
|
2020-01-28 16:30:52 +01:00
|
|
|
{:ex_cldr_dates_times, "~> 2.2"},
|
2022-05-11 09:24:27 +02:00
|
|
|
{:ex_cldr_plugs, "~> 1.0"},
|
2019-10-21 13:42:45 +02:00
|
|
|
{:ex_optimizer, "~> 0.1"},
|
2023-08-02 09:28:52 +02:00
|
|
|
{:progress_bar, "~> 3.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"},
|
2024-04-10 14:36:21 +02:00
|
|
|
{:ueberauth, "0.10.8", override: true},
|
2021-08-02 18:11:22 +02:00
|
|
|
{:ueberauth_twitter, "~> 0.4"},
|
2022-06-17 10:46:40 +02:00
|
|
|
{:ueberauth_discord, "~> 0.7"},
|
2022-01-17 16:50:58 +01:00
|
|
|
{:ueberauth_github, "~> 0.8.1"},
|
|
|
|
{:ueberauth_facebook, "~> 0.9"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:ueberauth_google, "~> 0.12.1"},
|
2023-05-17 09:33:49 +02:00
|
|
|
{:ueberauth_keycloak_strategy, "~> 0.4.0"},
|
2022-04-28 11:41:28 +02:00
|
|
|
{:ueberauth_gitlab_strategy, "~> 0.4.0"},
|
2022-05-02 12:16:58 +02:00
|
|
|
{:ueberauth_cas, "~> 2.0"},
|
2020-07-09 17:24:28 +02:00
|
|
|
{:ecto_shortuuid, "~> 0.1"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:tesla, "~> 1.8.0"},
|
2021-06-27 16:35:21 +02:00
|
|
|
{:sitemapper, "~> 0.6"},
|
|
|
|
{:xml_builder, "~> 2.2"},
|
2022-11-21 11:03:45 +01:00
|
|
|
{:remote_ip, "~> 1.1"},
|
2021-10-29 11:12:40 +02:00
|
|
|
{:ex_cldr_languages, "~> 0.3.0"},
|
2020-12-21 15:47:26 +01:00
|
|
|
{:slugger, "~> 0.3"},
|
2023-11-21 18:21:50 +01:00
|
|
|
{:sentry, "~> 8.1"},
|
2021-03-29 19:26:49 +02:00
|
|
|
{:html_entities, "~> 0.5"},
|
2021-08-02 18:11:22 +02:00
|
|
|
{:sweet_xml, "~> 0.7"},
|
2022-05-02 12:07:39 +02:00
|
|
|
{:web_push_encryption, github: "danhper/elixir-web-push-encryption"},
|
2021-11-03 09:13:27 +01:00
|
|
|
{:eblurhash, "~> 1.2.0"},
|
2021-07-26 17:16:39 +02:00
|
|
|
{:struct_access, "~> 1.1.2"},
|
2022-06-17 10:46:40 +02:00
|
|
|
{:paasaa, "~> 0.6.0"},
|
2021-10-04 18:59:41 +02:00
|
|
|
{:nimble_csv, "~> 1.1"},
|
|
|
|
{:export, "~> 0.1.0"},
|
2023-08-09 16:02:16 +02:00
|
|
|
{:erlport, "~> 0.11.0"},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:tz_world, "~> 1.3.0"},
|
2021-10-18 16:05:45 +02:00
|
|
|
{:tzdata, "~> 1.1"},
|
2022-01-18 12:47:45 +01:00
|
|
|
{:codepagex, "~> 0.1.6"},
|
2022-07-12 10:55:28 +02:00
|
|
|
{:vite_phx, "~> 0.2"},
|
2022-09-21 10:15:47 +02:00
|
|
|
{:unplug, "~> 1.0.0"},
|
2022-10-06 08:59:50 +02:00
|
|
|
{:replug, "~> 0.1.0"},
|
2023-01-31 19:35:29 +01:00
|
|
|
{:exkismet, github: "tcitworld/exkismet"},
|
2023-03-24 12:13:42 +01:00
|
|
|
{:rajska, github: "tcitworld/rajska", branch: "mobilizon"},
|
|
|
|
{:hammer, "~> 6.1"},
|
2023-12-07 11:42:19 +01:00
|
|
|
{:tls_certificate_check, "~> 1.20"},
|
2024-02-09 15:38:52 +01:00
|
|
|
{:bandit, "~> 1.0"},
|
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]},
|
2023-11-21 16:03:22 +01:00
|
|
|
{:excoveralls, "~> 0.18.0", only: :test},
|
2021-10-22 18:31:58 +02:00
|
|
|
{:ex_doc, "~> 0.25", 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-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]},
|
2021-09-27 09:41:49 +02:00
|
|
|
{:sobelow, "~> 0.8", only: [:dev, :test]},
|
2022-11-21 11:03:45 +01:00
|
|
|
{:doctor, "~> 0.21", only: :dev},
|
2022-11-06 16:56:04 +01:00
|
|
|
{:haversine, "~> 0.1.0"},
|
2023-03-17 19:16:15 +01:00
|
|
|
{:ecto_dev_logger, "~> 0.7"},
|
2024-08-19 12:13:03 +02:00
|
|
|
{:credo_code_climate, "~> 0.1.0", only: [:dev, :test]},
|
|
|
|
# Generate nix dependencies
|
|
|
|
{:deps_nix, "~> 0.0", only: :dev}
|
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"
|
|
|
|
],
|
2023-11-15 16:36:23 +01:00
|
|
|
prepare_test: [
|
2020-01-30 20:27:25 +01:00
|
|
|
"ecto.create",
|
2019-09-08 01:51:18 +02:00
|
|
|
"ecto.migrate",
|
2023-11-15 16:36:23 +01:00
|
|
|
"tz_world.update"
|
|
|
|
],
|
|
|
|
test: [
|
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",
|
2023-11-14 17:24:42 +01:00
|
|
|
"cmd npm ci",
|
2019-04-30 13:16:29 +02:00
|
|
|
"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
|
2021-12-15 12:58:31 +01:00
|
|
|
File.mkdir("test/uploads")
|
2019-09-09 09:55:33 +02:00
|
|
|
Mix.Task.run("test", args)
|
|
|
|
File.rm_rf!("test/uploads")
|
|
|
|
end
|
|
|
|
|
2024-02-08 11:02:53 +01:00
|
|
|
defp docs do
|
2019-03-14 15:00:34 +01:00
|
|
|
[
|
|
|
|
source_ref: "v#{@version}",
|
|
|
|
groups_for_modules: groups_for_modules(),
|
|
|
|
nest_modules_by_prefix: [
|
|
|
|
Mobilizon,
|
2022-04-07 18:37:31 +02:00
|
|
|
Mobilizon.Activities,
|
|
|
|
Mobilizon.Actors,
|
|
|
|
Mobilizon.Admin,
|
|
|
|
Mobilizon.Discussions,
|
|
|
|
Mobilizon.Events,
|
|
|
|
Mobilizon.GraphQL,
|
|
|
|
Mobilizon.Medias,
|
|
|
|
Mobilizon.Posts,
|
|
|
|
Mobilizon.Reports,
|
|
|
|
Mobilizon.Resources,
|
|
|
|
Mobilizon.Todos,
|
|
|
|
Mobilizon.Users,
|
|
|
|
Mobilizon.Federation,
|
|
|
|
Mobilizon.Federation.ActivityPub,
|
|
|
|
Mobilizon.Federation.ActivityPub.Actions,
|
|
|
|
Mobilizon.Federation.ActivityPub.Types,
|
|
|
|
Mobilizon.Federation.ActivityStream,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter,
|
|
|
|
Mobilizon.GraphQL.Resolvers,
|
2019-12-20 13:04:34 +01:00
|
|
|
Mobilizon.GraphQL.Schema,
|
2022-04-07 18:37:31 +02:00
|
|
|
Mobilizon.Service,
|
|
|
|
Mobilizon.Service.Activity,
|
|
|
|
Mobilizon.Service.Export,
|
|
|
|
Mobilizon.Service.Geospatial,
|
|
|
|
Mobilizon.Service.Metadata,
|
|
|
|
Mobilizon.Service.Workers,
|
|
|
|
Mobilizon.Web,
|
|
|
|
Mobilizon.Web.Email,
|
|
|
|
Mobilizon.Web.Plugs,
|
|
|
|
Mobilizon.Web.Upload
|
2019-03-14 15:00:34 +01:00
|
|
|
]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2024-02-08 11:02:53 +01:00
|
|
|
defp groups_for_modules do
|
2019-03-14 15:00:34 +01:00
|
|
|
[
|
|
|
|
Models: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Actors~r/,
|
|
|
|
~r/Mobilizon.Addresses/,
|
|
|
|
~r/Mobilizon.Admin/,
|
|
|
|
~r/Mobilizon.Events/,
|
|
|
|
~r/Mobilizon.Instances/,
|
|
|
|
~r/Mobilizon.Medias/,
|
|
|
|
~r/Mobilizon.Mention/,
|
|
|
|
~r/Mobilizon.Reports/,
|
|
|
|
~r/Mobilizon.Share/,
|
|
|
|
~r/Mobilizon.Tombstone/,
|
|
|
|
~r/Mobilizon.Users/
|
|
|
|
],
|
|
|
|
"GraphQL APIs": [
|
|
|
|
~r/Mobilizon.GraphQL.API/
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
2022-04-07 18:37:31 +02:00
|
|
|
Emails: [
|
|
|
|
~r/Mobilizon.Web.Email/
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Web: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Web/
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
Geospatial: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Service.Geospatial/
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
2020-01-23 21:59:50 +01:00
|
|
|
Localization: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Cldr/,
|
|
|
|
~r/Mobilizon.Web.Gettext/
|
2020-01-23 21:59:50 +01:00
|
|
|
],
|
2019-03-14 15:00:34 +01:00
|
|
|
GraphQL: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Web.GraphQLSocket/,
|
|
|
|
~r/Mobilizon.GraphQL/
|
2019-03-14 15:00:34 +01:00
|
|
|
],
|
|
|
|
ActivityPub: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Federation.ActivityPub/,
|
|
|
|
~r/Mobilizon.Federation.ActivityStream/,
|
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: [
|
2022-04-07 18:37:31 +02:00
|
|
|
~r/Mobilizon.Service/
|
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
|