]> granicus.if.org Git - ejabberd/log
ejabberd
12 years agoMerge pull request #27 from gcapital/master obsolete_3alpha
badlop [Wed, 8 Aug 2012 11:55:30 +0000 (04:55 -0700)]
Merge pull request #27 from gcapital/master

NULL handling in gen_storage_odbc

13 years agoMerge remote-tracking branch 'upstream/master'
Ben Homnick [Wed, 7 Mar 2012 08:08:48 +0000 (16:08 +0800)]
Merge remote-tracking branch 'upstream/master'

13 years agoUpdate copyright dates
Alexey Shchepin [Thu, 23 Feb 2012 15:47:43 +0000 (17:47 +0200)]
Update copyright dates

13 years agoHandle NULL<->undefined correctly in gen_storage_odbc
Brendon Hogger [Mon, 20 Feb 2012 22:30:30 +0000 (06:30 +0800)]
Handle NULL<->undefined correctly in gen_storage_odbc

13 years agoFix a crash in debug prints of XML messages
Brendon Hogger [Mon, 20 Feb 2012 21:28:08 +0000 (05:28 +0800)]
Fix a crash in debug prints of XML messages

13 years agoReplace a single quote with double quotes in
Evgeniy Khramtsov [Tue, 31 Jan 2012 01:18:14 +0000 (11:18 +1000)]
Replace a single quote with double quotes in
an ODBC escape (thanks to Vladislav Chugunov)

13 years agohttp_bind webserver TLS fail on Chrome (thanks to Adam Langley)(EJAB-1530)
Badlop [Thu, 19 Jan 2012 12:08:11 +0000 (13:08 +0100)]
http_bind webserver TLS fail on Chrome (thanks to Adam Langley)(EJAB-1530)

13 years agoForeign shared rosters items not pushed (thanks to Nathan Bruning)(EJAB-1509)
Badlop [Wed, 4 Jan 2012 18:30:35 +0000 (19:30 +0100)]
Foreign shared rosters items not pushed (thanks to Nathan Bruning)(EJAB-1509)

13 years agoUpdate ejabberd version number to 3.0.0-alpha-5 v3.0.0-alpha-5
Badlop [Fri, 23 Dec 2011 11:32:59 +0000 (12:32 +0100)]
Update ejabberd version number to 3.0.0-alpha-5

13 years agoSupport undefinition of ssl:seed in R15B
Badlop [Fri, 23 Dec 2011 11:19:18 +0000 (12:19 +0100)]
Support undefinition of ssl:seed in R15B

13 years agoAlways allow packets from user's server and bare jid (thanks to Alexey Shchepin)
Badlop [Fri, 23 Dec 2011 10:55:01 +0000 (11:55 +0100)]
Always allow packets from user's server and bare jid (thanks to Alexey Shchepin)

13 years agoCorrected mod_blocking hooks return value, activate "Blocked Contacts" privacy list...
Alexey Shchepin [Wed, 21 Dec 2011 17:00:17 +0000 (19:00 +0200)]
Corrected mod_blocking hooks return value, activate "Blocked Contacts" privacy list after it is changed (EJAB-1519) (thanks to Karim Gemayel)

13 years agoFix update with stripped beams (thanks to Jose M Herrero)(EJAB-1520)
Badlop [Wed, 21 Dec 2011 11:58:58 +0000 (12:58 +0100)]
Fix update with stripped beams (thanks to Jose M Herrero)(EJAB-1520)

13 years agoSupport Erlang/OTP R15B driver (EJAB-1521)
Badlop [Wed, 21 Dec 2011 11:13:44 +0000 (12:13 +0100)]
Support Erlang/OTP R15B driver (EJAB-1521)

13 years agoGet rid of +driver option because it is incompatible with R15B
Evgeniy Khramtsov [Mon, 19 Dec 2011 06:01:04 +0000 (16:01 +1000)]
Get rid of +driver option because it is incompatible with R15B

13 years agoPreliminary support for groupname@vhost in Displayed Groups (EJAB-506)
Badlop [Thu, 15 Dec 2011 16:19:47 +0000 (17:19 +0100)]
Preliminary support for groupname@vhost in Displayed Groups (EJAB-506)

