diff --git a/ChangeLog b/ChangeLog index 2252ec9b6..5de8435f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2007-08-31 Mickael Remond + * doc/guide.tex: Documentation for mod_muc option for server-wide + limitation of the maximum number of users per room (EJAB-344). + + * doc/guide.tex: Documentation for mod_muc option to allow admin + to enter room even if the maximum number of users + reached (EJAB-345). + * src/web/ejabberd_web_admin.erl: Make the web interface pages "translatable" (Thanks to Badlop) (EJAB-11). diff --git a/doc/guide.html b/doc/guide.html index 6dc451434..c6d31c67f 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -849,7 +849,7 @@ returned.

Example:

Limiting Opened Sessions with ACL

-

The special access max_user_sessions specifies the maximum number of sessions (authenticated +

The special access max_users specifies the maximum number of sessions (authenticated connections) per user. If a user tries to open more sessions by using different resources, the first opened session will be disconnected. The error session replaced will be sent to the disconnected session. The value @@ -1624,8 +1624,15 @@ you can define the number of history messages to keep and send to users joining the room. The value is an integer. Setting the value to 0 disables the history feature and, as a result, nothing is kept in memory. The default value is 20. This value is global and thus affects all rooms on -the server. -

min_message_interval
+the server.
max_users
This option defines at +the server level, the maximum number of users allowed per MUC +room. It can be lowered in each room configuration but cannot be +increased in individual MUC room configuration. The default value is +200.
max_users_admin_threshold
+ This option defines the +number of MUC admins or owners to allow to enter the room even if +the maximum number of allowed users is reached. The default limits +is 5. In most cases this default value is the best setting.
min_message_interval
This option defines the minimum interval between two messages send by a user in seconds. This option is global and valid for all chat rooms. A decimal value can be used. When this option is not defined, diff --git a/doc/guide.tex b/doc/guide.tex index 8ab25fd50..6537c3a6f 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -961,7 +961,7 @@ The following access rules are pre-defined: \label{configmaxsessions} \ind{options!max\_user\_sessions} -The special access \term{max\_user\_sessions} specifies the maximum number of sessions (authenticated +The special access \term{max\_users} specifies the maximum number of sessions (authenticated connections) per user. If a user tries to open more sessions by using different resources, the first opened session will be disconnected. The error \term{session replaced} will be sent to the disconnected session. The value @@ -2008,6 +2008,19 @@ Options: disables the history feature and, as a result, nothing is kept in memory. The default value is \term{20}. This value is global and thus affects all rooms on the server. + + \titem{max\_users} \ind{options!max\_users} This option defines at + the server level, the maximum number of users allowed per MUC + room. It can be lowered in each room configuration but cannot be + increased in individual MUC room configuration. The default value is + 200. + + \titem{max\_users\_admin\_threshold} + \ind{options!max\_users\_admin\_threshold} This option defines the + number of MUC admins or owners to allow to enter the room even if + the maximum number of allowed users is reached. The default limits + is 5. In most cases this default value is the best setting. + \titem{min\_message\_interval} \ind{options!min\_message\_interval} This option defines the minimum interval between two messages send by a user in seconds. This option is global and valid for all chat