Merge branch 'update-fields-limit' into 'develop'

Set `account_field_value_length` limit to 2048 by default

Closes #1249

See merge request pleroma/pleroma!1678
This commit is contained in:
Haelwenn 2019-09-16 15:11:05 +00:00
commit a58f29b826
3 changed files with 4 additions and 4 deletions

View file

@ -276,7 +276,7 @@ config :pleroma, :instance,
max_account_fields: 10,
max_remote_account_fields: 20,
account_field_name_length: 512,
account_field_value_length: 512,
account_field_value_length: 2048,
external_user_synchronization: true
config :pleroma, :markup,

View file

@ -878,9 +878,9 @@ config :pleroma, :config_description, [
%{
key: :account_field_value_length,
type: :integer,
description: "An account field value maximum length (default: 512)",
description: "An account field value maximum length (default: 2048)",
suggestions: [
512
2048
]
},
%{

View file

@ -135,7 +135,7 @@ config :pleroma, Pleroma.Emails.Mailer,
* `max_account_fields`: The maximum number of custom fields in the user profile (default: `10`)
* `max_remote_account_fields`: The maximum number of custom fields in the remote user profile (default: `20`)
* `account_field_name_length`: An account field name maximum length (default: `512`)
* `account_field_value_length`: An account field value maximum length (default: `512`)
* `account_field_value_length`: An account field value maximum length (default: `2048`)
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.