25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Annotate options that change in ejabberd 23.01

This commit is contained in:
Badlop 2023-01-11 15:17:27 +01:00
parent 21c0aaf417
commit a70381e7c1
2 changed files with 6 additions and 4 deletions

View File

@ -455,7 +455,7 @@ doc() ->
]}}, ]}},
{captcha_cmd, {captcha_cmd,
#{value => ?T("Path | ModuleName"), #{value => ?T("Path | ModuleName"),
note => "improved in 23.xx", note => "improved in 23.01",
desc => desc =>
?T("Full path to a script that generates http://../basic/#captcha[CAPTCHA] images. " ?T("Full path to a script that generates http://../basic/#captcha[CAPTCHA] images. "
"@VERSION@ is replaced with ejabberd version number in XX.YY format. " "@VERSION@ is replaced with ejabberd version number in XX.YY format. "
@ -838,7 +838,7 @@ doc() ->
"by. Defaults to 1 second.")}}, "by. Defaults to 1 second.")}},
{log_modules_fully, {log_modules_fully,
#{value => "[Module, ...]", #{value => "[Module, ...]",
note => "added in 23.xx", note => "added in 23.01",
desc => desc =>
?T("List of modules that will log everything " ?T("List of modules that will log everything "
"independently from the general loglevel option.")}}, "independently from the general loglevel option.")}},
@ -967,11 +967,12 @@ doc() ->
"The default value is '80' percents.")}}, "The default value is '80' percents.")}},
{outgoing_s2s_families, {outgoing_s2s_families,
#{value => "[ipv6 | ipv4, ...]", #{value => "[ipv6 | ipv4, ...]",
note => "changed in 23.01",
desc => desc =>
?T("Specify which address families to try, in what order. " ?T("Specify which address families to try, in what order. "
"The default is '[ipv6, ipv4]' which means it first tries " "The default is '[ipv6, ipv4]' which means it first tries "
"connecting with IPv6, if that fails it tries using IPv4." "connecting with IPv6, if that fails it tries using IPv4."
"This option is obsolete and irrelevant when using ejabberd 23.xx " "This option is obsolete and irrelevant when using ejabberd 23.01 "
"and Erlang/OTP 22, or newer versions of them.")}}, "and Erlang/OTP 22, or newer versions of them.")}},
{outgoing_s2s_ipv4_address, {outgoing_s2s_ipv4_address,
#{value => "Address", #{value => "Address",

View File

@ -173,7 +173,8 @@ mod_opt_type(servers) ->
%%%=================================================================== %%%===================================================================
mod_doc() -> mod_doc() ->
#{desc => #{desc =>
?T("This module adds ability to replicate data from or to external servers"), ?T("This module adds ability to replicate data from or to external servers. "
"It is available since ejabberd 23.01."),
opts => opts =>
[{servers, [{servers,
#{value => "{ServerUrl: Replication informations}", #{value => "{ServerUrl: Replication informations}",