]> granicus.if.org Git - ejabberd/log
ejabberd
10 years agoBetter Riak usage detection
Evgeniy Khramtsov [Tue, 15 Jul 2014 16:26:32 +0000 (20:26 +0400)]
Better Riak usage detection

10 years agoFix broken hooked functions
Evgeniy Khramtsov [Tue, 15 Jul 2014 15:22:33 +0000 (19:22 +0400)]
Fix broken hooked functions

10 years agoAdd mod_caps checks to the testing suite
Evgeniy Khramtsov [Tue, 15 Jul 2014 07:53:40 +0000 (11:53 +0400)]
Add mod_caps checks to the testing suite

10 years agoDo not check for Erlang apps at configure time as it looks redundant
Evgeniy Khramtsov [Sun, 17 Nov 2013 05:09:54 +0000 (15:09 +1000)]
Do not check for Erlang apps at configure time as it looks redundant

10 years agoSerialize records to proplists before storing then in Riak
Evgeniy Khramtsov [Mon, 14 Jul 2014 03:49:02 +0000 (07:49 +0400)]
Serialize records to proplists before storing then in Riak

10 years agoMerge pull request #248 from mathiasertl/master
Evgeny Khramtsov [Fri, 11 Jul 2014 11:45:29 +0000 (15:45 +0400)]
Merge pull request #248 from mathiasertl/master

Move warnings inside check for $EJABBERD_BYPASS_WARNINGS, use variable for path

10 years agoMove warnings inside check for , use variable for path
Mathias Ertl [Fri, 11 Jul 2014 10:34:52 +0000 (12:34 +0200)]
Move warnings inside check for , use variable for path

10 years agoRe-generate the HTML documents
Evgeniy Khramtsov [Thu, 10 Jul 2014 15:07:09 +0000 (19:07 +0400)]
Re-generate the HTML documents

10 years agoMention about Riak in yet another place
Evgeniy Khramtsov [Thu, 10 Jul 2014 11:33:50 +0000 (15:33 +0400)]
Mention about Riak in yet another place

10 years agoTry to bypass Riak tests by Travis CI
Evgeniy Khramtsov [Thu, 10 Jul 2014 10:45:54 +0000 (14:45 +0400)]
Try to bypass Riak tests by Travis CI

10 years agoFix compile errors introduced by previous cherry picks
Evgeniy Khramtsov [Thu, 10 Jul 2014 10:16:33 +0000 (14:16 +0400)]
Fix compile errors introduced by previous cherry picks

10 years agoRe-generate the configure script
Evgeniy Khramtsov [Thu, 10 Jul 2014 09:59:11 +0000 (13:59 +0400)]
Re-generate the configure script

10 years agoAdd --enable-riak configure flag
Evgeniy Khramtsov [Thu, 10 Jul 2014 09:58:43 +0000 (13:58 +0400)]
Add --enable-riak configure flag

10 years agoDocument Riak support
Evgeniy Khramtsov [Thu, 10 Jul 2014 08:11:03 +0000 (12:11 +0400)]
Document Riak support

10 years agoCheck Riak connection before running the corresponding suite
Evgeniy Khramtsov [Wed, 9 Jul 2014 18:59:45 +0000 (22:59 +0400)]
Check Riak connection before running the corresponding suite

10 years agoMake it possible to check Riak connection status
Evgeniy Khramtsov [Wed, 9 Jul 2014 18:49:23 +0000 (22:49 +0400)]
Make it possible to check Riak connection status

10 years agoDon't forget to shutdown rooms before starting the testing suite
Evgeniy Khramtsov [Wed, 9 Jul 2014 17:37:06 +0000 (21:37 +0400)]
Don't forget to shutdown rooms before starting the testing suite

10 years agoImprove test suite explanation
Evgeniy Khramtsov [Wed, 9 Jul 2014 15:28:14 +0000 (19:28 +0400)]
Improve test suite explanation

