]> granicus.if.org Git - ejabberd/log
ejabberd
12 years agoAvoid quadratic behavior in reading SSL data
Alexey Shchepin [Mon, 20 Feb 2012 15:41:56 +0000 (17:41 +0200)]
Avoid quadratic behavior in reading SSL data

12 years agoProperly handle HEAD request in mod_http_bind (this fixes EJAB-1538)
Paweł Chmielowski [Fri, 6 Apr 2012 09:47:38 +0000 (11:47 +0200)]
Properly handle HEAD request in mod_http_bind (this fixes EJAB-1538)

12 years agoGet rid of duplicated code
Evgeniy Khramtsov [Fri, 6 Apr 2012 02:31:29 +0000 (12:31 +1000)]
Get rid of duplicated code

12 years agoODBC support for mod_shared_roster
Evgeniy Khramtsov [Wed, 4 Apr 2012 10:37:43 +0000 (20:37 +1000)]
ODBC support for mod_shared_roster

12 years agoODBC support for mod_irc
Evgeniy Khramtsov [Tue, 3 Apr 2012 10:23:41 +0000 (20:23 +1000)]
ODBC support for mod_irc

12 years agoODBC support for mod_vcard_xupdate
Evgeniy Khramtsov [Mon, 2 Apr 2012 05:21:54 +0000 (15:21 +1000)]
ODBC support for mod_vcard_xupdate

12 years agoODBC support for mod_announce
Evgeniy Khramtsov [Mon, 2 Apr 2012 04:49:13 +0000 (14:49 +1000)]
ODBC support for mod_announce

12 years agoAdd ODBC exporting function for privacy table
Evgeniy Khramtsov [Mon, 2 Apr 2012 02:39:23 +0000 (12:39 +1000)]
Add ODBC exporting function for privacy table

12 years agoAdd notes about mod_muc_odbc
Evgeniy Khramtsov [Mon, 2 Apr 2012 00:57:10 +0000 (10:57 +1000)]
Add notes about mod_muc_odbc

12 years agoUse proper module name
Evgeniy Khramtsov [Sat, 31 Mar 2012 12:56:51 +0000 (22:56 +1000)]
Use proper module name

12 years agoODBC support for mod_muc
Evgeniy Khramtsov [Sat, 31 Mar 2012 11:41:54 +0000 (21:41 +1000)]
ODBC support for mod_muc

12 years agoChange log level from informational to error
Evgeniy Khramtsov [Mon, 19 Mar 2012 08:52:20 +0000 (18:52 +1000)]
Change log level from informational to error

12 years agoRelax digest-uri handling (thanks to Daniel Willmann)(EJAB-1529)
Badlop [Fri, 16 Mar 2012 13:16:17 +0000 (14:16 +0100)]
Relax digest-uri handling (thanks to Daniel Willmann)(EJAB-1529)

This patch introduces a new config option - fqdn - to set the fully
qualified domain name of the host:
  {fqdn, "foo.example.com"}.
This fixes a problem with Pidgin not being able to log in on a server
that used SRV records.

12 years agoAssume we have only one CPU when an auto-detection fails (EJAB-1516)
Evgeniy Khramtsov [Tue, 28 Feb 2012 14:45:45 +0000 (00:45 +1000)]
Assume we have only one CPU when an auto-detection fails (EJAB-1516)

12 years agoCache caps timestamp before the IQ-request is done
Evgeniy Khramtsov [Tue, 28 Feb 2012 06:38:24 +0000 (16:38 +1000)]
Cache caps timestamp before the IQ-request is done

12 years agoUpdate copyright dates
Alexey Shchepin [Thu, 23 Feb 2012 15:52:34 +0000 (17:52 +0200)]
Update copyright dates

12 years agoRecommend Erlang/OTP R13B04 and R14B04
Badlop [Wed, 22 Feb 2012 14:42:13 +0000 (15:42 +0100)]
Recommend Erlang/OTP R13B04 and R14B04

12 years agoFix Enlish in the Guide (thanks to Ludovic Bocquet)
Badlop [Wed, 22 Feb 2012 14:40:31 +0000 (15:40 +0100)]
Fix Enlish in the Guide (thanks to Ludovic Bocquet)

