2018-10-11 15:37:39 +00:00
|
|
|
defmodule Mobilizon.Mixfile do
|
2017-12-08 08:58:14 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
2021-04-28 13:05:43 +00:00
|
|
|
@version "1.1.2"
|
2019-03-14 14:00:34 +00:00
|
|
|
|
2017-12-08 08:58:14 +00:00
|
|
|
def project do
|
|
|
|
[
|
2018-10-11 15:37:39 +00:00
|
|
|
app: :mobilizon,
|
2019-03-14 14:00:34 +00:00
|
|
|
version: @version,
|
2021-02-04 17:57:50 +00:00
|
|
|
elixir: "~> 1.11",
|
2018-07-25 14:42:04 +00:00
|
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
|
|
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
|
2020-11-06 14:43:38 +00:00
|
|
|
xref: [exclude: [:eldap]],
|
2018-07-25 14:42:04 +00:00
|
|
|
start_permanent: Mix.env() == :prod,
|
2017-12-08 08:58:14 +00:00
|
|
|
aliases: aliases(),
|
2018-01-13 23:56:26 +00:00
|
|
|
deps: deps(),
|
|
|
|
test_coverage: [tool: ExCoveralls],
|
2018-07-25 14:42:04 +00:00
|
|
|
preferred_cli_env: [
|
|
|
|
coveralls: :test,
|
|
|
|
"coveralls.detail": :test,
|
|
|
|
"coveralls.post": :test,
|
2018-11-13 11:23:37 +00:00
|
|
|
"coveralls.html": :test,
|
|
|
|
vcr: :test,
|
|
|
|
"vcr.delete": :test,
|
|
|
|
"vcr.check": :test,
|
|
|
|
"vcr.show": :test
|
2018-07-25 14:42:04 +00:00
|
|
|
],
|
2018-10-11 15:37:39 +00:00
|
|
|
name: "Mobilizon",
|
2019-07-08 15:35:22 +00:00
|
|
|
source_url: "https://framagit.org/framasoft/mobilizon",
|
|
|
|
homepage_url: "https://joinmobilizon.org",
|
2021-01-18 07:54:27 +00:00
|
|
|
docs: docs(),
|
|
|
|
releases: [
|
|
|
|
mobilizon: [
|
2021-03-30 12:36:41 +00:00
|
|
|
include_executables_for: [:unix],
|
2021-02-01 13:57:58 +00:00
|
|
|
applications: [eldap: :transient],
|
2021-04-13 09:35:19 +00:00
|
|
|
config_providers: [{Mobilizon.ConfigProvider, "/etc/mobilizon/config.exs"}],
|
|
|
|
steps: [:assemble, ©_files/1, ©_config/1]
|
2021-01-18 07:54:27 +00:00
|
|
|
]
|
|
|
|
]
|
2017-12-08 08:58:14 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Configuration for the OTP application.
|
|
|
|
#
|
|
|
|
# Type `mix help compile.app` for more information.
|
|
|
|
def application do
|
|
|
|
[
|
2019-09-15 23:13:20 +00:00
|
|
|
mod: {Mobilizon, []},
|
2021-01-18 07:54:27 +00:00
|
|
|
extra_applications: [:logger, :runtime_tools, :guardian, :bamboo, :geolix, :crypto, :cachex]
|
2017-12-08 08:58:14 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2021-04-13 09:35:19 +00: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 08:58:14 +00:00
|
|
|
# Specifies which paths to compile per environment.
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
2018-07-27 08:45:35 +00:00
|
|
|
defp elixirc_paths(:dev), do: ["lib", "test/support/factory.ex"]
|
2018-07-25 14:42:04 +00:00
|
|
|
defp elixirc_paths(_), do: ["lib"]
|
2017-12-08 08:58:14 +00:00
|
|
|
|
2020-06-27 17:12:45 +00: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 08:58:14 +00:00
|
|
|
# Specifies your project dependencies.
|
|
|
|
#
|
|
|
|
# Type `mix help deps` for examples and options.
|
|
|
|
defp deps do
|
|
|
|
[
|
2020-02-18 07:57:00 +00:00
|
|
|
{:phoenix, "~> 1.5.0"},
|
|
|
|
{:phoenix_pubsub, "~> 2.0"},
|
2019-02-14 13:19:55 +00:00
|
|
|
{:phoenix_ecto, "~> 4.0"},
|
2019-12-13 11:10:30 +00:00
|
|
|
{:postgrex, ">= 0.15.3"},
|
2017-12-08 08:58:14 +00:00
|
|
|
{:phoenix_html, "~> 2.10"},
|
|
|
|
{:gettext, "~> 0.11"},
|
2019-02-14 13:19:55 +00:00
|
|
|
{:cowboy, "~> 2.6"},
|
2019-09-24 07:43:54 +00:00
|
|
|
{:guardian, "~> 2.0"},
|
2021-01-11 10:30:03 +00:00
|
|
|
{:guardian_db, "~> 2.1.0"},
|
2019-12-03 10:29:51 +00:00
|
|
|
{:guardian_phoenix, "~> 2.0"},
|
2019-02-14 13:19:55 +00:00
|
|
|
{:argon2_elixir, "~> 2.0"},
|
2019-02-07 15:53:58 +00:00
|
|
|
{:cors_plug, "~> 2.0"},
|
2019-07-23 13:41:59 +00:00
|
|
|
{:ecto_autoslug_field, "~> 2.0"},
|
2018-01-13 22:33:03 +00:00
|
|
|
{:rsa_ex, "~> 0.1"},
|
2018-08-24 10:31:41 +00:00
|
|
|
{:geo, "~> 3.0"},
|
2019-02-14 13:19:55 +00:00
|
|
|
{:geo_postgis, "~> 3.1"},
|
2018-01-13 22:33:03 +00:00
|
|
|
{:timex, "~> 3.0"},
|
2019-04-03 15:29:03 +00:00
|
|
|
{:icalendar, github: "tcitworld/icalendar"},
|
2018-01-26 10:02:11 +00:00
|
|
|
{:exgravatar, "~> 2.0.1"},
|
2020-02-18 07:57:00 +00:00
|
|
|
# {:json_ld, "~> 0.3"},
|
|
|
|
{:jason, "~> 1.2"},
|
2019-02-21 15:59:39 +00:00
|
|
|
{:ex_crypto, "~> 0.10.0"},
|
2018-05-17 09:32:23 +00:00
|
|
|
{:http_sign, "~> 0.1.1"},
|
2019-10-31 09:50:24 +00:00
|
|
|
{:ecto_enum, "~> 1.4"},
|
2018-08-24 10:31:41 +00:00
|
|
|
{:ex_ical, "~> 0.2"},
|
2021-04-26 08:45:42 +00:00
|
|
|
{:bamboo, "~> 2.1"},
|
2021-03-09 09:42:01 +00:00
|
|
|
{:bamboo_phoenix, "~> 1.0"},
|
|
|
|
{:bamboo_smtp, "~> 4.0"},
|
2020-09-30 08:39:00 +00:00
|
|
|
{:geolix, "~> 2.0"},
|
|
|
|
{:geolix_adapter_mmdb2, "~> 0.6.0"},
|
2021-03-09 09:42:01 +00:00
|
|
|
{:absinthe, "~> 1.6"},
|
2021-02-15 08:40:42 +00:00
|
|
|
{:absinthe_phoenix, "~> 2.0.1"},
|
2020-02-18 07:57:00 +00:00
|
|
|
{:absinthe_plug, "~> 1.5.0"},
|
2019-04-01 15:17:08 +00:00
|
|
|
{:dataloader, "~> 1.0.6"},
|
2019-02-14 13:19:55 +00:00
|
|
|
{:plug_cowboy, "~> 2.0"},
|
2021-01-22 13:02:28 +00:00
|
|
|
{:atomex, "~> 0.4"},
|
2019-02-27 15:28:09 +00:00
|
|
|
{:cachex, "~> 3.1"},
|
2020-10-08 07:24:26 +00:00
|
|
|
{:geohax, "~> 0.4.0"},
|
2020-08-11 08:13:09 +00:00
|
|
|
{:mogrify, "~> 0.8.0"},
|
2020-11-30 11:22:05 +00:00
|
|
|
{:linkify, "~> 0.3"},
|
|
|
|
{:http_signatures, "~> 0.1.0"},
|
2020-02-18 07:57:00 +00:00
|
|
|
{:ex_cldr, "~> 2.0"},
|
2020-01-28 15:30:52 +00:00
|
|
|
{:ex_cldr_dates_times, "~> 2.2"},
|
2019-10-21 11:42:45 +00:00
|
|
|
{:ex_optimizer, "~> 0.1"},
|
2019-10-22 08:25:28 +00:00
|
|
|
{:progress_bar, "~> 2.0"},
|
2020-10-13 15:03:19 +00:00
|
|
|
{:oban, "~> 2.2"},
|
2021-02-15 08:40:42 +00:00
|
|
|
{:floki, "~> 0.30.0"},
|
2020-02-18 07:57:00 +00:00
|
|
|
{:ip_reserved, "~> 0.1.0"},
|
|
|
|
{:fast_sanitize, "~> 0.1"},
|
2020-06-27 17:12:45 +00: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 15:24:28 +00:00
|
|
|
{:ecto_shortuuid, "~> 0.1"},
|
2020-11-16 09:04:23 +00:00
|
|
|
{:tesla, "~> 1.4.0"},
|
2020-10-08 07:24:26 +00:00
|
|
|
{:sitemapper, "~> 0.5.0"},
|
2021-01-20 09:48:47 +00:00
|
|
|
{:xml_builder, "~> 2.1.1"},
|
2021-03-25 13:42:02 +00:00
|
|
|
{:remote_ip, "~> 1.0.0"},
|
2020-10-07 13:37:23 +00:00
|
|
|
{:ex_cldr_languages, "~> 0.2.1"},
|
2020-12-21 14:47:26 +00:00
|
|
|
{:slugger, "~> 0.3"},
|
2021-02-04 17:57:26 +00:00
|
|
|
{:sentry, "~> 8.0"},
|
2021-03-29 17:26:49 +00:00
|
|
|
{:html_entities, "~> 0.5"},
|
2021-04-09 08:19:25 +00:00
|
|
|
{:sweet_xml, "~> 0.6.6"},
|
2018-01-26 10:02:11 +00:00
|
|
|
# Dev and test dependencies
|
2019-10-05 17:07:50 +00:00
|
|
|
{:phoenix_live_reload, "~> 1.2", only: [:dev, :e2e]},
|
2019-04-01 15:17:08 +00:00
|
|
|
{:ex_machina, "~> 2.3", only: [:dev, :test]},
|
2021-02-15 08:40:42 +00:00
|
|
|
{:excoveralls, "~> 0.14.0", only: :test},
|
2020-10-13 15:03:19 +00:00
|
|
|
{:ex_doc, "~> 0.23", only: [:dev, :test], runtime: false},
|
2019-10-31 09:50:24 +00:00
|
|
|
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
|
2021-01-11 10:30:03 +00:00
|
|
|
{:ex_unit_notifier, "~> 1.0", only: :test},
|
2021-03-09 09:42:01 +00:00
|
|
|
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
|
2020-10-08 13:58:54 +00:00
|
|
|
{:exvcr, "~> 0.12", only: :test},
|
2020-11-02 11:42:49 +00:00
|
|
|
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
|
2019-12-13 11:10:30 +00:00
|
|
|
{:mock, "~> 0.3.4", only: :test},
|
2020-07-09 15:24:28 +00:00
|
|
|
{:elixir_feed_parser, "~> 2.1.0", only: :test},
|
2021-01-12 19:09:44 +00:00
|
|
|
{:mox, "~> 1.0", only: :test},
|
2021-01-22 16:06:00 +00:00
|
|
|
{:junit_formatter, "~> 3.1", only: [:test]},
|
|
|
|
{:sobelow, "~> 0.8", only: [:dev, :test]}
|
2020-06-27 17:12:45 +00:00
|
|
|
] ++ oauth_deps()
|
2017-12-08 08:58:14 +00: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-07 23:51:18 +00:00
|
|
|
"ecto.setup": [
|
|
|
|
"ecto.create",
|
|
|
|
"ecto.migrate",
|
|
|
|
"run priv/repo/seeds.exs"
|
|
|
|
],
|
|
|
|
"ecto.reset": [
|
|
|
|
"ecto.drop",
|
|
|
|
"ecto.setup"
|
|
|
|
],
|
|
|
|
test: [
|
2020-01-30 19:27:25 +00:00
|
|
|
"ecto.create",
|
2019-09-07 23:51:18 +00:00
|
|
|
"ecto.migrate",
|
2019-09-09 07:55:33 +00:00
|
|
|
&run_test/1
|
2019-09-07 23:51:18 +00:00
|
|
|
],
|
2019-04-30 11:16:29 +00:00
|
|
|
"phx.deps_migrate_serve": [
|
|
|
|
"deps.get",
|
|
|
|
"ecto.create --quiet",
|
|
|
|
"ecto.migrate",
|
|
|
|
"cmd cd js && yarn install && cd ../",
|
|
|
|
"phx.server"
|
|
|
|
]
|
2017-12-08 08:58:14 +00:00
|
|
|
]
|
|
|
|
end
|
2019-03-14 14:00:34 +00:00
|
|
|
|
2019-09-09 07:55:33 +00:00
|
|
|
defp run_test(args) do
|
|
|
|
Mix.Task.run("test", args)
|
|
|
|
File.rm_rf!("test/uploads")
|
|
|
|
end
|
|
|
|
|
2019-03-14 14:00:34 +00:00
|
|
|
defp docs() do
|
|
|
|
[
|
|
|
|
source_ref: "v#{@version}",
|
|
|
|
groups_for_modules: groups_for_modules(),
|
|
|
|
nest_modules_by_prefix: [
|
|
|
|
Mobilizon,
|
2020-01-26 20:36:50 +00:00
|
|
|
Mobilizon.Web,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Service.Geospatial,
|
2020-01-26 20:36:50 +00:00
|
|
|
Mobilizon.Web.Resolvers,
|
2019-12-20 12:04:34 +00:00
|
|
|
Mobilizon.GraphQL.Schema,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Service
|
|
|
|
]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp groups_for_modules() do
|
|
|
|
[
|
|
|
|
Models: [
|
|
|
|
Mobilizon.Actors,
|
|
|
|
Mobilizon.Actors.Actor,
|
2019-09-08 22:52:49 +00:00
|
|
|
Mobilizon.Actors.ActorOpenness,
|
|
|
|
Mobilizon.Actors.ActorType,
|
|
|
|
Mobilizon.Actors.MemberRole,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Actors.Bot,
|
|
|
|
Mobilizon.Actors.Follower,
|
|
|
|
Mobilizon.Actors.Member,
|
|
|
|
Mobilizon.Addresses,
|
|
|
|
Mobilizon.Addresses.Address,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Admin,
|
|
|
|
Mobilizon.Admin.ActionLog,
|
2019-03-14 14:00:34 +00: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 20:59:50 +00:00
|
|
|
Mobilizon.Events.EventCategory,
|
2019-09-12 23:01:17 +00:00
|
|
|
Mobilizon.Events.EventStatus,
|
|
|
|
Mobilizon.Events.EventVisibility,
|
|
|
|
Mobilizon.Events.JoinOptions,
|
|
|
|
Mobilizon.Events.ParticipantRole,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Events.Tag.TitleSlug,
|
|
|
|
Mobilizon.Events.Tag.TitleSlug.Type,
|
|
|
|
Mobilizon.Events.TagRelation,
|
2020-11-26 10:41:13 +00:00
|
|
|
Mobilizon.Medias,
|
|
|
|
Mobilizon.Medias.File,
|
|
|
|
Mobilizon.Medias.Media,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Mention,
|
|
|
|
Mobilizon.Reports,
|
|
|
|
Mobilizon.Reports.Note,
|
|
|
|
Mobilizon.Reports.Report,
|
|
|
|
Mobilizon.Share,
|
|
|
|
Mobilizon.Tombstone,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Users,
|
|
|
|
Mobilizon.Users.User,
|
2019-09-07 17:54:11 +00:00
|
|
|
Mobilizon.Users.UserRole,
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Activity
|
2019-03-14 14:00:34 +00:00
|
|
|
],
|
|
|
|
APIs: [
|
2020-01-26 20:44:19 +00: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 14:00:34 +00:00
|
|
|
],
|
|
|
|
Web: [
|
2020-01-26 20:36:50 +00: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 14:00:34 +00:00
|
|
|
],
|
|
|
|
Geospatial: [
|
|
|
|
Mobilizon.Service.Geospatial,
|
|
|
|
Mobilizon.Service.Geospatial.Addok,
|
|
|
|
Mobilizon.Service.Geospatial.GoogleMaps,
|
|
|
|
Mobilizon.Service.Geospatial.MapQuest,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Service.Geospatial.Mimirsbrunn,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Service.Geospatial.Nominatim,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Service.Geospatial.Pelias,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Service.Geospatial.Photon,
|
|
|
|
Mobilizon.Service.Geospatial.Provider
|
|
|
|
],
|
2020-01-23 20:59:50 +00:00
|
|
|
Localization: [
|
|
|
|
Mobilizon.Cldr,
|
2020-01-26 20:36:50 +00:00
|
|
|
Mobilizon.Web.Gettext
|
2020-01-23 20:59:50 +00:00
|
|
|
],
|
2019-03-14 14:00:34 +00:00
|
|
|
GraphQL: [
|
2020-01-26 20:36:50 +00:00
|
|
|
Mobilizon.Web.GraphQLSocket,
|
2019-12-20 12:04:34 +00: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 10:41:13 +00:00
|
|
|
Mobilizon.GraphQL.Resolvers.Media,
|
2019-12-20 12:04:34 +00: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 15:24:28 +00:00
|
|
|
Mobilizon.GraphQL.Schema.Discussions.CommentType,
|
2019-12-20 12:04:34 +00:00
|
|
|
Mobilizon.GraphQL.Schema.ConfigType,
|
|
|
|
Mobilizon.GraphQL.Schema.EventType,
|
|
|
|
Mobilizon.GraphQL.Schema.Events.FeedTokenType,
|
|
|
|
Mobilizon.GraphQL.Schema.Events.ParticipantType,
|
2020-11-26 10:41:13 +00:00
|
|
|
Mobilizon.GraphQL.Schema.MediaType,
|
2019-12-20 12:04:34 +00: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 14:00:34 +00:00
|
|
|
],
|
|
|
|
ActivityPub: [
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.ActivityPub,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Audience,
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Federator,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Relay,
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Transmogrifier,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Visibility,
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.ActivityPub.Utils,
|
2020-01-23 20:59:50 +00: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 10:41:13 +00:00
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Media,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Tombstone,
|
|
|
|
Mobilizon.Federation.ActivityStream.Converter.Utils,
|
2020-01-22 01:14:42 +00:00
|
|
|
Mobilizon.Federation.HTTPSignatures.Signature,
|
2020-01-22 21:40:40 +00:00
|
|
|
Mobilizon.Federation.WebFinger,
|
|
|
|
Mobilizon.Federation.WebFinger.XmlBuilder,
|
2020-01-26 20:36:50 +00: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 14:00:34 +00:00
|
|
|
],
|
|
|
|
Services: [
|
|
|
|
Mobilizon.Service.Export.Feed,
|
|
|
|
Mobilizon.Service.Export.ICalendar,
|
|
|
|
Mobilizon.Service.Formatter,
|
2020-01-23 20:59:50 +00: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 14:00:34 +00:00
|
|
|
],
|
|
|
|
Tools: [
|
|
|
|
Mobilizon.Application,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Config,
|
|
|
|
Mobilizon.Crypto,
|
2019-03-14 14:00:34 +00:00
|
|
|
Mobilizon.Factory,
|
2020-01-23 20:59:50 +00:00
|
|
|
Mobilizon.Storage.Ecto,
|
|
|
|
Mobilizon.Storage.Page,
|
|
|
|
Mobilizon.Storage.Repo
|
2019-03-14 14:00:34 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
end
|
2017-12-08 08:58:14 +00:00
|
|
|
end
|