10 years agoClear Riak data when initializing the testing suite
Evgeniy Khramtsov [Wed, 9 Jul 2014 14:44:48 +0000 (18:44 +0400)]
Clear Riak data when initializing the testing suite

10 years agoFix roster versioning support when Riak backend is enabled
Evgeniy Khramtsov [Wed, 9 Jul 2014 14:39:39 +0000 (18:39 +0400)]
Fix roster versioning support when Riak backend is enabled

10 years agoFix case clause
Evgeniy Khramtsov [Wed, 9 Jul 2014 14:02:13 +0000 (18:02 +0400)]
Fix case clause

10 years agoImprove Riak pool management
Evgeniy Khramtsov [Wed, 9 Jul 2014 12:40:18 +0000 (16:40 +0400)]
Improve Riak pool management

10 years agoFixate Riak client library
Evgeniy Khramtsov [Wed, 9 Jul 2014 12:40:06 +0000 (16:40 +0400)]
Fixate Riak client library

10 years agoAdd Riak backend to the testing suit
Evgeniy Khramtsov [Wed, 9 Jul 2014 12:38:45 +0000 (16:38 +0400)]
Add Riak backend to the testing suit

10 years agoAdd SQL to Riak converter
Evgeniy Khramtsov [Sun, 21 Jul 2013 12:53:44 +0000 (22:53 +1000)]
Add SQL to Riak converter

10 years agoImprove Riak support
Evgeniy Khramtsov [Tue, 13 Nov 2012 12:56:27 +0000 (22:56 +1000)]
Improve Riak support

10 years agoUpdated riak support
Alexey Shchepin [Tue, 6 Nov 2012 15:58:08 +0000 (17:58 +0200)]
Updated riak support

10 years agoPreliminary Riak support
Alexey Shchepin [Wed, 25 Jan 2012 10:02:16 +0000 (12:02 +0200)]
Preliminary Riak support

10 years agoAdd start_module/2
Evgeniy Khramtsov [Tue, 8 Jul 2014 16:57:43 +0000 (20:57 +0400)]
Add start_module/2

10 years agoImprove documentation of mod_sip
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:38:50 +0000 (09:38 +0400)]
Improve documentation of mod_sip

10 years agoRename options
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:27:24 +0000 (09:27 +0400)]
Rename options

10 years agoAdd new option support: always_record_route
Evgeniy Khramtsov [Mon, 7 Jul 2014 05:23:11 +0000 (09:23 +0400)]
Add new option support: always_record_route

10 years agoMerge pull request #243 from matwey/master
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

10 years agoUse -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.

10 years agoRevert "Fix IQ XML generation."
Evgeniy Khramtsov [Sat, 5 Jul 2014 13:53:45 +0000 (17:53 +0400)]
Revert "Fix IQ XML generation."

This reverts commit 26a4d91297a7d7400dbdd30a063e163afa83fb22.

10 years agoReturn MySQL error messages as binary.
Jerome Sautret [Fri, 4 Jul 2014 15:28:19 +0000 (17:28 +0200)]
Return MySQL error messages as binary.

10 years agoFix IQ XML generation.
Jerome Sautret [Fri, 4 Jul 2014 13:21:40 +0000 (15:21 +0200)]
Fix IQ XML generation.

10 years agoadd ability to rotate logs on given date condition
Christophe Romain [Wed, 2 Jul 2014 08:41:12 +0000 (10:41 +0200)]
add ability to rotate logs on given date condition

10 years agoNew option support: log_rotate_count
Evgeniy Khramtsov [Mon, 18 Nov 2013 13:22:48 +0000 (23:22 +1000)]
New option support: log_rotate_count

10 years agoSupport new options: log_rotate_size and log_rate_limit
Evgeniy Khramtsov [Tue, 12 Nov 2013 11:33:09 +0000 (21:33 +1000)]
Support new options: log_rotate_size and log_rate_limit

10 years agoDisable SASL error logger if lager is enabled
Evgeniy Khramtsov [Mon, 11 Nov 2013 02:13:29 +0000 (12:13 +1000)]
Disable SASL error logger if lager is enabled

