Changeset

11010:6b27cb706b89

mod_server_contact_info: Add status-addresses field XEP-0157 version 1.1.0
author Kim Alvefur <zash@zash.se>
date Wed, 27 May 2020 19:47:52 +0200
parents 11009:74ef9f2334f3
children 11011:c079103c9172
files doc/doap.xml plugins/mod_server_contact_info.lua spec/scansion/prosody.cfg.lua spec/scansion/server_contact_info.scs
diffstat 4 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/doap.xml	Sun Jul 12 23:28:04 2020 +0200
+++ b/doc/doap.xml	Wed May 27 19:47:52 2020 +0200
@@ -284,7 +284,7 @@
     <implements>
       <xmpp:SupportedXep>
         <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0157.html"/>
-        <xmpp:version>1.0.1</xmpp:version>
+        <xmpp:version>1.1.0</xmpp:version>
         <xmpp:since>0.10</xmpp:since>
       </xmpp:SupportedXep>
     </implements>
--- a/plugins/mod_server_contact_info.lua	Sun Jul 12 23:28:04 2020 +0200
+++ b/plugins/mod_server_contact_info.lua	Wed May 27 19:47:52 2020 +0200
@@ -16,6 +16,7 @@
 	{ name = "feedback", var = "feedback-addresses", type = "list-multi" },
 	{ name = "sales", var = "sales-addresses", type = "list-multi" },
 	{ name = "security", var = "security-addresses", type = "list-multi" },
+	{ name = "status", var = "status-addresses", type = "list-multi" },
 	{ name = "support", var = "support-addresses", type = "list-multi" },
 });
 
--- a/spec/scansion/prosody.cfg.lua	Sun Jul 12 23:28:04 2020 +0200
+++ b/spec/scansion/prosody.cfg.lua	Wed May 27 19:47:52 2020 +0200
@@ -73,6 +73,7 @@
 	feedback = { "http://localhost/feedback.html", "mailto:feedback@localhost", "xmpp:feedback@localhost" };
 	sales = { "xmpp:sales@localhost" };
 	security = { "xmpp:security@localhost" };
+	status = { "gopher://status.localhost" };
 	support = { "https://localhost/support.html", "xmpp:support@localhost" };
 }
 
--- a/spec/scansion/server_contact_info.scs	Sun Jul 12 23:28:04 2020 +0200
+++ b/spec/scansion/server_contact_info.scs	Wed May 27 19:47:52 2020 +0200
@@ -42,6 +42,9 @@
 				<field type='list-multi' var='security-addresses'>
 					<value>xmpp:security@localhost</value>
 				</field>
+				<field type='list-multi' var='status-addresses'>
+					<value>gopher://status.localhost</value>
+				</field>
 				<field type='list-multi' var='support-addresses'>
 					<value>https://localhost/support.html</value>
 					<value>xmpp:support@localhost</value>