]>
granicus.if.org Git - ejabberd/log
Holger Weiss [Wed, 5 Nov 2014 18:04:02 +0000 (19:04 +0100)]
Avoid duplicates of carbon copies
When multiple resources have the same (highest) priority, the session
manager routes messages sent to their bare JID to each of these
resources. When another resource has a lower priority but receives
carbon copies, make sure it won't receive multiple copies of such
messages.
Jerome Sautret [Thu, 30 Oct 2014 17:26:42 +0000 (18:26 +0100)]
Add xref test to travis.
Conflicts:
.travis.yml
Evgeniy Khramtsov [Thu, 30 Oct 2014 21:26:22 +0000 (00:26 +0300)]
Fix race in CSI test case
Evgeniy Khramtsov [Thu, 30 Oct 2014 20:54:02 +0000 (23:54 +0300)]
Add tests for mod_vcard_xupdate
Christophe Romain [Thu, 30 Oct 2014 16:44:04 +0000 (17:44 +0100)]
Merge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Thu, 30 Oct 2014 16:43:57 +0000 (17:43 +0100)]
don't stop on error if jiffy.so symlink exists #309
Jerome Sautret [Thu, 30 Oct 2014 16:19:37 +0000 (17:19 +0100)]
Merge branch 'master' of github.com:processone/ejabberd
Jerome Sautret [Thu, 30 Oct 2014 15:51:01 +0000 (16:51 +0100)]
Clean up rebar script.
Christophe Romain [Thu, 30 Oct 2014 14:47:33 +0000 (15:47 +0100)]
fix invalid path of jiffy.so on install #309
Jerome Sautret [Wed, 27 Aug 2014 08:47:12 +0000 (10:47 +0200)]
Fix xref check when odbc driver is not used.
Jerome Sautret [Tue, 26 Aug 2014 14:51:04 +0000 (16:51 +0200)]
Ignore riak_object module call for xref check.
It's used in map-reduce function called from riak vm.
Jerome Sautret [Tue, 26 Aug 2014 14:12:57 +0000 (16:12 +0200)]
Add xref Makefile target.
Conflicts:
rebar.config.script
Evgeny Khramtsov [Wed, 29 Oct 2014 13:43:49 +0000 (16:43 +0300)]
Merge pull request #328 from flygoast/master
Return an empty <vCard/> element in an IQ-result when no vCard exists.
Evgeniy Khramtsov [Mon, 27 Oct 2014 11:14:52 +0000 (14:14 +0300)]
Add new option: store_empty_body
Evgeniy Khramtsov [Mon, 27 Oct 2014 10:44:59 +0000 (13:44 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Mon, 27 Oct 2014 10:44:46 +0000 (13:44 +0300)]
Revert "fix mod_offline to store only chat messages with body xml element"
This reverts commit
436f0832c1d7cdd98c6629977d41700e5aa7e589 .
Evgeny Khramtsov [Sat, 25 Oct 2014 17:17:56 +0000 (21:17 +0400)]
Merge pull request #330 from weiss/accept-newline
Accept trailing newline characters in Base64 strings
Holger Weiss [Sat, 25 Oct 2014 00:05:02 +0000 (02:05 +0200)]
Accept trailing whitespace in Base64 strings
Gu Feng [Fri, 24 Oct 2014 16:55:49 +0000 (00:55 +0800)]
Return an empty <vCard/> element in an IQ-result when no vCard exists.
According to XEP-0054, if no vCard exists, the server MUST return a stanza
error (which SHOULD be <item-not-found/>) or an IQ-result containing an
empty <vCard/> element.
Signed-off-by: Gu Feng <flygoast@126.com>
Evgeniy Khramtsov [Wed, 1 Oct 2014 15:39:26 +0000 (19:39 +0400)]
Get rid of a hyphen in VSN
Evgeny Khramtsov [Thu, 23 Oct 2014 10:56:15 +0000 (14:56 +0400)]
Merge pull request #325 from weiss/auth-after-tls
Don't advertise authentication mechanisms too early
Holger Weiss [Thu, 23 Oct 2014 08:04:14 +0000 (10:04 +0200)]
Don't advertise auth mechanisms too early
If "starttls_required: true" is specified for c2s connections,
authentication mechanisms shouldn't be offered before negotiating the
TLS connection.
Evgeny Khramtsov [Tue, 21 Oct 2014 08:12:55 +0000 (12:12 +0400)]
Merge pull request #321 from weiss/fix-http-request-record
Use 'request' record definition from header file
Evgeny Khramtsov [Tue, 21 Oct 2014 07:03:16 +0000 (11:03 +0400)]
Merge pull request #324 from liudanking/master
fix odbc_keepalive_interval configuration bug
liudan [Tue, 21 Oct 2014 02:05:44 +0000 (10:05 +0800)]
fix odbc keepalive interval bug
Evgeniy Khramtsov [Mon, 20 Oct 2014 08:59:03 +0000 (12:59 +0400)]
Remove append_host_config from ejabberd.yml.example
Evgeny Khramtsov [Fri, 17 Oct 2014 07:56:25 +0000 (11:56 +0400)]
Merge pull request #322 from weiss/xep-0198
XEP-0198: Abort immediately on stanza queue overflow
Holger Weiss [Thu, 16 Oct 2014 23:35:30 +0000 (01:35 +0200)]
XEP-0198: Abort immediately on queue overflow
Terminate the ejabberd_c2s process immediately once stanza queue
overflow is detected. This makes sure the FSM won't process additional
stanzas before terminating if the recipient is flooded.
Holger Weiss [Thu, 16 Oct 2014 11:51:13 +0000 (13:51 +0200)]
Use 'request' record definition from header file
This fixes a 'badrecord' crash in mod_http_fileserver.
Evgeny Khramtsov [Mon, 13 Oct 2014 16:38:15 +0000 (20:38 +0400)]
Merge pull request #317 from weiss/xep-0198
XEP-0198: Set #state.conn field on session resume
Evgeny Khramtsov [Mon, 13 Oct 2014 16:37:28 +0000 (20:37 +0400)]
Merge pull request #318 from weiss/remove-xmlrpc-dep
Remove "xmlrpc" dependency for "make rel"
Holger Weiss [Sun, 12 Oct 2014 17:44:35 +0000 (19:44 +0200)]
XEP-0198: Set #state.conn field on session resume
Holger Weiss [Sun, 12 Oct 2014 15:23:25 +0000 (17:23 +0200)]
Remove "xmlrpc" dependency for "make rel"
The "xmlrpc" library isn't used anymore.
Evgeny Khramtsov [Sun, 12 Oct 2014 07:05:49 +0000 (11:05 +0400)]
Merge pull request #316 from weiss/really-require-tls
Make sure "starttls_required" can't be bypassed
Holger Weiss [Sun, 12 Oct 2014 00:08:08 +0000 (02:08 +0200)]
Make sure "starttls_required" can't be bypassed
Don't allow clients to circumvent the "starttls_required" option by
enabling XMPP stream compression.
Evgeniy Khramtsov [Fri, 10 Oct 2014 07:38:13 +0000 (11:38 +0400)]
Fix list unblocking when Riak is used as a backend
Evgeniy Khramtsov [Sat, 4 Oct 2014 08:55:59 +0000 (12:55 +0400)]
Fix format of an XML-RPC response
Evgeniy Khramtsov [Sat, 4 Oct 2014 08:37:31 +0000 (12:37 +0400)]
Switch to P1 implementation of XML-RPC
Evgeniy Khramtsov [Fri, 3 Oct 2014 14:53:55 +0000 (18:53 +0400)]
Process XML-RPC requests via p1_xml and ejabberd_http
Evgeniy Khramtsov [Thu, 2 Oct 2014 10:05:04 +0000 (14:05 +0400)]
Make directory creation more robust
Evgeny Khramtsov [Tue, 30 Sep 2014 09:50:32 +0000 (13:50 +0400)]
Merge pull request #310 from weiss/ignore-rel-dir
Let Git ignore the "rel/ejabberd" directory
Holger Weiss [Tue, 30 Sep 2014 09:35:58 +0000 (11:35 +0200)]
Let Git ignore the "rel/ejabberd" directory
Evgeny Khramtsov [Fri, 26 Sep 2014 09:16:28 +0000 (13:16 +0400)]
Merge pull request #303 from weiss/no-csi-if-unconfigured
Offer CSI stream feature only if mod_client_state is enabled
Holger Weiss [Thu, 25 Sep 2014 16:28:20 +0000 (18:28 +0200)]
Offer CSI stream feature only if configured
Don't offer the CSI stream feature when mod_client_state isn't actually
configured to filter stanzas. This makes sure clients won't send CSI
tags that end up being ignored.
Holger Weiss [Thu, 25 Sep 2014 16:15:33 +0000 (18:15 +0200)]
Add new hook: c2s_post_auth_features
The c2s_post_auth_features hook can be used to extend the list of stream
features offered after authentication.
Evgeny Khramtsov [Thu, 25 Sep 2014 13:20:45 +0000 (17:20 +0400)]
Merge pull request #307 from weiss/remove-invisible-presence
Remove invisible presence fields from c2s #state
Holger Weiss [Wed, 24 Sep 2014 22:08:56 +0000 (00:08 +0200)]
Remove invisible presence fields from c2s #state
Invisible presence isn't supported anymore, so the corresponding
ejabberd_c2s #state fields were unused.
Evgeny Khramtsov [Tue, 23 Sep 2014 09:54:22 +0000 (13:54 +0400)]
Merge pull request #302 from weiss/ldap-deref-aliases
Rename deref_aliases back to ldap_deref_aliases
Holger Weiss [Tue, 23 Sep 2014 09:31:44 +0000 (11:31 +0200)]
Rename deref_aliases back to ldap_deref_aliases
The "ldap_deref_aliases" option has accidentally been renamed to
"deref_aliases". Revert that change (but accept both names for a
while), so that the option name now matches the documentation again.
Evgeny Khramtsov [Wed, 17 Sep 2014 21:17:04 +0000 (01:17 +0400)]
Merge pull request #301 from Iperity/master
Fix init script
Nathan Bruning [Wed, 17 Sep 2014 19:28:50 +0000 (21:28 +0200)]
Fix init script: use getent to allow ejabberd user from external authentication sources (LDAP)
Evgeny Khramtsov [Wed, 17 Sep 2014 05:31:09 +0000 (09:31 +0400)]
Merge pull request #300 from weiss/resend-if-offline
XEP-0198: Support "resend_on_timeout: if_offline"
Holger Weiss [Tue, 16 Sep 2014 20:42:34 +0000 (22:42 +0200)]
XEP-0198: Support "resend_on_timeout: if_offline"
If "resend_on_timeout" is set to "if_offline", resend unacknowledged
stanzas only if no other resource is online when the session times out.
In other words, allow for sending them to offline storage, but nowhere
else.
Evgeny Khramtsov [Mon, 15 Sep 2014 05:31:27 +0000 (09:31 +0400)]
Merge pull request #299 from sjmackenzie/processone
added p1_utils to reltool.config resolving treap:empty() undefined error
stewart [Mon, 15 Sep 2014 04:06:07 +0000 (04:06 +0000)]
added p1_utils to reltool.config resolving treap:empty() undefined error
Evgeniy Khramtsov [Sat, 13 Sep 2014 18:54:07 +0000 (22:54 +0400)]
Avoid generation of excessive records
Evgeny Khramtsov [Fri, 12 Sep 2014 17:55:10 +0000 (21:55 +0400)]
Merge pull request #298 from weiss/csi
Add support for XEP-0352: Client State Indication (CSI)
Holger Weiss [Thu, 11 Sep 2014 16:18:20 +0000 (18:18 +0200)]
Add tests for Client State Indication support
Holger Weiss [Thu, 11 Sep 2014 15:44:29 +0000 (17:44 +0200)]
Support XEP-0352: Client State Indication
Evgeny Khramtsov [Thu, 11 Sep 2014 15:35:50 +0000 (19:35 +0400)]
Merge pull request #297 from weiss/remove-configure-flag
Travis CI: Remove unused configure flag
Holger Weiss [Wed, 10 Sep 2014 19:04:43 +0000 (21:04 +0200)]
Travis CI: Remove unused configure flag
The --disable-http flag no longer exists.
Evgeny Khramtsov [Sun, 7 Sep 2014 03:27:17 +0000 (07:27 +0400)]
Merge pull request #296 from weiss/remove-unused-clause
XEP-0198: Remove unused function clause
Evgeny Khramtsov [Sun, 7 Sep 2014 03:27:07 +0000 (07:27 +0400)]
Merge pull request #295 from weiss/xep-0198
XEP-0198: Change state immediately when gen_tcp:send/2 returns failure
Holger Weiss [Sat, 6 Sep 2014 18:39:38 +0000 (20:39 +0200)]
XEP-0198: Remove unused function clause
In the 'wait_for_resume' state, #state.mgmt_pending_since is always
initialized. fsm_next_state/2 takes care of that.
Holger Weiss [Sat, 6 Sep 2014 18:34:32 +0000 (20:34 +0200)]
XEP-0198: Change state on gen_tcp:send/2 failure
When Stream Management is enabled and a gen_tcp:send/2 call fails, go
into the 'wait_for_resume' state immediately. This makes sure that
gen_tcp:send/2 won't be called again, which might avoid an Erlang issue
where gen_tcp:send/2 apparently hangs despite 'send_timeout' (and
'send_timeout_close') being set.
Holger Weiss [Sat, 6 Sep 2014 18:29:02 +0000 (20:29 +0200)]
XEP-0198: Let fsm_next_state/2 check timeout value
Don't force the fsm_next_state/2 caller to check for 'mgmt_timeout = 0'.
Christophe Romain [Fri, 5 Sep 2014 15:10:58 +0000 (17:10 +0200)]
allow guide not to be compiled for install
Evgeniy Khramtsov [Wed, 3 Sep 2014 17:28:07 +0000 (21:28 +0400)]
Test MUC nick registration
Evgeniy Khramtsov [Wed, 3 Sep 2014 17:27:35 +0000 (21:27 +0400)]
Parse x:data in jabber:register
Evgeniy Khramtsov [Wed, 3 Sep 2014 17:26:12 +0000 (21:26 +0400)]
Make sure x:data form possesses 'type' attribute
Evgeniy Khramtsov [Mon, 1 Sep 2014 12:38:41 +0000 (16:38 +0400)]
Fix privacy checks of presence probes
Evgeniy Khramtsov [Sun, 17 Aug 2014 13:38:38 +0000 (17:38 +0400)]
Automatically remove IPs from ban, add the documentation
Evgeniy Khramtsov [Fri, 15 Aug 2014 14:32:34 +0000 (18:32 +0400)]
Remove useless -include()
Evgeniy Khramtsov [Fri, 15 Aug 2014 12:13:04 +0000 (16:13 +0400)]
Ban the IP if there are too many failed authentications
Evgeniy Khramtsov [Fri, 15 Aug 2014 09:40:04 +0000 (13:40 +0400)]
Add mod_fail2ban
Evgeniy Khramtsov [Tue, 26 Aug 2014 18:21:27 +0000 (22:21 +0400)]
Recompile the xmpp_codec using updated XML generator
Evgeny Khramtsov [Wed, 27 Aug 2014 08:48:58 +0000 (12:48 +0400)]
Merge pull request #293 from weiss/fix-comment
Fix a comment in ejabberd_hooks
Evgeny Khramtsov [Wed, 27 Aug 2014 08:48:34 +0000 (12:48 +0400)]
Merge pull request #292 from weiss/fix-xep-reference
Fix an XEP reference in the guide
Holger Weiss [Mon, 25 Aug 2014 23:04:15 +0000 (01:04 +0200)]
Fix a comment in ejabberd_hooks
Holger Weiss [Mon, 25 Aug 2014 23:01:11 +0000 (01:01 +0200)]
Fix an XEP reference in the guide
Evgeny Khramtsov [Thu, 21 Aug 2014 12:32:31 +0000 (16:32 +0400)]
Merge pull request #287 from vesvalo/master
Fix return value of mod_shared_roster:delete_group.
vesvalo [Thu, 21 Aug 2014 11:13:43 +0000 (15:13 +0400)]
Fix return value of mod_shared_roster:delete_group. Current one is not compatible with mod_admin_extra.
Evgeny Khramtsov [Thu, 21 Aug 2014 09:29:55 +0000 (13:29 +0400)]
Merge pull request #286 from vesvalo/fix_pep_odbc_publishing
fix 404 on pep first publishing with odbc
vesvalo [Thu, 21 Aug 2014 07:23:58 +0000 (11:23 +0400)]
fix 404 on pep first publishing with odbc
Evgeny Khramtsov [Wed, 20 Aug 2014 21:26:22 +0000 (01:26 +0400)]
Merge pull request #284 from weiss/infinity-vs-unlimited
Guide: For consistency, use 'infinity' everywhere
Holger Weiss [Wed, 20 Aug 2014 18:43:38 +0000 (20:43 +0200)]
Guide: For consistency, use 'infinity' everywhere
Evgeny Khramtsov [Wed, 20 Aug 2014 13:47:04 +0000 (17:47 +0400)]
Merge pull request #283 from weiss/allow-unlimited-ack-queue
Support "max_ack_queue: infinity"
Evgeny Khramtsov [Wed, 20 Aug 2014 13:44:06 +0000 (17:44 +0400)]
Merge pull request #282 from weiss/fix-muc-option-docs
Fix MUC option docs: "infinity", not "infinite"
Holger Weiss [Wed, 20 Aug 2014 10:53:26 +0000 (12:53 +0200)]
Allow for "max_ack_queue: infinity", as documented
Holger Weiss [Wed, 20 Aug 2014 10:26:03 +0000 (12:26 +0200)]
Fix MUC option docs: "infinity", not "infinite"
Evgeny Khramtsov [Tue, 19 Aug 2014 09:28:15 +0000 (13:28 +0400)]
Merge pull request #280 from weiss/store-persistent-muc-on-init
Store peristent MUC room during creation
Holger Weiss [Tue, 19 Aug 2014 09:12:51 +0000 (11:12 +0200)]
Store persistent MUC room during creation
Make sure persistent rooms are stored to the database. Without this
change, a room got lost if the 'persistent' flag was handed over to
mod_muc:create_room/5 and the server was then restartet before any
activity took place in that room.
Evgeny Khramtsov [Fri, 15 Aug 2014 15:15:32 +0000 (19:15 +0400)]
Merge pull request #277 from weiss/xep-0198
XEP-0198: Create shorter session resume IDs
Holger Weiss [Fri, 15 Aug 2014 08:56:59 +0000 (10:56 +0200)]
XEP-0198: Create shorter resume IDs
Omit the user and server name from the 'previd' value.
Evgeny Khramtsov [Fri, 15 Aug 2014 06:49:59 +0000 (10:49 +0400)]
Merge pull request #276 from weiss/xep-0198
XEP-0198: Don't crash if the resume ID is incorrect
Holger Weiss [Thu, 14 Aug 2014 23:54:41 +0000 (01:54 +0200)]
XEP-0198: Gracefully handle broken 'previd'
Produce a proper error message instead of crashing when the 'previd'
value of a <resume/> request has an unexpected format.
Holger Weiss [Thu, 14 Aug 2014 23:53:47 +0000 (01:53 +0200)]
XEP-0198: Gracefully handle wrong credentials
Produce a proper error message instead of crashing when the JID encoded
in the 'previd' value of a <resume/> request is different from the
authenticated JID.
Evgeny Khramtsov [Thu, 14 Aug 2014 23:20:36 +0000 (03:20 +0400)]
Merge pull request #269 from Iperity/master
Fix migration of pubsub nodes. Was deleting and re-creating all nodes on...
Evgeny Khramtsov [Thu, 14 Aug 2014 23:19:18 +0000 (03:19 +0400)]
Merge pull request #268 from benlangfeld/fix/ldap_filter_dnattributes_new_ejabberd
Set dnAttributes on when it's requested by a filter
Evgeniy Khramtsov [Tue, 12 Aug 2014 10:22:32 +0000 (14:22 +0400)]
Fix the deprecation warning to reflect YAML format