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:
commit
a58f29b826
@ -276,7 +276,7 @@ config :pleroma, :instance,
|
|||||||
max_account_fields: 10,
|
max_account_fields: 10,
|
||||||
max_remote_account_fields: 20,
|
max_remote_account_fields: 20,
|
||||||
account_field_name_length: 512,
|
account_field_name_length: 512,
|
||||||
account_field_value_length: 512,
|
account_field_value_length: 2048,
|
||||||
external_user_synchronization: true
|
external_user_synchronization: true
|
||||||
|
|
||||||
config :pleroma, :markup,
|
config :pleroma, :markup,
|
||||||
|
@ -878,9 +878,9 @@ config :pleroma, :config_description, [
|
|||||||
%{
|
%{
|
||||||
key: :account_field_value_length,
|
key: :account_field_value_length,
|
||||||
type: :integer,
|
type: :integer,
|
||||||
description: "An account field value maximum length (default: 512)",
|
description: "An account field value maximum length (default: 2048)",
|
||||||
suggestions: [
|
suggestions: [
|
||||||
512
|
2048
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
|
@ -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_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`)
|
* `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_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.
|
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user