Changeset - d8198174bcb6
[Not reviewed]
0 3 0
Branko Majic (branko) - 5 years ago 2020-11-22 15:55:00
branko@majic.rs
MAR-173: Enabled blocklist module in Prosody configuration.
3 files changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
docs/releasenotes.rst
Show inline comments
 
@@ -146,24 +146,29 @@ upgrade to Python 3.x, dropping support for Python 2.7.
 
* ``mail_forwader`` role
 

	
 
  * The role now supports specifying the maximum mail message size
 
    limit for the SMTP server to accept via
 
    ``mail_message_size_limit`` role parameter.
 

	
 
* ``mail_server`` role
 

	
 
  * The role now supports specifying the maximum mail message size
 
    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
 
    <https://xmpp.org/extensions/xep-0191.html>`_.
 

	
 
**Deprecations:**
 

	
 
* ``backup_server`` and ``backup_client`` role
 

	
 
  * Officially dropped support for DSA keys (this was mainly remnant
 
    from Debian 8 Jessie support, on Debian 9 Stretch and upwards the
 
    DSA keys were not supported at all).
 

	
 

	
 
4.0.0
 
-----
 

	
roles/xmpp_server/molecule/default/tests/test_default.py
Show inline comments
 
@@ -283,24 +283,25 @@ def test_prosody_configuration_validity(host):
 

	
 
    assert check_config.rc == 0, check_config.stdout
 

	
 

	
 
def test_enabled_modules(host):
 
    """
 
    Tests if correct modules have been enabled.
 
    """
 

	
 
    expected_modules = [
 
        "admin_adhoc",
 
        "announce",
 
        "blocklist",
 
        "dialback",
 
        "disco",
 
        "legacyauth",
 
        "pep",
 
        "ping",
 
        "posix",
 
        "private",
 
        "register",
 
        "roster",
 
        "saslauth",
 
        "time",
 
        "tls",
roles/xmpp_server/templates/prosody.cfg.lua.j2
Show inline comments
 
@@ -8,24 +8,25 @@ admins = { {% for admin in xmpp_administrators %}"{{ admin }}", {% endfor %} }
 
modules_enabled = {
 

	
 
  -- Generally required
 
    "roster"; -- Allow users to have a roster. Recommended ;)
 
    "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
 
    "tls"; -- Add support for secure TLS on c2s/s2s connections
 
    "dialback"; -- s2s dialback support
 
    "disco"; -- Service discovery
 
    "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
 

	
 
  -- 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
 
    "version"; -- Replies to server version requests
 
    "uptime"; -- Report how long server has been running
 
    "time"; -- Let others know the time here on this server
 
    "ping"; -- Replies to XMPP pings with pongs
 
    "pep"; -- Enables users to publish their mood, activity, playing music and more
 
    "register"; -- Allow users to register on this server using a client and change passwords
 

	
 
  -- Admin interfaces
 
    "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
0 comments (0 inline, 0 general)