adapter children
This commit is contained in:
parent
a71393dd29
commit
4306769671
@ -90,7 +90,23 @@ config :pleroma, :config_description, [
|
|||||||
%{
|
%{
|
||||||
key: :adapter,
|
key: :adapter,
|
||||||
type: :keyword,
|
type: :keyword,
|
||||||
description: "Adapter specific options"
|
description: "Adapter specific options",
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :ssl_options,
|
||||||
|
type: :keyword,
|
||||||
|
label: "SSL Options",
|
||||||
|
description: "SSL options for HTTP adapter",
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :versions,
|
||||||
|
type: {:list, :atom},
|
||||||
|
descriptions: "List of TLS version to use",
|
||||||
|
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :proxy_url,
|
key: :proxy_url,
|
||||||
@ -1463,7 +1479,23 @@ config :pleroma, :config_description, [
|
|||||||
%{
|
%{
|
||||||
key: :adapter,
|
key: :adapter,
|
||||||
type: :keyword,
|
type: :keyword,
|
||||||
description: "Adapter specific options"
|
description: "Adapter specific options",
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :ssl_options,
|
||||||
|
type: :keyword,
|
||||||
|
label: "SSL Options",
|
||||||
|
description: "SSL options for HTTP adapter",
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :versions,
|
||||||
|
type: {:list, :atom},
|
||||||
|
descriptions: "List of TLS version to use",
|
||||||
|
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :proxy_url,
|
key: :proxy_url,
|
||||||
@ -2760,7 +2792,23 @@ config :pleroma, :config_description, [
|
|||||||
key: :adapter,
|
key: :adapter,
|
||||||
type: :keyword,
|
type: :keyword,
|
||||||
description: "Adapter specific options",
|
description: "Adapter specific options",
|
||||||
suggestions: []
|
suggestions: [],
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :ssl_options,
|
||||||
|
type: :keyword,
|
||||||
|
label: "SSL Options",
|
||||||
|
description: "SSL options for HTTP adapter",
|
||||||
|
children: [
|
||||||
|
%{
|
||||||
|
key: :versions,
|
||||||
|
type: {:list, :atom},
|
||||||
|
descriptions: "List of TLS version to use",
|
||||||
|
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user