12 years agoFix typo in xep number, bosh is xep0206 (thanks to Ludovic Bocquet)
Christophe Romain [Mon, 20 Feb 2012 13:15:08 +0000 (14:15 +0100)]
Fix typo in xep number, bosh is xep0206 (thanks to Ludovic Bocquet)

12 years agoAdd thanks to Ludovic Bocquet for past Guide contributions
Badlop [Wed, 15 Feb 2012 17:30:16 +0000 (18:30 +0100)]
Add thanks to Ludovic Bocquet for past Guide contributions

12 years agoWork also with some unicode strings in PgSQL (EJAB-1490)
Badlop [Tue, 14 Feb 2012 12:18:18 +0000 (13:18 +0100)]
Work also with some unicode strings in PgSQL (EJAB-1490)

12 years agoOption default_host for handling HTTP requests with ambiguous Host (EJAB-1261)
Badlop [Tue, 14 Feb 2012 10:35:17 +0000 (11:35 +0100)]
Option default_host for handling HTTP requests with ambiguous Host (EJAB-1261)

12 years agoReceiver should not generate an exception
Evgeniy Khramtsov [Tue, 14 Feb 2012 07:03:08 +0000 (17:03 +1000)]
Receiver should not generate an exception

12 years agoFix the documentation about default value of captcha_cmd option
Badlop [Tue, 31 Jan 2012 23:09:51 +0000 (00:09 +0100)]
Fix the documentation about default value of captcha_cmd option

12 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)

12 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)

12 years agoFixed ejabberd_http:get_line
Alexey Shchepin [Thu, 19 Jan 2012 10:20:02 +0000 (12:20 +0200)]
Fixed ejabberd_http:get_line

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

13 years agoRevert "Update ejabberd version number to 2.1.10"
Badlop [Sat, 31 Dec 2011 19:40:04 +0000 (20:40 +0100)]
Revert "Update ejabberd version number to 2.1.10"

This reverts commit bcdae191417bbec40ec87d71b8143942da92f2f1.

13 years agomod_private.erl: misc errors cases fixes (thanks to Karim Gemayel)
Alexey Shchepin [Fri, 30 Dec 2011 14:08:24 +0000 (16:08 +0200)]
mod_private.erl: misc errors cases fixes (thanks to Karim Gemayel)

13 years agoUpdate ejabberd version number to 2.1.10 v2.1.10
Badlop [Fri, 23 Dec 2011 11:27:30 +0000 (12:27 +0100)]
Update ejabberd version number to 2.1.10

13 years agoNew release notes for 2.1.10
Badlop [Fri, 23 Dec 2011 11:24:27 +0000 (12:24 +0100)]
New release notes for 2.1.10

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

13 years agoUse the regexp frontend module (EJAB-921)
Badlop [Fri, 23 Dec 2011 10:33:33 +0000 (11:33 +0100)]
Use the regexp frontend module (EJAB-921)

13 years agoAlways allow packets from user's server and bare jid in mod_privacy*
Alexey Shchepin [Thu, 22 Dec 2011 14:35:56 +0000 (16:35 +0200)]
Always allow packets from user's server and bare jid in mod_privacy*

13 years agoFixed the previous mod_blocking patch
Alexey Shchepin [Wed, 21 Dec 2011 16:27:24 +0000 (18:27 +0200)]
Fixed the previous mod_blocking patch

13 years agoCorrected mod_blocking hooks return value, activate "Blocked Contacts" privacy list...
Alexey Shchepin [Wed, 21 Dec 2011 14:20:59 +0000 (16:20 +0200)]
Corrected mod_blocking hooks return value, activate "Blocked Contacts" privacy list after it is changed

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:15:21 +0000 (12:15 +0100)]
Support Erlang/OTP R15B driver (EJAB-1521)

