Merge branch 'remove-linker-scheme-option' into 'develop'
authorfeld <feld@feld.me>
Wed, 5 Feb 2020 20:32:45 +0000 (20:32 +0000)
committerfeld <feld@feld.me>
Wed, 5 Feb 2020 20:32:45 +0000 (20:32 +0000)
Remove AutoLinker `scheme` option from the config

See merge request pleroma/pleroma!2176

1  2 
config/config.exs
config/description.exs

diff --combined config/config.exs
index 60c9825570281f9b0efe116db11dc6074fccd5ce,d01dd8d7480d4c76088572a9140906f1987bd1b6..34716cf37fd32268cb83055b4714be0ce5a1f732
@@@ -271,8 -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: %{
@@@ -509,7 -508,6 +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 --combined config/description.exs
index 1ffb66287484209c41a9e09a5a83318c9673fa38,a0cb03e48c5f454aa0cad4ffcbf9ee9078613912..a4d1a74a7abaaae9fb6b7fae921c3210788eb45c
@@@ -764,15 -764,6 +764,15 @@@ config :pleroma, :config_description, 
            "Set to `true` to use extended local nicknames format (allows underscores/dashes)." <>
              " 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,
          type: :boolean,
          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],