aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2020-04-12 22:54:43 +0300
committereugenijm <eugenijm@protonmail.com>2020-05-21 04:41:42 +0300
commitb7fc61e17b995e3aa4e52f85b91d320a1cd1e106 (patch)
tree2b361619e710819c511b986804e6e92ac8664c15 /config
parent42b06d78dfc9cec2a31bcb4676cc0135863ca97d (diff)
downloadpleroma-b7fc61e17b995e3aa4e52f85b91d320a1cd1e106.tar.gz
Added the ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image via AdminFE
Diffstat (limited to 'config')
-rw-r--r--config/description.exs17
1 files changed, 15 insertions, 2 deletions
diff --git a/config/description.exs b/config/description.exs
index 716bcf4ff..cf7cc297a 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -969,6 +969,13 @@ config :pleroma, :config_description, [
]
}
]
+ },
+ %{
+ key: :instance_thumbnail,
+ type: :string,
+ description:
+ "The instance thumbnail image. It will appear in [Pleroma Instances](http://distsn.org/pleroma-instances.html)",
+ suggestions: ["/instance/thumbnail.jpeg"]
}
]
},
@@ -1112,7 +1119,7 @@ config :pleroma, :config_description, [
logoMask: true,
minimalScopesMode: false,
noAttachmentLinks: false,
- nsfwCensorImage: "",
+ nsfwCensorImage: "/static/img/nsfw.74818f9.png",
postContentType: "text/plain",
redirectRootLogin: "/main/friends",
redirectRootNoLogin: "/main/all",
@@ -1226,7 +1233,7 @@ config :pleroma, :config_description, [
type: :string,
description:
"URL of the image to use for hiding NSFW media attachments in the timeline.",
- suggestions: ["/static/img/nsfw.png"]
+ suggestions: ["/static/img/nsfw.74818f9.png"]
},
%{
key: :postContentType,
@@ -1346,6 +1353,12 @@ config :pleroma, :config_description, [
suggestions: [
:pleroma_fox_tan
]
+ },
+ %{
+ key: :default_user_avatar,
+ type: :string,
+ description: "URL of the default user avatar.",
+ suggestions: ["/images/avi.png"]
}
]
},