13 years agoFix command "update" to return response in the expected format
Badlop [Thu, 8 Dec 2011 18:39:36 +0000 (19:39 +0100)]
Fix command "update" to return response in the expected format

13 years agoDon't reveal invitee's resource when room informs invitor
Badlop [Thu, 8 Dec 2011 15:54:25 +0000 (16:54 +0100)]
Don't reveal invitee's resource when room informs invitor

13 years agoAdd callback function print_state/1 for behavior p1_fsm
Badlop [Thu, 8 Dec 2011 11:50:40 +0000 (12:50 +0100)]
Add callback function print_state/1 for behavior p1_fsm

13 years agoFix a recent commit
Badlop [Thu, 8 Dec 2011 11:55:50 +0000 (12:55 +0100)]
Fix a recent commit

13 years agoPrevent overload of incomming s2s connections
Pablo Polvorin [Fri, 2 Dec 2011 18:36:51 +0000 (15:36 -0300)]
Prevent overload of incomming s2s connections

Three changes were introduced:

1) ejabberd_s2s_in now uses p1_fsm instead of gen_fsm.  And uses
   the {max_queue, N} option to kill the process if its input
   queue grows too much.
2) If a ejabberd_s2s_in process is overload and killed, the server
   that originated that connection is not allowed to connect back
   to us for X seconds (set to 60seconds on the source)
3) The list of blocked (both statically and dynamically by the above
   method) host is now also checked for hosts authenticating by
   starttls+sasl. Previusly it was only used during dialback.

13 years agoFix bug on s2s shaper when TLS is used
Pablo Polvorin [Thu, 1 Dec 2011 15:55:20 +0000 (12:55 -0300)]
Fix bug on s2s shaper when TLS is used

The shaper was not enabled if the remote server authenticates
using a certificate instead of dialback.

13 years agoadd hooks for node creation/deletion (EJAB-1470)
Christophe Romain [Tue, 29 Nov 2011 14:48:49 +0000 (15:48 +0100)]
add hooks for node creation/deletion (EJAB-1470)

13 years agoUse httpc instead of the deprecated http
Badlop [Sat, 26 Nov 2011 16:20:06 +0000 (17:20 +0100)]
Use httpc instead of the deprecated http

13 years agoAvoid a possible race condition
Badlop [Sat, 26 Nov 2011 16:03:24 +0000 (17:03 +0100)]
Avoid a possible race condition

13 years agoRemove some leftovers of XEP-0018.
Janusz Dziemidowicz [Mon, 10 Oct 2011 20:12:02 +0000 (22:12 +0200)]
Remove some leftovers of XEP-0018.

Support for XEP-0018 was dropped long ago, but there are some
leftovers. Remove them.

13 years agoComment section 6.3.1 because it has no content at all
Badlop [Tue, 15 Nov 2011 15:46:00 +0000 (16:46 +0100)]
Comment section 6.3.1 because it has no content at all

