summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-07-29 12:43:39 -0500
committerAlex Gleason <alex@alexgleason.me>2020-07-29 12:43:39 -0500
commitd8a01c94321e90832fea5a26fbb2a2f5be1c5ba5 (patch)
tree43a18b75775223594f58860098e231068000b0d4 /config
parent3b7c454418700ca36c0a71272f913ea8c6e464e9 (diff)
parenta6d3bb5f30697cafc5dd9acf490bde7e2f33f5f8 (diff)
Merge remote-tracking branch 'upstream/develop' into hide-reactions
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
-rw-r--r--config/description.exs13
2 files changed, 15 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 903a92cca..857e0afbb 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -205,6 +205,7 @@ config :pleroma, :instance,
registrations_open: true,
invites_enabled: false,
account_activation_required: false,
+ account_approval_required: false,
federating: true,
federation_incoming_replies_max_depth: 100,
federation_reachability_timeout_days: 7,
@@ -237,6 +238,7 @@ config :pleroma, :instance,
max_remote_account_fields: 20,
account_field_name_length: 512,
account_field_value_length: 2048,
+ registration_reason_length: 500,
external_user_synchronization: true,
extended_nickname_format: true,
cleanup_attachments: false,
diff --git a/config/description.exs b/config/description.exs
index 9dc87824b..11fbe0d78 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -662,6 +662,11 @@ config :pleroma, :config_description, [
description: "Require users to confirm their emails before signing in"
},
%{
+ key: :account_approval_required,
+ type: :boolean,
+ description: "Require users to be manually approved by an admin before signing in"
+ },
+ %{
key: :federating,
type: :boolean,
description: "Enable federation with other instances"
@@ -875,6 +880,14 @@ config :pleroma, :config_description, [
]
},
%{
+ key: :registration_reason_length,
+ type: :integer,
+ description: "Maximum registration reason length. Default: 500.",
+ suggestions: [
+ 500
+ ]
+ },
+ %{
key: :external_user_synchronization,
type: :boolean,
description: "Enabling following/followers counters synchronization for external users"