aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable SASL error logger if lager is enabledEvgeniy Khramtsov2014-07-021-4/+5
|
* mod_caps doesn't provide Mnesia export featureBadlop2014-06-271-1/+0
|
* Merge pull request #238 from weiss/log-node-mismatchEvgeny Khramtsov2014-06-121-0/+12
|\ | | | | Check for Mnesia node name mismatches on startup
| * Check for Mnesia node name mismatchesHolger Weiss2014-06-121-0/+12
| | | | | | | | | | Log a proper error message if the node running ejabberd doesn't own the Mnesia database.
* | Change default flow timeout as recommended per the RFCEvgeniy Khramtsov2014-06-121-1/+1
| |
* | Don't forget to close socket of timed out flowEvgeniy Khramtsov2014-06-121-0/+12
|/
* Mention configuration file path in error messagesHolger Weiss2014-06-111-1/+3
| | | | | If reading or parsing a YAML configuration fails, log the full path to the configuration file (as we do for old-style ".cfg" files).
* Merge pull request #231 from hamano/case_clause_error_at_node_hometree_odbcEvgeny Khramtsov2014-06-091-0/+1
|\ | | | | case_clause_error_at_node_hometree_odbc
| * e_clause error at node_hometree_odbc:get_items/3HAMANO Tsukasa2014-06-041-0/+1
| |
* | Don't stop roster table conversion on broken askmessageEvgeniy Khramtsov2014-06-091-1/+2
| |
* | Fix previous commitEvgeniy Khramtsov2014-06-091-1/+2
| |
* | Don't stop irc table conversion on broken JIDsEvgeniy Khramtsov2014-06-091-4/+10
| |
* | Ignore malformed parameters for mod_irc moduleEvgeniy Khramtsov2014-06-071-16/+26
| |
* | Fix data convertionEvgeniy Khramtsov2014-06-071-3/+8
| |
* | Clean up all timers gracefullyEvgeniy Khramtsov2014-06-061-12/+12
| |
* | Use a different timer for flow controlEvgeniy Khramtsov2014-06-061-48/+64
| |
* | SIP Outbound (RFC 5626) supportEvgeniy Khramtsov2014-06-062-103/+254
| |
* | add missing format handlerChristophe Romain2014-06-051-0/+4
| |
* | Don't "forget" listener optionsHolger Weiss2014-06-041-1/+1
|/ | | | | | | | | | | | If a listener is started or stopped via ejabberd_listener:add_listener/3 or ejabberd_listener:delete_listener/3, the configuration for all listener modules is updated using the Module:transform_listen_option/2 function for each listener module that exports such a function. However, for listener modules that don't provide that function (such as ejabberd_stun), all but one option was dropped. This is now fixed. The issue could be triggered e.g. by enabling mod_proxy65 in the modules section.
* Reply to pingsEvgeniy Khramtsov2014-06-031-0/+2
|
* Don't add 'rport' paramater to 'Via' headerEvgeniy Khramtsov2014-06-021-2/+1
|
* Rename option 'route' to 'record_route' and add new option 'routes'Evgeniy Khramtsov2014-06-021-18/+26
|
* Add global static shared_key optionEvgeniy Khramtsov2014-06-011-1/+8
|
* Sign 'Record-Route' in order to proxy unauthorized ACKsEvgeniy Khramtsov2014-06-012-11/+71
|
* Fix 'via' option lookupEvgeniy Khramtsov2014-05-311-1/+1
|
* Add new option: routeEvgeniy Khramtsov2014-05-311-4/+21
|
* Merge pull request #229 from weiss/no-carbons-to-senderEvgeny Khramtsov2014-05-311-41/+26
|\ | | | | XEP-0280: Don't send v1 carbon copies back to the sender
| * Simplify mod_carboncopy:check_and_forward/4Holger Weiss2014-05-301-38/+14
| | | | | | | | | | Use the existing is_carbon_copy/1 function, and combine multiple case clauses into a single one.
| * Let is_carbon_copy/1 recognize <received/> carbonsHolger Weiss2014-05-301-8/+12
| | | | | | | | | | The mod_carboncopy:is_carbon_copy/1 function now returns true not only for <sent/>, but also for <received/> carbon copies.
| * Don't send XEP-0280 v1 copies back to senderHolger Weiss2014-05-301-2/+7
| | | | | | | | | | | | | | | | | | An earlier version of XEP-0280 specified the <received/> and <sent/> tags to be siblings of the <forwarded/> element, whereas the current version mandates them to be parents of <forwarded/>. The mod_carboncopy module supports both variants. However, the check that makes sure clients won't receive a copy of the messages they sent didn't work for the old-style schema. This is now fixed.
* | Don't add 'Record-Route' header for mid-dialog requestsEvgeniy Khramtsov2014-05-311-6/+16
| |
* | Process bindings from multiple UACs correctlyEvgeniy Khramtsov2014-05-311-40/+41
| |
* | Don't substitute URI in ACKEvgeniy Khramtsov2014-05-311-2/+2
|/
* Fix previous commitEvgeniy Khramtsov2014-05-301-4/+4
|
* Process 'Contact' headers more accurately (as per RFC3261)Evgeniy Khramtsov2014-05-302-138/+182
|
* Log just one [info] message on Carbons negotiationHolger Weiss2014-05-291-3/+3
| | | | | | Log one instead of three [info] messages when XEP-0280 (Message Carbons) support is enabled or disabled successfully. On failure, log an additional [warning].
* XEP-0198: Cosmetic change: Reuse event handlerHolger Weiss2014-05-281-5/+1
| | | | | | On stanza queue overflow, pass a message to self() using the exclamation mark operator instead of send_all_state_event/2. This allows for reusing the existing handler for 'kick' events.
* XEP-0198: Terminate session on queue overflowHolger Weiss2014-05-271-10/+17
| | | | | | On queue overflow, terminate the c2s session instead of just dropping items from the queue. This makes sure all stanzas are either delivered or bounced.
* Merge pull request #226 from weiss/simplify-state-changeEvgeny Khramtsov2014-05-271-14/+7
|\ | | | | XEP-0198: Cosmetic change: Simplify state change
| * XEP-0198: Cosmetic change: Simplify state changeHolger Weiss2014-05-271-14/+7
| | | | | | | | | | | | When the FSM goes into the 'wait_for_resume' state, let fsm_next_state/2 take care of updating #state.mgmt_state and of writing the log line. This doesn't change the behavior, but simplifies the code.
* | Let ejabberd_c2s always use fsm_next_state/2Holger Weiss2014-05-271-3/+2
|/ | | | | Make sure any logic implemented in ejabberd_c2s:fsm_next_state/2 is always applied.
* Merge pull request #220 from weiss/handle-send-failureEvgeny Khramtsov2014-05-271-0/+8
|\ | | | | XEP-0198: Don't exit on socket send failure
| * XEP-0198: Don't exit on socket send failureHolger Weiss2014-05-231-0/+8
| | | | | | | | | | | | | | | | | | If stream management is enabled, don't exit the c2s process when ejabberd_socket:send/2 fails, but close the socket instead. This gives the client a chance to resume the session. Thanks go to Matthias Rieber for reporting the issue, providing detailed logs, and testing the fix.
* | Merge pull request #222 from weiss/keep-session-on-failed-resumeEvgeny Khramtsov2014-05-271-6/+11
|\ \ | | | | | | XEP-0198: Don't drop session on failed resume
| * | XEP-0198: Don't drop session on failed resumeHolger Weiss2014-05-231-6/+11
| |/ | | | | | | | | | | | | | | | | | | The 'previd' value provided by the client during a session resume request includes the client's JID and ejabberd's session ID. If there is a session for the requested JID but with a different session ID, resumption should fail, but that session shouldn't be closed. This commit makes sure the latter won't happen. In practice, this will only make a difference in odd corner cases.
* | Merge pull request #221 from weiss/omit-redundant-guardEvgeny Khramtsov2014-05-271-2/+1
|\ \ | | | | | | XEP-0198: Cosmetic change: Omit redundant guard
| * | XEP-0198: Cosmetic change: Omit redundant guardHolger Weiss2014-05-231-2/+1
| |/ | | | | | | | | The stream management state is never 'pending' when the c2s FSM is in the 'session_established' state.
* | Merge pull request #218 from weiss/omit-iq-xmlnsEvgeny Khramtsov2014-05-271-3/+1
|\ \ | | | | | | Omit XML namespace declaration for <iq/> stanzas
| * | Omit XML namespace declaration for <iq/> stanzasHolger Weiss2014-05-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Only the child elements of <iq/> stanzas are qualified by the namespaces in question, not the <iq/> stanzas themselves. This change just clarifies the code. It doesn't alter the behaviour, as those <iq/> stanzas are handed over to jlib:iq_to_xml/1, and that function ignores the 'xmlns' attribute anyway.
* | | Fix odbc_port option processingEvgeniy Khramtsov2014-05-271-1/+1
| | |