mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Dcoument ejabberd version number in the new options
This commit is contained in:
parent
80d1e36542
commit
6340d61397
@ -118,6 +118,7 @@ get_commands_spec() ->
|
|||||||
args = [], result = {res, rescode}},
|
args = [], result = {res, rescode}},
|
||||||
#ejabberd_commands{name = halt, tags = [server],
|
#ejabberd_commands{name = halt, tags = [server],
|
||||||
desc = "Halt ejabberd abruptly with status code 1",
|
desc = "Halt ejabberd abruptly with status code 1",
|
||||||
|
note = "added in 23.10",
|
||||||
module = ejabberd, function = halt,
|
module = ejabberd, function = halt,
|
||||||
args = [], result = {res, rescode}},
|
args = [], result = {res, rescode}},
|
||||||
#ejabberd_commands{name = restart, tags = [server],
|
#ejabberd_commands{name = restart, tags = [server],
|
||||||
|
@ -397,6 +397,7 @@ doc() ->
|
|||||||
"to authenticate. The default value is 'sha'.")}},
|
"to authenticate. The default value is 'sha'.")}},
|
||||||
{auth_external_user_exists_check,
|
{auth_external_user_exists_check,
|
||||||
#{value => "true | false",
|
#{value => "true | false",
|
||||||
|
note => "added in 23.10",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Supplement check for user existence based on 'mod_last' data, for authentication "
|
?T("Supplement check for user existence based on 'mod_last' data, for authentication "
|
||||||
"methods that don't have a way to reliable tell if user exists (like is the case for "
|
"methods that don't have a way to reliable tell if user exists (like is the case for "
|
||||||
@ -681,6 +682,7 @@ doc() ->
|
|||||||
"all options.")}}]},
|
"all options.")}}]},
|
||||||
{install_contrib_modules,
|
{install_contrib_modules,
|
||||||
#{value => "[Module, ...]",
|
#{value => "[Module, ...]",
|
||||||
|
note => "added in 23.10",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Modules to install from "
|
?T("Modules to install from "
|
||||||
"https://docs.ejabberd.im/developer/extending-ejabberd/modules/#ejabberd-contrib"
|
"https://docs.ejabberd.im/developer/extending-ejabberd/modules/#ejabberd-contrib"
|
||||||
|
@ -578,6 +578,7 @@ get_commands_spec() ->
|
|||||||
longdesc =
|
longdesc =
|
||||||
"Subscription can be: \"none\", \"from\", \"to\", \"both\". "
|
"Subscription can be: \"none\", \"from\", \"to\", \"both\". "
|
||||||
"Pending can be: \"in\", \"out\", \"none\".",
|
"Pending can be: \"in\", \"out\", \"none\".",
|
||||||
|
note = "improved in 23.10",
|
||||||
policy = user,
|
policy = user,
|
||||||
module = ?MODULE, function = get_roster,
|
module = ?MODULE, function = get_roster,
|
||||||
args = [],
|
args = [],
|
||||||
|
@ -1471,7 +1471,7 @@ mod_doc() ->
|
|||||||
"modify that option.")}},
|
"modify that option.")}},
|
||||||
{access_register,
|
{access_register,
|
||||||
#{value => ?T("AccessName"),
|
#{value => ?T("AccessName"),
|
||||||
note => "improved in 23.xx",
|
note => "improved in 23.10",
|
||||||
desc =>
|
desc =>
|
||||||
?T("This option specifies who is allowed to register nickname "
|
?T("This option specifies who is allowed to register nickname "
|
||||||
"within the Multi-User Chat service and rooms. The default is 'all' for "
|
"within the Multi-User Chat service and rooms. The default is 'all' for "
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
-author('badlop@process-one.net').
|
-author('badlop@process-one.net').
|
||||||
|
|
||||||
-protocol({xep, 421, '0.1.0'}).
|
-protocol({xep, 421, '0.1.0', '23.10', "", ""}).
|
||||||
|
|
||||||
-behaviour(gen_mod).
|
-behaviour(gen_mod).
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ mod_doc() ->
|
|||||||
"[XEP-0421: Anonymous unique occupant identifiers for MUCs]."), "",
|
"[XEP-0421: Anonymous unique occupant identifiers for MUCs]."), "",
|
||||||
?T("When the module is enabled, the feature is enabled "
|
?T("When the module is enabled, the feature is enabled "
|
||||||
"in all semi-anonymous rooms."), "",
|
"in all semi-anonymous rooms."), "",
|
||||||
?T("This module is available since ejabberd 23.xx.")]
|
?T("This module is available since ejabberd 23.10.")]
|
||||||
}.
|
}.
|
||||||
|
|
||||||
depends(_, _) ->
|
depends(_, _) ->
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
-protocol({xep, 49, '1.2'}).
|
-protocol({xep, 49, '1.2'}).
|
||||||
-protocol({xep, 411, '0.2.0', '18.12', "", ""}).
|
-protocol({xep, 411, '0.2.0', '18.12', "", ""}).
|
||||||
-protocol({xep, 402, '1.1.3', '23.09', "", ""}).
|
-protocol({xep, 402, '1.1.3', '23.10', "", ""}).
|
||||||
|
|
||||||
-behaviour(gen_mod).
|
-behaviour(gen_mod).
|
||||||
|
|
||||||
|
@ -180,6 +180,7 @@ mod_doc() ->
|
|||||||
opts =>
|
opts =>
|
||||||
[{notify_on,
|
[{notify_on,
|
||||||
#{value => "messages | all",
|
#{value => "messages | all",
|
||||||
|
note => "added in 23.10",
|
||||||
desc =>
|
desc =>
|
||||||
?T("If this option is set to 'messages', notifications are "
|
?T("If this option is set to 'messages', notifications are "
|
||||||
"generated only for actual chat messages with a body text "
|
"generated only for actual chat messages with a body text "
|
||||||
|
Loading…
Reference in New Issue
Block a user