Age | Commit message (Collapse) | Author |
|
Don't crash if the old process exits while it is queried for the session
state.
|
|
Add username to peer indexes for MAM lookups
|
|
The username is available for all MAM queries in question, and adding it
to the indexes can improve the lookup performance significantly.
|
|
Move make_rand_string() to 'randoms' module
|
|
|
|
The xmpp:has_subtag/2 function returns a boolen() value, so it can be
used with the 'not' operator.
|
|
Incoming MUC PMs aren't carbon-copied, as the MUC service usually forks
them. However, don't suppress copying of outgoing PMs, where no such
forking takes place.
|
|
|
|
|
|
|
|
The option can be used to specify a period (in seconds) for a stream
negotiation to complete. If the timer fires, the stream is considered
as failed and the underlying connection gets closed. This is a global
option (you cannot set it per domain) and the default is 30 seconds.
|
|
Don't let the srg_get_info command crash if the roster group has '@all@'
or the '@online@' users as members.
|
|
|
|
|
|
Fixes #2287
|
|
Fixes #2284
|
|
|
|
The crash was introduced in 4b012a99d2bdd6d22f05676e9a7989409e314fca
|
|
The option is supposed to be used when `allow_local_users`
and `allow_transports` are not enough. It's an ACL where `deny`
means the message will be rejected (or a CAPTCHA would be
generated for a presence), and `allow` means the sender is
whitelisted and the stanza will pass through.
The default value is `none`, which means nothing is whitelisted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The option emulates legacy behaviour which registers all routes
defined in `hosts` on a component connected. This behaviour
is considered harmful in the case when it's desired to multiplex
different components on the same port, so, to disable it,
set `global_routes` to `false`. The default value is `true`,
e.g. legacy behaviour is emulated: the only reason for this is
to maintain backward compatibility with existing deployments.
|
|
|
|
|
|
|
|
|
|
Issue: mod_muc.erl expect wrong return value
|
|
'get_subscribed_rooms' in 'mod_muc_sql' is different to the defined value in 'mod_muc'. Fix was to update the return value in 'mod_muc.erl'.
|
|
Since we got rid of all bottle-neck processes and we have
a connection pool for every database, the option is no longer
needed and in fact is detrimental: in practice what you get
is just a bunch of overloaded processes in the IQ handlers pool
no matter how much you increase the `iqdisc` value.
Given that there are close to zero operators understanding
the meaning of the option and, hence, not using it all,
it's not simply deprecated but completely removed.
The commit also deprecates the following functions:
- gen_iq_handler:add_iq_handler/6
- gen_iq_handler:handle/5
- gen_iq_handler:iqdisc/1
|
|
|
|
|
|
|
|
If the client acknowledged more stanzas than the server sent, close the
connection with a stream error rather than hiding client bugs by silently
adjusting the server's count.
|
|
If set to `true`, all incoming XML packets are fully validated
against known schemas. If an error occurs, the packet will be bounced
with the corresponding error reason. The default value is `false`.
The option might be useful to protect client software from sofisticated
bugs related to XML validation as well as for client developers
who want to catch validation errors at early stage of development.
Note that the option might have slight performance impact, so use it
with care on loaded machines.
|
|
|
|
|
|
The option controls how many avatars a user can upload per minute.
The option takes positive integer values. The default is 10.
Note that the option only takes effect when an avatar is about
to convert to a different format, i.e. it implies that `convert`
option is configured.
|
|
|
|
|
|
Fix MySQL ERROR 1170 (42000) 'server_host'
|
|
|