13 years agoReplace regexp with ejabberd_regexp
Evgeniy Khramtsov [Mon, 19 Dec 2011 06:10:48 +0000 (16:10 +1000)]
Replace regexp with ejabberd_regexp

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 [Wed, 27 Jul 2011 08:20:22 +0000 (10:20 +0200)]
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:35:31 +0000 (16:35 +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 agoUse the regexp frontend module (EJAB-921)
Badlop [Tue, 22 Nov 2011 22:11:21 +0000 (23:11 +0100)]
Use the regexp frontend module (EJAB-921)

13 years agoFrontend module to Re and Regexp (EJAB-921)
Badlop [Thu, 8 Dec 2011 11:39:58 +0000 (12:39 +0100)]
Frontend module to Re and Regexp (EJAB-921)

13 years agoPrevent overload of incomming s2s connections
Pablo Polvorin [Fri, 2 Dec 2011 18:30:20 +0000 (15:30 -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 13:13:13 +0000 (14:13 +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 agoFix error in mod_vcard when lowercasing some vjud search result fields (EJAB-1490)
Badlop [Sat, 26 Nov 2011 16:08:10 +0000 (17:08 +0100)]
Fix error in mod_vcard when lowercasing some vjud search result fields (EJAB-1490)

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 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:09:02 +0000 (15:09 +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 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 agoGet rid of useless mnesia transaction (EJAB-1502)
Evgeniy Khramtsov [Fri, 14 Oct 2011 06:57:51 +0000 (16:57 +1000)]
Get rid of useless mnesia transaction (EJAB-1502)

13 years agoSet ejabberd version to 2.1.x
Badlop [Thu, 13 Oct 2011 15:56:19 +0000 (17:56 +0200)]
Set ejabberd version to 2.1.x

13 years agoUpdate ejabberd version number to 2.1.9 v2.1.9
Badlop [Mon, 26 Sep 2011 16:11:18 +0000 (18:11 +0200)]
Update ejabberd version number to 2.1.9

13 years agoNew release notes for 2.1.9
Badlop [Mon, 26 Sep 2011 16:09:01 +0000 (18:09 +0200)]
New release notes for 2.1.9

13 years agoFix instruction and error text
Evgeniy Khramtsov [Mon, 26 Sep 2011 10:00:43 +0000 (20:00 +1000)]
Fix instruction and error text

13 years agoChange "muc#role" field type to "hidden"
Evgeniy Khramtsov [Mon, 26 Sep 2011 09:54:55 +0000 (19:54 +1000)]
Change "muc#role" field type to "hidden"

13 years agoCorrect lists:keysearch output processing and fix dialyzer warning
Evgeniy Khramtsov [Mon, 26 Sep 2011 09:06:34 +0000 (19:06 +1000)]
Correct lists:keysearch output processing and fix dialyzer warning

13 years agoCode cleanup
Evgeniy Khramtsov [Mon, 26 Sep 2011 08:44:41 +0000 (18:44 +1000)]
Code cleanup

13 years agoUse treap correctly
Maxim Ignatenko [Mon, 26 Sep 2011 08:13:40 +0000 (11:13 +0300)]
Use treap correctly

13 years agoApply patch from Evgeniy Khramtsov
Maxim Ignatenko [Mon, 26 Sep 2011 06:55:07 +0000 (09:55 +0300)]
Apply patch from Evgeniy Khramtsov

13 years agoUse treap for keeping last voice request timestamps
Maxim Ignatenko [Wed, 21 Sep 2011 07:25:32 +0000 (10:25 +0300)]
Use treap for keeping last voice request timestamps

13 years agoFix voice request/approvement detection and extract_jid_from_voice_approvement/1
Maxim Ignatenko [Wed, 21 Sep 2011 04:38:32 +0000 (07:38 +0300)]
Fix voice request/approvement detection and extract_jid_from_voice_approvement/1

13 years agoFix typo
Maxim Ignatenko [Tue, 20 Sep 2011 18:12:07 +0000 (21:12 +0300)]
Fix typo

13 years agoFix patterns in check_voice_request_fields/2 and check_voice_approvement_fields/2
Maxim Ignatenko [Tue, 20 Sep 2011 17:57:50 +0000 (20:57 +0300)]
Fix patterns in check_voice_request_fields/2 and check_voice_approvement_fields/2

13 years agoUse more pattern-matching
Maxim Ignatenko [Tue, 20 Sep 2011 17:27:08 +0000 (20:27 +0300)]
Use more pattern-matching

13 years agoRemove try/catch
Maxim Ignatenko [Tue, 20 Sep 2011 17:06:29 +0000 (20:06 +0300)]
Remove try/catch

13 years agoUse pattern matching in check_voice_request_fields/2 and check_voice_approvement_fields/2
Maxim Ignatenko [Tue, 20 Sep 2011 13:52:53 +0000 (16:52 +0300)]
Use pattern matching in check_voice_request_fields/2 and check_voice_approvement_fields/2

13 years agoReverse arguments order for timer:now_diff/2
Maxim Ignatenko [Tue, 20 Sep 2011 13:28:16 +0000 (16:28 +0300)]
Reverse arguments order for timer:now_diff/2

13 years agoFix return value inconsistency in last_voice_request_time/2
Maxim Ignatenko [Tue, 20 Sep 2011 13:25:44 +0000 (16:25 +0300)]
Fix return value inconsistency in last_voice_request_time/2

13 years agoUse jlib:parse_xdata_submit/1 in is_voice_request/1 and is_voice_approvement/1
Maxim Ignatenko [Tue, 20 Sep 2011 13:04:29 +0000 (16:04 +0300)]
Use jlib:parse_xdata_submit/1 in is_voice_request/1 and is_voice_approvement/1

13 years agoUse bare JID as key in state.last_voice_request_time
Maxim Ignatenko [Tue, 20 Sep 2011 10:30:00 +0000 (13:30 +0300)]
Use bare JID as key in state.last_voice_request_time

13 years agoUse lists:foreach instead of lists:map in send_voice_request/2
Maxim Ignatenko [Tue, 20 Sep 2011 07:55:43 +0000 (10:55 +0300)]
Use lists:foreach instead of lists:map in send_voice_request/2

13 years agoRemove needless time conversions
Maxim Ignatenko [Tue, 20 Sep 2011 07:08:36 +0000 (10:08 +0300)]
Remove needless time conversions

13 years agoIgnore any extra elements in voice approvement form submission
Maxim Ignatenko [Sun, 31 Jul 2011 19:48:56 +0000 (22:48 +0300)]
Ignore any extra elements in voice approvement form submission

13 years agoAdd 2 room config options
Maxim Ignatenko [Fri, 29 Jul 2011 18:22:06 +0000 (21:22 +0300)]
Add 2 room config options

 - Allow voice requests?
 - Minimum interval between voice requests

13 years agoSimple rate control
Maxim Ignatenko [Thu, 28 Jul 2011 17:40:46 +0000 (20:40 +0300)]
Simple rate control

Visitor allowed to send new voice request only after specified amount of
time (or after rejoining).

13 years agoVoice approvement support
Maxim Ignatenko [Mon, 25 Jul 2011 19:46:59 +0000 (22:46 +0300)]
Voice approvement support

13 years agoImplement basic voice request processing logic.
Maxim Ignatenko [Mon, 25 Jul 2011 16:54:45 +0000 (19:54 +0300)]
Implement basic voice request processing logic.

No rate control or configuration for now

13 years agoImplement voice approvement detection and remove some debug code
Maxim Ignatenko [Mon, 25 Jul 2011 16:09:11 +0000 (19:09 +0300)]
Implement voice approvement detection and remove some debug code

13 years agoFix form instructions
Maxim Ignatenko [Sun, 24 Jul 2011 12:25:53 +0000 (15:25 +0300)]
Fix form instructions

13 years agoUse ejabberd_router:route/3 directly, instead of send_packet_to/3
Maxim Ignatenko [Sun, 24 Jul 2011 12:06:12 +0000 (15:06 +0300)]
Use ejabberd_router:route/3 directly, instead of send_packet_to/3

13 years agoUse exception handling in is_invitation/1
Maxim Ignatenko [Sun, 24 Jul 2011 12:01:04 +0000 (15:01 +0300)]
Use exception handling in is_invitation/1

13 years agoFix exception handling in is_voice_request/1
Maxim Ignatenko [Sun, 24 Jul 2011 11:57:13 +0000 (14:57 +0300)]
Fix exception handling in is_voice_request/1

13 years agoImplemented sending voice request and fixed some bugs
Maxim Ignatenko [Sun, 24 Jul 2011 09:46:47 +0000 (12:46 +0300)]
Implemented sending voice request and fixed some bugs

13 years agoAdd function for detecting voice requests
Maxim Ignatenko [Sat, 23 Jul 2011 14:13:27 +0000 (17:13 +0300)]
Add function for detecting voice requests

13 years agoMore correct dispatching of normal messages to conference room
Maxim Ignatenko [Sat, 23 Jul 2011 09:16:17 +0000 (12:16 +0300)]
More correct dispatching of normal messages to conference room

is_invitation/1 function returns true if <x> element of message is
an invitation

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:51:59 +0000 (20:51 +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:39:50 +0000 (14:39 +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)