]>
granicus.if.org Git - ejabberd/log
Holger Weiss [Tue, 23 Dec 2014 23:35:22 +0000 (00:35 +0100)]
Fix ejabberd_captcha's listener parsing
If the "captcha_host" is specified without "http://" or "https://"
prefix, ejabberd_captcha tries to figure out the protocol automatically.
Fix the code that parses the listener configuration in order to do that.
Jerome Sautret [Thu, 18 Dec 2014 10:51:28 +0000 (11:51 +0100)]
Fix upgrade of PubSub mnesia tables from older ejabberd version.
Evgeny Khramtsov [Wed, 17 Dec 2014 15:36:05 +0000 (18:36 +0300)]
Merge pull request #379 from weiss/polish-readme
Polish the README file a bit
Holger Weiss [Tue, 16 Dec 2014 21:14:36 +0000 (22:14 +0100)]
Apply various cosmetic changes to README file
Christophe Romain [Mon, 15 Dec 2014 09:52:47 +0000 (10:52 +0100)]
improve readability of links on github page
Christophe Romain [Mon, 15 Dec 2014 09:26:57 +0000 (10:26 +0100)]
improve README adding feature list
Evgeny Khramtsov [Sat, 13 Dec 2014 06:42:30 +0000 (09:42 +0300)]
Merge pull request #377 from weiss/new-timestamps
Add timestamps to stanzas resent from stream management queue
Holger Weiss [Fri, 12 Dec 2014 22:50:03 +0000 (23:50 +0100)]
Let jlib use "B" instead of "w" to format integers
As a small optimization, use io:format's "B" control sequence to format
integers. We don't need to let Erlang figure out the data type if we
already know it.
Holger Weiss [Thu, 11 Dec 2014 22:11:35 +0000 (23:11 +0100)]
Add fractions of seconds to <delay/> timestamps
Include fractions of a second with XEP-0203 <delay/> timestamps, as
specified in XEP-0082.
Old timestamp: 2014-05-19T11:55:00Z
New timestamp: 2014-05-19T11:55:00.123Z
Christophe Romain [Thu, 11 Dec 2014 14:21:58 +0000 (15:21 +0100)]
include static versions of deps in rebar.config/script (thanks to Holger Weiß)(EJAB-1730)
Evgeny Khramtsov [Mon, 8 Dec 2014 19:56:20 +0000 (22:56 +0300)]
Merge pull request #374 from weiss/fix-muc-log-config
mod_muc_log: Fix configuration parsing
Holger Weiss [Mon, 8 Dec 2014 14:51:06 +0000 (15:51 +0100)]
mod_muc_log: Fix configuration parsing
Fix mod_muc_log's parsing of the "file_permissions" option.
Resolves #373.
Holger Weiss [Sun, 7 Dec 2014 15:27:51 +0000 (16:27 +0100)]
Let CSI code add timestamp at later point in time
As a small optimization, make sure we won't add timestamps to presence
stanzas which end up being thrown away by the CSI code.
Holger Weiss [Sun, 7 Dec 2014 15:12:06 +0000 (16:12 +0100)]
XEP-0198: Add timestamp to resent stanzas
When an unacknowledged stanza is resent from the Stream Management
queue, add a timestamp so that the receiving client can display the time
at which the stanza was originally sent.
Holger Weiss [Sun, 7 Dec 2014 14:55:18 +0000 (15:55 +0100)]
Improve interface for adding timestamps
Provide a simpler interface for adding <delay/> and <x/> timestamps to
stanzas. This also makes sure that only one <delay/> tag and one <x/>
tag is added to a given stanza.
Evgeny Khramtsov [Tue, 25 Nov 2014 23:42:00 +0000 (02:42 +0300)]
Merge pull request #366 from weiss/remove-unused-field
Remove unused field from ejabberd_c2s #state
Holger Weiss [Tue, 25 Nov 2014 23:15:19 +0000 (00:15 +0100)]
Remove unused field from c2s #state
Evgeny Khramtsov [Tue, 25 Nov 2014 11:24:37 +0000 (14:24 +0300)]
Merge pull request #350 from flygoast/master
Used current working home as base directory to config relative path.
Evgeny Khramtsov [Tue, 25 Nov 2014 11:21:18 +0000 (14:21 +0300)]
Merge pull request #365 from weiss/csi-config
Fix mod_client_state's configuration parsing
Evgeny Khramtsov [Tue, 25 Nov 2014 11:21:06 +0000 (14:21 +0300)]
Merge pull request #364 from weiss/copy-normal-messages
Also carbon-copy messages of type "normal"
Evgeny Khramtsov [Tue, 25 Nov 2014 11:20:11 +0000 (14:20 +0300)]
Merge pull request #363 from weiss/drop-pep-errors
Don't route PEP error messages to clients
Evgeny Khramtsov [Tue, 25 Nov 2014 11:20:01 +0000 (14:20 +0300)]
Merge pull request #354 from weiss/pep-privacy
Respect privacy lists for incoming PEP messages
Evgeny Khramtsov [Tue, 25 Nov 2014 11:19:53 +0000 (14:19 +0300)]
Merge pull request #352 from weiss/no-last-pep-duplicates
Don't duplicate last published PEP items
Holger Weiss [Tue, 25 Nov 2014 11:05:09 +0000 (12:05 +0100)]
Fix mod_client_state's configuration parsing
Don't log an "invalid value" message when "queue_presence" or
"drop_chat_states" is set to "false".
Holger Weiss [Mon, 24 Nov 2014 21:37:14 +0000 (22:37 +0100)]
Also carbon-copy messages of type "normal"
It makes no sense to restrict carbon-copying to "chat" messages.
XEP-0280 is expected to be updated accordingly.
Holger Weiss [Mon, 24 Nov 2014 20:19:32 +0000 (21:19 +0100)]
Don't route PEP error messages to clients
Holger Weiss [Mon, 24 Nov 2014 19:55:18 +0000 (20:55 +0100)]
Add new hook: c2s_filter_packet_in
The c2s_filter_packet_in hook can be used to modify or drop incoming
packets before they are transmitted to the client.
badlop [Mon, 24 Nov 2014 10:49:26 +0000 (11:49 +0100)]
Merge pull request #223 from kaLaJengkinG/patch-1
Update id.msg
Evgeny Khramtsov [Sat, 22 Nov 2014 07:36:21 +0000 (10:36 +0300)]
Merge pull request #361 from weiss/parse-ldap-dn-filter
Fix parsing of "ldap_dn_filter" option
Holger Weiss [Sat, 22 Nov 2014 00:33:23 +0000 (01:33 +0100)]
Fix parsing of "ldap_dn_filter" option
Evgeny Khramtsov [Thu, 20 Nov 2014 10:45:27 +0000 (13:45 +0300)]
Merge pull request #360 from lbanders/master
Fix for ejabbed bug #359 - now strings are formatted correctly.
Leif Bredgaard Honore [Thu, 20 Nov 2014 10:21:51 +0000 (14:21 +0400)]
Fix for ejabbed bug #359 - now strings are formatted correctly.
Holger Weiss [Tue, 18 Nov 2014 00:25:12 +0000 (01:25 +0100)]
Respect privacy lists for incoming PEP messages
Holger Weiss [Tue, 18 Nov 2014 00:13:22 +0000 (01:13 +0100)]
Don't duplicate last published PEP items
When a contact becomes available, usually both the 'caps_update' hook
and the 'presence_probe_hook' are called. For remote contacts, both
hooks triggered PEP notifications, so each item was sent twice. Fix
this by ignoring the 'presence_probe_hook' for remote contacts.
Evgeny Khramtsov [Sun, 16 Nov 2014 09:35:21 +0000 (12:35 +0300)]
Merge pull request #351 from weiss/floating-muc-intervals
Support floating point message/presence intervals
Holger Weiss [Sat, 15 Nov 2014 21:35:56 +0000 (22:35 +0100)]
Support floating point message/presence intervals
Let mod_muc support floating point values for "min_message_interval" and
"min_presence_interval", as documented in the guide.
Gu Feng [Sat, 15 Nov 2014 16:09:52 +0000 (00:09 +0800)]
Used current working home as base directory to config relative path.
When a config relative path specified, get_absolute_path would not
return an absolute path. The patch fixed it using current working
home as base directory.
Signed-off-by: Gu Feng <flygoast@126.com>
Evgeny Khramtsov [Fri, 14 Nov 2014 18:27:24 +0000 (21:27 +0300)]
Merge pull request #345 from weiss/last-pep-items
Fix sending of last published PEP items to newly-available resources
Evgeny Khramtsov [Fri, 14 Nov 2014 18:22:46 +0000 (21:22 +0300)]
Merge pull request #346 from weiss/fix-type
Cosmetic fix: Use correct type for initial c2s #state.user value
Holger Weiss [Fri, 14 Nov 2014 14:32:48 +0000 (15:32 +0100)]
Use correct type for initial c2s #state.user value
Holger Weiss [Fri, 14 Nov 2014 00:33:11 +0000 (01:33 +0100)]
Send last PEP items to remote subscribers
When a remote subscriber becomes available, send him the last published
PEP items, as we do for local subscribers.
However, the current implementation depends on a running ejabberd_c2s
process of the publisher to send items to remote subscribers. So, for
those, the behavior is always like it is for local subscribers when
"ignore_pep_from_offline" is set to "true".
Holger Weiss [Fri, 14 Nov 2014 00:03:26 +0000 (01:03 +0100)]
Don't broadcast last published PEP items
When a client becomes available, don't send the last published PEP items
of all his peers to all his other peers, but only to that client.
Holger Weiss [Thu, 13 Nov 2014 23:16:13 +0000 (00:16 +0100)]
Move routing of last PEP items into new function
This doesn't change the behavior, but avoids some code duplication.
Holger Weiss [Thu, 13 Nov 2014 23:02:59 +0000 (00:02 +0100)]
ODBC: Sync last item notifications with mod_pubsub
A while back, mod_pubsub was modified to address EJAB-1456. However,
the change was only partially applied to mod_pubsub_odbc. This commit
adds the remaining part.
Evgeny Khramtsov [Mon, 10 Nov 2014 20:14:34 +0000 (23:14 +0300)]
Merge pull request #341 from sezuan/fix-kick-user-command
Fix kick_user command
Matthias Rieber [Mon, 10 Nov 2014 19:53:00 +0000 (20:53 +0100)]
Fix kick_user command
Evgeny Khramtsov [Mon, 10 Nov 2014 08:47:10 +0000 (11:47 +0300)]
Merge pull request #340 from weiss/disable-mechanisms
New option: disable_sasl_mechanisms
Holger Weiss [Mon, 10 Nov 2014 00:10:04 +0000 (01:10 +0100)]
New option: disable_sasl_mechanisms
The new "disable_sasl_mechanisms" option allows for restricting the list
of SASL mechanisms offered to the client.
Closes #339.
Evgeny Khramtsov [Thu, 6 Nov 2014 18:11:17 +0000 (21:11 +0300)]
Merge pull request #337 from weiss/fix-install-without-json
Fix "make install" without JSON support
Holger Weiss [Thu, 6 Nov 2014 16:11:15 +0000 (17:11 +0100)]
Fix "make install" without JSON support
Don't bail out during "make install" when ./configure was called without
"--enable-json".
Evgeny Khramtsov [Wed, 5 Nov 2014 20:17:45 +0000 (23:17 +0300)]
Merge pull request #335 from weiss/avoid-carbon-dups
Avoid duplicates of carbon copies
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.