X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fdescription.exs;h=a44ab2432a1faac67f20a5cf984822c629982b91;hb=bfbe4e8dce2bef75c3b3a87884e5a39abb7a444e;hp=d8eaa34a262d0a432a3d654bf6674394a63839c6;hpb=364b6969eb7c79e57ed02345ddff4f48519e6b0a;p=akkoma diff --git a/config/description.exs b/config/description.exs index d8eaa34a2..a44ab2432 100644 --- a/config/description.exs +++ b/config/description.exs @@ -691,7 +691,7 @@ config :pleroma, :config_description, [ key_placeholder: "instance", value_placeholder: "reason", description: - "List of ActivityPub instances where private (DMs, followers-only) activities will not be sent and the reason for doing so", + "(Deprecated, will be removed in next release) List of ActivityPub instances where activities will not be sent, and the reason for doing so", suggestions: [ {"quarantined.com", "Reason"}, {"*.quarantined.com", "Reason"} @@ -946,7 +946,13 @@ config :pleroma, :config_description, [ key: :privileged_staff, type: :boolean, description: - "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)" + "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses)" + }, + %{ + key: :local_bubble, + type: {:list, :string}, + description: + "List of instances that make up your local bubble (closely-related instances). Used to populate the 'bubble' timeline (domain only)." } ] }, @@ -984,35 +990,6 @@ config :pleroma, :config_description, [ } ] }, - %{ - key: :chat_message, - type: :keyword, - descpiption: "Chat message settings", - children: [ - %{ - key: :enabled, - type: :boolean, - description: "Enables sending a chat message to newly registered users" - }, - %{ - key: :message, - type: :string, - description: - "A message that will be sent to newly registered users as a chat message", - suggestions: [ - "Hello, welcome on board!" - ] - }, - %{ - key: :sender_nickname, - type: :string, - description: "The nickname of the local user that sends a welcome chat message", - suggestions: [ - "lain" - ] - } - ] - }, %{ key: :email, type: :keyword, @@ -1465,13 +1442,14 @@ config :pleroma, :config_description, [ %{ key: :theme_color, type: :string, - description: "Describe the theme color of the app", + description: "Describe the theme color of the app - this is only used for mastodon-fe", suggestions: ["#282c37", "mediumpurple"] }, %{ key: :background_color, type: :string, - description: "Describe the background color of the app", + description: + "Describe the background color of the app - this is only used for mastodon-fe", suggestions: ["#191b22", "aliceblue"] } ] @@ -1678,6 +1656,11 @@ config :pleroma, :config_description, [ type: :boolean, description: "Sign object fetches with HTTP signatures" }, + %{ + key: :authorized_fetch_mode, + type: :boolean, + description: "Require HTTP signatures on AP fetches" + }, %{ key: :note_replies_output_limit, type: :integer, @@ -1979,6 +1962,21 @@ config :pleroma, :config_description, [ } ] }, + %{ + group: :pleroma, + key: Pleroma.Web.Metadata.Providers.Theme, + type: :group, + description: "Specific provider to hand out themes to instances that scrape index.html", + children: [ + %{ + key: :theme_color, + type: :string, + description: + "The 'accent color' of the instance, used in places like misskey's instance ticker", + suggestions: ["#593196"] + } + ] + }, %{ group: :pleroma, key: :rich_media, @@ -2590,27 +2588,6 @@ config :pleroma, :config_description, [ } ] }, - %{ - group: :pleroma, - key: :shout, - type: :group, - description: "Pleroma shout settings", - children: [ - %{ - key: :enabled, - type: :boolean, - description: "Enables the backend Shoutbox chat feature." - }, - %{ - key: :limit, - type: :integer, - description: "Shout message character limit.", - suggestions: [ - 5_000 - ] - } - ] - }, %{ group: :pleroma, key: :http, @@ -3074,6 +3051,27 @@ config :pleroma, :config_description, [ description: "Admin frontend", children: installed_frontend_options }, + %{ + key: :mastodon, + type: :map, + description: "Mastodon frontend", + children: installed_frontend_options + }, + %{ + key: :swagger, + type: :map, + description: "Swagger API reference frontend", + children: + installed_frontend_options ++ + [ + %{ + key: "enabled", + label: "Enabled", + type: :boolean, + description: "Whether to have this enabled at all" + } + ] + }, %{ key: :available, type: :map, @@ -3136,43 +3134,6 @@ config :pleroma, :config_description, [ } ] }, - %{ - group: :prometheus, - key: Pleroma.Web.Endpoint.MetricsExporter, - type: :group, - description: "Prometheus app metrics endpoint configuration", - children: [ - %{ - key: :enabled, - type: :boolean, - description: "[Pleroma extension] Enables app metrics endpoint." - }, - %{ - key: :ip_whitelist, - label: "IP Whitelist", - type: [{:list, :string}, {:list, :charlist}, {:list, :tuple}], - description: "Restrict access of app metrics endpoint to the specified IP addresses." - }, - %{ - key: :auth, - type: [:boolean, :tuple], - description: "Enables HTTP Basic Auth for app metrics endpoint.", - suggestion: [false, {:basic, "myusername", "mypassword"}] - }, - %{ - key: :path, - type: :string, - description: "App metrics endpoint URI path.", - suggestions: ["/api/pleroma/app_metrics"] - }, - %{ - key: :format, - type: :atom, - description: "App metrics endpoint output format.", - suggestions: [:text, :protobuf] - } - ] - }, %{ group: :pleroma, key: ConcurrentLimiter,