projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix migration
[akkoma]
/
config
/
test.exs
diff --git
a/config/test.exs
b/config/test.exs
index 40db66170f2af4ed98f5f92d051fb043bf13f92e..9d441a7f5e5123ebb80af51eca4544dcd3116d23 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-17,6
+17,8
@@
config :pleroma, Pleroma.Captcha,
# Print only warnings and errors during test
config :logger, level: :warn
# Print only warnings and errors during test
config :logger, level: :warn
+config :pleroma, :auth, oauth_consumer_strategies: []
+
config :pleroma, Pleroma.Upload, filters: [], link_name: false
config :pleroma, Pleroma.Uploaders.Local, uploads: "test/uploads"
config :pleroma, Pleroma.Upload, filters: [], link_name: false
config :pleroma, Pleroma.Uploaders.Local, uploads: "test/uploads"
@@
-25,7
+27,8
@@
config :pleroma, Pleroma.Emails.Mailer, adapter: Swoosh.Adapters.Test
config :pleroma, :instance,
email: "admin@example.com",
config :pleroma, :instance,
email: "admin@example.com",
- notify_email: "noreply@example.com"
+ notify_email: "noreply@example.com",
+ skip_thread_containment: false
# Configure your database
config :pleroma, Pleroma.Repo,
# Configure your database
config :pleroma, Pleroma.Repo,
@@
-39,10
+42,12
@@
config :pleroma, Pleroma.Repo,
# Reduce hash rounds for testing
config :pbkdf2_elixir, rounds: 1
# Reduce hash rounds for testing
config :pbkdf2_elixir, rounds: 1
-config :pleroma, :websub, Pleroma.Web.WebsubMock
-config :pleroma, :ostatus, Pleroma.Web.OStatusMock
config :tesla, adapter: Tesla.Mock
config :tesla, adapter: Tesla.Mock
-config :pleroma, :rich_media, enabled: false
+
+config :pleroma, :rich_media,
+ enabled: false,
+ ignore_hosts: [],
+ ignore_tld: ["local", "localdomain", "lan"]
config :web_push_encryption, :vapid_details,
subject: "mailto:administrator@example.com",
config :web_push_encryption, :vapid_details,
subject: "mailto:administrator@example.com",
@@
-59,10
+64,16
@@
config :pleroma, Pleroma.ScheduledActivity,
total_user_limit: 3,
enabled: false
total_user_limit: 3,
enabled: false
-config :pleroma, :
app_account_creation, max_requests: 5
+config :pleroma, :
rate_limit, app_account_creation: {10_000, 5}
config :pleroma, :http_security, report_uri: "https://endpoint.com"
config :pleroma, :http_security, report_uri: "https://endpoint.com"
+config :pleroma, :http, send_user_agent: false
+
+rum_enabled = System.get_env("RUM_ENABLED") == "true"
+config :pleroma, :database, rum_enabled: rum_enabled
+IO.puts("RUM enabled: #{rum_enabled}")
+
try do
import_config "test.secret.exs"
rescue
try do
import_config "test.secret.exs"
rescue