]> granicus.if.org Git - ejabberd/log
ejabberd
10 years agoXEP-0198: Accept stream elements in pending state
Holger Weiss [Sun, 4 May 2014 22:02:55 +0000 (00:02 +0200)]
XEP-0198: Accept stream elements in pending state

Due to timing issues, ejabberd_c2s might receive stream elements from
the client while the session is waiting for stream resumption.  Those
elements are now accepted.

10 years agoXEP-0198: Log message when waiting for resumption
Holger Weiss [Sun, 4 May 2014 21:08:42 +0000 (23:08 +0200)]
XEP-0198: Log message when waiting for resumption

Log an informational message when a session goes into the pending state
(waiting for resumption) after the connection was lost.  Administrators
may well be interested in this state change when looking into issues.

10 years agoXEP-0198: Turn some warnings into info messages
Holger Weiss [Sun, 27 Apr 2014 23:01:30 +0000 (01:01 +0200)]
XEP-0198: Turn some warnings into info messages

Don't log warnings on events that will happen during normal operation.

10 years agoXEP-0198: Don't bounce/resend forwarded messages
Holger Weiss [Mon, 7 Apr 2014 19:21:11 +0000 (21:21 +0200)]
XEP-0198: Don't bounce/resend forwarded messages

On connection timeout, drop any messages that were forwarded by some
encapsulating protocol, such as XEP-0280 carbon copies or XEP-0313
archive messages.  Bouncing or resending them could easily lead to
unexpected results.

10 years agoXEP-0198: Bounce unacked stanzas by default
Holger Weiss [Tue, 25 Mar 2014 22:23:38 +0000 (23:23 +0100)]
XEP-0198: Bounce unacked stanzas by default

If the new "resend_on_timeout" option is set to false (which it is by
default), bounce any unacknowledged stanzas instead of re-routing them.

10 years agoRemove "fun" element from c2s #state
Holger Weiss [Sat, 22 Mar 2014 19:25:43 +0000 (20:25 +0100)]
Remove "fun" element from c2s #state

Memory consumption wise, local "fun" references are quite expensive.

10 years agoSupport XEP-0198 session resumption
Holger Weiss [Tue, 18 Mar 2014 23:51:33 +0000 (00:51 +0100)]
Support XEP-0198 session resumption

Implement the optional session resumption feature described in XEP-0198.
A client that supports this feature may now resume the previous session
(within a configurable number of seconds) if the connection was lost.
During resumption, ejabberd will retransmit any stanzas that hadn't been
acknowledged by the client.

10 years agoRemove some commented out code
Holger Weiss [Sat, 15 Mar 2014 23:12:47 +0000 (00:12 +0100)]
Remove some commented out code

The code that had been commented out at some earlier point in time would
now break XEP-0198.

10 years agoAdd initial XEP-0198 support (EJAB-532)
Holger Weiss [Wed, 12 Mar 2014 22:34:14 +0000 (23:34 +0100)]
Add initial XEP-0198 support (EJAB-532)

Implement partial support for XEP-0198: Stream Management.  After
successful negotiation of this feature, the server requests an ACK for
each stanza transmitted to the client and responds to ACK requests
issued by the client.  On session termination, the server re-routes any
unacknowledged stanzas.  The length of the pending queue can be limited
by setting the "max_ack_queue" option to some integer value (default:
500).  XEP-0198 support can be disabled entirely by setting the
"stream_management" option to false (default: true).

So far, stream management is implemented only for c2s connections, and
the optional stream resumption feature also described in XEP-0198 is not
(yet) supported.

This addition was originally based on a patch provided by Magnus Henoch
and updated by Grzegorz Grasza.  Their code implements an early draft of
XEP-0198 for some previous version of ejabberd.  It has since been
rewritten almost entirely.

10 years agoProvide header with latin-1 encoding in translations to work with Erlang/OTP R17
Badlop [Wed, 12 Mar 2014 16:26:27 +0000 (17:26 +0100)]
Provide header with latin-1 encoding in translations to work with Erlang/OTP R17

