Add anonymous and remote participations

This commit is contained in:
Thomas Citharel
2019-12-20 13:04:34 +01:00
parent 17e0b3968f
commit 2ed9050a90
135 changed files with 10141 additions and 2271 deletions

View File

@@ -156,6 +156,28 @@ config :mobilizon, :maps,
attribution: System.get_env("MAPS_TILES_ATTRIBUTION")
]
config :mobilizon, :anonymous,
participation: [
allowed: true,
validation: %{
email: [
enabled: true,
confirmation_required: true
],
captcha: [enabled: false]
}
],
event_creation: [
allowed: false,
validation: %{
email: [
enabled: true,
confirmation_required: true
],
captcha: [enabled: false]
}
]
config :mobilizon, Oban,
repo: Mobilizon.Storage.Repo,
prune: {:maxlen, 10_000},

View File

@@ -73,3 +73,5 @@ config :mobilizon, Mobilizon.Storage.Repo,
port: System.get_env("MOBILIZON_DATABASE_PORT") || "5432",
pool_size: 10,
show_sensitive_data_on_connection_error: true
config :mobilizon, :activitypub, sign_object_fetches: false

View File

@@ -18,7 +18,9 @@ config :mobilizon, Mobilizon.Web.Endpoint,
# Print only warnings and errors during test
config :logger,
backends: [:console],
compile_time_purge_level: :debug,
compile_time_purge_matching: [
[level_lower_than: :debug]
],
level: :info
# Configure your database