]> granicus.if.org Git - ejabberd/log
ejabberd
9 years agoUse websocket pings also on old style connections
Paweł Chmielowski [Wed, 5 Aug 2015 14:08:06 +0000 (16:08 +0200)]
Use websocket pings also on old style connections

9 years agoUpdate FSF address
Christophe Romain [Wed, 5 Aug 2015 07:52:54 +0000 (09:52 +0200)]
Update FSF address

9 years agomod_client_state: Throttle stanzas by default
Holger Weiss [Tue, 4 Aug 2015 22:05:11 +0000 (00:05 +0200)]
mod_client_state: Throttle stanzas by default

Enable the mod_client_state options "drop_chat_states" and
"queue_presence" by default.  These features are now well-tested in
practice.

9 years agoRename muc_filter_packet to muc_filter_message
Holger Weiss [Tue, 4 Aug 2015 19:16:45 +0000 (21:16 +0200)]
Rename muc_filter_packet to muc_filter_message

The hook is just triggered on groupchat messages, not on other types of
stanzas.

9 years agoMerge pull request #696 from weiss/muc-presence-hook
Evgeny Khramtsov [Tue, 4 Aug 2015 19:14:18 +0000 (22:14 +0300)]
Merge pull request #696 from weiss/muc-presence-hook

New hook: muc_filter_presence

9 years agoNew hook: muc_filter_presence
Holger Weiss [Tue, 4 Aug 2015 18:13:00 +0000 (20:13 +0200)]
New hook: muc_filter_presence

Add a hook that allows for modifying or dropping presence stanzas sent
to MUC rooms.

9 years agoAdd split_jid/1
Mickael Remond [Tue, 4 Aug 2015 07:48:59 +0000 (09:48 +0200)]
Add split_jid/1

This is a convenience reverse of make_jid/1. It allows extracting the jid parts
without relying on using the jid record structure, to abstract details.

9 years agoDo not crash SIP authentication on SCRAMed passwords
Evgeniy Khramtsov [Sun, 2 Aug 2015 11:47:06 +0000 (14:47 +0300)]
Do not crash SIP authentication on SCRAMed passwords

9 years agoUpdate crypto calls
Alexey Shchepin [Thu, 30 Jul 2015 15:47:15 +0000 (18:47 +0300)]
Update crypto calls

9 years agoMerge pull request #682 from weiss/no-mam-carbons
Evgeny Khramtsov [Thu, 30 Jul 2015 14:11:56 +0000 (17:11 +0300)]
Merge pull request #682 from weiss/no-mam-carbons

Don't carbon-copy messages of type "normal" without body

9 years agoDon't copy messages of type "normal" without body
Holger Weiss [Tue, 28 Jul 2015 19:34:02 +0000 (21:34 +0200)]
Don't copy messages of type "normal" without body

Don't carbon-copy messages of type "normal" that don't have a body
element as an immediate subtag.  Those messages are usually generated by
clients or servers (as opposed to messages written by humans).  This
includes MAM messages, for example.

9 years agoAlso check for <no-storage/> hint
Holger Weiss [Tue, 28 Jul 2015 19:08:33 +0000 (21:08 +0200)]
Also check for <no-storage/> hint

Check for the <no-storage/> and <no-permanent-storage/> hints in
addition to <no-store/> and <no-permanent-store/>.  XEP-0334 (0.1)
mentions both variants, and unfortunately, both of them are in use.

9 years agoXEP-0198: Don't add <delay/> tags to IQ stanzas
Holger Weiss [Tue, 28 Jul 2015 19:00:12 +0000 (21:00 +0200)]
XEP-0198: Don't add <delay/> tags to IQ stanzas

9 years agoRecompile translations 15.07
Badlop [Mon, 27 Jul 2015 09:45:04 +0000 (11:45 +0200)]
Recompile translations

9 years agoUpdated Spanish translation
Badlop [Mon, 27 Jul 2015 09:43:31 +0000 (11:43 +0200)]
Updated Spanish translation

9 years agoUpdated Hebrew translation (thanks to Isratine Citizen)
Badlop [Mon, 27 Jul 2015 09:41:38 +0000 (11:41 +0200)]
Updated Hebrew translation (thanks to Isratine Citizen)

