mix.exs 16 KB
Newer Older
Thomas Citharel's avatar
Thomas Citharel committed
1
defmodule Mobilizon.Mixfile do
Thomas Citharel's avatar
Thomas Citharel committed
2
3
  use Mix.Project

Thomas Citharel's avatar
Thomas Citharel committed
4
  @version "2.0.0-rc.3"
Thomas Citharel's avatar
Thomas Citharel committed
5

Thomas Citharel's avatar
Thomas Citharel committed
6
7
  def project do
    [
Thomas Citharel's avatar
Thomas Citharel committed
8
      app: :mobilizon,
Thomas Citharel's avatar
Thomas Citharel committed
9
      version: @version,
10
      elixir: "~> 1.12",
Thomas Citharel's avatar
Thomas Citharel committed
11
      elixirc_paths: elixirc_paths(Mix.env()),
Thomas Citharel's avatar
Thomas Citharel committed
12
      compilers: [:gettext] ++ Mix.compilers(),
Thomas Citharel's avatar
Thomas Citharel committed
13
      xref: [exclude: [:eldap]],
Thomas Citharel's avatar
Thomas Citharel committed
14
      start_permanent: Mix.env() == :prod,
Thomas Citharel's avatar
Thomas Citharel committed
15
      aliases: aliases(),
Thomas Citharel's avatar
Thomas Citharel committed
16
17
      deps: deps(),
      test_coverage: [tool: ExCoveralls],
18
      dialyzer: [plt_add_apps: [:mix]],
Thomas Citharel's avatar
Thomas Citharel committed
19
20
21
22
      preferred_cli_env: [
        coveralls: :test,
        "coveralls.detail": :test,
        "coveralls.post": :test,
Thomas Citharel's avatar
Thomas Citharel committed
23
        "coveralls.html": :test
Thomas Citharel's avatar
Thomas Citharel committed
24
      ],
Thomas Citharel's avatar
Thomas Citharel committed
25
      name: "Mobilizon",
26
27
      source_url: "https://framagit.org/framasoft/mobilizon",
      homepage_url: "https://joinmobilizon.org",
28
29
30
      docs: docs(),
      releases: [
        mobilizon: [
31
          include_executables_for: [:unix],
32
          applications: [eldap: :transient],
33
34
          config_providers: [{Mobilizon.ConfigProvider, "/etc/mobilizon/config.exs"}],
          steps: [:assemble, &copy_files/1, &copy_config/1]
35
        ]
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
      ],
      unused: [
        ignore: [
          Mobilizon.Storage.Repo,
          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}
        ]
74
      ]
Thomas Citharel's avatar
Thomas Citharel committed
75
76
77
78
79
80
81
82
    ]
  end

  # Configuration for the OTP application.
  #
  # Type `mix help compile.app` for more information.
  def application do
    [
83
      mod: {Mobilizon, []},
84
      extra_applications: [:logger, :runtime_tools, :guardian, :bamboo, :geolix, :crypto, :cachex]
Thomas Citharel's avatar
Thomas Citharel committed
85
86
87
    ]
  end

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
  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

Thomas Citharel's avatar
Thomas Citharel committed
105
106
  # Specifies which paths to compile per environment.
  defp elixirc_paths(:test), do: ["lib", "test/support"]
107
  defp elixirc_paths(:dev), do: ["lib", "test/support/factory.ex"]
Thomas Citharel's avatar
Thomas Citharel committed
108
  defp elixirc_paths(_), do: ["lib"]
Thomas Citharel's avatar
Thomas Citharel committed
109

110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
  # 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

