]> granicus.if.org Git - ejabberd/log
ejabberd
10 years agoFix proxying of ACK requests for 2xx responses
Evgeniy Khramtsov [Fri, 23 May 2014 16:13:31 +0000 (20:13 +0400)]
Fix proxying of ACK requests for 2xx responses

10 years agoMerge branch 'weiss-check-packet-type' into 3
Badlop [Wed, 21 May 2014 16:45:43 +0000 (18:45 +0200)]
Merge branch 'weiss-check-packet-type' into 3

10 years agoMerge branch 'check-packet-type' of git://github.com/weiss/ejabberd into weiss-check...
Badlop [Wed, 21 May 2014 16:45:28 +0000 (18:45 +0200)]
Merge branch 'check-packet-type' of git://github.com/weiss/ejabberd into weiss-check-packet-type

Conflicts:
src/ejabberd_c2s.erl

10 years agoMerge pull request #217 from weiss/fix-extauth-cache-usage
badlop [Wed, 21 May 2014 15:35:54 +0000 (17:35 +0200)]
Merge pull request #217 from weiss/fix-extauth-cache-usage

Don't use cached passwords if "extauth_cache: 0"

10 years agoMerge pull request #216 from lavrin/p1-c2s
badlop [Wed, 21 May 2014 15:35:24 +0000 (17:35 +0200)]
Merge pull request #216 from lavrin/p1-c2s

Cleanup some pieces of ejabberd_c2s

10 years agoMerge pull request #215 from weiss/fix-url-markup
badlop [Wed, 21 May 2014 15:33:56 +0000 (17:33 +0200)]
Merge pull request #215 from weiss/fix-url-markup

Fix URL markup in the guide

10 years agoMerge pull request #208 from weiss/update-travis-config
badlop [Wed, 21 May 2014 15:31:49 +0000 (17:31 +0200)]
Merge pull request #208 from weiss/update-travis-config

Travis CI: Remove unnecessary configure flag

10 years agoMerge pull request #207 from weiss/xep-0334
badlop [Wed, 21 May 2014 15:31:22 +0000 (17:31 +0200)]
Merge pull request #207 from weiss/xep-0334

Honor XEP-0334: Message Processing Hints

10 years agoDon't use cached passwords if "extauth_cache: 0"
Holger Weiss [Tue, 20 May 2014 21:00:28 +0000 (23:00 +0200)]
Don't use cached passwords if "extauth_cache: 0"

Regarding "extauth_cache", the guide says: "The integer 0 (zero) enables
caching for statistics, but doesn't use that cached information to
authenticate users."  Make sure the cached password isn't used even if
the user is currently logged in with another resource.

10 years agoIf log uses file:write, no need to double escape ~ in messages (EJAB-1696)
Badlop [Tue, 20 May 2014 12:49:52 +0000 (14:49 +0200)]
If log uses file:write, no need to double escape ~ in messages (EJAB-1696)

10 years agoFix check_from/2 formatting
Radosław Szymczyszyn [Tue, 20 May 2014 11:30:52 +0000 (12:30 +0100)]
Fix check_from/2 formatting

10 years agoSanitize copy-pasted get_statustag/1
Radosław Szymczyszyn [Tue, 20 May 2014 11:27:16 +0000 (12:27 +0100)]
Sanitize copy-pasted get_statustag/1

10 years agoFix formatting
Radosław Szymczyszyn [Tue, 20 May 2014 10:54:49 +0000 (11:54 +0100)]
Fix formatting

10 years agoBuild proceed/compressed elements in a sane way
Radosław Szymczyszyn [Tue, 20 May 2014 10:52:02 +0000 (11:52 +0100)]
Build proceed/compressed elements in a sane way

10 years agoFix URL markup in the guide
Holger Weiss [Mon, 19 May 2014 22:24:34 +0000 (00:24 +0200)]
Fix URL markup in the guide

10 years agoMUC messages with ~ were not logged (EJAB-1696)
Badlop [Mon, 19 May 2014 17:07:46 +0000 (19:07 +0200)]
MUC messages with ~ were not logged (EJAB-1696)

