]> granicus.if.org Git - ejabberd/log
ejabberd
9 years agoFetch MUC MAM messages from room history directly if it's not enabled in room configu...
Evgeniy Khramtsov [Tue, 1 Sep 2015 08:37:07 +0000 (11:37 +0300)]
Fetch MUC MAM messages from room history directly if it's not enabled in room configuration

9 years agoUpdate MAM tests to always expect RSM in response
Holger Weiss [Sun, 30 Aug 2015 21:26:37 +0000 (23:26 +0200)]
Update MAM tests to always expect RSM in response

9 years agoMerge pull request #721 from oxpa/muc_admin
Evgeny Khramtsov [Fri, 28 Aug 2015 12:23:00 +0000 (15:23 +0300)]
Merge pull request #721 from oxpa/muc_admin

get_room_options will not crash in case of query for a non-existent room

9 years agoget_room_options will not crash in case of query for a non-existent room
oxpa [Fri, 28 Aug 2015 11:34:51 +0000 (03:34 -0800)]
get_room_options will not crash in case of query for a non-existent room

9 years agoRemove "--enable-json" flag
Holger Weiss [Thu, 27 Aug 2015 20:16:11 +0000 (22:16 +0200)]
Remove "--enable-json" flag

The "--enable-json" flag currently has no effect.

9 years agoAlways include RSM in final message
Evgeniy Khramtsov [Mon, 24 Aug 2015 10:22:18 +0000 (13:22 +0300)]
Always include RSM in final message

9 years agoRemove MAM archives on MUC room destroy
Evgeniy Khramtsov [Wed, 19 Aug 2015 13:15:02 +0000 (16:15 +0300)]
Remove MAM archives on MUC room destroy

9 years agoMore eye-candy mod_http_bind help page (thanks to Marek Foss)
Badlop [Fri, 21 Aug 2015 13:23:03 +0000 (15:23 +0200)]
More eye-candy mod_http_bind help page (thanks to Marek Foss)

9 years agoImprove S2S certificate checks
Evgeniy Khramtsov [Wed, 19 Aug 2015 22:04:56 +0000 (01:04 +0300)]
Improve S2S certificate checks

9 years agoFix case clause during S2S certificate checks
Evgeniy Khramtsov [Wed, 19 Aug 2015 20:47:45 +0000 (23:47 +0300)]
Fix case clause during S2S certificate checks

9 years agoChange namespace from muc#admin to muc#user
Evgeniy Khramtsov [Fri, 14 Aug 2015 13:42:10 +0000 (16:42 +0300)]
Change namespace from muc#admin to muc#user

9 years agoDon't overwrite listeners for different transports in config merging
Paweł Chmielowski [Wed, 19 Aug 2015 08:14:09 +0000 (10:14 +0200)]
Don't overwrite listeners for different transports in config merging

Before this having listeners on same port for both tcp and udp would after
config merging step left only one of them.

Many thanks to Holger Weiß for noticing this.

9 years agoCatch errors when calling inet:peername in ejabberd_http
Paweł Chmielowski [Mon, 17 Aug 2015 13:50:02 +0000 (15:50 +0200)]
Catch errors when calling inet:peername in ejabberd_http

9 years agoLet ejabberdctl handle more shell metacharacters
Holger Weiss [Sat, 15 Aug 2015 15:01:47 +0000 (17:01 +0200)]
Let ejabberdctl handle more shell metacharacters

Closes #704.

9 years agoconfigure.ac: Don't insist on Erlang/OTP >= 17.5
Holger Weiss [Thu, 13 Aug 2015 11:06:05 +0000 (13:06 +0200)]
configure.ac: Don't insist on Erlang/OTP >= 17.5

The current ejabberd code works on Erlang/OTP 17.1 or newer.  We now
also let Travis CI test this version in addition to 17.5.

9 years agoPrettify copyright links (thanks to GreenLunar)(#692)
Badlop [Thu, 13 Aug 2015 10:22:03 +0000 (12:22 +0200)]
Prettify copyright links (thanks to GreenLunar)(#692)

9 years agoStore and retrieve "mam" value in room configuration
Badlop [Wed, 12 Aug 2015 18:23:28 +0000 (20:23 +0200)]
Store and retrieve "mam" value in room configuration

9 years agoFix and document create_rooms_file and destroy_
Badlop [Wed, 12 Aug 2015 15:18:41 +0000 (17:18 +0200)]
Fix and document create_rooms_file and destroy_

9 years agoChanged API of some mod_muc_admin command arguments
Badlop [Wed, 12 Aug 2015 11:26:24 +0000 (13:26 +0200)]
Changed API of some mod_muc_admin command arguments

With this commit, arguments change in two commands:
* destroy_room: does not require Host argument
* send_direct_invitation: instead of Room, now requires Name and Service

9 years agoRoom response to disco#info node muc#traffic should be an error (EJAB-741)
Badlop [Wed, 12 Aug 2015 10:40:37 +0000 (12:40 +0200)]
Room response to disco#info node muc#traffic should be an error (EJAB-741)

9 years agoEjabberd now requires erlang R17+
Paweł Chmielowski [Wed, 12 Aug 2015 09:53:54 +0000 (11:53 +0200)]
Ejabberd now requires erlang R17+

9 years agoAdd support for MUC MAM
Evgeniy Khramtsov [Thu, 6 Aug 2015 10:33:39 +0000 (13:33 +0300)]
Add support for MUC MAM

9 years agoHandle merging of append_host_config as is done for host_config
Paweł Chmielowski [Thu, 6 Aug 2015 15:45:19 +0000 (17:45 +0200)]
Handle merging of append_host_config as is done for host_config

9 years agoAdd ability to override main config file options with data from included files
Paweł Chmielowski [Thu, 6 Aug 2015 15:12:15 +0000 (17:12 +0200)]
Add ability to override main config file options with data from included files

9 years agoRemove obsolete pubsub migration command
Christophe Romain [Thu, 6 Aug 2015 14:57:04 +0000 (16:57 +0200)]
Remove obsolete pubsub migration command

9 years agoMerge branch 'typo' of https://github.com/sezuan/ejabberd
Holger Weiss [Thu, 6 Aug 2015 06:57:10 +0000 (08:57 +0200)]
Merge branch 'typo' of https://github.com/sezuan/ejabberd

9 years agotypo
Matthias Rieber [Thu, 6 Aug 2015 06:44:15 +0000 (08:44 +0200)]
typo

9 years agomod_multicast changes:
Alexey Shchepin [Wed, 5 Aug 2015 16:17:58 +0000 (19:17 +0300)]
mod_multicast changes:
- catch exceptions
- do ets:give_away for multicastp table on init
- don't send multicasts to itself
- don't check user@server for multicast support
- handle empty disco items
- ignore cdata in <addresses/>
- properly check for subdomains

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.