projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into issue/1383
[akkoma]
/
config
/
description.exs
diff --git
a/config/description.exs
b/config/description.exs
index 1ffb66287484209c41a9e09a5a83318c9673fa38..e5bac9b3fa4f229ef5c2d62118509fd6d9c2c8a2 100644
(file)
--- a/
config/description.exs
+++ b/
config/description.exs
@@
-871,7
+871,7
@@
config :pleroma, :config_description, [
},
%{
key: :limit_to_local_content,
},
%{
key: :limit_to_local_content,
- type:
[:atom, false]
,
+ type:
{:dropdown, :atom}
,
description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [
description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [
@@
-942,7
+942,7
@@
config :pleroma, :config_description, [
children: [
%{
key: :level,
children: [
%{
key: :level,
- type:
:atom
,
+ type:
{:dropdown, :atom}
,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@
-974,7
+974,7
@@
config :pleroma, :config_description, [
children: [
%{
key: :level,
children: [
%{
key: :level,
- type:
:atom
,
+ type:
{:dropdown, :atom}
,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@
-998,7
+998,7
@@
config :pleroma, :config_description, [
children: [
%{
key: :level,
children: [
%{
key: :level,
- type:
:atom
,
+ type:
{:dropdown, :atom}
,
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@
-1969,7
+1969,7
@@
config :pleroma, :config_description, [
},
%{
key: :verbose,
},
%{
key: :verbose,
- type:
[:atom, false]
,
+ type:
{:dropdown, :atom}
,
description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug]
},
description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug]
},
@@
-2178,12
+2178,7
@@
config :pleroma, :config_description, [
%{
key: :new_window,
type: :boolean,
%{
key: :new_window,
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"
+ description: "Link urls will open in new window/tab"
},
%{
key: :truncate,
},
%{
key: :truncate,
@@
-2524,13
+2519,6
@@
config :pleroma, :config_description, [
key: :clean_expired_tokens,
type: :boolean,
description: "Enable a background job to clean expired oauth tokens. Default: `false`."
key: :clean_expired_tokens,
type: :boolean,
description: "Enable a background job to clean expired oauth tokens. Default: `false`."
- },
- %{
- key: :clean_expired_tokens_interval,
- type: :integer,
- description:
- "Interval to run the job to clean expired tokens. Default: 86_400_000 (24 hours).",
- suggestions: [86_400_000]
}
]
},
}
]
},