Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-24mod_stream_mgmt: Cope with exit during resumptionHolger Weiss
Don't crash if the old process exits while it is queried for the session state.
2018-02-24Merge pull request #2299 from weiss/add-username-to-indexesEvgeny Khramtsov
Add username to peer indexes for MAM lookups
2018-02-24sql/*: Add username to peer indexesHolger Weiss
The username is available for all MAM queries in question, and adding it to the indexes can improve the lookup performance significantly.
2018-02-23Merge pull request #2297 from af8a524db1/move_make_rand_stringEvgeny Khramtsov
Move make_rand_string() to 'randoms' module
2018-02-23Move make_rand_string() to 'randoms' moduleMarc Schink
2018-02-22mod_carboncopy: Apply cosmetic changeHolger Weiss
The xmpp:has_subtag/2 function returns a boolen() value, so it can be used with the 'not' operator.
2018-02-22mod_carboncopy: Copy outgoing MUC PMsHolger Weiss
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.
2018-02-21Move some log messages to debug levelEvgeniy Khramtsov
2018-02-21Use nicks in disco#items or disco#info reportEvgeniy Khramtsov
2018-02-20Add 'negotiation_timeout' to the known options listEvgeniy Khramtsov
2018-02-20Introduce 'negotiation_timeout'Evgeniy Khramtsov
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.
2018-02-20mod_admin_extra: Fix srg_get_info with '@all@'Holger Weiss
Don't let the srg_get_info command crash if the roster group has '@all@' or the '@online@' users as members.
2018-02-19Don't emit validator's warning if the module is not foundEvgeniy Khramtsov
2018-02-19Replace ?MYLANG with connection's language wherever possibleEvgeniy Khramtsov
2018-02-18Push blocking related IQs from bare JIDEvgeniy Khramtsov
Fixes #2287
2018-02-18Don't inject node name inside "id" attributeEvgeniy Khramtsov
Fixes #2284
2018-02-18Don't ask other nodes to invalidate cache when the key is not updatedEvgeniy Khramtsov
2018-02-17Fix 'badmatch' crashEvgeniy Khramtsov
The crash was introduced in 4b012a99d2bdd6d22f05676e9a7989409e314fca
2018-02-17Introduce 'access' option for mod_block_strangerEvgeniy Khramtsov
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.
2018-02-16Cache 'isuser' queries to external auth programEvgeniy Khramtsov
2018-02-16Improve example extauth scriptEvgeniy Khramtsov
2018-02-16Handle gracefully that mnesia is already loaded when starting testsPaweł Chmielowski
2018-02-16Export helper functionChristophe Romain
2018-02-16Export helper functionsChristophe Romain
2018-02-16Export aux functions from mod_muc_roomEvgeniy Khramtsov
2018-02-15Rename some keys and functions for clarityEvgeniy Khramtsov
2018-02-15Update incoming stanzas counter on invalid XMLEvgeniy Khramtsov
2018-02-15Better solution for a previous fixEvgeniy Khramtsov
2018-02-15Don't forget to add invalid XML responses to sending queueEvgeniy Khramtsov
2018-02-14Fix external components unregistrationEvgeniy Khramtsov
2018-02-14Introduce option 'global_routes' for ejabberd_serviceEvgeniy Khramtsov
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.
2018-02-14Fix indentationEvgeniy Khramtsov
2018-02-13Change formatting of commands markdown documentationPaweł Chmielowski
2018-02-13Add case on create_room, avoid useless callChristophe Romain
2018-02-13Really run use_cache/1 and cache_nodes/1 callbacks for mod_mamEvgeniy Khramtsov
2018-02-12Merge pull request #2274 from Torxen/feature/fixed-return-value-mod_mucEvgeny Khramtsov
Issue: mod_muc.erl expect wrong return value
2018-02-12Dialyzer checks always failed because the return value of the function ↵Tobias Koch
'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'.
2018-02-11Remove 'iqdisc' optionEvgeniy Khramtsov
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
2018-02-11Bump xmpp versionEvgeniy Khramtsov
2018-02-10Merge branch 'master' of github.com:processone/ejabberdEvgeniy Khramtsov
2018-02-10Rely on use_cache/1 callback in mod_capsEvgeniy Khramtsov
2018-02-10mod_stream_mgmt: Abort connection on count errorHolger Weiss
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.
2018-02-09Introduce option 'validate_stream'Evgeniy Khramtsov
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.
2018-02-07Fix type specEvgeniy Khramtsov
2018-02-07Commands markdown also lack arguments when policy=userBadlop
2018-02-05Introduce 'rate_limit' option of mod_avatarEvgeniy Khramtsov
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.
2018-02-05Merge branch 'master' of github.com:processone/ejabberdEvgeniy Khramtsov
2018-02-05Export is_online/1 functionEvgeniy Khramtsov
2018-02-05Merge pull request #2266 from mieciu/masterJérôme Sautret
Fix MySQL ERROR 1170 (42000) 'server_host'
2018-02-05Fix MySQL error server_host used in key specification without a key lengthphejman