Set `account_field_value_length` limit to 2048 by default
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 16 Sep 2019 14:48:01 +0000 (21:48 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 16 Sep 2019 14:48:01 +0000 (21:48 +0700)
config/config.exs
config/description.exs
docs/config.md

index b1b98af93f61e77123aa9169e3dbd08d45798b77..c7e0cf09f798771d79de6d16c74d0706c8ebc901 100644 (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,
index be5eb0cc35302f878ac2da86081836201480e3c1..32d36d6d636a38894bfc958a6c21f5b2f5826767 100644 (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
         ]
       },
       %{
index 270d7fceab761e93e3a12fb7956b03e2a12eb712..3f37fa561edfbf689f34b9f65e8800284df711b5 100644 (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.