10 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Fri, 28 Feb 2014 11:36:46 +0000 (15:36 +0400)]
Merge branch 'master' of github.com:processone/ejabberd

10 years agoRegenerate XMPP codec
Evgeniy Khramtsov [Fri, 28 Feb 2014 11:32:05 +0000 (15:32 +0400)]
Regenerate XMPP codec

10 years agoSupport XEP-0321: Remote Roster Management (EJAB-1381)
Badlop [Wed, 26 Feb 2014 17:01:47 +0000 (18:01 +0100)]
Support XEP-0321: Remote Roster Management (EJAB-1381)

10 years agoConvert DB details to string when calling odbc:connect/2 (EJAB-1681)
Badlop [Wed, 26 Feb 2014 16:26:46 +0000 (17:26 +0100)]
Convert DB details to string when calling odbc:connect/2 (EJAB-1681)

10 years agoDon't provide current password in webinterface (github issue #137)
Badlop [Wed, 26 Feb 2014 16:18:12 +0000 (17:18 +0100)]
Don't provide current password in webinterface (github issue #137)

10 years agoMerge pull request #145 from weiss/fix-configure-flag
badlop [Mon, 24 Feb 2014 11:46:09 +0000 (12:46 +0100)]
Merge pull request #145 from weiss/fix-configure-flag

Fix --enable-transient_supervisors flag

10 years agoMerge pull request #144 from weiss/fix-supervisor-start
badlop [Mon, 24 Feb 2014 11:40:10 +0000 (12:40 +0100)]
Merge pull request #144 from weiss/fix-supervisor-start

Add missing parenthesis

10 years agoFix --{enable,disable}-transient_supervisors flag
Holger Weiss [Fri, 21 Feb 2014 22:34:48 +0000 (23:34 +0100)]
Fix --{enable,disable}-transient_supervisors flag

Fix configure's --{enable,disable}-transient_supervisors option: Make
sure it's enabled with --enable and disabled with --disable, not the
other way round.  This also makes --disable the default setting, as
documented.

10 years agoAdd missing parenthesis
Holger Weiss [Fri, 21 Feb 2014 22:33:13 +0000 (23:33 +0100)]
Add missing parenthesis

11 years agoWhen occupant changes nick, include status 110 in stanzas sent to him
Badlop [Fri, 14 Feb 2014 15:22:14 +0000 (16:22 +0100)]
When occupant changes nick, include status 110 in stanzas sent to him