10 years agoMerge pull request #213 from weiss/fix-xmlrcp-doc-url
badlop [Mon, 19 May 2014 09:46:37 +0000 (11:46 +0200)]
Merge pull request #213 from weiss/fix-xmlrcp-doc-url

Update ejabberd_xmlrpc documentation URL in the guide

10 years agoUpdate ejabberd_xmlrpc documentation URL
Holger Weiss [Wed, 14 May 2014 20:39:19 +0000 (22:39 +0200)]
Update ejabberd_xmlrpc documentation URL

10 years agoFix bug when joining empty path
Badlop [Wed, 14 May 2014 11:28:39 +0000 (13:28 +0200)]
Fix bug when joining empty path

10 years agoMerge pull request #212 from weiss/fix-presence-updates
Evgeny Khramtsov [Wed, 14 May 2014 04:06:40 +0000 (08:06 +0400)]
Merge pull request #212 from weiss/fix-presence-updates

Don't miss incoming presence updates

10 years agoDon't miss incoming presence updates
Holger Weiss [Tue, 13 May 2014 23:04:38 +0000 (01:04 +0200)]
Don't miss incoming presence updates

10 years agoXEP-0198: Check whether routed packets are stanzas
Holger Weiss [Mon, 12 May 2014 17:20:25 +0000 (19:20 +0200)]
XEP-0198: Check whether routed packets are stanzas

Only stanzas are subject to stream management, so when XEP-0198 support
is enabled, we must distinguish them from non-stanza elements.  This
commit adds a send_packet/2 function that can be used in place of
send_stanza/2 or send_element/2 whenever a packet is delivered that
might or might not be a stanza.

10 years agoMerge pull request #209 from weiss/rename-disconnect-user
badlop [Mon, 12 May 2014 10:55:15 +0000 (12:55 +0200)]
Merge pull request #209 from weiss/rename-disconnect-user

Rename disconnect_user/2 command

10 years agoRename disconnect_user/2 command
Holger Weiss [Mon, 12 May 2014 10:44:40 +0000 (12:44 +0200)]
Rename disconnect_user/2 command

The mod_admin_extra module provides a kick_session/4 command.  Rename
the disconnect_user/2 command to kick_user/2 for consistency.

10 years agoTravis CI: Remove unnecessary configure flag
Holger Weiss [Mon, 12 May 2014 08:28:02 +0000 (10:28 +0200)]
Travis CI: Remove unnecessary configure flag

The test suite no longer fails without --enable-transient_supervisors.

10 years agoDon't log MUC messages with <no-store/> hint
Holger Weiss [Sun, 11 May 2014 22:27:20 +0000 (00:27 +0200)]
Don't log MUC messages with <no-store/> hint

Honor the <no-store/> and <no-permanent-store/> hints defined in
XEP-0334.

10 years agoDon't store messages with <no-store/> hint
Holger Weiss [Sun, 11 May 2014 22:00:34 +0000 (00:00 +0200)]
Don't store messages with <no-store/> hint

Honor the <no-store/> hint defined in XEP-0334.

10 years agoDon't carbon copy messages with <no-copy/> hint
Holger Weiss [Sun, 11 May 2014 21:52:20 +0000 (23:52 +0200)]
Don't carbon copy messages with <no-copy/> hint

Honor the <no-copy/> hint defined in XEP-0334.

10 years agoMerge pull request #205 from weiss/xep-0198 14.05
Evgeny Khramtsov [Fri, 9 May 2014 20:05:17 +0000 (00:05 +0400)]
Merge pull request #205 from weiss/xep-0198

XEP-0198: Improve handling of incorrect stanza counts reported by client

10 years agoDo not try to retreive vCards via local SM for foreign JIDs
Evgeniy Khramtsov [Wed, 13 Nov 2013 10:40:56 +0000 (20:40 +1000)]
Do not try to retreive vCards via local SM for foreign JIDs

10 years agoXEP-0198: Improve handling of too large 'h' values
Holger Weiss [Fri, 9 May 2014 16:28:14 +0000 (18:28 +0200)]
XEP-0198: Improve handling of too large 'h' values