13 years agoFix presence problem after first unavailable (thanks to Christopher Faulet) (EJAB...
Evgeniy Khramtsov [Wed, 9 Nov 2011 05:11:50 +0000 (15:11 +1000)]
Fix presence problem after first unavailable (thanks to Christopher Faulet) (EJAB-1466)

13 years agoSupport to update modules in R14B04 and higher
Badlop [Thu, 3 Nov 2011 18:46:59 +0000 (19:46 +0100)]
Support to update modules in R14B04 and higher

13 years agoOnly verify if passwd table is SCRAMmed when starting module. Some format fixes.
Badlop [Fri, 28 Oct 2011 14:43:07 +0000 (16:43 +0200)]
Only verify if passwd table is SCRAMmed when starting module. Some format fixes.

13 years agoFix previous commit about language name
Badlop [Thu, 20 Oct 2011 14:28:53 +0000 (16:28 +0200)]
Fix previous commit about language name

13 years agoFix extraction of language name from PO files
Badlop [Thu, 20 Oct 2011 13:45:17 +0000 (15:45 +0200)]
Fix extraction of language name from PO files

13 years agoUse the 'host' option also for static_modules, instead of 'prefix'
Badlop [Thu, 20 Oct 2011 09:13:36 +0000 (11:13 +0200)]
Use the 'host' option also for static_modules, instead of 'prefix'

13 years agoWhen a vhost is removed, remove also its accounts and rooms (EJAB-1371)
Badlop [Thu, 20 Oct 2011 09:13:23 +0000 (11:13 +0200)]
When a vhost is removed, remove also its accounts and rooms (EJAB-1371)

13 years agoRemove workaround, as now the correct #roster format is received
Badlop [Mon, 10 Oct 2011 15:15:04 +0000 (17:15 +0200)]
Remove workaround, as now the correct #roster format is received

13 years agoRevert "Update ejabberd version number to 3.0.0-alpha-4"
Badlop [Tue, 4 Oct 2011 09:19:04 +0000 (11:19 +0200)]
Revert "Update ejabberd version number to 3.0.0-alpha-4"

This reverts commit a6e5fb269c810b5382a78969ff9ada89a5655129.

13 years agoUpdate ejabberd version number to 3.0.0-alpha-4 v3.0.0-alpha-4
Badlop [Mon, 26 Sep 2011 16:07:01 +0000 (18:07 +0200)]
Update ejabberd version number to 3.0.0-alpha-4

13 years agoAdded relevant changes of 'master' branch.
Badlop [Mon, 26 Sep 2011 15:55:38 +0000 (17:55 +0200)]
Added relevant changes of 'master' branch.

13 years agoDecrease CPU usage caused by tls:send with large data.
Janusz Dziemidowicz [Tue, 20 Sep 2011 19:20:51 +0000 (21:20 +0200)]
Decrease CPU usage caused by tls:send with large data.

Sending one large chunk of data with tls:send eats lots of
CPU power and blocks whole Erlang emulator. This is caused by the
fact that encrypted output is read from memory BIO in 1k chunks.
Memory BIO, after reading data, shifts the remaining part.
If large chunks of data (few MB) is sent and then read in 1k
chunks, then a _lot_ of shifting is performed eating CPU.

The solution is to simply allocate binary of the needed size
(amount of data in memory BIO can be retrieved with
BIO_ctrl_pending) and then issue only one read that reads the
whole data.

13 years agoFix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)
Badlop [Fri, 23 Sep 2011 15:00:50 +0000 (17:00 +0200)]
Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)

13 years agofix broken PEP after EJAB-1498 (thanks to Karim Gemayel)
Christophe Romain [Thu, 22 Sep 2011 18:49:56 +0000 (20:49 +0200)]
fix broken PEP after EJAB-1498 (thanks to Karim Gemayel)

13 years agoejabberdctl doesn't support parameters with blankspaces (EJAB-1458)
Badlop [Wed, 9 Feb 2011 12:30:01 +0000 (13:30 +0100)]
ejabberdctl doesn't support parameters with blankspaces (EJAB-1458)

Revert "Escape output from ctlexec() to erl script (thanks to Dan Scott)(EJAB-1399)"

This reverts commit 6dea2d230714b556118fab6710141a88cc8aad23.