10 years agomod_caps doesn't provide Mnesia export feature
Badlop [Fri, 27 Jun 2014 11:49:17 +0000 (13:49 +0200)]
mod_caps doesn't provide Mnesia export feature

10 years agolet ejabberdctl explicitely use bash
Christophe Romain [Fri, 20 Jun 2014 12:33:48 +0000 (14:33 +0200)]
let ejabberdctl explicitely use bash

10 years agoMerge pull request #238 from weiss/log-node-mismatch
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

10 years agoCheck for Mnesia node name mismatches
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.

10 years agoChange default flow timeout as recommended per the RFC
Evgeniy Khramtsov [Thu, 12 Jun 2014 05:28:34 +0000 (09:28 +0400)]
Change default flow timeout as recommended per the RFC

10 years agoDon't forget to close socket of timed out flow
Evgeniy Khramtsov [Thu, 12 Jun 2014 05:27:32 +0000 (09:27 +0400)]
Don't forget to close socket of timed out flow

10 years agoMerge pull request #237 from weiss/log-config-path
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

10 years agoMention 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).

10 years agoMerge pull request #231 from hamano/case_clause_error_at_node_hometree_odbc
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

10 years agoDon't stop roster table conversion on broken askmessage
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:54:51 +0000 (10:54 +0400)]
Don't stop roster table conversion on broken askmessage

10 years agoFix previous commit
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:40:35 +0000 (10:40 +0400)]
Fix previous commit

10 years agoDon't stop irc table conversion on broken JIDs
Evgeniy Khramtsov [Mon, 9 Jun 2014 06:35:52 +0000 (10:35 +0400)]
Don't stop irc table conversion on broken JIDs

10 years agoIgnore malformed parameters for mod_irc module
Evgeniy Khramtsov [Sat, 7 Jun 2014 03:45:19 +0000 (07:45 +0400)]
Ignore malformed parameters for mod_irc module

10 years agoFix data convertion
Evgeniy Khramtsov [Thu, 25 Oct 2012 12:42:58 +0000 (22:42 +1000)]
Fix data convertion

10 years agoClean up all timers gracefully
Evgeniy Khramtsov [Fri, 6 Jun 2014 18:29:25 +0000 (22:29 +0400)]
Clean up all timers gracefully

10 years agoUse a different timer for flow control
Evgeniy Khramtsov [Fri, 6 Jun 2014 09:52:55 +0000 (13:52 +0400)]
Use a different timer for flow control

10 years agoSIP Outbound (RFC 5626) support
Evgeniy Khramtsov [Fri, 6 Jun 2014 05:32:07 +0000 (09:32 +0400)]
SIP Outbound (RFC 5626) support

10 years agoadd missing format handler
Christophe Romain [Thu, 5 Jun 2014 14:18:17 +0000 (16:18 +0200)]
add missing format handler

10 years agoMerge pull request #232 from weiss/dont-drop-listen-options
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

10 years agoDon'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.

10 years agoe_clause error at node_hometree_odbc:get_items/3
HAMANO Tsukasa [Wed, 4 Jun 2014 09:53:37 +0000 (18:53 +0900)]
e_clause error at node_hometree_odbc:get_items/3

10 years agoReply to pings
Evgeniy Khramtsov [Tue, 3 Jun 2014 17:18:02 +0000 (21:18 +0400)]
Reply to pings

10 years agoAlways enable STUN at compile time
Evgeniy Khramtsov [Tue, 3 Jun 2014 16:54:39 +0000 (20:54 +0400)]
Always enable STUN at compile time

10 years agoMerge pull request #230 from weiss/fix-dependency-list
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

10 years agoRemove exmpp from 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.

10 years agoFix LibYAML version in the list of dependencies
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.

10 years agoDon't add 'rport' paramater to 'Via' header
Evgeniy Khramtsov [Mon, 2 Jun 2014 16:46:09 +0000 (20:46 +0400)]
Don't add 'rport' paramater to 'Via' header

