Software /
code /
prosody
Comparison
spec/scansion/prosody.cfg.lua @ 10848:7fd8976d47d7
scansion: Add test for mod_server_contact_info / XEP-0157
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 May 2020 19:44:12 +0200 |
parent | 10732:f5d88ad24b30 |
child | 10917:1eb83bc6f706 |
comparison
equal
deleted
inserted
replaced
10847:42c8dce6e765 | 10848:7fd8976d47d7 |
---|---|
50 --"http_files"; -- Serve static files from a directory over HTTP | 50 --"http_files"; -- Serve static files from a directory over HTTP |
51 | 51 |
52 -- Other specific functionality | 52 -- Other specific functionality |
53 --"limits"; -- Enable bandwidth limiting for XMPP connections | 53 --"limits"; -- Enable bandwidth limiting for XMPP connections |
54 --"groups"; -- Shared roster support | 54 --"groups"; -- Shared roster support |
55 --"server_contact_info"; -- Publish contact information for this service | 55 "server_contact_info"; -- Publish contact information for this service |
56 --"announce"; -- Send announcement to all online users | 56 --"announce"; -- Send announcement to all online users |
57 --"welcome"; -- Welcome users who register accounts | 57 --"welcome"; -- Welcome users who register accounts |
58 --"watchregistrations"; -- Alert admins of registrations | 58 --"watchregistrations"; -- Alert admins of registrations |
59 --"motd"; -- Send a message to users when they log in | 59 --"motd"; -- Send a message to users when they log in |
60 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. | 60 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. |
61 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use | 61 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use |
62 "lastactivity"; | 62 "lastactivity"; |
63 | 63 |
64 -- Useful for testing | 64 -- Useful for testing |
65 --"scansion_record"; -- Records things that happen in scansion test case format | 65 --"scansion_record"; -- Records things that happen in scansion test case format |
66 } | |
67 | |
68 contact_info = { | |
69 abuse = { "mailto:abuse@localhost", "xmpp:abuse@localhost" }; | |
70 admin = { "mailto:admin@localhost", "xmpp:admin@localhost" }; | |
71 feedback = { "http://localhost/feedback.html", "mailto:feedback@localhost", "xmpp:feedback@localhost" }; | |
72 sales = { "xmpp:sales@localhost" }; | |
73 security = { "xmpp:security@localhost" }; | |
74 support = { "https://localhost/support.html", "xmpp:support@localhost" }; | |
66 } | 75 } |
67 | 76 |
68 modules_disabled = { | 77 modules_disabled = { |
69 "s2s"; | 78 "s2s"; |
70 } | 79 } |