]>
granicus.if.org Git - ejabberd/log
Evgeniy Khramtsov [Wed, 9 Jul 2014 12:38:45 +0000 (16:38 +0400)]
Add Riak backend to the testing suit
Evgeniy Khramtsov [Sun, 21 Jul 2013 12:53:44 +0000 (22:53 +1000)]
Add SQL to Riak converter
Evgeniy Khramtsov [Tue, 13 Nov 2012 12:56:27 +0000 (22:56 +1000)]
Improve Riak support
Alexey Shchepin [Tue, 6 Nov 2012 15:58:08 +0000 (17:58 +0200)]
Updated riak support
Alexey Shchepin [Wed, 25 Jan 2012 10:02:16 +0000 (12:02 +0200)]
Preliminary Riak support
Evgeniy Khramtsov [Tue, 8 Jul 2014 16:57:43 +0000 (20:57 +0400)]
Add start_module/2
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:38:50 +0000 (09:38 +0400)]
Improve documentation of mod_sip
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:27:24 +0000 (09:27 +0400)]
Rename options
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:23:11 +0000 (09:23 +0400)]
Add new option support: always_record_route
Evgeny Khramtsov [Sat, 5 Jul 2014 14:09:28 +0000 (18:09 +0400)]
Merge pull request #243 from matwey/master
Use -include_lib instead of -include for esip and p1_xml
Matwey V. Kornilov [Sat, 5 Jul 2014 10:01:29 +0000 (14:01 +0400)]
Use -include_lib instead of -include for esip and p1_xml
-include_lib is used in order to find deps. Rebar include magic is not required anymore.
Rebar uses deps as library directory.
Evgeniy Khramtsov [Sat, 5 Jul 2014 13:53:45 +0000 (17:53 +0400)]
Revert "Fix IQ XML generation."
This reverts commit
26a4d91297a7d7400dbdd30a063e163afa83fb22 .
Jerome Sautret [Fri, 4 Jul 2014 15:28:19 +0000 (17:28 +0200)]
Return MySQL error messages as binary.
Jerome Sautret [Fri, 4 Jul 2014 13:21:40 +0000 (15:21 +0200)]
Fix IQ XML generation.
Christophe Romain [Wed, 2 Jul 2014 08:41:12 +0000 (10:41 +0200)]
add ability to rotate logs on given date condition
Evgeniy Khramtsov [Mon, 18 Nov 2013 13:22:48 +0000 (23:22 +1000)]
New option support: log_rotate_count
Evgeniy Khramtsov [Tue, 12 Nov 2013 11:33:09 +0000 (21:33 +1000)]
Support new options: log_rotate_size and log_rate_limit
Evgeniy Khramtsov [Mon, 11 Nov 2013 02:13:29 +0000 (12:13 +1000)]
Disable SASL error logger if lager is enabled
Badlop [Fri, 27 Jun 2014 11:49:17 +0000 (13:49 +0200)]
mod_caps doesn't provide Mnesia export feature
Christophe Romain [Fri, 20 Jun 2014 12:33:48 +0000 (14:33 +0200)]
let ejabberdctl explicitely use bash
Evgeny Khramtsov [Thu, 12 Jun 2014 09:23:17 +0000 (13:23 +0400)]
Merge pull request #238 from weiss/log-node-mismatch
Check for Mnesia node name mismatches on startup
Holger Weiss [Thu, 12 Jun 2014 09:00:22 +0000 (11:00 +0200)]
Check for Mnesia node name mismatches
Log a proper error message if the node running ejabberd doesn't own the
Mnesia database.
Evgeniy Khramtsov [Thu, 12 Jun 2014 05:28:34 +0000 (09:28 +0400)]
Change default flow timeout as recommended per the RFC
Evgeniy Khramtsov [Thu, 12 Jun 2014 05:27:32 +0000 (09:27 +0400)]
Don't forget to close socket of timed out flow
Evgeny Khramtsov [Wed, 11 Jun 2014 14:31:41 +0000 (18:31 +0400)]
Merge pull request #237 from weiss/log-config-path
Mention configuration file path in error messages
Holger Weiss [Wed, 11 Jun 2014 13:03:33 +0000 (15:03 +0200)]
Mention configuration file path in error messages
If reading or parsing a YAML configuration fails, log the full path to
the configuration file (as we do for old-style ".cfg" files).
Evgeny Khramtsov [Mon, 9 Jun 2014 19:50:43 +0000 (23:50 +0400)]
Merge pull request #231 from hamano/case_clause_error_at_node_hometree_odbc
case_clause_error_at_node_hometree_odbc
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:54:51 +0000 (10:54 +0400)]
Don't stop roster table conversion on broken askmessage
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:40:35 +0000 (10:40 +0400)]
Fix previous commit
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:35:52 +0000 (10:35 +0400)]
Don't stop irc table conversion on broken JIDs
Evgeniy Khramtsov [Sat, 7 Jun 2014 03:45:19 +0000 (07:45 +0400)]
Ignore malformed parameters for mod_irc module
Evgeniy Khramtsov [Thu, 25 Oct 2012 12:42:58 +0000 (22:42 +1000)]
Fix data convertion
Evgeniy Khramtsov [Fri, 6 Jun 2014 18:29:25 +0000 (22:29 +0400)]
Clean up all timers gracefully
Evgeniy Khramtsov [Fri, 6 Jun 2014 09:52:55 +0000 (13:52 +0400)]
Use a different timer for flow control
Evgeniy Khramtsov [Fri, 6 Jun 2014 05:32:07 +0000 (09:32 +0400)]
SIP Outbound (RFC 5626) support
Christophe Romain [Thu, 5 Jun 2014 14:18:17 +0000 (16:18 +0200)]
add missing format handler
Evgeny Khramtsov [Wed, 4 Jun 2014 19:37:13 +0000 (23:37 +0400)]
Merge pull request #232 from weiss/dont-drop-listen-options
Don't "forget" listener options
Holger Weiss [Wed, 4 Jun 2014 17:51:45 +0000 (19:51 +0200)]
Don't "forget" listener options
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.
HAMANO Tsukasa [Wed, 4 Jun 2014 09:53:37 +0000 (18:53 +0900)]
e_clause error at node_hometree_odbc:get_items/3
Evgeniy Khramtsov [Tue, 3 Jun 2014 17:18:02 +0000 (21:18 +0400)]
Reply to pings
Evgeniy Khramtsov [Tue, 3 Jun 2014 16:54:39 +0000 (20:54 +0400)]
Always enable STUN at compile time
Evgeny Khramtsov [Tue, 3 Jun 2014 12:28:13 +0000 (16:28 +0400)]
Merge pull request #230 from weiss/fix-dependency-list
Fix the list of dependencies
Holger Weiss [Tue, 3 Jun 2014 12:16:11 +0000 (14:16 +0200)]
Remove exmpp from the list of dependencies
The XEP-0227 code no longer uses exmpp.
Thanks to Steve Gillespie for noting this.
Holger Weiss [Tue, 3 Jun 2014 11:00:17 +0000 (13:00 +0200)]
Fix LibYAML version in the list of dependencies
Thanks to Steve Gillespie for reporting the error.
Evgeniy Khramtsov [Mon, 2 Jun 2014 16:46:09 +0000 (20:46 +0400)]
Don't add 'rport' paramater to 'Via' header
Evgeniy Khramtsov [Mon, 2 Jun 2014 06:16:08 +0000 (10:16 +0400)]
Rename option 'route' to 'record_route' and add new option 'routes'
Evgeniy Khramtsov [Sun, 1 Jun 2014 10:20:09 +0000 (14:20 +0400)]
Add global static shared_key option
Evgeniy Khramtsov [Sun, 1 Jun 2014 09:34:51 +0000 (13:34 +0400)]
Sign 'Record-Route' in order to proxy unauthorized ACKs
Evgeniy Khramtsov [Sat, 31 May 2014 10:21:29 +0000 (14:21 +0400)]
Fix 'via' option lookup
Evgeniy Khramtsov [Sat, 31 May 2014 10:20:38 +0000 (14:20 +0400)]
Add new option: route
Evgeny Khramtsov [Sat, 31 May 2014 08:53:18 +0000 (12:53 +0400)]
Merge pull request #229 from weiss/no-carbons-to-sender
XEP-0280: Don't send v1 carbon copies back to the sender
Evgeniy Khramtsov [Sat, 31 May 2014 06:00:27 +0000 (10:00 +0400)]
Don't add 'Record-Route' header for mid-dialog requests
Evgeniy Khramtsov [Sat, 31 May 2014 05:06:28 +0000 (09:06 +0400)]
Process bindings from multiple UACs correctly
Evgeniy Khramtsov [Sat, 31 May 2014 03:49:51 +0000 (07:49 +0400)]
Don't substitute URI in ACK
Holger Weiss [Fri, 30 May 2014 21:44:19 +0000 (23:44 +0200)]
Simplify mod_carboncopy:check_and_forward/4
Use the existing is_carbon_copy/1 function, and combine multiple case
clauses into a single one.
Holger Weiss [Fri, 30 May 2014 21:36:02 +0000 (23:36 +0200)]
Let is_carbon_copy/1 recognize <received/> carbons
The mod_carboncopy:is_carbon_copy/1 function now returns true not only
for <sent/>, but also for <received/> carbon copies.
Holger Weiss [Fri, 30 May 2014 21:32:18 +0000 (23:32 +0200)]
Don't send XEP-0280 v1 copies back to sender
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.
Evgeniy Khramtsov [Fri, 30 May 2014 19:49:34 +0000 (23:49 +0400)]
Fix previous commit
Evgeniy Khramtsov [Fri, 30 May 2014 19:11:46 +0000 (23:11 +0400)]
Process 'Contact' headers more accurately (as per RFC3261)
Evgeny Khramtsov [Thu, 29 May 2014 15:19:05 +0000 (19:19 +0400)]
Merge pull request #228 from weiss/turn-down-carbons-logging
Log just one [info] message on successful XEP-0280 negotiation
Holger Weiss [Thu, 29 May 2014 13:21:11 +0000 (15:21 +0200)]
Log just one [info] message on Carbons negotiation
Log one instead of three [info] messages when XEP-0280 (Message Carbons)
support is enabled or disabled successfully. On failure, log an
additional [warning].
Evgeny Khramtsov [Wed, 28 May 2014 09:43:29 +0000 (13:43 +0400)]
Merge pull request #227 from weiss/xep-0198
XEP-0198: Cosmetic change: Reuse event handler
Holger Weiss [Wed, 28 May 2014 09:24:38 +0000 (11:24 +0200)]
XEP-0198: Cosmetic change: Reuse event handler
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.
Evgeny Khramtsov [Wed, 28 May 2014 09:18:12 +0000 (13:18 +0400)]
Merge pull request #206 from weiss/xep-0198
XEP-0198: Terminate session if stanza queue becomes too large
Holger Weiss [Tue, 27 May 2014 20:56:33 +0000 (22:56 +0200)]
XEP-0198: Terminate session on queue overflow
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.
Evgeny Khramtsov [Tue, 27 May 2014 19:30:30 +0000 (23:30 +0400)]
Merge pull request #226 from weiss/simplify-state-change
XEP-0198: Cosmetic change: Simplify state change
Evgeny Khramtsov [Tue, 27 May 2014 19:27:16 +0000 (23:27 +0400)]
Merge pull request #225 from weiss/use-fsm-next-state
Let ejabberd_c2s always use fsm_next_state/2
Holger Weiss [Tue, 27 May 2014 19:14:49 +0000 (21:14 +0200)]
XEP-0198: Cosmetic change: Simplify state change
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.
Holger Weiss [Tue, 27 May 2014 19:07:53 +0000 (21:07 +0200)]
Let ejabberd_c2s always use fsm_next_state/2
Make sure any logic implemented in ejabberd_c2s:fsm_next_state/2 is
always applied.
Evgeny Khramtsov [Tue, 27 May 2014 11:44:04 +0000 (15:44 +0400)]
Merge pull request #220 from weiss/handle-send-failure
XEP-0198: Don't exit on socket send failure
Evgeny Khramtsov [Tue, 27 May 2014 11:38:26 +0000 (15:38 +0400)]
Merge pull request #222 from weiss/keep-session-on-failed-resume
XEP-0198: Don't drop session on failed resume
Evgeny Khramtsov [Tue, 27 May 2014 11:34:34 +0000 (15:34 +0400)]
Merge pull request #221 from weiss/omit-redundant-guard
XEP-0198: Cosmetic change: Omit redundant guard
Evgeny Khramtsov [Tue, 27 May 2014 11:32:02 +0000 (15:32 +0400)]
Merge pull request #218 from weiss/omit-iq-xmlns
Omit XML namespace declaration for <iq/> stanzas
Evgeniy Khramtsov [Tue, 27 May 2014 11:27:23 +0000 (15:27 +0400)]
Fix odbc_port option processing
Evgeniy Khramtsov [Mon, 26 May 2014 15:43:15 +0000 (19:43 +0400)]
Don't forget to include 'Contact' header field in 2xx registrar responses
Christophe Romain [Sun, 25 May 2014 11:02:25 +0000 (13:02 +0200)]
don't stop make install if epam is not compiled
Christophe Romain [Sun, 25 May 2014 00:31:28 +0000 (02:31 +0200)]
install epam binary when available
Holger Weiss [Fri, 23 May 2014 21:38:04 +0000 (23:38 +0200)]
XEP-0198: Don't drop session on failed resume
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.
Holger Weiss [Fri, 23 May 2014 18:46:17 +0000 (20:46 +0200)]
XEP-0198: Cosmetic change: Omit redundant guard
The stream management state is never 'pending' when the c2s FSM is in
the 'session_established' state.
Evgeniy Khramtsov [Fri, 23 May 2014 16:13:31 +0000 (20:13 +0400)]
Fix proxying of ACK requests for 2xx responses
Holger Weiss [Fri, 23 May 2014 09:38:54 +0000 (11:38 +0200)]
XEP-0198: Don't exit on socket send failure
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.
Badlop [Wed, 21 May 2014 16:45:43 +0000 (18:45 +0200)]
Merge branch 'weiss-check-packet-type' into 3
Badlop [Wed, 21 May 2014 16:45:28 +0000 (18:45 +0200)]
Merge branch 'check-packet-type' of git://github.com/weiss/ejabberd into weiss-check-packet-type
Conflicts:
src/ejabberd_c2s.erl
badlop [Wed, 21 May 2014 15:35:54 +0000 (17:35 +0200)]
Merge pull request #217 from weiss/fix-extauth-cache-usage
Don't use cached passwords if "extauth_cache: 0"
badlop [Wed, 21 May 2014 15:35:24 +0000 (17:35 +0200)]
Merge pull request #216 from lavrin/p1-c2s
Cleanup some pieces of ejabberd_c2s
badlop [Wed, 21 May 2014 15:33:56 +0000 (17:33 +0200)]
Merge pull request #215 from weiss/fix-url-markup
Fix URL markup in the guide
badlop [Wed, 21 May 2014 15:31:49 +0000 (17:31 +0200)]
Merge pull request #208 from weiss/update-travis-config
Travis CI: Remove unnecessary configure flag
badlop [Wed, 21 May 2014 15:31:22 +0000 (17:31 +0200)]
Merge pull request #207 from weiss/xep-0334
Honor XEP-0334: Message Processing Hints
Holger Weiss [Tue, 20 May 2014 22:07:57 +0000 (00:07 +0200)]
Omit XML namespace declaration for <iq/> stanzas
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.
Holger Weiss [Tue, 20 May 2014 21:00:28 +0000 (23:00 +0200)]
Don't use cached passwords if "extauth_cache: 0"
Regarding "extauth_cache", the guide says: "The integer 0 (zero) enables
caching for statistics, but doesn't use that cached information to
authenticate users." Make sure the cached password isn't used even if
the user is currently logged in with another resource.
Badlop [Tue, 20 May 2014 12:49:52 +0000 (14:49 +0200)]
If log uses file:write, no need to double escape ~ in messages (EJAB-1696)
Radosław Szymczyszyn [Tue, 20 May 2014 11:30:52 +0000 (12:30 +0100)]
Fix check_from/2 formatting
Radosław Szymczyszyn [Tue, 20 May 2014 11:27:16 +0000 (12:27 +0100)]
Sanitize copy-pasted get_statustag/1
Radosław Szymczyszyn [Tue, 20 May 2014 10:54:49 +0000 (11:54 +0100)]
Fix formatting
Radosław Szymczyszyn [Tue, 20 May 2014 10:52:02 +0000 (11:52 +0100)]
Build proceed/compressed elements in a sane way
Holger Weiss [Mon, 19 May 2014 22:24:34 +0000 (00:24 +0200)]
Fix URL markup in the guide
Badlop [Mon, 19 May 2014 17:07:46 +0000 (19:07 +0200)]
MUC messages with ~ were not logged (EJAB-1696)
badlop [Mon, 19 May 2014 09:46:37 +0000 (11:46 +0200)]
Merge pull request #213 from weiss/fix-xmlrcp-doc-url
Update ejabberd_xmlrpc documentation URL in the guide
Holger Weiss [Wed, 14 May 2014 20:39:19 +0000 (22:39 +0200)]
Update ejabberd_xmlrpc documentation URL
Badlop [Wed, 14 May 2014 11:28:39 +0000 (13:28 +0200)]
Fix bug when joining empty path