13 years agoFix Denial of Service when user sends malformed publish stanza (thanks to Oleg Smirno...
Christophe Romain [Wed, 21 Sep 2011 12:40:47 +0000 (14:40 +0200)]
Fix Denial of Service when user sends malformed publish stanza (thanks to Oleg Smirnov) (EJAB-1498)

13 years agoadded svg mimetype to default content types (thanks to Markus Kohlhase)
Badlop [Tue, 20 Sep 2011 14:50:22 +0000 (16:50 +0200)]
added svg mimetype to default content types (thanks to Markus Kohlhase)

13 years agoAdd support for @online@ to add_user_to_group
Badlop [Tue, 20 Sep 2011 14:44:51 +0000 (16:44 +0200)]
Add support for @online@ to add_user_to_group

13 years agoNew option support: ldap_deref_aliases (EJAB-639)
Evgeniy Khramtsov [Mon, 19 Sep 2011 06:58:55 +0000 (16:58 +1000)]
New option support: ldap_deref_aliases (EJAB-639)

Conflicts:

src/ejabberd_auth_ldap.erl

13 years agoUse NS_XBOSH instead of NS_BOSH (thanks to Janusz Dziemidowicz)
Badlop [Thu, 15 Sep 2011 23:14:29 +0000 (01:14 +0200)]
Use NS_XBOSH instead of NS_BOSH (thanks to Janusz Dziemidowicz)

There are two, exactly the same defines for urn:xmpp:xbosh
namespace: NS_BOSH and NS_XBOSH. Both are used in http_bind
module. Stick with NS_XBOSH everywhere.

13 years agoUpdate http_bind module to latest XEP-0124 and XEP-0206
Janusz Dziemidowicz [Wed, 14 Sep 2011 21:36:30 +0000 (23:36 +0200)]
Update http_bind module to latest XEP-0124 and XEP-0206

Only cosmetic changes, version bumped to 1.10 and added
'restartlogic' attribute.

13 years agoNo need to explicitly skip old useless tables, simply fix keep_tables
Badlop [Wed, 14 Sep 2011 10:15:53 +0000 (12:15 +0200)]
No need to explicitly skip old useless tables, simply fix keep_tables

13 years agoAvoid crash when performing admin action (thanks to Evgeniy Khramtsov)
Badlop [Fri, 9 Sep 2011 09:29:46 +0000 (11:29 +0200)]
Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)

13 years agoFixed support for multi-resource occupants (EJAB-305)
Badlop [Thu, 8 Sep 2011 14:18:22 +0000 (16:18 +0200)]
Fixed support for multi-resource occupants (EJAB-305)

13 years agoImprove room config change logging, due to allow_private_messages_from_visitors
Badlop [Thu, 8 Sep 2011 10:35:59 +0000 (12:35 +0200)]
Improve room config change logging, due to allow_private_messages_from_visitors

13 years agoSupport to import XML files without password-format attribute
Badlop [Thu, 8 Sep 2011 09:43:21 +0000 (11:43 +0200)]
Support to import XML files without password-format attribute

13 years agoClarification about system user of ejabberd.init
Badlop [Tue, 6 Sep 2011 11:39:26 +0000 (13:39 +0200)]
Clarification about system user of ejabberd.init

13 years agoFix SCRAM to support attributes which value has only one character
Badlop [Mon, 5 Sep 2011 21:21:38 +0000 (23:21 +0200)]
Fix SCRAM to support attributes which value has only one character

13 years agoFix typo in the Guide about user_regexp
Badlop [Mon, 5 Sep 2011 17:24:05 +0000 (19:24 +0200)]
Fix typo in the Guide about user_regexp

13 years agoFix support to negotiate zlib compression after starttls
Badlop [Mon, 5 Sep 2011 14:53:04 +0000 (16:53 +0200)]
Fix support to negotiate zlib compression after starttls

13 years agoFix SASL auth error conditions
Badlop [Mon, 5 Sep 2011 14:29:30 +0000 (16:29 +0200)]
Fix SASL auth error conditions

13 years agoFix SCRAM auth of uppercase passwords (EJAB-1196)
Badlop [Mon, 5 Sep 2011 11:04:26 +0000 (13:04 +0200)]
Fix SCRAM auth of uppercase passwords (EJAB-1196)

13 years agoReplace calls of OTP's Binary, since they would require R14
Badlop [Sun, 4 Sep 2011 12:56:56 +0000 (14:56 +0200)]
Replace calls of OTP's Binary, since they would require R14

13 years agoReplace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991)
Badlop [Fri, 2 Sep 2011 23:04:22 +0000 (01:04 +0200)]
Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991)

13 years agoFix zlib compression connection (EJAB-1448)
Badlop [Fri, 2 Sep 2011 22:06:53 +0000 (00:06 +0200)]
Fix zlib compression connection (EJAB-1448)

13 years agoUse the syntax PRIMARY KEY (field(int)) only for MySQL (EJAB-1337)
Badlop [Fri, 2 Sep 2011 11:49:46 +0000 (13:49 +0200)]
Use the syntax PRIMARY KEY (field(int)) only for MySQL (EJAB-1337)

