diff --git a/docs/releasenotes.rst b/docs/releasenotes.rst index fa39ac370c7a1f3b6da2c702e5d1076d4b194c5c..ad4f5db43c2305571222d49f3c9c329ef7469fa3 100644 --- a/docs/releasenotes.rst +++ b/docs/releasenotes.rst @@ -155,6 +155,11 @@ upgrade to Python 3.x, dropping support for Python 2.7. limit for the SMTP server to accept via ``mail_message_size_limit`` role parameter. +* ``xmpp_server`` role + + * Server now supports blocking users via `XEP-0191: Blocking Command + `_. + **Deprecations:** * ``backup_server`` and ``backup_client`` role diff --git a/roles/xmpp_server/molecule/default/tests/test_default.py b/roles/xmpp_server/molecule/default/tests/test_default.py index 4223b36f22982762ce29c6f20a14086b5b379821..7d13bcf0a6fd046c18e52ed97d93cb106ad58444 100644 --- a/roles/xmpp_server/molecule/default/tests/test_default.py +++ b/roles/xmpp_server/molecule/default/tests/test_default.py @@ -292,6 +292,7 @@ def test_enabled_modules(host): expected_modules = [ "admin_adhoc", "announce", + "blocklist", "dialback", "disco", "legacyauth", diff --git a/roles/xmpp_server/templates/prosody.cfg.lua.j2 b/roles/xmpp_server/templates/prosody.cfg.lua.j2 index 473177abe889c084e9ce0bc7379a2ed090aa9ba8..029b32dc9e0e7c53dcd7df5a6b9eaf8cf2985c47 100644 --- a/roles/xmpp_server/templates/prosody.cfg.lua.j2 +++ b/roles/xmpp_server/templates/prosody.cfg.lua.j2 @@ -17,6 +17,7 @@ modules_enabled = { -- Not essential, but recommended "private"; -- Private XML storage (for room bookmarks, etc.) + "blocklist"; -- Allow users to block communications with other users "vcard"; -- Allow users to set vCards -- Nice to have