Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
Configure the test instance of prosody to support blocklists
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianriese committed Apr 7, 2017
1 parent 222ae7d commit f2e858a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions utils/prosody-cfg/0.10/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ modules_enabled = {
-- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.)
"vcard"; -- Allow users to set vCards

-- These are commented by default as they have a performance impact
--"blocklist"; -- Allow users to block communications with other users
"blocklist"; -- Allow users to block communications with other users
--"compression"; -- Stream compression

-- Nice to have
Expand All @@ -56,7 +56,7 @@ modules_enabled = {
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582

-- HTTP modules
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"http_files"; -- Serve static files from a directory over HTTP
Expand Down
1 change: 1 addition & 0 deletions utils/prosody-cfg/0.9/link.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
ln -s "$(pwd)/../prosody-modules/mod_storage_memory" plugins/
ln -s "$(pwd)/../prosody-modules/mod_blocking" plugins/
7 changes: 4 additions & 3 deletions utils/prosody-cfg/0.9/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ modules_enabled = {
-- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.)
"vcard"; -- Allow users to set vCards

-- These are commented by default as they have a performance impact
--"privacy"; -- Support privacy lists
"privacy"; -- Support privacy lists
"blocking"; -- Support XEP-0191 blocklists atop privacy lists
--"compression"; -- Stream compression

-- Nice to have
Expand All @@ -57,7 +58,7 @@ modules_enabled = {
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582

-- HTTP modules
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"http_files"; -- Serve static files from a directory over HTTP
Expand Down
6 changes: 3 additions & 3 deletions utils/prosody-cfg/trunk/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ modules_enabled = {
-- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.)
"vcard"; -- Allow users to set vCards

-- These are commented by default as they have a performance impact
--"blocklist"; -- Allow users to block communications with other users
"blocklist"; -- Allow users to block communications with other users
--"compression"; -- Stream compression

-- Nice to have
Expand All @@ -56,7 +56,7 @@ modules_enabled = {
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582

-- HTTP modules
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"http_files"; -- Serve static files from a directory over HTTP
Expand Down

0 comments on commit f2e858a

Please sign in to comment.