If the client says that it handled more stanzas than we sent (due to a
bug in the client's or in our code), increase our outgoing stanza count
accordingly.  There's no point in sticking to the old value even if it
was correct, as the client surely won't fix its count during the current
session.

10 years agoXEP-0198: Reject <resume/> with negative 'h' value
Holger Weiss [Fri, 9 May 2014 16:01:31 +0000 (18:01 +0200)]
XEP-0198: Reject <resume/> with negative 'h' value

Make sure the 'h' attribute sent with a <resume/> request is
nonnegative, as mandated by XEP-0198.

We already have this check for <a/> elements.

10 years agoXEP-0198: Don't warn on invalid ACK elements
Holger Weiss [Fri, 9 May 2014 15:54:12 +0000 (17:54 +0200)]
XEP-0198: Don't warn on invalid ACK elements

Do not log a warning (but only a debug message) if the client sends an
invalid </a> packet.  Some clients do that occasionally, and there's
nothing server admininistrators could do about that.

10 years agoFix previous commit (C2S session close on server shutdown)
Evgeniy Khramtsov [Thu, 8 May 2014 17:47:50 +0000 (21:47 +0400)]
Fix previous commit (C2S session close on server shutdown)

10 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 8 May 2014 17:40:14 +0000 (21:40 +0400)]
Merge branch 'master' of github.com:processone/ejabberd

10 years agoFix C2S session close on server shutdown
Evgeniy Khramtsov [Thu, 8 May 2014 17:28:12 +0000 (21:28 +0400)]
Fix C2S session close on server shutdown

10 years agoRecompile the Guide
Badlop [Thu, 8 May 2014 15:58:25 +0000 (17:58 +0200)]
Recompile the Guide

10 years agoTURN support (EJAB-1017)
Evgeniy Khramtsov [Thu, 8 May 2014 12:08:07 +0000 (16:08 +0400)]
TURN support (EJAB-1017)

10 years agoMerge pull request #203 from hamano/added_get_random_pid_error_handling
Evgeny Khramtsov [Thu, 8 May 2014 06:02:27 +0000 (10:02 +0400)]
Merge pull request #203 from hamano/added_get_random_pid_error_handling

improve error handling when sql calling with (empty|unknown) host.

10 years agoMerge pull request #180 from hamano/mysql_table
Evgeny Khramtsov [Wed, 7 May 2014 16:57:59 +0000 (20:57 +0400)]
Merge pull request #180 from hamano/mysql_table

added privacy_list_data index for mysql database.