13 years agoUpdated mysql schema with current dump (EJAB-1474)
Badlop [Fri, 2 Sep 2011 11:11:41 +0000 (13:11 +0200)]
Updated mysql schema with current dump (EJAB-1474)

13 years agoenable pubsub#deliver_notification checking (thanks to Karim Gemayel)(EJAB-1453)
Christophe Romain [Wed, 31 Aug 2011 14:42:44 +0000 (16:42 +0200)]
enable pubsub#deliver_notification checking (thanks to Karim Gemayel)(EJAB-1453)

13 years agoExplicitly skip useless ejabberd 2.0* mnesia tables when restoring backup
Badlop [Mon, 29 Aug 2011 10:36:49 +0000 (12:36 +0200)]
Explicitly skip useless ejabberd 2.0* mnesia tables when restoring backup

Reference:
http://www.ejabberd.im/node/4867

13 years agoAllow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305)
Badlop [Tue, 23 Aug 2011 19:52:08 +0000 (21:52 +0200)]
Allow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305)

13 years agoFix more Dialyzer warnings
Badlop [Mon, 22 Aug 2011 20:26:54 +0000 (22:26 +0200)]
Fix more Dialyzer warnings

13 years agoNew option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650)
Badlop [Wed, 17 Aug 2011 17:33:08 +0000 (19:33 +0200)]
New option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650)

13 years agoFix problems detected by Dialyzer
Badlop [Wed, 17 Aug 2011 16:43:19 +0000 (18:43 +0200)]
Fix problems detected by Dialyzer

13 years agoFix ODBC account counting (thanks to Artem Sh)(EJAB-1491)
Badlop [Tue, 16 Aug 2011 17:28:52 +0000 (19:28 +0200)]
Fix ODBC account counting (thanks to Artem Sh)(EJAB-1491)

13 years agoFix support for odbc + gen_storage + static_modules
Badlop [Sat, 13 Aug 2011 16:11:26 +0000 (18:11 +0200)]
Fix support for odbc + gen_storage + static_modules

13 years agoProvide stacktrace in log report when module start fails
Badlop [Sat, 13 Aug 2011 15:23:33 +0000 (17:23 +0200)]
Provide stacktrace in log report when module start fails

13 years agoFix SCRAM code (EJAB-1196)
Badlop [Tue, 16 Aug 2011 17:26:18 +0000 (19:26 +0200)]
Fix SCRAM code (EJAB-1196)

13 years agoNew SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196)
Badlop [Mon, 15 Aug 2011 22:28:25 +0000 (00:28 +0200)]
New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196)

13 years agoAdd comment about ping requests sent even to non-supporting clients
Badlop [Thu, 4 Aug 2011 16:32:45 +0000 (18:32 +0200)]
Add comment about ping requests sent even to non-supporting clients

13 years agoName and groups must be binaries, not strings
Badlop [Thu, 28 Jul 2011 14:58:58 +0000 (16:58 +0200)]
Name and groups must be binaries, not strings

13 years agoReturn #roster elements in the expected format
Badlop [Thu, 28 Jul 2011 14:58:40 +0000 (16:58 +0200)]
Return #roster elements in the expected format

13 years agoFix JID format, relevant when contact is in roster and shared roster
Badlop [Thu, 28 Jul 2011 14:04:40 +0000 (16:04 +0200)]
Fix JID format, relevant when contact is in roster and shared roster

13 years agoSend presence from shared roster contacts to new logged user (EJAB-1412)
Badlop [Thu, 28 Jul 2011 14:02:36 +0000 (16:02 +0200)]
Send presence from shared roster contacts to new logged user (EJAB-1412)

13 years agoExternal auth should call storage auth only when cache is enabled
Badlop [Wed, 27 Jul 2011 11:19:53 +0000 (13:19 +0200)]
External auth should call storage auth only when cache is enabled

13 years agoVerify username provided in registration web form
Badlop [Wed, 27 Jul 2011 10:42:12 +0000 (12:42 +0200)]
Verify username provided in registration web form