9 years agoReuse some strings in WebAdmin's Listening Ports
Badlop [Mon, 27 Jul 2015 09:23:51 +0000 (11:23 +0200)]
Reuse some strings in WebAdmin's Listening Ports

9 years agoFix problem with merging values from multiple config files
Paweł Chmielowski [Fri, 24 Jul 2015 13:45:29 +0000 (15:45 +0200)]
Fix problem with merging values from multiple config files

9 years agoEnsure config snippet is loaded at module installation (EJAB-1741)
Christophe Romain [Fri, 24 Jul 2015 13:09:57 +0000 (15:09 +0200)]
Ensure config snippet is loaded at module installation (EJAB-1741)

9 years agoAllow contribution to include .yml or .yaml config file
Christophe Romain [Fri, 24 Jul 2015 12:30:31 +0000 (14:30 +0200)]
Allow contribution to include .yml or .yaml config file

9 years agoAllow migration of old pubsub items with xmlelement in body (#479)
Christophe Romain [Fri, 24 Jul 2015 11:44:01 +0000 (13:44 +0200)]
Allow migration of old pubsub items with xmlelement in body (#479)

9 years agoMerge pull request #642 from weiss/pep-on-caps-update
Christophe Romain [Fri, 24 Jul 2015 10:07:22 +0000 (12:07 +0200)]
Merge pull request #642 from weiss/pep-on-caps-update

Also send PEP notifications when local contact updates CAPS

9 years agoProvide command for ODBC's convert_to_scram
Badlop [Thu, 23 Jul 2015 11:16:15 +0000 (13:16 +0200)]
Provide command for ODBC's convert_to_scram

9 years agoDon't crash web admin when displaying info about websocket using users
Paweł Chmielowski [Wed, 22 Jul 2015 09:54:11 +0000 (11:54 +0200)]
Don't crash web admin when displaying info about websocket using users

9 years agoLet nodetree call default flat plugin now
Christophe Romain [Wed, 22 Jul 2015 09:20:06 +0000 (11:20 +0200)]
Let nodetree call default flat plugin now

this fix mistake from previous commit 311fedaa

9 years agoAllow include of simple dependencies (EJAB-1737)(#391)
Christophe Romain [Wed, 22 Jul 2015 08:48:44 +0000 (10:48 +0200)]
Allow include of simple dependencies (EJAB-1737)(#391)

Either contributed module include dependencies this way
  deps/
    dep1/
      src/
      include/
    dep1/
      src/
      include/

Or includes rebar.config or rebar.config.script:
In this case, only git is supported (if git command available)
and ext_mod checkout code in deps directory.

In both case, only basic built procedure is supported. ext_mod
does not do more than bare compilation like this:
erlc -I include src/*erl

9 years agoLet flat be default plugin (#609)
Christophe Romain [Wed, 22 Jul 2015 08:37:26 +0000 (10:37 +0200)]
Let flat be default plugin (#609)

9 years agoDo not init nodes from mod_pubsub (#609)
Christophe Romain [Wed, 22 Jul 2015 06:03:27 +0000 (08:03 +0200)]
Do not init nodes from mod_pubsub (#609)

Let each plugin do its own initialisation in init_plugins
init_nodes was an old function to be removed.

9 years agoMerge pull request #608 from weiss/bare-jid-subscription
Christophe Romain [Wed, 22 Jul 2015 05:58:34 +0000 (07:58 +0200)]
Merge pull request #608 from weiss/bare-jid-subscription

PubSub: Check for node subscription of bare JID

9 years agoMerge pull request #632 from weiss/increase-max-ack-queue
Evgeny Khramtsov [Tue, 21 Jul 2015 09:36:01 +0000 (12:36 +0300)]
Merge pull request #632 from weiss/increase-max-ack-queue

XEP-0198: Increase default value of "max_ack_queue" option

9 years agoMerge pull request #618 from weiss/muc-message-hook
Evgeny Khramtsov [Tue, 21 Jul 2015 09:35:27 +0000 (12:35 +0300)]
Merge pull request #618 from weiss/muc-message-hook

New hook: muc_filter_packet

9 years agoPrint content types more gracefully
Evgeniy Khramtsov [Fri, 17 Jul 2015 11:27:31 +0000 (14:27 +0300)]
Print content types more gracefully

9 years agoGet rid of 'db_type' for mod_blocking in test suite
Evgeniy Khramtsov [Thu, 16 Jul 2015 10:30:14 +0000 (13:30 +0300)]
Get rid of 'db_type' for mod_blocking in test suite

9 years agoSet direction of resource and connection (#650)
Badlop [Wed, 15 Jul 2015 19:36:36 +0000 (21:36 +0200)]
Set direction of resource and connection (#650)

9 years agoIf local guide.html file not found, redirect to the online guide
Badlop [Wed, 15 Jul 2015 18:45:55 +0000 (20:45 +0200)]
If local guide.html file not found, redirect to the online guide

9 years agoUpdate links to Guide in WebAdmin
Badlop [Wed, 15 Jul 2015 18:40:13 +0000 (20:40 +0200)]
Update links to Guide in WebAdmin

9 years agoSupport RTL page direction in WebAdmin for Hebrew (#650)
Badlop [Wed, 15 Jul 2015 17:01:32 +0000 (19:01 +0200)]
Support RTL page direction in WebAdmin for Hebrew (#650)

9 years agoSet LTR direction to Raw links (#650)
Badlop [Wed, 15 Jul 2015 16:51:17 +0000 (18:51 +0200)]
Set LTR direction to Raw links (#650)

9 years agoAdd links in WebAdmin to ejabberd and ProcessOne (#661)
Badlop [Wed, 15 Jul 2015 11:09:58 +0000 (13:09 +0200)]
Add links in WebAdmin to ejabberd and ProcessOne (#661)

9 years agoSupport more mod_muc_admin translation strings (#659)
Badlop [Wed, 15 Jul 2015 09:54:35 +0000 (11:54 +0200)]
Support more mod_muc_admin translation strings (#659)

9 years agoUpdate dev section to show erl command-line start command
Mickael Remond [Sat, 11 Jul 2015 09:20:38 +0000 (11:20 +0200)]
Update dev section to show erl command-line start command

9 years agoAdd "complete" attribute to MAM final response (EJABS-2484)
Evgeniy Khramtsov [Fri, 10 Jul 2015 10:02:42 +0000 (13:02 +0300)]
Add "complete" attribute to MAM final response (EJABS-2484)

9 years agoFix mod_mam compatibility with RSM for other backends
Evgeniy Khramtsov [Thu, 9 Jul 2015 10:01:37 +0000 (13:01 +0300)]
Fix mod_mam compatibility with RSM for other backends

9 years agoFix tests related to MAM
Evgeniy Khramtsov [Thu, 9 Jul 2015 09:00:08 +0000 (12:00 +0300)]
Fix tests related to MAM

9 years agoFix mod_mam compatibility with RSM (only with odbc backend).
Jerome Sautret [Tue, 7 Jul 2015 11:23:30 +0000 (13:23 +0200)]
Fix mod_mam compatibility with RSM (only with odbc backend).

9 years agoDuring halt only shutdown MUC rooms on local node
Evgeniy Khramtsov [Wed, 8 Jul 2015 12:35:26 +0000 (15:35 +0300)]
During halt only shutdown MUC rooms on local node

9 years agoFix MAM tests (EJABS-2480).
Jerome Sautret [Tue, 7 Jul 2015 16:42:50 +0000 (18:42 +0200)]
Fix MAM tests (EJABS-2480).

9 years agoChanged mam iq get to set as specified by XEP-0313 v0.3
Jerome Sautret [Mon, 6 Jul 2015 13:39:23 +0000 (15:39 +0200)]
Changed mam iq get to set as specified by XEP-0313 v0.3

9 years agoTrigger PEP notifications on CAPS updates
Holger Weiss [Mon, 6 Jul 2015 22:24:06 +0000 (00:24 +0200)]
Trigger PEP notifications on CAPS updates

Let mod_pubsub send last items whenever a contact updates the entity
capabilities.  This was already done for remote contacts and is now also
done for local contacts.

9 years agomod_pubsub: Explain caps_update usage in a comment
Holger Weiss [Mon, 6 Jul 2015 21:45:25 +0000 (23:45 +0200)]
mod_pubsub: Explain caps_update usage in a comment

The reason to use the caps_update hook for sending last items to remote
contacts is probably not obvious.

9 years agoFix dialyzer warning
Mickael Remond [Sun, 5 Jul 2015 11:33:34 +0000 (13:33 +0200)]
Fix dialyzer warning

The function is call with binary format from ejabberd_c2s.

9 years agoRemove ehyperloglog dependency
Evgeniy Khramtsov [Fri, 3 Jul 2015 10:18:35 +0000 (13:18 +0300)]
Remove ehyperloglog dependency

9 years agoXEP-0198: Increase timeout during resumption
Holger Weiss [Wed, 1 Jul 2015 19:37:06 +0000 (21:37 +0200)]
XEP-0198: Increase timeout during resumption

Give gen_fsm:sync_send_all_state_event/3 a little more time to transfer
the (possibly somewhat large) c2s #state during session resumption.

9 years agoXEP-0198: Increase default "max_ack_queue" value
Holger Weiss [Wed, 1 Jul 2015 19:15:05 +0000 (21:15 +0200)]
XEP-0198: Increase default "max_ack_queue" value

During login, clients might receive a relatively large number of stanzas
in one go.  For some users, the default value of the "max_ack_queue"
option turned out to be too small in that situation.

9 years agoNew hook: muc_filter_packet
Holger Weiss [Fri, 26 Jun 2015 19:33:32 +0000 (21:33 +0200)]
New hook: muc_filter_packet

Add a hook that allows for modifying or dropping MUC room messages.

Closes #491.

9 years agoLet Travis grab MySQL 5.6 from repo.mysql.com
Holger Weiss [Thu, 2 Jul 2015 23:21:22 +0000 (01:21 +0200)]
Let Travis grab MySQL 5.6 from repo.mysql.com

We need MySQL 5.6 or newer in order to get support for InnoDB FULLTEXT
Indexes.

Closes #624.

9 years agoSend notifications on MUC configuration changes
Holger Weiss [Wed, 1 Jul 2015 22:36:16 +0000 (00:36 +0200)]
Send notifications on MUC configuration changes

Notify clients when the room configuration changes, as mandated by
XEP-0045, #10.2.1.

Closes #623.

9 years agoMerge pull request #628 from joudinet/master
Evgeny Khramtsov [Tue, 30 Jun 2015 09:06:49 +0000 (12:06 +0300)]
Merge pull request #628 from joudinet/master

configure.ac: add AC_CONFIG_MACRO_DIR

9 years agoconfigure.ac: add AC_CONFIG_MACRO_DIR
Johan Oudinet [Tue, 30 Jun 2015 08:53:45 +0000 (10:53 +0200)]
configure.ac: add AC_CONFIG_MACRO_DIR

Otherwise, autoconf fails to find extra macros defined in the m4
directory.

9 years agoVersion number must be SemVersion in mix
Mickael Remond [Mon, 29 Jun 2015 21:32:00 +0000 (23:32 +0200)]
Version number must be SemVersion in mix

Semantic version expects versioning with 3 components

9 years agoUse https url for git dependencies for consistency
Mickael Remond [Mon, 29 Jun 2015 21:23:31 +0000 (23:23 +0200)]
Use https url for git dependencies for consistency

9 years agoKeep the version hardcoded in mix.exs file
Mickael Remond [Mon, 29 Jun 2015 21:14:18 +0000 (23:14 +0200)]
Keep the version hardcoded in mix.exs file

Generated the mix.exs file through configure is not possible when using mix, as
it does not run configure after having downloaded the dependencies.
#621

9 years agoDo not rely on behaviour info when doing config validation
Evgeniy Khramtsov [Mon, 29 Jun 2015 19:50:15 +0000 (22:50 +0300)]
Do not rely on behaviour info when doing config validation

9 years agoMerge pull request #620 from weiss/omit-non-anon-msg
badlop [Mon, 29 Jun 2015 13:18:04 +0000 (15:18 +0200)]
Merge pull request #620 from weiss/omit-non-anon-msg

Omit warning message regarding non-anonymous MUC room

9 years agoOmit warning message regarding non-anonymous room
Holger Weiss [Sun, 28 Jun 2015 12:05:55 +0000 (14:05 +0200)]
Omit warning message regarding non-anonymous room

Previous versions of XEP-0045 suggested sending a warning message to new
occupants of a non-anonymous MUC room.  The current revision (1.25) says
that a status code of "100" must be returned with the user's initial
presence, instead.  We already do this (in addition to generating the
warning message).

Receiving the warning message each time the client joins the room can
become annoying, especially when reconnections occur frequently (e.g.,
on mobile devices).  So, we omit it, now.

9 years agoWhen passwords are scrammed, report check_password_hash cannot work (#559)
Badlop [Thu, 25 Jun 2015 11:39:45 +0000 (13:39 +0200)]
When passwords are scrammed, report check_password_hash cannot work (#559)

9 years agoAdd xep definition to mod_mam 15.06
Badlop [Wed, 24 Jun 2015 09:58:37 +0000 (11:58 +0200)]
Add xep definition to mod_mam

9 years agoAdd MAM (XEP-0313) support
Evgeniy Khramtsov [Mon, 22 Jun 2015 13:56:08 +0000 (16:56 +0300)]
Add MAM (XEP-0313) support

9 years agoDocument a few more supported protocols
Badlop [Mon, 22 Jun 2015 11:11:11 +0000 (13:11 +0200)]
Document a few more supported protocols

9 years agoAdd s2s_dhfile to list of known options
Holger Weiss [Fri, 19 Jun 2015 22:14:54 +0000 (00:14 +0200)]
Add s2s_dhfile to list of known options

9 years agoUpdate comment that explains how to set up node_mb
Holger Weiss [Fri, 19 Jun 2015 21:13:36 +0000 (23:13 +0200)]
Update comment that explains how to set up node_mb

Specify settings that make sense with current ejabberd versions, and use
the YAML configuration format.  Also, specify the "urn:xmpp:microblog:0"
namespace, as that's the microblogging node name currently defined by
XEP-0277.

9 years agoPubSub: Check for node subscription of bare JID
Holger Weiss [Thu, 18 Jun 2015 22:50:08 +0000 (00:50 +0200)]
PubSub: Check for node subscription of bare JID

Don't just check whether the full JID is subscribed when a node
subscription is required to list or publish items.  If the bare JID is
subscribed, these requests are now also accepted.

9 years agoAllow several ';' passed in commands (#599)
Christophe Romain [Thu, 18 Jun 2015 12:59:00 +0000 (14:59 +0200)]
Allow several ';' passed in commands (#599)

9 years agochange_room_option misses handling some room options #604
Badlop [Thu, 18 Jun 2015 11:13:49 +0000 (13:13 +0200)]
change_room_option misses handling some room options #604

9 years agoDon't force persistence if cache enabled (fix previous commit)
Christophe Romain [Thu, 18 Jun 2015 10:54:46 +0000 (12:54 +0200)]
Don't force persistence if cache enabled (fix previous commit)

9 years agoFix max_items and don't let PEP depends on item cache
Christophe Romain [Thu, 18 Jun 2015 10:06:29 +0000 (12:06 +0200)]
Fix max_items and don't let PEP depends on item cache

9 years agoNew hide_sensitive_log_data option to hide client IP in log (#452 #471)
Badlop [Wed, 17 Jun 2015 09:32:42 +0000 (11:32 +0200)]
New hide_sensitive_log_data option to hide client IP in log (#452 #471)

9 years agoAllow password with ';' passed in ejabberdctl (#599)
Christophe Romain [Wed, 17 Jun 2015 06:59:09 +0000 (08:59 +0200)]
Allow password with ';' passed in ejabberdctl (#599)

9 years agoAdd s2s_dhfile option to configuration validator
Holger Weiss [Tue, 16 Jun 2015 13:18:34 +0000 (15:18 +0200)]
Add s2s_dhfile option to configuration validator

9 years agoMerge pull request #581 from weiss/dh-param-file
Alexey Shchepin [Tue, 16 Jun 2015 08:59:06 +0000 (11:59 +0300)]
Merge pull request #581 from weiss/dh-param-file

New options: dhfile and s2s_dhfile

9 years agoAdd option to set net_ticktime (EJAB-1742)
Paweł Chmielowski [Mon, 15 Jun 2015 12:57:07 +0000 (14:57 +0200)]
Add option to set net_ticktime (EJAB-1742)

9 years agoFix bug introduced in commit b88fa6f6174
Badlop [Thu, 4 Jun 2015 13:47:02 +0000 (15:47 +0200)]
Fix bug introduced in commit b88fa6f6174

9 years agoUse https instead of git in rebar file for dependencies url (#589)
Badlop [Thu, 4 Jun 2015 11:12:49 +0000 (13:12 +0200)]
Use https instead of git in rebar file for dependencies url (#589)

9 years agoPick first local multicast service, otherwise remote (ejabberd-contrib#105)
Badlop [Thu, 4 Jun 2015 10:13:10 +0000 (12:13 +0200)]
Pick first local multicast service, otherwise remote (ejabberd-contrib#105)

9 years agoMerge pull request #592 from weiss/omit-subject-body
badlop [Thu, 4 Jun 2015 09:04:05 +0000 (11:04 +0200)]
Merge pull request #592 from weiss/omit-subject-body

Don't add body element to MUC subject messages

9 years agoDon't add body element to MUC subject messages
Holger Weiss [Thu, 4 Jun 2015 07:55:38 +0000 (09:55 +0200)]
Don't add body element to MUC subject messages

9 years agoMerge pull request #591 from jpegger/patch-1
Evgeny Khramtsov [Wed, 3 Jun 2015 17:42:00 +0000 (20:42 +0300)]
Merge pull request #591 from jpegger/patch-1

Anonymous authmodule not registering correctly anonymous users in DB

9 years agoAuthmodule using old style XML:get_attr_s()
jpegger [Wed, 3 Jun 2015 16:11:35 +0000 (18:11 +0200)]
Authmodule using old style XML:get_attr_s()

9 years agoDo not ignore unknown options so far
Evgeniy Khramtsov [Wed, 3 Jun 2015 13:21:07 +0000 (16:21 +0300)]
Do not ignore unknown options so far

9 years agoRemove unused validation code
Evgeniy Khramtsov [Wed, 3 Jun 2015 13:05:17 +0000 (16:05 +0300)]
Remove unused validation code

9 years agoMove opt_type/1 function out of if-else block
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:52:19 +0000 (15:52 +0300)]
Move opt_type/1 function out of if-else block

9 years agoFix typo
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:45:15 +0000 (15:45 +0300)]
Fix typo

9 years agoAdd missing options of ejabberd_logger to validator
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:25:20 +0000 (15:25 +0300)]
Add missing options of ejabberd_logger to validator

9 years agoAdd missing options of mod_muc to validator
Evgeniy Khramtsov [Wed, 3 Jun 2015 12:18:09 +0000 (15:18 +0300)]
Add missing options of mod_muc to validator

9 years agoFix commands export2odbc, connected_users_vhost and push_alltoall (#586)
Badlop [Tue, 2 Jun 2015 10:52:15 +0000 (12:52 +0200)]
Fix commands export2odbc, connected_users_vhost and push_alltoall (#586)

9 years agoMerge pull request #585 from CorCornelisse/master
badlop [Tue, 2 Jun 2015 10:24:46 +0000 (12:24 +0200)]
Merge pull request #585 from CorCornelisse/master

push_roster* not updated on binarification

9 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Mon, 1 Jun 2015 12:38:37 +0000 (15:38 +0300)]
Merge branch 'master' of github.com:processone/ejabberd

9 years agoAdd config validation at startup
Evgeniy Khramtsov [Mon, 1 Jun 2015 12:38:27 +0000 (15:38 +0300)]
Add config validation at startup

9 years agoFix anonymous user login, it wasn't stored in anonymous mnesia table
Badlop [Mon, 1 Jun 2015 12:34:49 +0000 (14:34 +0200)]
Fix anonymous user login, it wasn't stored in anonymous mnesia table

9 years agoDo not try to fetch module options via eldap_utils
Evgeniy Khramtsov [Sun, 31 May 2015 13:14:57 +0000 (16:14 +0300)]
Do not try to fetch module options via eldap_utils