aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Set -protocol() directive for mod_avatarEvgeniy Khramtsov2018-03-191-0/+2
| | |
* | | Avoid logging IP addresses in mod_register when it's not desiredEvgeniy Khramtsov2018-03-191-3/+5
| | | | | | | | | | | | Fixes #2326
* | | Apply some dirty hacks for mod_shared_rosterEvgeniy Khramtsov2018-03-192-106/+29
| | | | | | | | | | | | Probably this fixes #1846
* | | Hardcode ACL rules used by ejabberd_web_adminEvgeniy Khramtsov2018-03-191-11/+5
| | |
* | | Improve result of XEP-0060 §6.5.9.12 (#2288)Christophe Romain2018-03-171-6/+8
| | | | | | | | | | | | | | | Moving get_item result control to keep item-not-found on transaction error when node does not exists
* | | Fix result of XEP-0060 §6.5.9.12 (#2288)Christophe Romain2018-03-161-2/+4
| | |
* | | Add transient notification condition (#2267)Christophe Romain2018-03-161-1/+1
| | |
* | | Refactor publish_item conditions (#2267)Christophe Romain2018-03-161-9/+5
| | |
* | | Fulfill all requirements of XEP-0398 v0.2.0Evgeniy Khramtsov2018-03-162-9/+36
| | | | | | | | | | | | | | | | | | These include: - Avoid rewriting vcard:x:update tags with empty <photo/> element - Advertise "urn:xmpp:pep-vcard-conversion:0" feature
* | | Add 'new_sql_schema' config option, --enable-new-sql-schema now sets its ↵Alexey Shchepin2018-03-155-113/+128
| | | | | | | | | | | | default value to true (#2239)
* | | Get rid of catch-all in mod_pubsubEvgeniy Khramtsov2018-03-131-36/+13
| | |
* | | Preserve modules orderEvgeniy Khramtsov2018-03-132-46/+53
| | | | | | | | | | | | | | | | | | When modules for some virtual host are about to be started, they are topologically sorted to preserve dependencies order. We now keep this order for stop/reload functions to work properly.
* | | Merge pull request #2314 from oxpa/mod_admin_extra_hashesbadlop2018-03-121-11/+12
|\ \ \ | | | | | | | | allow using hashes from "crypto" applications in mod_admin_extra
| * | | allow using hashes from "crypto" applications in mod_admin_extraoxpa2018-03-021-11/+12
| | | |
* | | | Return errors in admin#add-user command response stanza (#2321)Badlop2018-03-121-2/+5
| | | |
* | | | Introduce force_node_config for mod_pubsubEvgeniy Khramtsov2018-03-111-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The option can be used to override configuration options of a particular PubSub node. Example: mod_pubsub: ... force_node_config: "eu.siacs.conversations.axolotl.*": access_model: whitelist "*": persist_items: true Fixes #2276
* | | | Strip duplicates from module's optionsEvgeniy Khramtsov2018-03-071-1/+12
| | | |
* | | | mod_stream_mgmt: Clean up on timed out resumptionHolger Weiss2018-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | During resumption, make sure the old process and the corresponding session entry are disposed also in the case where the call that queries the old process times out.
* | | | Don't forget to remove mgmt_force_enqueue flagEvgeniy Khramtsov2018-03-061-1/+3
| | | |
* | | | mod_push_keepalive: Preserve timeout on resumptionHolger Weiss2018-03-051-3/+9
| |_|/ |/| | | | | | | | | | | Don't forget to carry over the original XEP-0198 resumption timeout value while resuming.
* | | Revert "Support for default values in default_room_opts"Evgeniy Khramtsov2018-03-031-2/+0
| | | | | | | | | | | | | | | | | | This reverts commit 5054a9933f29d6cc8a88486c624987b1b9f05b17. The commit is plain wrong: similar options are not required to be in pair.
* | | Simplify ejabberd_sup codeEvgeniy Khramtsov2018-03-031-142/+50
|/ /
* | Fix: mod_offline:store_offline_msg/1 expects a message, not list (#2312)Badlop2018-03-021-2/+4
| |
* | Simplify result of get_room_affiliation command (#2301)Badlop2018-03-011-4/+3
| |
* | Merge pull request #2301 from tsaqova/ejabberd_commands_get_room_affiliationbadlop2018-03-011-3/+32
|\ \ | | | | | | add ejabberd_command to get affiliation of a user in MUC room
| * | add ejabberd_command to get affiliation of a user in MUC roomYusro Tsaqova2018-02-281-3/+32
| | |
* | | Increase log level for DIGEST-MD5 FQDNEvgeniy Khramtsov2018-02-281-2/+2
| | | | | | | | | | | | | | | SASL DIGEST-MD5 anyway deprecated anyway, so not point in logging this. This is now logged in `debug` mode.
* | | Validate additional listen optsStu Tomlinson2018-02-286-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | The options "inet", "inet6" and "backlog" are valid listen options, but are currently logged as errors (even though they do work): 2018-02-28 16:08:44.141 [error] <0.338.0>@ejabberd_listener:validate_module_option:630 unknown listen option 'backlog' for 'ejabberd_c2s' will be likely ignored, available options are: access, shaper, certfile, ciphers, dhfile, cafile, client_cafile, protocol_options, tls, tls_compression, starttls, starttls_required, tls_verify, zlib, max_fsm_queue This adds the necessary validators so they are correctly recognized.
* | | Support for default values in default_room_optsBadlop2018-02-261-0/+2
| | |
* | | Simplify code for splitting auth string in cyrsaslPaweł Chmielowski2018-02-261-9/+2
| | | | | | | | | | | | This may fix problem from issue #2296
* | | xmpp_stream_in: Run auth result callbacks earlierHolger Weiss2018-02-261-11/+17
|/ / | | | | | | | | | | Call Mod:handle_auth_success/4 and Mod:handle_auth_failure/4 before sending the SASL response rather than afterwards. This way, callbacks can send a custom response and disconnect.
* | mod_stream_mgmt: Cope with exit during resumptionHolger Weiss2018-02-241-0/+2
| | | | | | | | | | Don't crash if the old process exits while it is queried for the session state.
* | Move make_rand_string() to 'randoms' moduleMarc Schink2018-02-232-23/+20
| |
* | mod_carboncopy: Apply cosmetic changeHolger Weiss2018-02-221-2/+2
| | | | | | | | | | The xmpp:has_subtag/2 function returns a boolen() value, so it can be used with the 'not' operator.
* | mod_carboncopy: Copy outgoing MUC PMsHolger Weiss2018-02-221-3/+6
| | | | | | | | | | | | 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.
* | Move some log messages to debug levelEvgeniy Khramtsov2018-02-212-8/+8
| |
* | Use nicks in disco#items or disco#info reportEvgeniy Khramtsov2018-02-211-12/+10
| |
* | Add 'negotiation_timeout' to the known options listEvgeniy Khramtsov2018-02-201-1/+1
| |
* | Introduce 'negotiation_timeout'Evgeniy Khramtsov2018-02-205-6/+20
| | | | | | | | | | | | | | 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.
* | mod_admin_extra: Fix srg_get_info with '@all@'Holger Weiss2018-02-201-4/+5
| | | | | | | | | | Don't let the srg_get_info command crash if the roster group has '@all@' or the '@online@' users as members.
* | Don't emit validator's warning if the module is not foundEvgeniy Khramtsov2018-02-191-3/+10
| |
* | Replace ?MYLANG with connection's language wherever possibleEvgeniy Khramtsov2018-02-192-17/+18
| |
* | Push blocking related IQs from bare JIDEvgeniy Khramtsov2018-02-181-1/+2
| | | | | | | | Fixes #2287
* | Don't inject node name inside "id" attributeEvgeniy Khramtsov2018-02-181-2/+2
| | | | | | | | Fixes #2284
* | Don't ask other nodes to invalidate cache when the key is not updatedEvgeniy Khramtsov2018-02-181-4/+4
| |
* | Fix 'badmatch' crashEvgeniy Khramtsov2018-02-171-3/+3
| | | | | | | | The crash was introduced in 4b012a99d2bdd6d22f05676e9a7989409e314fca
* | Introduce 'access' option for mod_block_strangerEvgeniy Khramtsov2018-02-171-4/+10
| | | | | | | | | | | | | | | | | | | | 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.
* | Cache 'isuser' queries to external auth programEvgeniy Khramtsov2018-02-161-2/+18
| |
* | Export helper functionChristophe Romain2018-02-161-1/+1
| |
* | Export helper functionsChristophe Romain2018-02-161-0/+1
| |