diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 4 | ||||
-rw-r--r-- | config/description.exs | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/config/config.exs b/config/config.exs index c57ef1bf7..34716cf37 100644 --- a/config/config.exs +++ b/config/config.exs @@ -271,7 +271,8 @@ config :pleroma, :instance, account_field_name_length: 512, account_field_value_length: 2048, external_user_synchronization: true, - extended_nickname_format: true + extended_nickname_format: true, + cleanup_attachments: false config :pleroma, :feed, post_title: %{ @@ -508,7 +509,6 @@ config :pleroma, :fetch_initial_posts, config :auto_linker, opts: [ - scheme: true, extra: true, # TODO: Set to :no_scheme when it works properly validate_tld: true, diff --git a/config/description.exs b/config/description.exs index 5f3c58b08..a4d1a74a7 100644 --- a/config/description.exs +++ b/config/description.exs @@ -765,6 +765,15 @@ config :pleroma, :config_description, [ " This will break federation with older software for theses nicknames." }, %{ + key: :cleanup_attachments, + type: :boolean, + description: """ + "Set to `true` to remove associated attachments when status is removed. + This will not affect duplicates and attachments without status. + Enabling this will increase load to database when deleting statuses on larger instances. + """ + }, + %{ key: :max_pinned_statuses, type: :integer, description: "The maximum number of pinned statuses. 0 will disable the feature.", @@ -2172,11 +2181,6 @@ config :pleroma, :config_description, [ description: "Set to `false` to remove target='_blank' attribute" }, %{ - key: :scheme, - type: :boolean, - description: "Set to `true` to link urls with schema http://google.com" - }, - %{ key: :truncate, type: [:integer, false], description: |