mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* 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). SVN Revision: 903
This commit is contained in:
parent
2c57215904
commit
ae8fd17287
@ -1,5 +1,12 @@
|
|||||||
2007-08-31 Mickael Remond <mremond@process-one.net>
|
2007-08-31 Mickael Remond <mremond@process-one.net>
|
||||||
|
|
||||||
|
* 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
|
* src/web/ejabberd_web_admin.erl: Make the web interface pages
|
||||||
"translatable" (Thanks to Badlop) (EJAB-11).
|
"translatable" (Thanks to Badlop) (EJAB-11).
|
||||||
|
|
||||||
|
@ -849,7 +849,7 @@ returned.</P><P>Example:
|
|||||||
</DD></DL><!--TOC subsubsection Limiting Opened Sessions with ACL-->
|
</DD></DL><!--TOC subsubsection Limiting Opened Sessions with ACL-->
|
||||||
<H4 CLASS="subsubsection"><!--SEC ANCHOR -->Limiting Opened Sessions with ACL</H4><!--SEC END --><P>
|
<H4 CLASS="subsubsection"><!--SEC ANCHOR -->Limiting Opened Sessions with ACL</H4><!--SEC END --><P>
|
||||||
<A NAME="configmaxsessions"></A>
|
<A NAME="configmaxsessions"></A>
|
||||||
</P><P>The special access <TT>max_user_sessions</TT> specifies the maximum number of sessions (authenticated
|
</P><P>The special access <TT>max_users</TT> specifies the maximum number of sessions (authenticated
|
||||||
connections) per user. If a user tries to open more sessions by using different
|
connections) per user. If a user tries to open more sessions by using different
|
||||||
resources, the first opened session will be disconnected. The error
|
resources, the first opened session will be disconnected. The error
|
||||||
<TT>session replaced</TT> will be sent to the disconnected session. The value
|
<TT>session replaced</TT> 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 <TT>0</TT>
|
joining the room. The value is an integer. Setting the value to <TT>0</TT>
|
||||||
disables the history feature and, as a result, nothing is kept in memory. The
|
disables the history feature and, as a result, nothing is kept in memory. The
|
||||||
default value is <TT>20</TT>. This value is global and thus affects all rooms on
|
default value is <TT>20</TT>. This value is global and thus affects all rooms on
|
||||||
the server.
|
the server.</DD><DT CLASS="dt-description"><B><TT>max_users</TT></B></DT><DD CLASS="dd-description"> This option defines at
|
||||||
</DD><DT CLASS="dt-description"><B><TT>min_message_interval</TT></B></DT><DD CLASS="dd-description">
|
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.</DD><DT CLASS="dt-description"><B><TT>max_users_admin_threshold</TT></B></DT><DD CLASS="dd-description">
|
||||||
|
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.</DD><DT CLASS="dt-description"><B><TT>min_message_interval</TT></B></DT><DD CLASS="dd-description">
|
||||||
This option defines the minimum interval between two messages send by
|
This option defines the minimum interval between two messages send by
|
||||||
a user in seconds. This option is global and valid for all chat
|
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,
|
rooms. A decimal value can be used. When this option is not defined,
|
||||||
|
@ -961,7 +961,7 @@ The following access rules are pre-defined:
|
|||||||
\label{configmaxsessions}
|
\label{configmaxsessions}
|
||||||
\ind{options!max\_user\_sessions}
|
\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
|
connections) per user. If a user tries to open more sessions by using different
|
||||||
resources, the first opened session will be disconnected. The error
|
resources, the first opened session will be disconnected. The error
|
||||||
\term{session replaced} will be sent to the disconnected session. The value
|
\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
|
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
|
default value is \term{20}. This value is global and thus affects all rooms on
|
||||||
the server.
|
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}
|
\titem{min\_message\_interval} \ind{options!min\_message\_interval}
|
||||||
This option defines the minimum interval between two messages send by
|
This option defines the minimum interval between two messages send by
|
||||||
a user in seconds. This option is global and valid for all chat
|
a user in seconds. This option is global and valid for all chat
|
||||||
|
Loading…
Reference in New Issue
Block a user