13 years agoHandle case when ejabberd_auth_* says the account exists
Badlop [Wed, 27 Jul 2011 09:44:35 +0000 (11:44 +0200)]
Handle case when ejabberd_auth_* says the account exists

14 years agoMore fix Host usage when running webadmin_page_*
Badlop [Thu, 21 Jul 2011 11:36:16 +0000 (13:36 +0200)]
More fix Host usage when running webadmin_page_*

14 years agoRemove unused variable
Badlop [Tue, 19 Jul 2011 19:28:22 +0000 (21:28 +0200)]
Remove unused variable

14 years agoSupport for: Room option to ignore private messages from visitors
Badlop [Tue, 19 Jul 2011 19:19:55 +0000 (21:19 +0200)]
Support for: Room option to ignore private messages from visitors

14 years agoSupport for static_modules in mod_muc and mod_muc_log
Badlop [Tue, 19 Jul 2011 19:19:15 +0000 (21:19 +0200)]
Support for static_modules in mod_muc and mod_muc_log

14 years agoFix Host usage when running webadmin_page_* (thanks to Shaun Kruger)
Badlop [Tue, 19 Jul 2011 10:23:05 +0000 (12:23 +0200)]
Fix Host usage when running webadmin_page_* (thanks to Shaun Kruger)

14 years agoFix flash client patch
Badlop [Mon, 18 Jul 2011 19:56:10 +0000 (21:56 +0200)]
Fix flash client patch

14 years agoInclude status 110 in presence to new occupant (EJAB-740)
Badlop [Sat, 16 Jul 2011 17:31:30 +0000 (19:31 +0200)]
Include status 110 in presence to new occupant (EJAB-740)

14 years agoDocument static_modules, prefix, and which modules don't support static
Badlop [Fri, 15 Jul 2011 00:51:01 +0000 (02:51 +0200)]
Document static_modules, prefix, and which modules don't support static

14 years agoSupport static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_files...
Badlop [Fri, 15 Jul 2011 00:50:45 +0000 (02:50 +0200)]
Support static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_fileserver

14 years agoSupport static_modules in mod_caps, ping, privacy, private, roster, stats and time
Badlop [Fri, 15 Jul 2011 00:50:04 +0000 (02:50 +0200)]
Support static_modules in mod_caps, ping, privacy, private, roster, stats and time

14 years agoSupport static_modules in mod_blocking, configure, pres_counter, register, shared_ros...
Badlop [Fri, 15 Jul 2011 00:49:48 +0000 (02:49 +0200)]
Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic

14 years agoTry first to get table of the specific Host, otherwise try 'global'
Badlop [Fri, 15 Jul 2011 00:49:35 +0000 (02:49 +0200)]
Try first to get table of the specific Host, otherwise try 'global'

14 years agoUse #roster record instead of direct tuple
Badlop [Wed, 13 Jul 2011 15:12:51 +0000 (17:12 +0200)]
Use #roster record instead of direct tuple

14 years agoDocument ldap_tls_cacertfile and ldap_tls_depth options (EJAB-1299)
Evgeniy Khramtsov [Wed, 13 Jul 2011 05:57:01 +0000 (15:57 +1000)]
Document ldap_tls_cacertfile and ldap_tls_depth options (EJAB-1299)

14 years agoAdd ldap_tls_cacertfile and ldap_tls_depth options (EJAB-1299)
Evgeniy Khramtsov [Wed, 13 Jul 2011 05:40:27 +0000 (15:40 +1000)]
Add ldap_tls_cacertfile and ldap_tls_depth options (EJAB-1299)

14 years agoFix support for static_modules in mod_adhoc, announce, disco, last, offline
Badlop [Mon, 11 Jul 2011 17:46:26 +0000 (19:46 +0200)]
Fix support for static_modules in mod_adhoc, announce, disco, last, offline

14 years agoImplement dirty_get_registered_users in ejabberd_auth_storage
Badlop [Thu, 7 Jul 2011 21:03:39 +0000 (23:03 +0200)]
Implement dirty_get_registered_users in ejabberd_auth_storage