]> granicus.if.org Git - ejabberd/log
ejabberd
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

14 years agoImprove static_modules support in hooks (EJAB-1478)
Badlop [Thu, 7 Jul 2011 21:03:01 +0000 (23:03 +0200)]
Improve static_modules support in hooks (EJAB-1478)

Also removed code that calls a hook for both Host and for global.

14 years agoFix translatable strings
Badlop [Mon, 11 Jul 2011 15:23:30 +0000 (17:23 +0200)]
Fix translatable strings

14 years agoRoom option to ignore private messages from visitors (thanks to Maxim Ignatenko)
Badlop [Mon, 11 Jul 2011 15:15:49 +0000 (17:15 +0200)]
Room option to ignore private messages from visitors (thanks to Maxim Ignatenko)

14 years agoPorted flash clients patch from 2.1.x
Alexey Shchepin [Fri, 8 Jul 2011 15:17:05 +0000 (18:17 +0300)]
Ported flash clients patch from 2.1.x

14 years agoFix read of global ldap_servers option (EJAB-1309)
Badlop [Wed, 6 Jul 2011 18:49:32 +0000 (20:49 +0200)]
Fix read of global ldap_servers option (EJAB-1309)

14 years agoDocument that ldap_servers can contain {host, VHost}
Badlop [Wed, 6 Jul 2011 18:47:13 +0000 (20:47 +0200)]
Document that ldap_servers can contain {host, VHost}

14 years agoFix reference to 'admin' ACL name (thanks to Samuel Wejeus)(EJAB-1476)
Badlop [Tue, 5 Jul 2011 14:32:48 +0000 (16:32 +0200)]
Fix reference to 'admin' ACL name (thanks to Samuel Wejeus)(EJAB-1476)

14 years agoMatch ldap_uidattr_format case-insensitively (EJAB-1449)
Evgeniy Khramtsov [Thu, 23 Jun 2011 05:14:15 +0000 (15:14 +1000)]
Match ldap_uidattr_format case-insensitively (EJAB-1449)

14 years agois_user_in_group/3 must check if user belongs to given Group from Host specified...
Juan Pablo Carlino [Fri, 1 Jul 2011 15:11:09 +0000 (12:11 -0300)]
is_user_in_group/3 must check if user belongs to given Group from Host specified on third argument.

* is_user_in_group/3 was checking if given user (passed on first parameter as
a bare jid) belonged to group of the server derived from this jid.

14 years agoComment in the cfg file the correct node name used in ejabberdctl.template
Badlop [Mon, 27 Jun 2011 22:31:13 +0000 (00:31 +0200)]
Comment in the cfg file the correct node name used in ejabberdctl.template

14 years agoFix namespace of returned conference participants <item>
Pablo Polvorin [Thu, 23 Jun 2011 15:31:54 +0000 (12:31 -0300)]
Fix namespace of returned conference participants <item>

14 years agoProvide list of registered pids/ports
Badlop [Wed, 22 Jun 2011 11:44:36 +0000 (13:44 +0200)]
Provide list of registered pids/ports

14 years agoNo need to have the default "localhost" in the table "hosts"
Badlop [Wed, 22 Jun 2011 10:44:47 +0000 (12:44 +0200)]
No need to have the default "localhost" in the table "hosts"

14 years agostart/stop_modules/methods accept atom or list of atoms
Badlop [Wed, 22 Jun 2011 10:32:52 +0000 (12:32 +0200)]
start/stop_modules/methods accept atom or list of atoms

14 years agoLog an error when an LDAP filter is incorrect (EJAB-1395)
Evgeniy Khramtsov [Wed, 15 Jun 2011 10:06:32 +0000 (20:06 +1000)]
Log an error when an LDAP filter is incorrect (EJAB-1395)

14 years agoClarify in mod_register_web example what host to put in the URL
Badlop [Sat, 11 Jun 2011 14:15:37 +0000 (16:15 +0200)]
Clarify in mod_register_web example what host to put in the URL

14 years agoFix crash when user publishes an item (EJAB-1457)
Badlop [Wed, 1 Jun 2011 21:29:45 +0000 (23:29 +0200)]
Fix crash when user publishes an item (EJAB-1457)

14 years agoFix some typos in the Guide v3.0.0-alpha-3
Badlop [Tue, 31 May 2011 08:07:50 +0000 (10:07 +0200)]
Fix some typos in the Guide

14 years agoPubsub node maxitem forced to 0 if non persistent node (thanks to Karim Gemayel)...
Christophe Romain [Tue, 31 May 2011 14:09:27 +0000 (16:09 +0200)]
Pubsub node maxitem forced to 0 if non persistent node (thanks to Karim Gemayel)(EJAB-1434)

14 years agoapply filtered notification to PEP last items (thanks to karim Gemayel)(EJAB-1456)
Christophe Romain [Tue, 31 May 2011 14:08:25 +0000 (16:08 +0200)]
apply filtered notification to PEP last items (thanks to karim Gemayel)(EJAB-1456)

14 years agoFix minor English error
Badlop [Tue, 31 May 2011 10:27:45 +0000 (12:27 +0200)]
Fix minor English error

14 years agoNew ERL_EPMD_ADDRESS that works since Erlang/OTP R14B03
Badlop [Tue, 31 May 2011 10:26:44 +0000 (12:26 +0200)]
New ERL_EPMD_ADDRESS that works since Erlang/OTP R14B03

14 years agoCut the string when calling halt/1
Badlop [Mon, 30 May 2011 15:11:32 +0000 (17:11 +0200)]
Cut the string when calling halt/1

14 years agoPubSub: NodeIdx variable name cleanup
Christophe Romain [Mon, 30 May 2011 12:04:42 +0000 (14:04 +0200)]
PubSub: NodeIdx variable name cleanup

14 years agoFix a recent commit about "Set script as executable"
Badlop [Mon, 30 May 2011 09:46:13 +0000 (11:46 +0200)]
Fix a recent commit about "Set script as executable"

14 years agoAdd link in the Backup page to the Guide
Badlop [Sun, 29 May 2011 18:51:33 +0000 (20:51 +0200)]
Add link in the Backup page to the Guide

14 years agoFix get_queue_length argument type
Badlop [Fri, 27 May 2011 09:23:44 +0000 (11:23 +0200)]
Fix get_queue_length argument type

14 years agoSupport XEP-0191 Simple Communications Blocking (thanks to Stephan Maka)(EJAB-695)
Badlop [Fri, 27 May 2011 09:44:59 +0000 (11:44 +0200)]
Support XEP-0191 Simple Communications Blocking (thanks to Stephan Maka)(EJAB-695)

14 years agoA user can query his own Last activity, even if not subscribed to oneself
Badlop [Thu, 26 May 2011 10:50:40 +0000 (12:50 +0200)]
A user can query his own Last activity, even if not subscribed to oneself

14 years agoSeveral fixes and improvements in ejabberd.init.template
Badlop [Tue, 24 May 2011 21:46:25 +0000 (23:46 +0200)]
Several fixes and improvements in ejabberd.init.template

Changes:
* Set script as executable
* Add LSB tags and overrides, copied from Debian's ejabberd package
* Add chkconfig support (thanks to Ivan Martinez)(EJAB-1450)
* Don't use nounset, as that breaks when no argument is provided
* Add status command

14 years agoFix errors reported by dialyzer
Badlop [Wed, 18 May 2011 17:46:35 +0000 (19:46 +0200)]
Fix errors reported by dialyzer