Commit Graph

3332 Commits

Author SHA1 Message Date
Badlop a6e5fb269c Update ejabberd version number to 3.0.0-alpha-4 2011-09-26 18:07:01 +02:00
Badlop 96c99b6427 Added relevant changes of 'master' branch. 2011-09-26 18:03:30 +02:00
Janusz Dziemidowicz 3fd5513549 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.
2011-09-25 00:56:15 +02:00
Badlop 804549415d Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499) 2011-09-23 17:02:00 +02:00
Christophe Romain fa08db7091 fix broken PEP after EJAB-1498 (thanks to Karim Gemayel) 2011-09-22 20:49:56 +02:00
Badlop df0754ade9 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 6dea2d2307.
2011-09-22 16:18:44 +02:00
Christophe Romain d3c4eab46f Fix Denial of Service when user sends malformed publish stanza (thanks to Oleg Smirnov) (EJAB-1498) 2011-09-21 14:40:47 +02:00
Badlop 1c62edc53c added svg mimetype to default content types (thanks to Markus Kohlhase) 2011-09-20 16:50:32 +02:00
Badlop 17099eaaca Add support for @online@ to add_user_to_group 2011-09-20 16:45:08 +02:00
Evgeniy Khramtsov f3f80ea0ea New option support: ldap_deref_aliases (EJAB-639)
Conflicts:

	src/ejabberd_auth_ldap.erl
2011-09-19 17:03:36 +10:00
Badlop 8b45ee5208 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.
2011-09-16 01:17:26 +02:00
Janusz Dziemidowicz 1dc1795f2a Update http_bind module to latest XEP-0124 and XEP-0206
Only cosmetic changes, version bumped to 1.10 and added
'restartlogic' attribute.
2011-09-16 01:17:23 +02:00
Badlop a435c4b123 No need to explicitly skip old useless tables, simply fix keep_tables 2011-09-14 16:19:23 +02:00
Badlop 151994c8d5 Avoid crash when performing admin action (thanks to Evgeniy Khramtsov) 2011-09-09 11:29:46 +02:00
Badlop 1aa36cb05c Fixed support for multi-resource occupants (EJAB-305) 2011-09-08 16:18:22 +02:00
Badlop e6e146c0f7 Improve room config change logging, due to allow_private_messages_from_visitors 2011-09-08 12:35:59 +02:00
Badlop adc37a8cc6 Support to import XML files without password-format attribute 2011-09-08 11:43:21 +02:00
Badlop b017702a15 Clarification about system user of ejabberd.init 2011-09-06 13:40:04 +02:00
Badlop d6d58d13f7 Fix SCRAM to support attributes which value has only one character 2011-09-05 23:37:57 +02:00
Badlop 8bcde56409 Fix typo in the Guide about user_regexp 2011-09-05 19:36:32 +02:00
Badlop e1e75b2852 Fix support to negotiate zlib compression after starttls 2011-09-05 16:53:04 +02:00
Badlop d6d3190b47 Fix SASL auth error conditions 2011-09-05 16:29:30 +02:00
Badlop fed00a0c17 Fix SCRAM auth of uppercase passwords (EJAB-1196) 2011-09-05 13:04:26 +02:00
Badlop 4fcff0b6b9 Replace calls of OTP's Binary, since they would require R14 2011-09-04 15:19:10 +02:00
Badlop d1f1958dd4 Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
Badlop adc4a7f67c Fix zlib compression connection (EJAB-1448) 2011-09-03 00:06:53 +02:00
Badlop ad6218cdf2 Use the syntax PRIMARY KEY (field(int)) only for MySQL (EJAB-1337) 2011-09-02 13:50:03 +02:00
Badlop edda5e1747 Updated mysql schema with current dump (EJAB-1474) 2011-09-02 13:15:03 +02:00
Christophe Romain 2f5dc0d35d enable pubsub#deliver_notification checking (thanks to Karim Gemayel)(EJAB-1453) 2011-08-31 16:42:44 +02:00
Badlop dbe71153dc Explicitly skip useless ejabberd 2.0* mnesia tables when restoring backup
Reference:
http://www.ejabberd.im/node/4867
2011-08-29 12:38:42 +02:00
Badlop 8ddbf1c1c5 Allow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305) 2011-08-23 21:52:08 +02:00
Badlop 7d3633e91c Fix more Dialyzer warnings 2011-08-22 22:26:54 +02:00
Badlop fef8c3a1f3 New option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650) 2011-08-17 19:44:56 +02:00
Badlop 7355e810a8 Fix problems detected by Dialyzer 2011-08-17 19:25:59 +02:00
Badlop 6eb5b0d298 Fix ODBC account counting (thanks to Artem Sh)(EJAB-1491) 2011-08-16 19:29:40 +02:00
Badlop e895b12aea Fix support for odbc + gen_storage + static_modules 2011-08-16 19:29:38 +02:00
Badlop afad6c75a0 Provide stacktrace in log report when module start fails 2011-08-16 19:29:36 +02:00
Badlop 4a4a7afe22 Fix SCRAM code (EJAB-1196) 2011-08-16 19:29:30 +02:00
Badlop 24f5c964cd New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
Badlop 1b7cc33a7f Add comment about ping requests sent even to non-supporting clients 2011-08-04 18:32:45 +02:00
Badlop aa8c9bf0a5 Name and groups must be binaries, not strings 2011-07-28 16:58:58 +02:00
Badlop 92887e96bd Return #roster elements in the expected format 2011-07-28 16:58:40 +02:00
Badlop 4f101c318f Fix JID format, relevant when contact is in roster and shared roster 2011-07-28 16:05:18 +02:00
Badlop 4fcbd5894e Send presence from shared roster contacts to new logged user (EJAB-1412) 2011-07-28 16:05:15 +02:00
Badlop cd7beb9492 External auth should call storage auth only when cache is enabled 2011-07-27 13:19:53 +02:00
Badlop 91fc4a6fbb Verify username provided in registration web form 2011-07-27 12:44:43 +02:00
Badlop 158aa06760 Handle case when ejabberd_auth_* says the account exists 2011-07-27 12:44:41 +02:00
Badlop 9c2f0681f0 More fix Host usage when running webadmin_page_* 2011-07-21 13:36:16 +02:00
Badlop cd2d207877 Remove unused variable 2011-07-19 22:14:59 +02:00
Badlop 5ab3561700 Support for: Room option to ignore private messages from visitors 2011-07-19 22:14:58 +02:00