Software / code / prosody-modules
Annotate
mod_admin_blocklist/README.md @ 6303:d73cae8d80ce
mod_cloud_notify: actually fix labels
diff --git a/mod_cloud_notify/README.md b/mod_cloud_notify/README.md
--- a/mod_cloud_notify/README.md
+++ b/mod_cloud_notify/README.md
@@ -1,7 +1,7 @@
----
--labels:
--- 'Stage-Beta'
--summary: 'XEP-0357: Cloud push notifications'
+labels:
+- 'Stage-Beta'
+summary: 'XEP-0357: Cloud push notifications'
----
# Introduction
| author | Menel <menel@snikket.de> |
|---|---|
| date | Fri, 13 Jun 2025 10:48:20 +0200 |
| parent | 6297:502963b86fbc |
| child | 6306:fe0a58b863db |
| rev | line source |
|---|---|
| 1855 | 1 --- |
| 6103 | 2 summary: Block s2s connections based on admin blocklist |
|
6004
bd0b4d8aa94e
mod_admin_blocklist: Update README Compability Section
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
3 labels: |
|
bd0b4d8aa94e
mod_admin_blocklist: Update README Compability Section
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
4 - 'Stage-Beta' |
| 1855 | 5 ... |
| 6 | |
| 7 This module uses the blocklists set by admins for blocking s2s | |
| 8 connections. | |
| 9 | |
|
2315
212564152060
mod_admin_blocklist/README: Autolinks!
Kim Alvefur <zash@zash.se>
parents:
2314
diff
changeset
|
10 So if an admin blocks a bare domain using [Blocking Command][xep191] |
|
2316
2a2de19413e7
mod_admin_blocklist/README: Turns out autolink.lua doesn't know about official modules
Kim Alvefur <zash@zash.se>
parents:
2315
diff
changeset
|
11 via [mod\_blocklist][doc:modules:mod_blocklist] then no s2s connections |
|
2a2de19413e7
mod_admin_blocklist/README: Turns out autolink.lua doesn't know about official modules
Kim Alvefur <zash@zash.se>
parents:
2315
diff
changeset
|
12 will be allowed to or from that domain. |
|
5017
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
13 |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
14 # Configuring |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
15 |
|
6004
bd0b4d8aa94e
mod_admin_blocklist: Update README Compability Section
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
16 The role or roles that determine whether a |
|
5017
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
17 particular users blocklist is used can be configured: |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
18 |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
19 ```lua |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
20 -- This is the default: |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
21 admin_blocklist_roles = { "prosody:operator", "prosody:admin" } |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
22 ``` |
|
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
23 |
| 6103 | 24 # Compatibility |
|
5017
96e83b4a93f7
mod_admin_blocklist: Add config option for which role(s) to consider (0.12+)
Kim Alvefur <zash@zash.se>
parents:
2316
diff
changeset
|
25 |
| 6103 | 26 Prosody-Version Status |
|
6297
502963b86fbc
:multble modules: fix tab-> space
Menel <menel@snikket.de>
parents:
6296
diff
changeset
|
27 ------------ ------ |
|
502963b86fbc
:multble modules: fix tab-> space
Menel <menel@snikket.de>
parents:
6296
diff
changeset
|
28 trunk* Works |
|
502963b86fbc
:multble modules: fix tab-> space
Menel <menel@snikket.de>
parents:
6296
diff
changeset
|
29 13 Works |
|
502963b86fbc
:multble modules: fix tab-> space
Menel <menel@snikket.de>
parents:
6296
diff
changeset
|
30 0.12 Works |
|
6004
bd0b4d8aa94e
mod_admin_blocklist: Update README Compability Section
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
31 |
|
6296
1661f6a74141
Multible community modules: Update Readme
Menel <menel@snikket.de>
parents:
6103
diff
changeset
|
32 *as of 2025-06-13 |