summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs29
1 files changed, 29 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index ea3f34abe..704af8f68 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -553,6 +553,14 @@ config :pleroma, :config_description, [
]
},
%{
+ key: :max_media_attachments,
+ type: :integer,
+ description: "Maximum number of post media attachments",
+ suggestions: [
+ 1_000_000
+ ]
+ },
+ %{
key: :upload_limit,
type: :integer,
description: "File size limit of uploads (except for avatar, background, banner)",
@@ -743,6 +751,16 @@ config :pleroma, :config_description, [
]
},
%{
+ key: :max_endorsed_users,
+ type: :integer,
+ description: "The maximum number of recommended accounts. 0 will disable the feature.",
+ suggestions: [
+ 0,
+ 1,
+ 3
+ ]
+ },
+ %{
key: :autofollowed_nicknames,
type: {:list, :string},
description:
@@ -947,6 +965,17 @@ config :pleroma, :config_description, [
type: :boolean,
description:
"Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)"
+ },
+ %{
+ key: :birthday_required,
+ type: :boolean,
+ description: "Require users to enter their birthday."
+ },
+ %{
+ key: :birthday_min_age,
+ type: :integer,
+ description:
+ "Minimum required age for users to create account. Only used if birthday is required."
}
]
},