10 years agoWebadmin with extauth requires internal to run at least once (issue #201)
Badlop [Wed, 7 May 2014 15:13:51 +0000 (17:13 +0200)]
Webadmin with extauth requires internal to run at least once (issue #201)

10 years agoMerge pull request #200 from hamano/mod_offline_bug
badlop [Wed, 7 May 2014 14:49:31 +0000 (16:49 +0200)]
Merge pull request #200 from hamano/mod_offline_bug

fix mod_offline:count_offline_messages/2

10 years agofix mod_offline:count_offline_messages/2
HAMANO Tsukasa [Wed, 7 May 2014 06:38:18 +0000 (15:38 +0900)]
fix mod_offline:count_offline_messages/2

10 years agoRevert "Document that ejabberd compilation requires pkg-config"
Evgeniy Khramtsov [Tue, 6 May 2014 21:05:07 +0000 (01:05 +0400)]
Revert "Document that ejabberd compilation requires pkg-config"

This reverts commit bd0060715ec776c6417422ca4aebea853cfa82e1.

10 years agoMerge pull request #166 from weiss/xep-0198
Evgeny Khramtsov [Tue, 6 May 2014 19:50:49 +0000 (23:50 +0400)]
Merge pull request #166 from weiss/xep-0198

Add support for XEP-0198: Stream Management

10 years agoMerge remote-tracking branch 'processone/master' into xep-0198
Holger Weiss [Tue, 6 May 2014 19:41:29 +0000 (21:41 +0200)]
Merge remote-tracking branch 'processone/master' into xep-0198

Conflicts:
doc/guide.tex
src/ejabberd_c2s.erl

10 years agoFix PEP broadcasting issue on ODBC (EJAB-1680)
Christophe Romain [Tue, 6 May 2014 11:29:35 +0000 (13:29 +0200)]
Fix PEP broadcasting issue on ODBC (EJAB-1680)

10 years agoFix PEP broadcasting issue (EJAB-1680)
Christophe Romain [Tue, 6 May 2014 10:37:44 +0000 (12:37 +0200)]
Fix PEP broadcasting issue (EJAB-1680)

10 years agoMerge pull request #198 from weiss/add-travis-support
Evgeny Khramtsov [Tue, 6 May 2014 09:13:56 +0000 (13:13 +0400)]
Merge pull request #198 from weiss/add-travis-support

Add Travis CI configuration file

10 years agoXEP-0198: Use "mgmt_" prefix for all #state fields
Holger Weiss [Tue, 6 May 2014 05:27:10 +0000 (07:27 +0200)]
XEP-0198: Use "mgmt_" prefix for all #state fields

Prefix all ejabberd_c2s #state fields that are used for stream
management with "mgmt_".

10 years agoAdd Travis CI configuration
Holger Weiss [Mon, 5 May 2014 20:42:15 +0000 (22:42 +0200)]
Add Travis CI configuration

10 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Mon, 5 May 2014 16:42:49 +0000 (18:42 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

10 years agoremove compilation warnings
Christophe Romain [Mon, 5 May 2014 16:16:48 +0000 (18:16 +0200)]
remove compilation warnings

10 years agoRecompile the ejabberd Guide html
Badlop [Mon, 5 May 2014 15:55:45 +0000 (17:55 +0200)]
Recompile the ejabberd Guide html

10 years agoavoid sending duplicated events
Christophe Romain [Mon, 5 May 2014 15:35:38 +0000 (17:35 +0200)]
avoid sending duplicated events

10 years agoavoid sending empty events
Christophe Romain [Mon, 5 May 2014 11:51:02 +0000 (13:51 +0200)]
avoid sending empty events

10 years agoDocument that ejabberd compilation requires pkg-config
Badlop [Mon, 5 May 2014 15:46:52 +0000 (17:46 +0200)]
Document that ejabberd compilation requires pkg-config

10 years agostore item when persist_item=false and cache_last_item=false but need last_item
Christophe Romain [Mon, 5 May 2014 11:49:02 +0000 (13:49 +0200)]
store item when persist_item=false and cache_last_item=false but need last_item

10 years agoMerge pull request #195 from Iperity/master
Evgeny Khramtsov [Mon, 5 May 2014 12:38:16 +0000 (16:38 +0400)]
Merge pull request #195 from Iperity/master

Fix small bug in presence_based_delivery implementation

10 years agoFix small bug in presence_based_delivery implementation
Nathan Bruning [Mon, 5 May 2014 12:14:03 +0000 (14:14 +0200)]
Fix small bug in presence_based_delivery implementation

10 years agoTemporary room not destroyed when the last participant is expulsed (EJAB-520)
Badlop [Mon, 5 May 2014 11:50:52 +0000 (13:50 +0200)]
Temporary room not destroyed when the last participant is expulsed (EJAB-520)

10 years agoextauth_cache can have value 0
Badlop [Mon, 5 May 2014 11:13:35 +0000 (13:13 +0200)]
extauth_cache can have value 0

10 years agoXEP-0198: Don't log protocol issues
Holger Weiss [Sun, 4 May 2014 23:11:14 +0000 (01:11 +0200)]
XEP-0198: Don't log protocol issues

There are corner cases where certain clients acknowledge more stanzas
than they received.  Nothing really bad will happen in those cases, and
server administrators can't do anything about such issues anyway.

10 years agoXEP-0198: Accept stream elements in pending state
Holger Weiss [Sun, 4 May 2014 22:02:55 +0000 (00:02 +0200)]
XEP-0198: Accept stream elements in pending state

Due to timing issues, ejabberd_c2s might receive stream elements from
the client while the session is waiting for stream resumption.  Those
elements are now accepted.

10 years agoXEP-0198: Log message when waiting for resumption
Holger Weiss [Sun, 4 May 2014 21:08:42 +0000 (23:08 +0200)]
XEP-0198: Log message when waiting for resumption

Log an informational message when a session goes into the pending state
(waiting for resumption) after the connection was lost.  Administrators
may well be interested in this state change when looking into issues.

10 years agoMake it possible to get/set vCards for MUC rooms
Evgeniy Khramtsov [Sun, 4 May 2014 19:11:05 +0000 (23:11 +0400)]
Make it possible to get/set vCards for MUC rooms

10 years agoMerge pull request #194 from weiss/mysql-user-at-localhost
Evgeny Khramtsov [Sun, 4 May 2014 08:00:59 +0000 (12:00 +0400)]
Merge pull request #194 from weiss/mysql-user-at-localhost

test/README: Create MySQL test user on localhost

10 years agotest/README: Create MySQL test user on 'localhost'
Holger Weiss [Sat, 3 May 2014 23:02:22 +0000 (01:02 +0200)]
test/README: Create MySQL test user on 'localhost'

Suggest specifying 'localhost' as host name part of the MySQL test
account name.  Otherwise, the anonymous user that is usually created by
default for 'localhost' would take precedence for local connections due
to the more specific host name.

10 years agoDo not crash on version downgrade
Evgeniy Khramtsov [Sat, 3 May 2014 13:55:03 +0000 (17:55 +0400)]
Do not crash on version downgrade

10 years agoAssume udp_recv/5 now returns new options
Evgeniy Khramtsov [Sat, 3 May 2014 13:36:47 +0000 (17:36 +0400)]
Assume udp_recv/5 now returns new options

10 years agoAssume tcp_init/2 and udp_init/2 now return new options
Evgeniy Khramtsov [Sat, 3 May 2014 10:11:58 +0000 (14:11 +0400)]
Assume tcp_init/2 and udp_init/2 now return new options

10 years agoAlways enable SIP at compile time
Evgeniy Khramtsov [Fri, 2 May 2014 13:27:46 +0000 (17:27 +0400)]
Always enable SIP at compile time

10 years agoRemove unused function
Evgeniy Khramtsov [Fri, 2 May 2014 11:20:27 +0000 (15:20 +0400)]
Remove unused function

10 years agoForking support
Evgeniy Khramtsov [Fri, 2 May 2014 11:18:57 +0000 (15:18 +0400)]
Forking support

10 years agoRemove empty line
Evgeniy Khramtsov [Fri, 2 May 2014 09:09:25 +0000 (13:09 +0400)]
Remove empty line

10 years agoSome cleanup
Evgeniy Khramtsov [Fri, 2 May 2014 06:51:08 +0000 (10:51 +0400)]
Some cleanup

10 years agoFix CSeq comparison
Evgeniy Khramtsov [Thu, 1 May 2014 20:42:09 +0000 (00:42 +0400)]
Fix CSeq comparison

10 years agoOptimize request processing
Evgeniy Khramtsov [Thu, 1 May 2014 19:58:05 +0000 (23:58 +0400)]
Optimize request processing

10 years agoDo not proxy stray responses statelessly (as per RFC 6026)
Evgeniy Khramtsov [Thu, 1 May 2014 19:35:36 +0000 (23:35 +0400)]
Do not proxy stray responses statelessly (as per RFC 6026)

10 years agoDon't use erlang:integer_to_binary/1
Evgeniy Khramtsov [Thu, 1 May 2014 17:58:11 +0000 (21:58 +0400)]
Don't use erlang:integer_to_binary/1

10 years agoRewrite 'Contact' headers in REGISTER requests
Evgeniy Khramtsov [Thu, 1 May 2014 17:52:47 +0000 (21:52 +0400)]
Rewrite 'Contact' headers in REGISTER requests

10 years agoCheck for 'max_user_sessions' option
Evgeniy Khramtsov [Thu, 1 May 2014 16:58:14 +0000 (20:58 +0400)]
Check for 'max_user_sessions' option

10 years agoProcess gen_server timeouts correctly
Evgeniy Khramtsov [Thu, 1 May 2014 16:43:51 +0000 (20:43 +0400)]
Process gen_server timeouts correctly

10 years agoMove some code in a separate function
Evgeniy Khramtsov [Thu, 1 May 2014 12:31:03 +0000 (16:31 +0400)]
Move some code in a separate function

10 years agoMultiple REGISTER bindings support
Evgeniy Khramtsov [Thu, 1 May 2014 11:51:58 +0000 (15:51 +0400)]
Multiple REGISTER bindings support

10 years agoLocate sessions by proxy processes directly
Evgeniy Khramtsov [Thu, 1 May 2014 09:27:35 +0000 (13:27 +0400)]
Locate sessions by proxy processes directly

10 years agoMerge pull request #192 from hamano/fix_ejabberd_system_monitor_error
Evgeny Khramtsov [Thu, 1 May 2014 06:44:49 +0000 (10:44 +0400)]
Merge pull request #192 from hamano/fix_ejabberd_system_monitor_error

fix ejabberd_system_monitor:s2s_out_info/1 error

10 years agofix ejabberd_system_monitor:s2s_out_info/1 error
HAMANO Tsukasa [Thu, 1 May 2014 06:12:04 +0000 (15:12 +0900)]
fix ejabberd_system_monitor:s2s_out_info/1 error

10 years agoMerge pull request #178 from hamano/devel
Evgeny Khramtsov [Wed, 30 Apr 2014 17:49:54 +0000 (21:49 +0400)]
Merge pull request #178 from hamano/devel

undefined ejabberd_socket:get_conn_type/1

10 years agoSIP support
Evgeniy Khramtsov [Wed, 30 Apr 2014 15:20:38 +0000 (19:20 +0400)]
SIP support

Conflicts:
configure
configure.ac
doc/guide.tex

10 years agoimprove error handling when sql calling with (empty|unknown) host.
HAMANO Tsukasa [Wed, 30 Apr 2014 15:20:58 +0000 (00:20 +0900)]
improve error handling when sql calling with (empty|unknown) host.
see #191

10 years agoFix error reporting in previous commit
Badlop [Wed, 30 Apr 2014 14:02:20 +0000 (16:02 +0200)]
Fix error reporting in previous commit

10 years agoFix formatting string argument (thanks to Locojay)(github #129)
Badlop [Wed, 30 Apr 2014 13:59:44 +0000 (15:59 +0200)]
Fix formatting string argument (thanks to Locojay)(github #129)

10 years agoMerge pull request #191 from hamano/added_get_random_pid_error_handling
Evgeny Khramtsov [Wed, 30 Apr 2014 13:02:39 +0000 (17:02 +0400)]
Merge pull request #191 from hamano/added_get_random_pid_error_handling

fix error handling when sql calling with unknown host.

10 years agoMerge pull request #190 from hamano/mod_register_web_response_404
badlop [Wed, 30 Apr 2014 10:42:43 +0000 (12:42 +0200)]
Merge pull request #190 from hamano/mod_register_web_response_404

mod_register_web should response 404 instead of process crash.

10 years agoMerge pull request #187 from weiss/fix-ejabberdctl-output
badlop [Wed, 30 Apr 2014 10:41:12 +0000 (12:41 +0200)]
Merge pull request #187 from weiss/fix-ejabberdctl-output

Let ejabberdctl accept binary string arguments

10 years agofix error handling when sql calling with unknown host.
HAMANO Tsukasa [Wed, 30 Apr 2014 06:32:07 +0000 (15:32 +0900)]
fix error handling when sql calling with unknown host.

10 years agomod_register_web should response 404 instead of process crash.
HAMANO Tsukasa [Wed, 30 Apr 2014 04:39:17 +0000 (13:39 +0900)]
mod_register_web should response 404 instead of process crash.

10 years agoMerge pull request #189 from weiss/markdown-readme
Evgeny Khramtsov [Wed, 30 Apr 2014 03:55:27 +0000 (07:55 +0400)]
Merge pull request #189 from weiss/markdown-readme

Convert README to Markdown

10 years agoConvert README to Markdown
Holger Weiss [Tue, 29 Apr 2014 21:54:14 +0000 (23:54 +0200)]
Convert README to Markdown

Use Markdown syntax for the README file and add a README.md symlink, so
that a certain popular Git hosting site renders it nicely.