]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoPubSub: fix node_options, default options only apply on first plugin
Christophe Romain [Wed, 27 Sep 2017 07:29:04 +0000 (09:29 +0200)]
PubSub: fix node_options, default options only apply on first plugin

7 years agomod_http_upload: Don't ignore 'custom_headers'
Holger Weiss [Tue, 26 Sep 2017 19:40:56 +0000 (21:40 +0200)]
mod_http_upload: Don't ignore 'custom_headers'

Don't ignore the 'custom_headers' option if the domain part of the
'put_url' doesn't match the XMPP domain.

Closes #1482.

7 years agoImprove presence-error processing
Evgeniy Khramtsov [Tue, 26 Sep 2017 16:01:54 +0000 (19:01 +0300)]
Improve presence-error processing

When a presence-error is received from a participant in a MUC, kick
only this particular participant's full JID, leaving other resources
untouched. This will prevent from erroneous kicking all user's resources
in the presence of "multi-session nicks".

7 years agoCall earlier deps configure scripts durring compilation
Paweł Chmielowski [Tue, 26 Sep 2017 15:32:37 +0000 (17:32 +0200)]
Call earlier deps configure scripts durring compilation

7 years agoFix command set_last that always returned code 1, error (#2010)
Badlop [Mon, 25 Sep 2017 16:43:24 +0000 (18:43 +0200)]
Fix command set_last that always returned code 1, error (#2010)

7 years agoSync containers from rroemhild and add instructions in README (#1655)
Christophe Romain [Mon, 25 Sep 2017 15:48:57 +0000 (17:48 +0200)]
Sync containers from rroemhild and add instructions in README (#1655)

7 years agoAdd mod_avatar to the example configuration
Evgeniy Khramtsov [Mon, 25 Sep 2017 13:23:02 +0000 (16:23 +0300)]
Add mod_avatar to the example configuration

7 years agoCatch all p1_fsm errors
Evgeniy Khramtsov [Mon, 25 Sep 2017 10:01:00 +0000 (13:01 +0300)]
Catch all p1_fsm errors

Fixes #2012

7 years agoUse eimp instead of ImageMagick calls for thumbnails creation
Evgeniy Khramtsov [Mon, 25 Sep 2017 09:41:12 +0000 (12:41 +0300)]
Use eimp instead of ImageMagick calls for thumbnails creation

7 years agoPre-install libgd and libwebp
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:19:49 +0000 (11:19 +0300)]
Pre-install libgd and libwebp

7 years agoRemove OTP20 from Travis tests for now
Evgeniy Khramtsov [Mon, 25 Sep 2017 08:17:46 +0000 (11:17 +0300)]
Remove OTP20 from Travis tests for now

7 years agomod_mam: Simplify check for anon MUC JID filtering
Holger Weiss [Sun, 24 Sep 2017 13:04:09 +0000 (15:04 +0200)]
mod_mam: Simplify check for anon MUC JID filtering

Refuse filtering anon MUC MAM queries by JID even if it's the client's
own JID.  Clients probably won't perform such queries in practice, so
the additional complexity is unnecessary.

7 years agoReuse some translation strings
Evgeniy Khramtsov [Sun, 24 Sep 2017 11:32:37 +0000 (14:32 +0300)]
Reuse some translation strings

7 years agoReplace translate:mark/1 with ?T() macro
Evgeniy Khramtsov [Sun, 24 Sep 2017 09:42:35 +0000 (12:42 +0300)]
Replace translate:mark/1 with ?T() macro

7 years agomod_mam: Refuse filtering anon MUC queries by JID
Holger Weiss [Sun, 24 Sep 2017 00:05:50 +0000 (02:05 +0200)]
mod_mam: Refuse filtering anon MUC queries by JID

Return an empty result set if a non-moderator attempts to filter by JID
while querying the archive of an anonymous MUC room.

7 years agoAdd script to extract translation strings
Evgeniy Khramtsov [Sat, 23 Sep 2017 21:08:01 +0000 (00:08 +0300)]
Add script to extract translation strings

7 years agomod_push_mnesia: Fix typo in error message
Holger Weiss [Fri, 22 Sep 2017 21:36:51 +0000 (23:36 +0200)]
mod_push_mnesia: Fix typo in error message

7 years agoAdd some recommended TLSOPTS as comments in the default config (#2004)
Badlop [Thu, 21 Sep 2017 14:28:17 +0000 (16:28 +0200)]
Add some recommended TLSOPTS as comments in the default config (#2004)

7 years agoAlso replace vcard-x-update in direct presences
Evgeniy Khramtsov [Mon, 18 Sep 2017 11:17:34 +0000 (14:17 +0300)]
Also replace vcard-x-update in direct presences

7 years agoMerge pull request #1996 from nosnilmot/ejabberdctl-quote-peer
Christophe Romain [Mon, 18 Sep 2017 11:09:16 +0000 (13:09 +0200)]
Merge pull request #1996 from nosnilmot/ejabberdctl-quote-peer

Quote $PEER in ping command to avoid hostnames containing "-" being interpreted as arithmetic

7 years agoFix iexdebug and iexlive commands (#1981)
Christophe Romain [Mon, 18 Sep 2017 10:59:18 +0000 (12:59 +0200)]
Fix iexdebug and iexlive commands (#1981)

7 years agoPubSub: broadcast updated configuration (#1945)
Christophe Romain [Mon, 18 Sep 2017 10:48:20 +0000 (12:48 +0200)]
PubSub: broadcast updated configuration (#1945)

7 years agoAdd 'width' and 'height' to avatar info
Evgeniy Khramtsov [Mon, 18 Sep 2017 06:33:57 +0000 (09:33 +0300)]
Add 'width' and 'height' to avatar info

7 years agoAdd GIF support
Evgeniy Khramtsov [Sun, 17 Sep 2017 14:34:31 +0000 (17:34 +0300)]
Add GIF support

7 years agoIntroduce mod_avatar
Evgeniy Khramtsov [Sun, 17 Sep 2017 07:26:48 +0000 (10:26 +0300)]
Introduce mod_avatar

The purpose of the module is to cope with legacy and modern
XMPP clients posting avatars. It automatically converts vCard based
avatars (XEP-0153) to PEP based avatars (XEP-0084) and vice versa.
Also, the module supports convertation between avatar image formats on
the fly: this is controlled by `convert` option. For example, to
convert all avatars into PNG format, configure the module as:

mod_avatar:
  convert:
    default: png

In order to convert only `webp` format to `jpeg`, set the following:

mod_avatar:
  convert:
    webp: jpeg

Note: the module depends on mod_vcard, mod_vcard_xupdate and mod_pubsub.
Also, ejabberd should be built with --enable-graphics option.

7 years agoAdd riakc dependency version
Christophe Romain [Tue, 5 Sep 2017 08:10:45 +0000 (10:10 +0200)]
Add riakc dependency version

7 years agomod_push_keepalive: Remove unused 'db_type' option
Holger Weiss [Mon, 11 Sep 2017 21:48:25 +0000 (23:48 +0200)]
mod_push_keepalive: Remove unused 'db_type' option

7 years agoQuote $PEER in ping command to avoid hostnames containing "-" being interpreted as...
Stu Tomlinson [Mon, 11 Sep 2017 14:00:00 +0000 (15:00 +0100)]
Quote $PEER in ping command to avoid hostnames containing "-" being interpreted as arithmetic

7 years agoIntroduce option 'allow_transports'
Evgeniy Khramtsov [Fri, 8 Sep 2017 20:10:01 +0000 (23:10 +0300)]
Introduce option 'allow_transports'

This is a boolean option. If set to `true` and some server's JID
is in user's roster, then messages from any user of this server are
accepted even if no subscription present.

The option is enabled by default.

7 years agoThe redis_reconnect_timeout was no longer used (#1983)
Badlop [Thu, 7 Sep 2017 18:24:56 +0000 (20:24 +0200)]
The redis_reconnect_timeout was no longer used (#1983)

7 years agoSimple optimization in get_room_occupants_number command (#1964)
Badlop [Thu, 7 Sep 2017 16:32:26 +0000 (18:32 +0200)]
Simple optimization in get_room_occupants_number command (#1964)

7 years agoReally delete cache on set_data()
Evgeniy Khramtsov [Thu, 7 Sep 2017 16:27:48 +0000 (19:27 +0300)]
Really delete cache on set_data()

Fixes #1991

7 years agoAlways accept messages from local (sub)domains
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:53:42 +0000 (13:53 +0300)]
Always accept messages from local (sub)domains

7 years agoFix a typo and improve logging message
Evgeniy Khramtsov [Thu, 7 Sep 2017 10:41:51 +0000 (13:41 +0300)]
Fix a typo and improve logging message

7 years agoReplace example config of drop_chat_states with queue_* in mod_client_state (#1985)
Badlop [Wed, 6 Sep 2017 11:48:33 +0000 (13:48 +0200)]
Replace example config of drop_chat_states with queue_* in mod_client_state (#1985)

7 years agoBlock messages from strangers before mod_mam/mod_offline processing
Evgeniy Khramtsov [Sat, 2 Sep 2017 19:54:46 +0000 (22:54 +0300)]
Block messages from strangers before mod_mam/mod_offline processing

Fixes #1713

7 years agoDeprecate `s2s_use_starttls: required_trusted`
Evgeniy Khramtsov [Sat, 2 Sep 2017 08:44:11 +0000 (11:44 +0300)]
Deprecate `s2s_use_starttls: required_trusted`

The functionality can be now obtained by using
`s2s_use_starttls: required` with `mod_s2s_dialback`
being unloaded.

7 years agoIntroduce 'redirect_url' option for mod_register
Evgeniy Khramtsov [Fri, 1 Sep 2017 09:14:01 +0000 (12:14 +0300)]
Introduce 'redirect_url' option for mod_register

The option enables registration redirection as described in
https://xmpp.org/extensions/xep-0077.html#redirect

Fixes #1976

7 years agoFix deletion of multiple offline messages using WebAdmin (#1962)
Badlop [Fri, 25 Aug 2017 10:44:53 +0000 (12:44 +0200)]
Fix deletion of multiple offline messages using WebAdmin (#1962)

7 years agoFix a typo
Evgeniy Khramtsov [Fri, 25 Aug 2017 09:47:33 +0000 (12:47 +0300)]
Fix a typo

7 years agoAdd forgotten caching options to the validator (thanks to Jan Pinkas)
Evgeniy Khramtsov [Thu, 24 Aug 2017 18:40:54 +0000 (21:40 +0300)]
Add forgotten caching options to the validator (thanks to Jan Pinkas)

7 years agoFix 'make install' to work with new output from rebar list-deps
Paweł Chmielowski [Thu, 24 Aug 2017 09:43:47 +0000 (11:43 +0200)]
Fix 'make install' to work with new output from rebar list-deps

7 years agoRewrite muc_register_nick and muc_unregister_nick to be DB independent (#1954)
Badlop [Thu, 24 Aug 2017 08:40:24 +0000 (10:40 +0200)]
Rewrite muc_register_nick and muc_unregister_nick to be DB independent (#1954)

Notice: The arguments expected have changed, instead of
  muc_register_nick Tim tim@example.org muc.example.org
  muc_unregister_nick Tim
it expects now:
  muc_register_nick Tim tim@example.org example.org
  muc_unregister_nick tim@example.org example.org

7 years agoRecompile rebar script with OTP17.5
Evgeniy Khramtsov [Wed, 23 Aug 2017 08:45:10 +0000 (11:45 +0300)]
Recompile rebar script with OTP17.5

7 years agoUse forked repo of Riak Erlang client
Evgeniy Khramtsov [Wed, 23 Aug 2017 07:35:39 +0000 (10:35 +0300)]
Use forked repo of Riak Erlang client

7 years agoExplicitly match against <domain/resource>
Evgeniy Khramtsov [Wed, 23 Aug 2017 06:00:13 +0000 (09:00 +0300)]
Explicitly match against <domain/resource>

Fixes #1958

7 years agoIgnore some options from rebar.config
Evgeniy Khramtsov [Tue, 22 Aug 2017 12:26:35 +0000 (15:26 +0300)]
Ignore some options from rebar.config

Namely, the following options are ignored in dependency packets:
require_erts_vsn, require_otp_vsn and require_min_otp_vsn

7 years agoWhen creating room, set option to ensure config is set in muc_room table (#1954)
Badlop [Mon, 21 Aug 2017 13:58:10 +0000 (15:58 +0200)]
When creating room, set option to ensure config is set in muc_room table (#1954)

7 years agoFix crash when destroying room without providing reason (#1954)
Badlop [Mon, 21 Aug 2017 13:57:48 +0000 (15:57 +0200)]
Fix crash when destroying room without providing reason (#1954)

7 years agoApply cosmetic changes to previous commit
Holger Weiss [Fri, 18 Aug 2017 14:50:08 +0000 (16:50 +0200)]
Apply cosmetic changes to previous commit

7 years agoSuppress push notifications for online clients
Holger Weiss [Fri, 18 Aug 2017 14:44:32 +0000 (16:44 +0200)]
Suppress push notifications for online clients

When a client enabled push notifications during the current session,
notifications should be suppressed as long as the client is online.
Suppressing the notification didn't work for the case where the
notification was triggered by MAM, but this is now fixed.

7 years agoFix mod_multicast start and reading of configured limits (#1949)
Badlop [Fri, 18 Aug 2017 12:09:49 +0000 (14:09 +0200)]
Fix mod_multicast start and reading of configured limits (#1949)

7 years agoPreserve correct order of deserialized XML elements
Evgeniy Khramtsov [Fri, 18 Aug 2017 07:20:27 +0000 (10:20 +0300)]
Preserve correct order of deserialized XML elements

Fixes #1939

7 years agoAdd OTP 20.0 to Travis testsing platforms
Evgeniy Khramtsov [Thu, 17 Aug 2017 19:14:54 +0000 (22:14 +0300)]
Add OTP 20.0 to Travis testsing platforms

7 years agoGet rid of deprecated crypto functions
Evgeniy Khramtsov [Thu, 17 Aug 2017 16:32:15 +0000 (19:32 +0300)]
Get rid of deprecated crypto functions

7 years agomod_stream_mgmt: Delete 'c2s_init' hook
Holger Weiss [Thu, 17 Aug 2017 16:25:06 +0000 (18:25 +0200)]
mod_stream_mgmt: Delete 'c2s_init' hook

Delete the 'c2s_init' hook when the last 'mod_stream_mgmt' instance is
stopped.

7 years agomod_stream_mgmt: Remove outdated TODO comment
Holger Weiss [Thu, 17 Aug 2017 16:19:04 +0000 (18:19 +0200)]
mod_stream_mgmt: Remove outdated TODO comment

The CSI queue is now flushed from mod_client_state.

7 years agoDon't attempt to access(2) a certificate file
Evgeniy Khramtsov [Thu, 17 Aug 2017 11:33:41 +0000 (14:33 +0300)]
Don't attempt to access(2) a certificate file

Fixes #1375

7 years agoRevert "Temporary remove recent last_item refactor"
Christophe Romain [Mon, 14 Aug 2017 13:25:45 +0000 (15:25 +0200)]
Revert "Temporary remove recent last_item refactor"

This reverts commit 1820b4f63b5c08a7a5fc603a7161d5c5e7e92ab4.

7 years agoMerge remote-tracking branch 'processone/pr/1938'
Holger Weiss [Mon, 14 Aug 2017 12:43:03 +0000 (14:43 +0200)]
Merge remote-tracking branch 'processone/pr/1938'

* processone/pr/1938:
  Let 'domain_certfile' take higher precedence

7 years agoTemporary remove recent last_item refactor 17.08
Christophe Romain [Mon, 14 Aug 2017 07:43:02 +0000 (09:43 +0200)]
Temporary remove recent last_item refactor

7 years agoLet 'domain_certfile' take higher precedence
Holger Weiss [Sun, 13 Aug 2017 18:31:03 +0000 (20:31 +0200)]
Let 'domain_certfile' take higher precedence

If a 'domain_certfile' is specified, use that instead of the
's2s_certfile' (or 'c2s_certfile').

7 years agoApply URL decoding wherever possible
Evgeniy Khramtsov [Sun, 13 Aug 2017 16:18:19 +0000 (19:18 +0300)]
Apply URL decoding wherever possible

Fixes #1936

7 years agoFix typo from 9c5427e0c
Christophe Romain [Fri, 11 Aug 2017 15:54:53 +0000 (17:54 +0200)]
Fix typo from 9c5427e0c

7 years agoProcess on_user_offline only from valid sessions
Christophe Romain [Fri, 11 Aug 2017 10:05:14 +0000 (12:05 +0200)]
Process on_user_offline only from valid sessions

7 years agoFix regression introduced by b82b93f8f0c229e
Evgeniy Khramtsov [Fri, 11 Aug 2017 08:43:16 +0000 (11:43 +0300)]
Fix regression introduced by b82b93f8f0c229e

Fixes #1928

7 years agoRemove temporary debug
Christophe Romain [Fri, 11 Aug 2017 08:53:19 +0000 (10:53 +0200)]
Remove temporary debug

7 years agoUse correct c2s process sending PEP with multi devices
Christophe Romain [Fri, 11 Aug 2017 08:32:36 +0000 (10:32 +0200)]
Use correct c2s process sending PEP with multi devices

7 years agoPubSub: refactor send_last_items remove send_loop
Christophe Romain [Fri, 11 Aug 2017 08:20:33 +0000 (10:20 +0200)]
PubSub: refactor send_last_items remove send_loop

7 years agoMerge pull request #1926 from weiss/import-metronome-pep
Christophe Romain [Fri, 11 Aug 2017 08:19:17 +0000 (10:19 +0200)]
Merge pull request #1926 from weiss/import-metronome-pep

prosody2ejabberd: Support PEP import

7 years agoprosody2ejabberd: Support PEP import
Holger Weiss [Thu, 10 Aug 2017 17:49:20 +0000 (19:49 +0200)]
prosody2ejabberd: Support PEP import

7 years agoprosody2ejabberd: Remove superfluous 'catch'
Holger Weiss [Thu, 10 Aug 2017 16:54:00 +0000 (18:54 +0200)]
prosody2ejabberd: Remove superfluous 'catch'

7 years agoRename remove_room hook back
Evgeniy Khramtsov [Thu, 10 Aug 2017 11:49:05 +0000 (14:49 +0300)]
Rename remove_room hook back

7 years agoAdd support of section 4.9.3.16 on rfc6120
Christophe Romain [Thu, 10 Aug 2017 10:17:31 +0000 (12:17 +0200)]
Add support of section 4.9.3.16 on rfc6120

7 years agoFix pubsub send_loop after 3fec7824
Christophe Romain [Wed, 9 Aug 2017 09:34:36 +0000 (11:34 +0200)]
Fix pubsub send_loop after 3fec7824

7 years agoMerge pull request #1912 from mathiasertl/master
badlop [Wed, 9 Aug 2017 07:48:18 +0000 (09:48 +0200)]
Merge pull request #1912 from mathiasertl/master

fix FIREWALL_WINDOW option

7 years agofix typo
Mathias Ertl [Tue, 8 Aug 2017 17:09:55 +0000 (19:09 +0200)]
fix typo

7 years agoIntroduce 'hosts' option
Evgeniy Khramtsov [Tue, 8 Aug 2017 14:46:26 +0000 (17:46 +0300)]
Introduce 'hosts' option

The option can be used as a replacement of 'host' option
when several (sub)domains are needed to be registered for the module.
Note that you cannot combine both 'host' and 'hosts' in the config
because 'host' option is of a higher priority. Example:

mod_pubsub:
   ...
   hosts:
     - "pubsub1.@HOST@"
     - "pubsub2.@HOST@"

Fixes #1883

7 years agoFix tests for 8679cfd2f
Christophe Romain [Mon, 7 Aug 2017 13:38:17 +0000 (15:38 +0200)]
Fix tests for 8679cfd2f

7 years agoRename stop_all_connections to stop_s2s_connections for consistency
Christophe Romain [Mon, 7 Aug 2017 13:06:07 +0000 (15:06 +0200)]
Rename stop_all_connections to stop_s2s_connections for consistency

7 years agoCompile mod_push early as it defines behaviour
PaweÅ\82 Chmielowski [Mon, 7 Aug 2017 07:32:41 +0000 (09:32 +0200)]
Compile mod_push early as it defines behaviour

7 years agoGet rid of export_all
Evgeniy Khramtsov [Sat, 5 Aug 2017 18:01:29 +0000 (21:01 +0300)]
Get rid of export_all

7 years agoReplace gen_fsm with p1_fsm to avoid warnings in OTP20+
Evgeniy Khramtsov [Sat, 5 Aug 2017 17:58:21 +0000 (20:58 +0300)]
Replace gen_fsm with p1_fsm to avoid warnings in OTP20+

7 years agoMerge remote-tracking branch 'processone/pr/1914'
Holger Weiss [Sat, 5 Aug 2017 17:27:43 +0000 (19:27 +0200)]
Merge remote-tracking branch 'processone/pr/1914'

* processone/pr/1914:
  ejabberd_c2s: Fix priority of 'certfile' option

7 years agoejabberd_c2s: Fix priority of 'certfile' option
Holger Weiss [Sat, 5 Aug 2017 16:59:32 +0000 (18:59 +0200)]
ejabberd_c2s: Fix priority of 'certfile' option

Use the 'certfile' listener option rather than a 'domain_certfile' for
ejabberd_c2s listeners that have "tls: true" configured.  A
'domain_certfile' should only be preferred for STARTTLS connections.

Closes #1911.

7 years agofix FIREWALL_WINDOW option
Mathias Ertl [Fri, 4 Aug 2017 16:49:33 +0000 (18:49 +0200)]
fix FIREWALL_WINDOW option

7 years agoFix warning in previous commit
Badlop [Fri, 4 Aug 2017 11:09:17 +0000 (13:09 +0200)]
Fix warning in previous commit

7 years agoMerge pull request #1881 from weiss/push
Christophe Romain [Fri, 4 Aug 2017 10:58:06 +0000 (12:58 +0200)]
Merge pull request #1881 from weiss/push

Support XEP-0357: Push Notifications

7 years agoRemove unused 'managers' option, related to the deferred XEP-0321 (#1443)
Badlop [Fri, 4 Aug 2017 10:26:07 +0000 (12:26 +0200)]
Remove unused 'managers' option, related to the deferred XEP-0321 (#1443)

7 years agoFix missing validation from 633b68db1 (#1900)
Christophe Romain [Fri, 4 Aug 2017 09:53:32 +0000 (11:53 +0200)]
Fix missing validation from 633b68db1 (#1900)

7 years agoAdd minor details (#1353)
Christophe Romain [Fri, 4 Aug 2017 08:34:13 +0000 (10:34 +0200)]
Add minor details (#1353)

7 years agoPrepare packaging for 17.08
Christophe Romain [Thu, 3 Aug 2017 14:55:56 +0000 (16:55 +0200)]
Prepare packaging for 17.08

7 years agoKeep disco#info on PEP compatible with XEP-0060 (#1717)
Christophe Romain [Thu, 3 Aug 2017 13:48:23 +0000 (15:48 +0200)]
Keep disco#info on PEP compatible with XEP-0060 (#1717)

7 years agoMove pubsub sql export to pubsub_db_sql module
Christophe Romain [Thu, 3 Aug 2017 13:34:01 +0000 (15:34 +0200)]
Move pubsub sql export to pubsub_db_sql module

7 years agoFix Xref from 5dcc97c
Christophe Romain [Thu, 3 Aug 2017 12:54:06 +0000 (14:54 +0200)]
Fix Xref from 5dcc97c

7 years agoChange policy of user_resources command
Paweł Chmielowski [Thu, 3 Aug 2017 11:48:57 +0000 (13:48 +0200)]
Change policy of user_resources command

This fixes issue #1908

7 years agoPreliminary export PubSub data from Mnesia tables to SQL file (#1571)
Badlop [Thu, 3 Aug 2017 08:52:44 +0000 (10:52 +0200)]
Preliminary export PubSub data from Mnesia tables to SQL file (#1571)

7 years agoMerge branch 'master' of github.com:processone/ejabberd
Christophe Romain [Wed, 2 Aug 2017 12:36:43 +0000 (14:36 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

7 years agoFix clustering table reg_users_counter (#1889)
Christophe Romain [Wed, 2 Aug 2017 12:36:32 +0000 (14:36 +0200)]
Fix clustering table reg_users_counter (#1889)

7 years agoMerge pull request #1837 from marcphilipp/feature/set_room_affiliation_test
Christophe Romain [Wed, 2 Aug 2017 12:34:30 +0000 (14:34 +0200)]
Merge pull request #1837 from marcphilipp/feature/set_room_affiliation_test

Add integration test for set_room_affiliation