aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #1131 from weiss/failed-resume-hEvgeny Khramtsov2016-05-252-30/+99
|\ \ \ | | | | | | | | XEP-0198: Indicate number of handled stanzas if resumption fails
| * | | XEP-0198: Add 'h' attribute to <failed/> elementHolger Weiss2016-05-242-30/+99
| | | | | | | | | | | | | | | | | | | | If a resume request is rejected because the session timed out, indicate the number of handled stanzas as per version 1.5 of XEP-0198.
* | | | Merge pull request #1126 from weiss/muc-send-affiliationEvgeny Khramtsov2016-05-251-0/+53
|\ \ \ \ | | | | | | | | | | Notify on MUC affiliation changes of non-occupants
| * | | | mod_muc_room: Notify on affiliation changesHolger Weiss2016-05-201-0/+53
| | |/ / | |/| | | | | | | | | | | | | | | | | | Notify the current room occupants if the affiliation of a non-occupant is changed as per example 195 of XEP-0045. In anonymous rooms, only moderators are notified, though.
* | | | Add support for PubSub publishing optionsHolger Weiss2016-05-2518-54/+83
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Add code necessary to support publishing options as described in XEP-0060, #7.1.5. A node plugin that expects publishing options must add <<"publish-options">> to the features/0 list and then handle the publishing options handed over to the publish_item/7 call. Signed-off-by: Christian Ulrich <christian@rechenwerk.net>
* | | mod_mam_mnesia: Clarify error messageHolger Weiss2016-05-241-1/+1
| | |
* | | ejabberd_auth*: Fix indentationHolger Weiss2016-05-243-56/+54
| | |
* | | mod_mam_mnesia: Don't exceed table size limitHolger Weiss2016-05-241-20/+31
| | | | | | | | | | | | | | | | | | Don't write MAM messages into an Mnesia archive if the size of the table comes close to the 2 GB limit for tables with disc-only copies. That way, the table is at least not corrupted when the limit is reached.
* | | mod_mam_mnesia: Use transactions when writingHolger Weiss2016-05-241-21/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let mod_mam_mnesia use transactions when storing or deleting messages. If old messages of a user are to be removed, delete the user's archive and rewrite it from scratch, as that seems to be much faster than removing individual records with delete_object/1. Closes #1065.
* | | mod_register: Only set timeout on successHolger Weiss2016-05-231-0/+1
| | | | | | | | | | | | | | | Don't set the registration timeout if the password was rejected for being too weak.
* | | mod_client_state: Add function specificationsHolger Weiss2016-05-181-50/+107
| | | | | | | | | | | | | | | Add function specifications and apply cosmetic changes to mod_client_state.
* | | mod_client_state: Add "queue_pep" optionHolger Weiss2016-05-171-17/+88
| | | | | | | | | | | | | | | | | | | | | If the new "queue_pep" option is enabled and the client is inactive, PEP notifications are throttled in a similar way to presence stanzas and chat states. Only the most recent notification of a given node and payload type will be queued from a given contact.
* | | mod_client_state: Queue chat state notificationsHolger Weiss2016-05-171-15/+15
| | | | | | | | | | | | | | | | | | Queue standalone chat states instead of simply dropping them when the client is inactive. Only the most recent chat state of a given client is queued.
* | | Move CSI queue handling into mod_client_stateHolger Weiss2016-05-172-85/+104
|/ / | | | | | | | | | | Let mod_client_state handle the queueing of stanzas, not just their classification. This simplifies the ejabberd_c2s code and gives (custom) CSI modules more flexibility.
* / Delete duplicated command export_sql, use export2sql instead (#1118)Badlop2016-05-161-5/+1
|/
* Fix jid:from_string/1 function specificationHolger Weiss2016-05-151-1/+1
|
* Update SQL escapingAlexey Shchepin2016-05-136-27/+84
|
* Fix C2S session data leak (#1078)Evgeniy Khramtsov2016-05-091-1/+5
|
* Handle Redis connection in a separate moduleEvgeniy Khramtsov2016-05-094-48/+196
|
* mod_client_state: Delete only the configured hooksHolger Weiss2016-05-081-18/+27
|
* Let client retry HTTP upload on file size mismatchHolger Weiss2016-05-081-17/+18
| | | | | | | | Let the main mod_http_upload process look at the size of an HTTP upload rather than performing this check in the ejabberd_http handler. This way, the upload slot won't be invalidated if the size of the uploaded file doesn't match the size requested for the slot. The PUT request is still rejected, but the client now has a chance to retry the upload.
* XEP-0198: Use different error message for bouncesHolger Weiss2016-05-061-2/+2
| | | | | | | When stanzas are bounced from the stream management queue (because the session timed out or was closed for some other reason), use a different error message so that this situation can be distinguished from other cases.
* Bounce messages sent to server JIDHolger Weiss2016-05-061-1/+10
| | | | | If a message is sent to the server JID (without node part), generate an error message rather than dropping the message silently.
* Add missed jlib:term_to_expr and jlib:expr_to_term functionsAlexey Shchepin2016-05-051-1/+10
|
* Update more SQL queriesAlexey Shchepin2016-05-0520-518/+458
|
* Merge remote-tracking branch 'processone/pr/1088'Holger Weiss2016-05-051-4/+4
|\ | | | | | | | | * processone/pr/1088: Process messages of unknown type consistently
| * Process messages of unknown type consistentlyHolger Weiss2016-04-251-4/+4
| | | | | | | | | | | | | | If an incoming message sent to an unavailable resource has an unknown type, handle it like messages of type "normal" (as mandated by RFC 6121, section 5.2.2). The same is already done for messages of unknown type sent to the bare JID of an offline user.
* | Add missing odbc->sql in comment from commit 1aae8a9fChristophe Romain2016-05-041-2/+2
| |
* | Merge remote-tracking branch 'processone/pr/1087'Holger Weiss2016-05-041-0/+6
|\ \ | | | | | | | | | | | | * processone/pr/1087: Return error when blocking last activity request
| * | Return error when blocking last activity requestHolger Weiss2016-04-251-0/+6
| |/ | | | | | | | | | | As per XEP-0016 and XEP-0191, return a service-unavailable error when an incoming last activity query was blocked by a privacy list (just as we do for other IQ requests).
* | Cosmetic change: Make variable names consistentHolger Weiß2016-05-031-2/+3
| | | | | | | | | | Use the same variable names in both mod_mam:select/8 clauses to avoid confusion.
* | Merge remote-tracking branch 'processone/pr/1086'Holger Weiss2016-05-021-8/+5
|\ \ | | | | | | | | | | | | * processone/pr/1086: Return error when blocking message to offline user
| * | Return error when blocking message to offline userHolger Weiss2016-04-241-8/+5
| | | | | | | | | | | | | | | | | | | | | As per XEP-0016 and XEP-0191, return a service-unavailable error when an incoming message sent to an offline user was blocked by a privacy list. The same is done for a message sent to an online user, so this avoids a presence leak.
* | | Pass noauth when auth isn't providedChristophe Romain2016-05-021-1/+1
| | |
* | | Fix sender in case of explicit pep subscriptionsChristophe Romain2016-05-021-6/+4
| | |
* | | Don't halt program when include_config_file is missing/can't be readPaweł Chmielowski2016-05-021-2/+27
| | |
* | | Don't forget to import mod_opt_type/1 in mod_metricsEvgeniy Khramtsov2016-05-021-1/+4
| | |
* | | Add mod_opt_type/1 callback to gen_mod behaviourHolger Weiss2016-05-011-0/+1
| | |
* | | Cope with modules that don't export mod_opt_type/1Holger Weiss2016-05-011-2/+2
| | |
* | | Add behaviour to mod_vcard_xupdate DB modulesEvgeniy Khramtsov2016-05-012-0/+4
| | |
* | | Fix typo in mod_mam:select() (#1098)Evgeniy Khramtsov2016-04-301-2/+2
| | |
* | | Let shaper cope with low resolution system clockChristophe Romain2016-04-291-1/+5
| | | | | | | | | | | | | | | | | | We no longer rely on getting unique values from clock source, so we need to handle cope with systems which does not have a microsecond resolution on system clock (such as MS Windows)
* | | Add pubsub subscribe/unsubscribe hook16.04Christophe Romain2016-04-281-1/+8
| | |
* | | Better formatting of configuration problem log messageEvgeniy Khramtsov2016-04-281-7/+5
| | |
* | | Improve detection of databases supported by modules (#1092)Evgeniy Khramtsov2016-04-2720-81/+117
| | |
* | | Get rid of "internal" DB type. This also fixes #1092Evgeniy Khramtsov2016-04-275-47/+64
| | |
* | | Fix use of pubsub node plugin when configured with default_node_configChristophe Romain2016-04-251-4/+6
| |/ |/|
* | Fix error text for message bouncesHolger Weiss2016-04-251-2/+2
| |
* | Drop headline messages sent to offline resourcesHolger Weiss2016-04-251-0/+1
| | | | | | | | | | | | | | Don't bounce an error when a message of type "headline" is sent to an unavailable resource. This is consistent with how headline messages sent to the bare JID of an offline user are dropped, and it avoids a presence leak.
* | Don't omit bounces for messages of type "result"Holger Weiss2016-04-241-1/+0
|/