]>
granicus.if.org Git - ejabberd/log
Evgeniy Khramtsov [Mon, 26 Sep 2011 08:44:41 +0000 (18:44 +1000)]
Code cleanup
Maxim Ignatenko [Mon, 26 Sep 2011 08:13:40 +0000 (11:13 +0300)]
Use treap correctly
Maxim Ignatenko [Mon, 26 Sep 2011 06:55:07 +0000 (09:55 +0300)]
Apply patch from Evgeniy Khramtsov
Maxim Ignatenko [Wed, 21 Sep 2011 07:25:32 +0000 (10:25 +0300)]
Use treap for keeping last voice request timestamps
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
Maxim Ignatenko [Tue, 20 Sep 2011 18:12:07 +0000 (21:12 +0300)]
Fix typo
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
Maxim Ignatenko [Tue, 20 Sep 2011 17:27:08 +0000 (20:27 +0300)]
Use more pattern-matching
Maxim Ignatenko [Tue, 20 Sep 2011 17:06:29 +0000 (20:06 +0300)]
Remove try/catch
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
Maxim Ignatenko [Tue, 20 Sep 2011 13:28:16 +0000 (16:28 +0300)]
Reverse arguments order for timer:now_diff/2
Maxim Ignatenko [Tue, 20 Sep 2011 13:25:44 +0000 (16:25 +0300)]
Fix return value inconsistency in last_voice_request_time/2
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
Maxim Ignatenko [Tue, 20 Sep 2011 10:30:00 +0000 (13:30 +0300)]
Use bare JID as key in state.last_voice_request_time
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
Maxim Ignatenko [Tue, 20 Sep 2011 07:08:36 +0000 (10:08 +0300)]
Remove needless time conversions
Maxim Ignatenko [Sun, 31 Jul 2011 19:48:56 +0000 (22:48 +0300)]
Ignore any extra elements in voice approvement form submission
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
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).
Maxim Ignatenko [Mon, 25 Jul 2011 19:46:59 +0000 (22:46 +0300)]
Voice approvement support
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
Maxim Ignatenko [Mon, 25 Jul 2011 16:09:11 +0000 (19:09 +0300)]
Implement voice approvement detection and remove some debug code
Maxim Ignatenko [Sun, 24 Jul 2011 12:25:53 +0000 (15:25 +0300)]
Fix form instructions
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
Maxim Ignatenko [Sun, 24 Jul 2011 12:01:04 +0000 (15:01 +0300)]
Use exception handling in is_invitation/1
Maxim Ignatenko [Sun, 24 Jul 2011 11:57:13 +0000 (14:57 +0300)]
Fix exception handling in is_voice_request/1
Maxim Ignatenko [Sun, 24 Jul 2011 09:46:47 +0000 (12:46 +0300)]
Implemented sending voice request and fixed some bugs
Maxim Ignatenko [Sat, 23 Jul 2011 14:13:27 +0000 (17:13 +0300)]
Add function for detecting voice requests
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
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.
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)
Christophe Romain [Thu, 22 Sep 2011 18:51:59 +0000 (20:51 +0200)]
fix broken PEP after EJAB-1498 (thanks to Karim Gemayel)
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 .
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)
Badlop [Tue, 20 Sep 2011 14:50:22 +0000 (16:50 +0200)]
added svg mimetype to default content types (thanks to Markus Kohlhase)
Badlop [Tue, 20 Sep 2011 14:44:51 +0000 (16:44 +0200)]
Add support for @online@ to add_user_to_group
Evgeniy Khramtsov [Mon, 19 Sep 2011 06:58:55 +0000 (16:58 +1000)]
New option support: ldap_deref_aliases (EJAB-639)
Evgeniy Khramtsov [Sat, 17 Sep 2011 00:48:52 +0000 (10:48 +1000)]
Fix dialyzer warnings
Evgeniy Khramtsov [Thu, 15 Sep 2011 06:59:45 +0000 (16:59 +1000)]
Fix dialyzer warnings
Badlop [Wed, 14 Sep 2011 10:15:53 +0000 (12:15 +0200)]
No need to explicitly skip old useless tables, simply fix keep_tables
Evgeniy Khramtsov [Fri, 9 Sep 2011 02:40:07 +0000 (12:40 +1000)]
Fix previous commit
Evgeniy Khramtsov [Fri, 9 Sep 2011 02:34:06 +0000 (12:34 +1000)]
Avoid crash when performing admin action
Badlop [Thu, 8 Sep 2011 14:10:38 +0000 (16:10 +0200)]
Fixed support for multi-resource occupants (EJAB-305)
Badlop [Thu, 8 Sep 2011 10:34:09 +0000 (12:34 +0200)]
Fix room config change logging, due to allow_private_messages_from_visitors
Badlop [Thu, 8 Sep 2011 09:41:45 +0000 (11:41 +0200)]
Support to import XML files without password-format attribute
Badlop [Tue, 6 Sep 2011 11:39:26 +0000 (13:39 +0200)]
Clarification about system user of ejabberd.init
Badlop [Mon, 5 Sep 2011 21:21:38 +0000 (23:21 +0200)]
Fix SCRAM to support attributes which value has only one character
Badlop [Mon, 5 Sep 2011 17:24:05 +0000 (19:24 +0200)]
Fix typo in the Guide about user_regexp
Evgeniy Khramtsov [Mon, 5 Sep 2011 12:00:50 +0000 (22:00 +1000)]
Fix dialyzer warnings
Evgeniy Khramtsov [Mon, 5 Sep 2011 11:27:31 +0000 (21:27 +1000)]
Reorganize the code to shut up the dialyzer
Evgeniy Khramtsov [Mon, 5 Sep 2011 11:06:18 +0000 (21:06 +1000)]
Get rid of useless check
Evgeniy Khramtsov [Mon, 5 Sep 2011 10:53:01 +0000 (20:53 +1000)]
Merge set_affiliation/3 and set_affiliation_and_reason/4 into set_affiliation/4
Badlop [Mon, 5 Sep 2011 10:48:26 +0000 (12:48 +0200)]
Fix SCRAM auth of uppercase passwords (EJAB-1196)
Evgeniy Khramtsov [Mon, 5 Sep 2011 08:07:50 +0000 (18:07 +1000)]
Remove useless clauses
Evgeniy Khramtsov [Mon, 5 Sep 2011 07:33:51 +0000 (17:33 +1000)]
Add some magic in order to shut up the dialyzer (because I do not want to replace the macro with a function)
Evgeniy Khramtsov [Mon, 5 Sep 2011 07:27:15 +0000 (17:27 +1000)]
Fix potential case-clause crash
Evgeniy Khramtsov [Mon, 5 Sep 2011 07:12:45 +0000 (17:12 +1000)]
Remove useless case clause
Evgeniy Khramtsov [Mon, 5 Sep 2011 07:09:36 +0000 (17:09 +1000)]
Replace VVALUEL macro with function in order to shut up the dialyzer
Evgeniy Khramtsov [Mon, 5 Sep 2011 06:53:10 +0000 (16:53 +1000)]
Merge branch '2.1.x' of git+ssh://gitorious.process-one.net/ejabberd/mainline into 2.1.x
Evgeniy Khramtsov [Mon, 5 Sep 2011 06:52:36 +0000 (16:52 +1000)]
Export do_client_version/3 in order to shut up the dialyzer
Evgeniy Khramtsov [Mon, 5 Sep 2011 06:48:04 +0000 (16:48 +1000)]
Remove useless case clauses
Evgeniy Khramtsov [Mon, 5 Sep 2011 06:47:18 +0000 (16:47 +1000)]
Remove useless case clause
Evgeniy Khramtsov [Mon, 5 Sep 2011 06:31:58 +0000 (16:31 +1000)]
Correct some function clauses and value types
Evgeniy Khramtsov [Mon, 5 Sep 2011 05:59:30 +0000 (15:59 +1000)]
Get rid of useless code
Evgeniy Khramtsov [Mon, 5 Sep 2011 05:39:55 +0000 (15:39 +1000)]
ejabberd_auth:remove_user/2 always returns ok
Evgeniy Khramtsov [Mon, 5 Sep 2011 05:35:46 +0000 (15:35 +1000)]
Fix some case clauses
Evgeniy Khramtsov [Mon, 5 Sep 2011 05:28:01 +0000 (15:28 +1000)]
Change argument of open_port/2 to string in order to shut up the dialyzer
Evgeniy Khramtsov [Mon, 5 Sep 2011 05:13:54 +0000 (15:13 +1000)]
Get rid of useless function clause
Badlop [Sun, 4 Sep 2011 12:56:56 +0000 (14:56 +0200)]
Replace calls of OTP's Binary, since they would require R14
Badlop [Sun, 4 Sep 2011 11:28:32 +0000 (13:28 +0200)]
First check occupant existence, later check the message
Christophe Romain [Wed, 31 Aug 2011 14:11:01 +0000 (16:11 +0200)]
enable pubsub#deliver_notification checking (thanks to Karim Gemayel)(EJAB-1453)
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
Christophe Romain [Thu, 25 Aug 2011 15:22:48 +0000 (17:22 +0200)]
typo fix (thanks to Artem Sh)(EJAB-1424)
Badlop [Tue, 23 Aug 2011 19:53:41 +0000 (21:53 +0200)]
Support multiple sessions per nick in muc_online_users, relevant for max_user_conferences (EJAB-305)
Badlop [Tue, 23 Aug 2011 19:53:30 +0000 (21:53 +0200)]
Send private messages to all the sessions with same nick (EJAB-305)
Badlop [Tue, 23 Aug 2011 19:53:19 +0000 (21:53 +0200)]
Don't send unavailable presence when leaving occupant has other nicks in the room (EJAB-305)
Badlop [Fri, 21 Aug 2009 13:22:18 +0000 (15:22 +0200)]
Allow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305)
Badlop [Wed, 17 Aug 2011 17:42:11 +0000 (19:42 +0200)]
New option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650)
Badlop [Wed, 17 Aug 2011 17:33:58 +0000 (19:33 +0200)]
Fix bug in scram is_alpha
Badlop [Tue, 16 Aug 2011 17:33:22 +0000 (19:33 +0200)]
Fix ODBC account counting (thanks to Artem Sh)(EJAB-1491)
Badlop [Mon, 15 Aug 2011 22:26:49 +0000 (00:26 +0200)]
Fix and improve support for SCRAM auth method (EJAB-1196)
Badlop [Mon, 15 Aug 2011 22:25:40 +0000 (00:25 +0200)]
Indicate license and copyright (thanks to Stephen Röttger)(EJAB-1196)
Badlop [Mon, 15 Aug 2011 22:25:03 +0000 (00:25 +0200)]
Preliminary patch for SASL SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196)
Pablo Polvorin [Fri, 5 Aug 2011 15:21:24 +0000 (12:21 -0300)]
handle case when roster version on DB is enabled but version is not found.
Thanks Evgeniy.
Badlop [Thu, 4 Aug 2011 16:29:13 +0000 (18:29 +0200)]
Add comment about ping requests sent even to non-supporting clients
Badlop [Wed, 27 Jul 2011 10:25:51 +0000 (12:25 +0200)]
Verify username provided in registration web form
Badlop [Wed, 27 Jul 2011 09:44:35 +0000 (11:44 +0200)]
Handle case when ejabberd_auth_* says the account exists
Badlop [Sat, 16 Jul 2011 17:26:20 +0000 (19:26 +0200)]
Include status 110 in presence to new occupant (EJAB-740)
Badlop [Fri, 15 Jul 2011 00:53:32 +0000 (02:53 +0200)]
Fix typo in modules overview
Badlop [Wed, 13 Jul 2011 15:06:17 +0000 (17:06 +0200)]
Use #roster record instead of direct tuple
Evgeniy Khramtsov [Wed, 13 Jul 2011 05:57:01 +0000 (15:57 +1000)]
Document 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)
Badlop [Mon, 11 Jul 2011 15:33:26 +0000 (17:33 +0200)]
Room option to ignore private messages from visitors (thanks to Maxim Ignatenko)
Maxim Ignatenko [Sat, 9 Jul 2011 17:23:05 +0000 (20:23 +0300)]
One more fix
Maxim Ignatenko [Sat, 9 Jul 2011 17:17:11 +0000 (20:17 +0300)]
Improve spelling and fix some typos
Badlop [Tue, 5 Jul 2011 14:32:48 +0000 (16:32 +0200)]
Fix reference to 'admin' ACL name (thanks to Samuel Wejeus)(EJAB-1476)
Alexey Shchepin [Sun, 3 Jul 2011 15:58:45 +0000 (18:58 +0300)]
Merge branch '2.1.x' of git+ssh://git@gitorious.process-one.net/ejabberd/mainline.git into 2.1.x
Alexey Shchepin [Sun, 3 Jul 2011 15:58:07 +0000 (18:58 +0300)]
Minor mod_version bugfix
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.
Alexey Shchepin [Wed, 29 Jun 2011 08:56:23 +0000 (11:56 +0300)]
Optimized mod_roster_odbc:get_roster