10 years agoRename option 'route' to 'record_route' and add new option 'routes'
Evgeniy Khramtsov [Mon, 2 Jun 2014 06:16:08 +0000 (10:16 +0400)]
Rename option 'route' to 'record_route' and add new option 'routes'

10 years agoAdd global static shared_key option
Evgeniy Khramtsov [Sun, 1 Jun 2014 10:20:09 +0000 (14:20 +0400)]
Add global static shared_key option

10 years agoSign 'Record-Route' in order to proxy unauthorized ACKs
Evgeniy Khramtsov [Sun, 1 Jun 2014 09:34:51 +0000 (13:34 +0400)]
Sign 'Record-Route' in order to proxy unauthorized ACKs

10 years agoFix 'via' option lookup
Evgeniy Khramtsov [Sat, 31 May 2014 10:21:29 +0000 (14:21 +0400)]
Fix 'via' option lookup

10 years agoAdd new option: route
Evgeniy Khramtsov [Sat, 31 May 2014 10:20:38 +0000 (14:20 +0400)]
Add new option: route

10 years agoMerge pull request #229 from weiss/no-carbons-to-sender
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

10 years agoDon't add 'Record-Route' header for mid-dialog requests
Evgeniy Khramtsov [Sat, 31 May 2014 06:00:27 +0000 (10:00 +0400)]
Don't add 'Record-Route' header for mid-dialog requests

10 years agoProcess bindings from multiple UACs correctly
Evgeniy Khramtsov [Sat, 31 May 2014 05:06:28 +0000 (09:06 +0400)]
Process bindings from multiple UACs correctly

10 years agoDon't substitute URI in ACK
Evgeniy Khramtsov [Sat, 31 May 2014 03:49:51 +0000 (07:49 +0400)]
Don't substitute URI in ACK

10 years agoSimplify mod_carboncopy:check_and_forward/4
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.

10 years agoLet is_carbon_copy/1 recognize <received/> carbons
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.

10 years agoDon't send XEP-0280 v1 copies back to sender
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.

10 years agoFix previous commit
Evgeniy Khramtsov [Fri, 30 May 2014 19:49:34 +0000 (23:49 +0400)]
Fix previous commit

10 years agoProcess 'Contact' headers more accurately (as per RFC3261)
Evgeniy Khramtsov [Fri, 30 May 2014 19:11:46 +0000 (23:11 +0400)]
Process 'Contact' headers more accurately (as per RFC3261)

10 years agoMerge pull request #228 from weiss/turn-down-carbons-logging
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

10 years agoLog just one [info] message on Carbons 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].

10 years agoMerge pull request #227 from weiss/xep-0198
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

10 years agoXEP-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.

10 years agoMerge pull request #206 from weiss/xep-0198
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

10 years agoXEP-0198: Terminate session on queue overflow
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.

10 years agoMerge pull request #226 from weiss/simplify-state-change
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

10 years agoMerge pull request #225 from weiss/use-fsm-next-state
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

10 years agoXEP-0198: Cosmetic change: Simplify state change
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.

10 years agoLet ejabberd_c2s always use fsm_next_state/2
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.

10 years agoMerge pull request #220 from weiss/handle-send-failure
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

10 years agoMerge pull request #222 from weiss/keep-session-on-failed-resume
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

10 years agoMerge pull request #221 from weiss/omit-redundant-guard
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

10 years agoMerge pull request #218 from weiss/omit-iq-xmlns
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

10 years agoFix odbc_port option processing
Evgeniy Khramtsov [Tue, 27 May 2014 11:27:23 +0000 (15:27 +0400)]
Fix odbc_port option processing

10 years agoDon't forget to include 'Contact' header field in 2xx registrar responses
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

10 years agodon't stop make install if epam is not compiled
Christophe Romain [Sun, 25 May 2014 11:02:25 +0000 (13:02 +0200)]
don't stop make install if epam is not compiled

10 years agoinstall epam binary when available
Christophe Romain [Sun, 25 May 2014 00:31:28 +0000 (02:31 +0200)]
install epam binary when available