Update types of settings groups that don't have keys

This commit is contained in:
Angelina Filippova 2021-03-24 23:07:29 +03:00
parent 63e412ceb5
commit 3f9983ee93

View File

@ -1053,7 +1053,7 @@ config :pleroma, :config_description, [
%{ %{
group: :logger, group: :logger,
tab: :logger, tab: :logger,
type: :group, type: [:group, :without_key],
description: "Logger-related settings", description: "Logger-related settings",
children: [ children: [
%{ %{
@ -1129,7 +1129,7 @@ config :pleroma, :config_description, [
%{ %{
group: :quack, group: :quack,
tab: :logger, tab: :logger,
type: :group, type: [:group, :without_key],
label: "Quack Logger", label: "Quack Logger",
description: "Quack-related settings", description: "Quack-related settings",
children: [ children: [
@ -1858,7 +1858,7 @@ config :pleroma, :config_description, [
group: :pleroma, group: :pleroma,
tab: :instance, tab: :instance,
label: "Pleroma Admin Token", label: "Pleroma Admin Token",
type: :group, type: [:group, :without_key, :single_setting],
description: description:
"Allows setting a token that can be used to authenticate requests with admin privileges without a normal user account token. Append the `admin_token` parameter to requests to utilize it. (Please reconsider using HTTP Basic Auth or OAuth-based authentication if possible)", "Allows setting a token that can be used to authenticate requests with admin privileges without a normal user account token. Append the `admin_token` parameter to requests to utilize it. (Please reconsider using HTTP Basic Auth or OAuth-based authentication if possible)",
children: [ children: [
@ -2181,7 +2181,7 @@ config :pleroma, :config_description, [
group: :pleroma, group: :pleroma,
label: "Pleroma Authenticator", label: "Pleroma Authenticator",
tab: :authentication, tab: :authentication,
type: :group, type: [:group, :without_key, :single_setting],
description: "Authenticator", description: "Authenticator",
children: [ children: [
%{ %{
@ -2593,7 +2593,7 @@ config :pleroma, :config_description, [
group: :esshd, group: :esshd,
tab: :esshd, tab: :esshd,
label: "ESSHD", label: "ESSHD",
type: :group, type: [:group, :without_key],
description: description:
"Before enabling this you must add :esshd to mix.exs as one of the extra_applications " <> "Before enabling this you must add :esshd to mix.exs as one of the extra_applications " <>
"and generate host keys in your priv dir with ssh-keygen -m PEM -N \"\" -b 2048 -t rsa -f ssh_host_rsa_key", "and generate host keys in your priv dir with ssh-keygen -m PEM -N \"\" -b 2048 -t rsa -f ssh_host_rsa_key",
@ -2633,7 +2633,7 @@ config :pleroma, :config_description, [
group: :mime, group: :mime,
tab: :other, tab: :other,
label: "Mime Types", label: "Mime Types",
type: :group, type: [:group, :without_key],
description: "Mime Types settings", description: "Mime Types settings",
children: [ children: [
%{ %{
@ -2841,7 +2841,7 @@ config :pleroma, :config_description, [
group: :cors_plug, group: :cors_plug,
tab: :http, tab: :http,
label: "CORS plug config", label: "CORS plug config",
type: :group, type: [:group, :without_key],
children: [ children: [
%{ %{
key: :max_age, key: :max_age,