11 years agoFixing mod_carboncopy sends carbons of carbons (fixes #107)
Badlop [Thu, 23 Jan 2014 16:29:24 +0000 (17:29 +0100)]
Fixing mod_carboncopy sends carbons of carbons (fixes #107)

11 years agoMerge pull request #134 from mrjameshamilton/patch-1
badlop [Thu, 23 Jan 2014 14:56:18 +0000 (06:56 -0800)]
Merge pull request #134 from mrjameshamilton/patch-1

Fixed parameter order in call to restore_room/3

11 years agoFixed parameter order in call to restore_room/3
mrjameshamilton [Thu, 23 Jan 2014 14:39:52 +0000 (14:39 +0000)]
Fixed parameter order in call to restore_room/3

11 years agoClear SASL state after finishing auth
Alexey Shchepin [Tue, 21 Jan 2014 11:40:03 +0000 (13:40 +0200)]
Clear SASL state after finishing auth

11 years agoFix for the previous commit
Alexey Shchepin [Tue, 21 Jan 2014 09:54:18 +0000 (11:54 +0200)]
Fix for the previous commit

11 years agoUse 'to' field only in the first client stream initialization
Alexey Shchepin [Mon, 20 Jan 2014 14:06:05 +0000 (16:06 +0200)]
Use 'to' field only in the first client stream initialization

11 years agoAdd some ejabberd_xmlrpc documentation, and link to full details
Badlop [Thu, 2 Jan 2014 15:31:28 +0000 (16:31 +0100)]
Add some ejabberd_xmlrpc documentation, and link to full details

11 years agoFix auth verification in ejabberd_xmlrpc (thanks to Vicis)
Badlop [Thu, 2 Jan 2014 15:10:19 +0000 (16:10 +0100)]
Fix auth verification in ejabberd_xmlrpc (thanks to Vicis)

11 years agoFix example configuration option 'add' to 'append_host_config'
Badlop [Thu, 2 Jan 2014 14:03:05 +0000 (15:03 +0100)]
Fix example configuration option 'add' to 'append_host_config'

11 years agoFix some type specs and errors 13.12
Evgeniy Khramtsov [Tue, 10 Dec 2013 07:40:43 +0000 (17:40 +1000)]
Fix some type specs and errors

11 years agoAdd ejabberd_xmlrpc
Evgeniy Khramtsov [Tue, 10 Dec 2013 11:25:12 +0000 (21:25 +1000)]
Add ejabberd_xmlrpc

11 years agoremove version.tex file which is auto-generated
Christophe Romain [Thu, 5 Dec 2013 13:19:55 +0000 (14:19 +0100)]
remove version.tex file which is auto-generated

11 years agoAdd access rule to mod_roster (EJAB-72)
Badlop [Wed, 4 Dec 2013 13:55:21 +0000 (14:55 +0100)]
Add access rule to mod_roster (EJAB-72)

11 years agobind values for get_parentnodes_tree
Christophe Romain [Tue, 3 Dec 2013 09:51:01 +0000 (10:51 +0100)]
bind values for get_parentnodes_tree

11 years agofix use of virtual nodetree
Christophe Romain [Tue, 3 Dec 2013 09:34:59 +0000 (10:34 +0100)]
fix use of virtual nodetree

11 years agoMerge pull request #119 from Mikhail-D/patch-1
badlop [Mon, 2 Dec 2013 10:02:44 +0000 (02:02 -0800)]
Merge pull request #119 from Mikhail-D/patch-1

Create mssql2012.sql

11 years agoCreate mssql2012.sql
Mikhail-D [Mon, 2 Dec 2013 08:29:52 +0000 (00:29 -0800)]
Create mssql2012.sql

replace sp_dboption with new instructions

11 years agoSupport for OpenSSL ciphers list in ejabberd_c2s, ejabberd_s2s_in and ejabberd_s2s_out
Alexey Shchepin [Thu, 28 Nov 2013 17:39:11 +0000 (19:39 +0200)]
Support for OpenSSL ciphers list in ejabberd_c2s, ejabberd_s2s_in and ejabberd_s2s_out

11 years agoadd Pubsub data migration from mnesia to odbc (EJAB-1126)
Badlop [Thu, 14 Nov 2013 18:29:16 +0000 (19:29 +0100)]
add Pubsub data migration from mnesia to odbc (EJAB-1126)

By calling:
  ejd2odbc:export_pubsub("localhost","/tmp/aa.txt").
it will generate SQL files like these:
  /tmp/pubsub_item.txt
  /tmp/pubsub_node.txt
  /tmp/pubsub_state.txt

Conflicts:
src/ejabberd_admin.erl
src/ejd2odbc.erl

11 years agoCorrectly convert ACLs into YAML representation
Evgeniy Khramtsov [Wed, 6 Nov 2013 16:43:24 +0000 (02:43 +1000)]
Correctly convert ACLs into YAML representation

11 years agoDo not use functions from crypto module wherever possible
Evgeniy Khramtsov [Tue, 5 Nov 2013 10:05:12 +0000 (20:05 +1000)]
Do not use functions from crypto module wherever possible

11 years agoFix some type errors
Evgeniy Khramtsov [Tue, 5 Nov 2013 09:15:08 +0000 (19:15 +1000)]
Fix some type errors

11 years agoDo not try to start STUN application during config checks
Evgeniy Khramtsov [Sat, 2 Nov 2013 00:30:19 +0000 (10:30 +1000)]
Do not try to start STUN application during config checks

11 years agoAvoid case clause crash when loading permanent rooms
Evgeniy Khramtsov [Wed, 23 Oct 2013 02:22:17 +0000 (12:22 +1000)]
Avoid case clause crash when loading permanent rooms

11 years agoGet rid of deprecated MySQL variable 'table_type'
Evgeniy Khramtsov [Wed, 23 Oct 2013 01:55:29 +0000 (11:55 +1000)]
Get rid of deprecated MySQL variable 'table_type'

11 years agoCheck libyaml presence at configure time
Evgeniy Khramtsov [Tue, 22 Oct 2013 10:12:12 +0000 (20:12 +1000)]
Check libyaml presence at configure time

11 years agoEnumerate convert_to_yaml command in list of commands
Badlop [Wed, 9 Oct 2013 14:05:45 +0000 (16:05 +0200)]
Enumerate convert_to_yaml command in list of commands

11 years agoFix display ACLs in WebAdmin
Badlop [Tue, 1 Oct 2013 21:23:01 +0000 (23:23 +0200)]
Fix display ACLs in WebAdmin

11 years agoupdate default version to 13.10 13.10
Christophe Romain [Fri, 27 Sep 2013 09:19:22 +0000 (11:19 +0200)]
update default version to 13.10

11 years agoFix handling of format_status arguments (thanks to Nbaronov)
Badlop [Thu, 26 Sep 2013 15:19:56 +0000 (17:19 +0200)]
Fix handling of format_status arguments (thanks to Nbaronov)

11 years agoFix bypass for tls-required (thanks to Zeha)
Badlop [Thu, 26 Sep 2013 14:41:57 +0000 (16:41 +0200)]
Fix bypass for tls-required (thanks to Zeha)

11 years agoFix roster version support
Evgeniy Khramtsov [Tue, 24 Sep 2013 08:40:32 +0000 (18:40 +1000)]
Fix roster version support

11 years agoBetter web-handlers detection
Evgeniy Khramtsov [Sun, 22 Sep 2013 10:18:56 +0000 (20:18 +1000)]
Better web-handlers detection

11 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 19 Sep 2013 09:00:08 +0000 (19:00 +1000)]
Merge branch 'master' of github.com:processone/ejabberd

11 years agoReflect modules name changes in p1_mysql
Evgeniy Khramtsov [Wed, 18 Sep 2013 11:09:10 +0000 (21:09 +1000)]
Reflect modules name changes in p1_mysql

11 years agoFix problem with decoding http headers over tls connections
Paweł Chmielowski [Mon, 16 Sep 2013 14:32:02 +0000 (16:32 +0200)]
Fix problem with decoding http headers over tls connections

This fixed GitHub issue 96.

11 years agoFix the template: do not use 'global' keyword 13.09
Evgeniy Khramtsov [Fri, 30 Aug 2013 10:42:56 +0000 (20:42 +1000)]
Fix the template: do not use 'global' keyword

11 years agoFix release version number.
Jerome Sautret [Fri, 30 Aug 2013 07:12:33 +0000 (09:12 +0200)]
Fix release version number.

11 years agoupdate default version number
Christophe Romain [Tue, 27 Aug 2013 15:14:58 +0000 (17:14 +0200)]
update default version number

11 years agoclean subscriptions handling and avoid function_clause
Christophe Romain [Tue, 27 Aug 2013 12:23:52 +0000 (14:23 +0200)]
clean subscriptions handling and avoid function_clause

11 years agofix build of Parents list in #pubsub_node
Christophe Romain [Tue, 27 Aug 2013 11:59:29 +0000 (13:59 +0200)]
fix build of Parents list in #pubsub_node

11 years agofix call to get_session_pid with binary arguments
Christophe Romain [Tue, 27 Aug 2013 12:46:22 +0000 (14:46 +0200)]
fix call to get_session_pid with binary arguments

11 years agoFix the ACL rule
Evgeniy Khramtsov [Tue, 27 Aug 2013 10:12:26 +0000 (20:12 +1000)]
Fix the ACL rule

11 years agoRemove non-existent module from the testing config
Evgeniy Khramtsov [Tue, 27 Aug 2013 10:08:22 +0000 (20:08 +1000)]
Remove non-existent module from the testing config

11 years agoRemove multiple host_config sections
Evgeniy Khramtsov [Tue, 27 Aug 2013 10:05:12 +0000 (20:05 +1000)]
Remove multiple host_config sections

11 years agoDo not rely on p1_logger_h module when lager is enabled
Evgeniy Khramtsov [Tue, 27 Aug 2013 07:43:50 +0000 (17:43 +1000)]
Do not rely on p1_logger_h module when lager is enabled

11 years agoFix ejabberdctl config name
Evgeniy Khramtsov [Sat, 24 Aug 2013 12:09:46 +0000 (22:09 +1000)]
Fix ejabberdctl config name

11 years agoChange configuration file format to YAML
Evgeniy Khramtsov [Mon, 12 Aug 2013 12:25:05 +0000 (22:25 +1000)]
Change configuration file format to YAML

11 years agoDo not try to read/write the deprecated "config" table
Evgeniy Khramtsov [Sat, 27 Jul 2013 12:49:52 +0000 (22:49 +1000)]
Do not try to read/write the deprecated "config" table

11 years agoDo not distribute the ACL table
Evgeniy Khramtsov [Sat, 27 Jul 2013 12:45:39 +0000 (22:45 +1000)]
Do not distribute the ACL table

11 years agoGet rid of global configuration options
Evgeniy Khramtsov [Sat, 27 Jul 2013 12:07:17 +0000 (22:07 +1000)]
Get rid of global configuration options

11 years agoEnumerate in guide.tex what processes are started for ejabberd (EJAB-1082)
Badlop [Mon, 5 Aug 2013 17:22:22 +0000 (19:22 +0200)]
Enumerate in guide.tex what processes are started for ejabberd (EJAB-1082)

11 years agoMerge pull request #85 from imtal/patch-1
Evgeny Khramtsov [Wed, 24 Jul 2013 13:01:45 +0000 (06:01 -0700)]
Merge pull request #85 from imtal/patch-1

Fix version check

11 years agoFix version check
tjeerd [Wed, 24 Jul 2013 12:47:32 +0000 (14:47 +0200)]
Fix version check

Not all Erlang versions are of equal length. Added clauses to handle this.

11 years agoFix timestamp processing
Evgeniy Khramtsov [Tue, 23 Jul 2013 05:24:42 +0000 (15:24 +1000)]
Fix timestamp processing

11 years agoFix some type errors
Evgeniy Khramtsov [Mon, 22 Jul 2013 09:23:40 +0000 (19:23 +1000)]
Fix some type errors

11 years agoMake it possible to import without cursor usage
Evgeniy Khramtsov [Mon, 22 Jul 2013 00:46:00 +0000 (10:46 +1000)]
Make it possible to import without cursor usage

11 years agoTypo fix
Evgeniy Khramtsov [Sun, 21 Jul 2013 12:55:23 +0000 (22:55 +1000)]
Typo fix

11 years agoAdd SQL to Mnesia converter
Evgeniy Khramtsov [Sun, 21 Jul 2013 10:24:36 +0000 (20:24 +1000)]
Add SQL to Mnesia converter

11 years agoMake it possible to enable/disable TLS compression
Evgeniy Khramtsov [Wed, 17 Jul 2013 12:28:23 +0000 (22:28 +1000)]
Make it possible to enable/disable TLS compression

11 years agoMerge pull request #83 from tagged/makefile
Evgeny Khramtsov [Tue, 16 Jul 2013 03:06:35 +0000 (20:06 -0700)]
Merge pull request #83 from tagged/makefile

make deps/.built depend on deps/.got

11 years agomake deps/.built depend on deps/.got
Christopher A. Stelma [Mon, 15 Jul 2013 17:46:41 +0000 (10:46 -0700)]
make deps/.built depend on deps/.got

fixes race condition when running make with simultaneous jobs

11 years agoDo not forget to re-define the crash.log path
Evgeniy Khramtsov [Mon, 15 Jul 2013 01:49:28 +0000 (11:49 +1000)]
Do not forget to re-define the crash.log path

11 years agoIncrease the timetrap timeout
Evgeniy Khramtsov [Mon, 15 Jul 2013 01:36:12 +0000 (11:36 +1000)]
Increase the timetrap timeout

11 years agoMerge pull request #82 from tuncer/rebar-debug_info
Evgeny Khramtsov [Sun, 14 Jul 2013 11:07:39 +0000 (04:07 -0700)]
Merge pull request #82 from tuncer/rebar-debug_info

rebar.config.script: fix debug_info handling

11 years agorebar.config.script: fix debug_info handling
Tuncer Ayaz [Sat, 13 Jul 2013 19:33:50 +0000 (21:33 +0200)]
rebar.config.script: fix debug_info handling

debug_info is enabled by default and can be disabled by passing
'no_debug_info' in erl_opts.

11 years agoAllow room member to get members list using XEP
Badlop [Thu, 11 Jul 2013 10:10:47 +0000 (12:10 +0200)]
Allow room member to get members list using XEP

11 years agofix badmatch in send_loop (EJAB-1650)
Christophe Romain [Wed, 10 Jul 2013 07:47:49 +0000 (09:47 +0200)]
fix badmatch in send_loop (EJAB-1650)

11 years agofix badmatch on remove_user on PEP nodes (EJAB-1649)
Christophe Romain [Tue, 9 Jul 2013 19:50:56 +0000 (21:50 +0200)]
fix badmatch on remove_user on PEP nodes (EJAB-1649)

11 years agofix invalid response on get_options when no options set (EJAB-1648)
Christophe Romain [Tue, 9 Jul 2013 16:11:27 +0000 (18:11 +0200)]
fix invalid response on get_options when no options set (EJAB-1648)

11 years agoApparently configure.erl is not needed anymore
Badlop [Mon, 8 Jul 2013 13:52:03 +0000 (15:52 +0200)]
Apparently configure.erl is not needed anymore

11 years agogen_iq_handler:check_type was missing
Alexey Shchepin [Mon, 8 Jul 2013 07:40:39 +0000 (10:40 +0300)]
gen_iq_handler:check_type was missing

11 years agoCleanup the test suite (just a little)
Evgeniy Khramtsov [Sat, 6 Jul 2013 18:47:47 +0000 (04:47 +1000)]
Cleanup the test suite (just a little)

11 years agoUse error_logger directly in the LDAP test server
Evgeniy Khramtsov [Sat, 6 Jul 2013 17:47:44 +0000 (03:47 +1000)]
Use error_logger directly in the LDAP test server

11 years agoDo not build p1_logger if lager is enabled
Evgeniy Khramtsov [Sat, 6 Jul 2013 17:10:35 +0000 (03:10 +1000)]
Do not build p1_logger if lager is enabled

11 years agoImprove the applications start-up
Evgeniy Khramtsov [Sat, 6 Jul 2013 16:11:01 +0000 (02:11 +1000)]
Improve the applications start-up

* Check if all modules present for every application loaded.
* Get rid of now obsoleted 'ejabberd_check' module.

11 years agoImprove the XMPP codec, fix the test suite accordingly
Evgeniy Khramtsov [Wed, 3 Jul 2013 13:33:19 +0000 (23:33 +1000)]
Improve the XMPP codec, fix the test suite accordingly

11 years agofix pubsub unsubscription without SubId on odbc
Christophe Romain [Thu, 4 Jul 2013 13:13:21 +0000 (15:13 +0200)]
fix pubsub unsubscription without SubId on odbc

11 years agoimprove pubsub odbc use of i2l
Christophe Romain [Thu, 4 Jul 2013 08:07:53 +0000 (10:07 +0200)]
improve pubsub odbc use of i2l

11 years agoRe-generate the XMPP codec
Evgeniy Khramtsov [Tue, 2 Jul 2013 15:54:34 +0000 (01:54 +1000)]
Re-generate the XMPP codec