aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-01-15 18:12:08 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-01-15 18:12:08 +0300
commit5304c8cd21d72d66e5e9dc9f057ffbbe027ef5fa (patch)
treed463c35ba67fe75d8eea92097db43650f5626129 /config
parent76c1948880687ed74e0275e51808c0ddc6be887d (diff)
parent1b233aa6531b26943bd78c5d4cd8e00f2e1d318e (diff)
downloadpleroma-5304c8cd21d72d66e5e9dc9f057ffbbe027ef5fa.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into 1478-oauth-admin-scopes-tweaks
Diffstat (limited to 'config')
-rw-r--r--config/benchmark.exs8
-rw-r--r--config/config.exs4
-rw-r--r--config/description.exs17
3 files changed, 8 insertions, 21 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs
index dd99cf5fd..84c6782a2 100644
--- a/config/benchmark.exs
+++ b/config/benchmark.exs
@@ -82,3 +82,11 @@ config :pleroma, :database, rum_enabled: rum_enabled
IO.puts("RUM enabled: #{rum_enabled}")
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
+
+if File.exists?("./config/benchmark.secret.exs") do
+ import_config "benchmark.secret.exs"
+else
+ IO.puts(
+ "You may want to create benchmark.secret.exs to declare custom database connection parameters."
+ )
+end
diff --git a/config/config.exs b/config/config.exs
index e2901cf12..b0036fff0 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -108,10 +108,6 @@ config :pleroma, Pleroma.Uploaders.S3,
streaming_enabled: true,
public_endpoint: "https://s3.amazonaws.com"
-config :pleroma, Pleroma.Uploaders.MDII,
- cgi: "https://mdii.sakura.ne.jp/mdii-post.cgi",
- files: "https://mdii.sakura.ne.jp"
-
config :pleroma, :emoji,
shortcode_globs: ["/emoji/custom/**/*.png"],
pack_extensions: [".png", ".gif"],
diff --git a/config/description.exs b/config/description.exs
index 45e4b43f1..1089fd86c 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -2559,23 +2559,6 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
- key: Pleroma.Uploaders.MDII,
- type: :group,
- children: [
- %{
- key: :cgi,
- type: :string,
- suggestions: ["https://mdii.sakura.ne.jp/mdii-post.cgi"]
- },
- %{
- key: :files,
- type: :string,
- suggestions: ["https://mdii.sakura.ne.jp"]
- }
- ]
- },
- %{
- group: :pleroma,
key: :http,
type: :group,
description: "HTTP settings",