Thomas Citharel's avatar
Thomas Citharel committed
127
128
129
130
131
  # Specifies your project dependencies.
  #
  # Type `mix help deps` for examples and options.
  defp deps do
    [
Thomas Citharel's avatar
Thomas Citharel committed
132
      {:phoenix, "~> 1.6.0"},
133
      {:phoenix_pubsub, "~> 2.0"},
134
      {:phoenix_ecto, "~> 4.0"},
Thomas Citharel's avatar
Thomas Citharel committed
135
      {:postgrex, ">= 0.15.3"},
Thomas Citharel's avatar
Thomas Citharel committed
136
      {:phoenix_html, "~> 3.0"},
Thomas Citharel's avatar
Thomas Citharel committed
137
      {:phoenix_live_view, "~> 0.17.1"},
Thomas Citharel's avatar
Thomas Citharel committed
138
      {:gettext, "~> 0.11"},
139
      {:cowboy, "~> 2.6"},
Thomas Citharel's avatar
Thomas Citharel committed
140
      {:guardian, "~> 2.0"},
Thomas Citharel's avatar
Thomas Citharel committed
141
      {:guardian_db, "~> 2.1.0"},
142
      {:guardian_phoenix, "~> 2.0"},
143
      {:argon2_elixir, "~> 2.0"},
144
      {:cors_plug, "~> 2.0"},
Thomas Citharel's avatar
Thomas Citharel committed
145
      {:ecto_autoslug_field, "~> 3.0"},
Thomas Citharel's avatar
Thomas Citharel committed
146
      {:geo, "~> 3.0"},
147
      {:geo_postgis, "~> 3.1"},
148
      {:timex, "~> 3.0"},
149
      {:icalendar, github: "tcitworld/icalendar"},
150
      {:exgravatar, "~> 2.0.1"},
151
152
      # {:json_ld, "~> 0.3"},
      {:jason, "~> 1.2"},
Thomas Citharel's avatar
Thomas Citharel committed
153
      {:ecto_enum, "~> 1.4"},
Thomas Citharel's avatar
Thomas Citharel committed
154
      {:ex_ical, "~> 0.2"},
Thomas Citharel's avatar
Thomas Citharel committed
155
      {:bamboo, "~> 2.1"},
Thomas Citharel's avatar
Thomas Citharel committed
156
157
      {:bamboo_phoenix, "~> 1.0"},
      {:bamboo_smtp, "~> 4.0"},
Thomas Citharel's avatar
Thomas Citharel committed
158
159
      {:geolix, "~> 2.0"},
      {:geolix_adapter_mmdb2, "~> 0.6.0"},
Thomas Citharel's avatar
Thomas Citharel committed
160
      {:absinthe, "~> 1.6"},
Thomas Citharel's avatar
Thomas Citharel committed
161
      {:absinthe_phoenix, "~> 2.0.1"},
162
      {:absinthe_plug, "~> 1.5.0"},
Thomas Citharel's avatar
Thomas Citharel committed
163
      {:dataloader, "~> 1.0.6"},
164
      {:plug_cowboy, "~> 2.0"},
Thomas Citharel's avatar
Thomas Citharel committed
165
      {:atomex, "~> 0.4"},
166
      {:cachex, "~> 3.1"},
Thomas Citharel's avatar
Thomas Citharel committed
167
      {:geohax, "~> 0.4.0"},
Thomas Citharel's avatar
Thomas Citharel committed
168
      {:mogrify, "~> 0.9"},
Thomas Citharel's avatar
Thomas Citharel committed
169
170
      {:linkify, "~> 0.3"},
      {:http_signatures, "~> 0.1.0"},
171
      {:ex_cldr, "~> 2.0"},
Thomas Citharel's avatar
Thomas Citharel committed
172
      {:ex_cldr_dates_times, "~> 2.2"},
173
      {:ex_optimizer, "~> 0.1"},
174
      {:progress_bar, "~> 2.0"},
Thomas Citharel's avatar
Thomas Citharel committed
175
      {:oban, "~> 2.2"},
Thomas Citharel's avatar
Thomas Citharel committed
176
      {:floki, "~> 0.31"},
177
178
      {:ip_reserved, "~> 0.1.0"},
      {:fast_sanitize, "~> 0.1"},
179
      {:ueberauth, "~> 0.6"},
Thomas Citharel's avatar
Thomas Citharel committed
180
      {:ueberauth_twitter, "~> 0.4"},
181
182
183
      {:ueberauth_github, "~> 0.7"},
      {:ueberauth_facebook, "~> 0.8"},
      {:ueberauth_discord, "~> 0.5"},
Thomas Citharel's avatar
Thomas Citharel committed
184
      {:ueberauth_google, "~> 0.10"},
185
186
187
188
      {: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"},
Thomas Citharel's avatar
Thomas Citharel committed
189
      {:ecto_shortuuid, "~> 0.1"},
Thomas Citharel's avatar
Thomas Citharel committed
190
      {:tesla, "~> 1.4.0"},
Thomas Citharel's avatar
Thomas Citharel committed
191
192
      {:sitemapper, "~> 0.6"},
      {:xml_builder, "~> 2.2"},
Thomas Citharel's avatar
Thomas Citharel committed
193
      {:remote_ip, "~> 1.0.0"},
Thomas Citharel's avatar
Thomas Citharel committed
194
      {:ex_cldr_languages, "~> 0.3.0"},
195
      {:slugger, "~> 0.3"},
Thomas Citharel's avatar
Thomas Citharel committed
196
      {:sentry, "~> 8.0"},
197
      {:html_entities, "~> 0.5"},
Thomas Citharel's avatar
Thomas Citharel committed
198
      {:sweet_xml, "~> 0.7"},
Thomas Citharel's avatar
Thomas Citharel committed
199
      {:web_push_encryption, "~> 0.3"},
Thomas Citharel's avatar
Thomas Citharel committed
200
      {:eblurhash, "~> 1.2.0"},
201
      {:struct_access, "~> 1.1.2"},
202
      {:paasaa, "~> 0.5.0"},
203
204
      {:nimble_csv, "~> 1.1"},
      {:export, "~> 0.1.0"},
Thomas Citharel's avatar
Thomas Citharel committed
205
      {:tz_world, "~> 1.0"},
Thomas Citharel's avatar
Thomas Citharel committed
206
      {:tzdata, "~> 1.1"},
207
      # Dev and test dependencies
Thomas Citharel's avatar
Thomas Citharel committed
208
      {:phoenix_live_reload, "~> 1.2", only: [:dev, :e2e]},
Thomas Citharel's avatar
Thomas Citharel committed
209
      {:ex_machina, "~> 2.3", only: [:dev, :test]},
Thomas Citharel's avatar
Thomas Citharel committed
210
      {:excoveralls, "~> 0.14.0", only: :test},
Thomas Citharel's avatar
Thomas Citharel committed
211
      {:ex_doc, "~> 0.25", only: [:dev, :test], runtime: false},
Thomas Citharel's avatar
Thomas Citharel committed
212
      {:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
Thomas Citharel's avatar
Thomas Citharel committed
213
      {:ex_unit_notifier, "~> 1.0", only: :test},
Thomas Citharel's avatar
Thomas Citharel committed
214
      {:dialyxir, "~> 1.1", only: [:dev], runtime: false},
Thomas Citharel's avatar
Thomas Citharel committed
215
      {:credo, "~> 1.5", only: [:dev, :test], runtime: false},
Thomas Citharel's avatar
Thomas Citharel committed
216
      {:mock, "~> 0.3.4", only: :test},
Thomas Citharel's avatar
Thomas Citharel committed
217
      {:elixir_feed_parser, "~> 2.1.0", only: :test},
Thomas Citharel's avatar
Thomas Citharel committed
218
      {:mox, "~> 1.0", only: :test},
Thomas Citharel's avatar
Thomas Citharel committed
219
      {:junit_formatter, "~> 3.1", only: [:test]},
220
      {:sobelow, "~> 0.8", only: [:dev, :test]},
Thomas Citharel's avatar
Thomas Citharel committed
221
      {:doctor, "~> 0.18.0", only: :dev}
222
    ] ++ oauth_deps()
Thomas Citharel's avatar
Thomas Citharel committed
223
224
225
226
227
228
229
230
231
232
  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
    [
miffy's avatar
miffy committed
233
234
235
236
237
238
239
240
241
242
      "ecto.setup": [
        "ecto.create",
        "ecto.migrate",
        "run priv/repo/seeds.exs"
      ],
      "ecto.reset": [
        "ecto.drop",
        "ecto.setup"
      ],
      test: [
243
        "ecto.create",
miffy's avatar
miffy committed
244
        "ecto.migrate",
245
        "tz_world.update",
246
        &run_test/1
miffy's avatar
miffy committed
247
      ],
248
249
250
251
252
253
254
      "phx.deps_migrate_serve": [
        "deps.get",
        "ecto.create --quiet",
        "ecto.migrate",
        "cmd cd js && yarn install && cd ../",
        "phx.server"
      ]
Thomas Citharel's avatar
Thomas Citharel committed
255
256
    ]
  end
Thomas Citharel's avatar
Thomas Citharel committed
257

258
259
260
261
262
  defp run_test(args) do
    Mix.Task.run("test", args)
    File.rm_rf!("test/uploads")
  end

Thomas Citharel's avatar
Thomas Citharel committed
263
264
265
266
267
268
  defp docs() do
    [
      source_ref: "v#{@version}",
      groups_for_modules: groups_for_modules(),
      nest_modules_by_prefix: [
        Mobilizon,
rustra's avatar
rustra committed
269
        Mobilizon.Web,
Thomas Citharel's avatar
Thomas Citharel committed
270
        Mobilizon.Service.Geospatial,
rustra's avatar
rustra committed
271
        Mobilizon.Web.Resolvers,
272
        Mobilizon.GraphQL.Schema,
Thomas Citharel's avatar
Thomas Citharel committed
273
274
275
276
277
278
279
280
281
282
        Mobilizon.Service
      ]
    ]
  end

  defp groups_for_modules() do
    [
      Models: [
        Mobilizon.Actors,
        Mobilizon.Actors.Actor,
miffigriffy's avatar
miffigriffy committed
283
284
285
        Mobilizon.Actors.ActorOpenness,
        Mobilizon.Actors.ActorType,
        Mobilizon.Actors.MemberRole,
Thomas Citharel's avatar
Thomas Citharel committed
286
287
288
289
290
        Mobilizon.Actors.Bot,
        Mobilizon.Actors.Follower,
        Mobilizon.Actors.Member,
        Mobilizon.Addresses,
        Mobilizon.Addresses.Address,
rustra's avatar
rustra committed
291
292
        Mobilizon.Admin,
        Mobilizon.Admin.ActionLog,
Thomas Citharel's avatar
Thomas Citharel committed
293
294
295
296
297
298
299
300
        Mobilizon.Events,
        Mobilizon.Events.Event,
        Mobilizon.Events.FeedToken,
        Mobilizon.Events.Participant,
        Mobilizon.Events.Session,
        Mobilizon.Events.Tag,
        Mobilizon.Events.TagRelations,
        Mobilizon.Events.Track,
rustra's avatar
rustra committed
301
        Mobilizon.Events.EventCategory,
miffigriffy's avatar
miffigriffy committed
302
303
304
305
        Mobilizon.Events.EventStatus,
        Mobilizon.Events.EventVisibility,
        Mobilizon.Events.JoinOptions,
        Mobilizon.Events.ParticipantRole,
Thomas Citharel's avatar
Thomas Citharel committed
306
307
308
        Mobilizon.Events.Tag.TitleSlug,
        Mobilizon.Events.Tag.TitleSlug.Type,
        Mobilizon.Events.TagRelation,
309
310
311
        Mobilizon.Medias,
        Mobilizon.Medias.File,
        Mobilizon.Medias.Media,
rustra's avatar
rustra committed
312
313
314
315
316
317
        Mobilizon.Mention,
        Mobilizon.Reports,
        Mobilizon.Reports.Note,
        Mobilizon.Reports.Report,
        Mobilizon.Share,
        Mobilizon.Tombstone,
Thomas Citharel's avatar
Thomas Citharel committed
318
319
        Mobilizon.Users,
        Mobilizon.Users.User,
miffy's avatar
miffy committed
320
        Mobilizon.Users.UserRole,
rustra's avatar
rustra committed
321
        Mobilizon.Federation.ActivityPub.Activity
Thomas Citharel's avatar
Thomas Citharel committed
322
323
      ],
      APIs: [
rustra's avatar
rustra committed
324
325
326
327
328
329
330
331
        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
Thomas Citharel's avatar
Thomas Citharel committed
332
333
      ],
      Web: [
rustra's avatar
rustra committed
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
        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.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
Thomas Citharel's avatar
Thomas Citharel committed
371
372
373
374
375
376
      ],
      Geospatial: [
        Mobilizon.Service.Geospatial,
        Mobilizon.Service.Geospatial.Addok,
        Mobilizon.Service.Geospatial.GoogleMaps,
        Mobilizon.Service.Geospatial.MapQuest,
rustra's avatar
rustra committed
377
        Mobilizon.Service.Geospatial.Mimirsbrunn,
Thomas Citharel's avatar
Thomas Citharel committed
378
        Mobilizon.Service.Geospatial.Nominatim,
rustra's avatar
rustra committed
379
        Mobilizon.Service.Geospatial.Pelias,
Thomas Citharel's avatar
Thomas Citharel committed
380
381
382
        Mobilizon.Service.Geospatial.Photon,
        Mobilizon.Service.Geospatial.Provider
      ],
rustra's avatar
rustra committed
383
384
      Localization: [
        Mobilizon.Cldr,
rustra's avatar
rustra committed
385
        Mobilizon.Web.Gettext
rustra's avatar
rustra committed
386
      ],
Thomas Citharel's avatar
Thomas Citharel committed
387
      GraphQL: [
rustra's avatar
rustra committed
388
        Mobilizon.Web.GraphQLSocket,
389
390
391
392
393
394
395
396
397
        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,
398
        Mobilizon.GraphQL.Resolvers.Media,
399
400
401
402
403
404
405
406
407
408
409
410
411
        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,
Thomas Citharel's avatar
Thomas Citharel committed
412
        Mobilizon.GraphQL.Schema.Discussions.CommentType,
413
414
415
416
        Mobilizon.GraphQL.Schema.ConfigType,
        Mobilizon.GraphQL.Schema.EventType,
        Mobilizon.GraphQL.Schema.Events.FeedTokenType,
        Mobilizon.GraphQL.Schema.Events.ParticipantType,
417
        Mobilizon.GraphQL.Schema.MediaType,
418
419
420
421
422
423
424
425
        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
Thomas Citharel's avatar
Thomas Citharel committed
426
427
      ],
      ActivityPub: [
rustra's avatar
rustra committed
428
        Mobilizon.Federation.ActivityPub,
rustra's avatar
rustra committed
429
        Mobilizon.Federation.ActivityPub.Audience,
rustra's avatar
rustra committed
430
        Mobilizon.Federation.ActivityPub.Federator,
rustra's avatar
rustra committed
431
        Mobilizon.Federation.ActivityPub.Relay,
rustra's avatar
rustra committed
432
        Mobilizon.Federation.ActivityPub.Transmogrifier,
rustra's avatar
rustra committed
433
        Mobilizon.Federation.ActivityPub.Visibility,
rustra's avatar
rustra committed
434
        Mobilizon.Federation.ActivityPub.Utils,
rustra's avatar
rustra committed
435
436
437
438
439
440
441
442
443
        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,
444
        Mobilizon.Federation.ActivityStream.Converter.Media,
rustra's avatar
rustra committed
445
446
        Mobilizon.Federation.ActivityStream.Converter.Tombstone,
        Mobilizon.Federation.ActivityStream.Converter.Utils,
rustra's avatar
rustra committed
447
        Mobilizon.Federation.HTTPSignatures.Signature,
448
449
        Mobilizon.Federation.WebFinger,
        Mobilizon.Federation.WebFinger.XmlBuilder,
rustra's avatar
rustra committed
450
451
452
453
454
455
456
457
        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
Thomas Citharel's avatar
Thomas Citharel committed
458
459
460
461
462
      ],
      Services: [
        Mobilizon.Service.Export.Feed,
        Mobilizon.Service.Export.ICalendar,
        Mobilizon.Service.Formatter,
rustra's avatar
rustra committed
463
464
465
466
467
468
469
470
471
472
473
474
        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
Thomas Citharel's avatar
Thomas Citharel committed
475
476
477
      ],
      Tools: [
        Mobilizon.Application,
rustra's avatar
rustra committed
478
479
        Mobilizon.Config,
        Mobilizon.Crypto,
Thomas Citharel's avatar
Thomas Citharel committed
480
        Mobilizon.Factory,
rustra's avatar
rustra committed
481
482
483
        Mobilizon.Storage.Ecto,
        Mobilizon.Storage.Page,
        Mobilizon.Storage.Repo
Thomas Citharel's avatar
Thomas Citharel committed
484
485
486
      ]
    ]
  end
Thomas Citharel's avatar
Thomas Citharel committed
487
end