26
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Dcoument ejabberd version number in the new options

This commit is contained in:
Badlop 2023-10-02 10:54:24 +02:00
parent 80d1e36542
commit 6340d61397
7 changed files with 9 additions and 4 deletions

View File

@ -118,6 +118,7 @@ get_commands_spec() ->
args = [], result = {res, rescode}},
#ejabberd_commands{name = halt, tags = [server],
desc = "Halt ejabberd abruptly with status code 1",
note = "added in 23.10",
module = ejabberd, function = halt,
args = [], result = {res, rescode}},
#ejabberd_commands{name = restart, tags = [server],

View File

@ -397,6 +397,7 @@ doc() ->
"to authenticate. The default value is 'sha'.")}},
{auth_external_user_exists_check,
#{value => "true | false",
note => "added in 23.10",
desc =>
?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 "
@ -681,6 +682,7 @@ doc() ->
"all options.")}}]},
{install_contrib_modules,
#{value => "[Module, ...]",
note => "added in 23.10",
desc =>
?T("Modules to install from "
"https://docs.ejabberd.im/developer/extending-ejabberd/modules/#ejabberd-contrib"

View File

@ -578,6 +578,7 @@ get_commands_spec() ->
longdesc =
"Subscription can be: \"none\", \"from\", \"to\", \"both\". "
"Pending can be: \"in\", \"out\", \"none\".",
note = "improved in 23.10",
policy = user,
module = ?MODULE, function = get_roster,
args = [],

View File

@ -1471,7 +1471,7 @@ mod_doc() ->
"modify that option.")}},
{access_register,
#{value => ?T("AccessName"),
note => "improved in 23.xx",
note => "improved in 23.10",
desc =>
?T("This option specifies who is allowed to register nickname "
"within the Multi-User Chat service and rooms. The default is 'all' for "

View File

@ -27,7 +27,7 @@
-author('badlop@process-one.net').
-protocol({xep, 421, '0.1.0'}).
-protocol({xep, 421, '0.1.0', '23.10', "", ""}).
-behaviour(gen_mod).
@ -121,7 +121,7 @@ mod_doc() ->
"[XEP-0421: Anonymous unique occupant identifiers for MUCs]."), "",
?T("When the module is enabled, the feature is enabled "
"in all semi-anonymous rooms."), "",
?T("This module is available since ejabberd 23.xx.")]
?T("This module is available since ejabberd 23.10.")]
}.
depends(_, _) ->

View File

@ -29,7 +29,7 @@
-protocol({xep, 49, '1.2'}).
-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).

View File

@ -180,6 +180,7 @@ mod_doc() ->
opts =>
[{notify_on,
#{value => "messages | all",
note => "added in 23.10",
desc =>
?T("If this option is set to 'messages', notifications are "
"generated only for actual chat messages with a body text "