From 731442bf8a254a280a6b6d7e76b7aa32de74a16b Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 1 Feb 2019 11:31:14 +0100 Subject: [PATCH 01/11] Fix typos. "Chat Maker" should be "Chat Marker" --- xep-0333.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xep-0333.xml b/xep-0333.xml index 31c31db6..86582e12 100644 --- a/xep-0333.xml +++ b/xep-0333.xml @@ -156,7 +156,7 @@

If the sender determines that the recipient's client supports the Chat Markers protocol then it MAY send a Chat Marker or markable message to that full JID.

-

To prevent looping, an entity MUST NOT send a Chat Maker to mark up to a Chat Marker.

+

To prevent looping, an entity MUST NOT send a Chat Marker to mark up to a Chat Marker.

@@ -211,7 +211,7 @@

Clients SHOULD use &xep0136; or &xep0313; to support offline updating of Chat Markers. Chat Markers SHOULD be archived, so they can be fetched and set regardless of whether the other users in a chat are online.

Messages MUST have an 'id' to use Chat Markers.

Messages MUST include the 'markable' element to use Chat Markers.

-

Chat Markers MUST only move forward. If a Chat Maker is received for an earlier message than the current Chat Marker, it MUST be ignored by the client. +

Chat Markers MUST only move forward. If a Chat Marker is received for an earlier message than the current Chat Marker, it MUST be ignored by the client.

Chat Markers for unknown messages MUST be ignored by the client. A client MAY store the Chat Marker incase the associated message is retrieved later.

From 53c9d4a4f88182b319a5f67b3bb5ed7442098c19 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 5 Feb 2019 01:15:01 +0100 Subject: [PATCH 02/11] xep-0284: Fix xmlns in disco#info examples XEP-0030 was from the `http://jabber.org/protocol/*` era, nothing else uses `http://xmpp.org/protocol`. This appears to be a mistake, which is corrected in this commit. --- xep-0284.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xep-0284.xml b/xep-0284.xml index 029a7cb5..398a5ae2 100644 --- a/xep-0284.xml +++ b/xep-0284.xml @@ -265,13 +265,13 @@ to='kingclaudius@shakespeare.lit/castle' id='disco1'> type='get'> - + ]]>

If the host supports Shared XML Editing over XMPP, it MUST return features of "urn:xmpp:sxe:0" and "urn:xmpp:jingle:transports:sxe" &NSNOTE;:

- + ... From a1d73e79ac09b8a0fdb2bb8dcc04ea50a81f023f Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 6 Feb 2019 17:52:47 +0100 Subject: [PATCH 03/11] XEP-0410: added @by according to Council Feedback --- xep-0410.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0410.xml b/xep-0410.xml index f2e05a9b..bcaeb00f 100644 --- a/xep-0410.xml +++ b/xep-0410.xml @@ -140,7 +140,7 @@ - + From 160145b9152fbae62620637a70830e91b597987e Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Thu, 17 Jan 2019 16:25:03 +0100 Subject: [PATCH 04/11] XEP-0156: Add implementation notes suggesting CORS Adding `Access-Control-Allow-Origin: *` header allows web clients hosted on different domains access connection settings for target servers. This change adds similar suggestion that is already present in XEP-0363 HTTP Upload [0]. See: https://mail.jabber.org/pipermail/standards/2019-January/035645.html See: https://mail.jabber.org/pipermail/standards/2019-February/035778.html [0]: https://xmpp.org/extensions/xep-0363.html#impl --- xep-0156.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xep-0156.xml b/xep-0156.xml index b7ec140d..bdda0af8 100644 --- a/xep-0156.xml +++ b/xep-0156.xml @@ -231,7 +231,14 @@ _xmppconnect IN TXT "_xmpp-client-websocket=wss://web.example.com:443/ws" ]]> - + +

To make connection discovery work in web clients (including those hosted on a different domain) the host service SHOULD set appropriate CORS headers for Web Host Metadata files. The exact headers and values are out of scope of this document but may include: Access-Control-Allow-Origin, Access-Control-Allow-Methods and Access-Control-Allow-Headers.

+

Due care has to be exercised in limiting the scope of Access-Control-Allow-Origin response header to Web Host Metadata files only.

+ +

Access-Control-Allow-Origin header with a value of * allows JavaScript code running on a different domain to read the content of Web Host Metadata files. Special value * ensures that the request will only succeed if it is invoked without user credentials (e.g. cookies, HTTP authentication).

+

It is possible that advertisement of alternative connection methods can introduce security vulnerabilities, since a connecting entity (usually a client) might deliberately seek to connect using the method with the weakest security mechanisms (e.g., no channel encryption or relatively weak authentication). Care needs to be taken in determining which alternative connection methods are appropriate to advertise.

Entities that use these connection methods MUST conform to the security considerations of each method, for example by preferring to use 'https' or 'wss' URLs that are protected using Transport Layer Security (TLS).

From 053f87346c4031b99f27824b6d3e7c00f2a06227 Mon Sep 17 00:00:00 2001 From: Sergey Ilinykh Date: Thu, 7 Feb 2019 00:32:29 +0300 Subject: [PATCH 05/11] XEP-0261: Fixed sid in example 10. Must match with one in --- xep-0261.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0261.xml b/xep-0261.xml index 32943f27..2ba93207 100644 --- a/xep-0261.xml +++ b/xep-0261.xml @@ -260,7 +260,7 @@ Initiator Responder type='set'> ]]>
From 78b69152b7815fa0260aa95094a8ac1b8e6be6f9 Mon Sep 17 00:00:00 2001 From: Sergey Ilinykh Date: Thu, 7 Feb 2019 01:16:22 +0300 Subject: [PATCH 06/11] XEP-0167: fixed wrong action in example 50 --- xep-0167.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0167.xml b/xep-0167.xml index 66d7a768..b341810e 100644 --- a/xep-0167.xml +++ b/xep-0167.xml @@ -1592,7 +1592,7 @@ Romeo Juliet to='romeo@montague.lit/orchard' type='set'> From 6b7e52624691e12bf6d287f94d94523a02197373 Mon Sep 17 00:00:00 2001 From: Sergey Ilinykh Date: Tue, 12 Feb 2019 10:38:25 +0300 Subject: [PATCH 07/11] XEP-0260: mode attr must not be included when sent by responder accroding to requirements above --- xep-0260.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/xep-0260.xml b/xep-0260.xml index 8e9eb807..85ceb8cf 100644 --- a/xep-0260.xml +++ b/xep-0260.xml @@ -248,7 +248,6 @@ Initiator Responder Date: Fri, 15 Feb 2019 12:22:30 +0100 Subject: [PATCH 08/11] XEP-0313 (editorial): add bumped version into changelog --- xep-0313.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0313.xml b/xep-0313.xml index c638bc80..883e22e7 100644 --- a/xep-0313.xml +++ b/xep-0313.xml @@ -53,7 +53,7 @@ 2017-02-17 dg, mw -

Namespace bump

+

Namespace bump from mam:1 to mam:2

Added method for server to communicate the archive id

Incorporated editorial clarifications based on implementation feedback

Clarifications on the topics of message ordering, message deletion and use of the protocol for synchronization

From ce6997567861ba6fb3c00b9a95696ba86b7a9092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 20 Feb 2019 15:52:24 +0100 Subject: [PATCH 09/11] XEP-0156: add revision block --- xep-0156.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xep-0156.xml b/xep-0156.xml index bdda0af8..21febf7e 100644 --- a/xep-0156.xml +++ b/xep-0156.xml @@ -25,6 +25,12 @@ &hildjj; &stpeter; &lance; + + 1.2.0 + 2019-02-20 + wk +

Add information about CORS header usage and requirements

+
1.1.5 2018-09-30 From 5ec271144aabd8d9b9c2ff79f837b68bfb111dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 20 Feb 2019 16:03:04 +0100 Subject: [PATCH 10/11] XEP-0284: add version block --- xep-0284.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xep-0284.xml b/xep-0284.xml index 398a5ae2..6ca7a893 100644 --- a/xep-0284.xml +++ b/xep-0284.xml @@ -33,6 +33,12 @@ Pusateri pusateri@bangj.com + + 0.1.1 + 2019-02-20 + ka +

Fix use of incorrect namespace in examples

+
0.1 2010-07-02 From 3783d712d443036c5f939289d29b0352d7da233c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 20 Feb 2019 16:05:48 +0100 Subject: [PATCH 11/11] XEP-0410: add revision block --- xep-0410.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xep-0410.xml b/xep-0410.xml index bcaeb00f..dd444b71 100644 --- a/xep-0410.xml +++ b/xep-0410.xml @@ -29,6 +29,12 @@ georg@op-co.de georg@yax.im + + 0.3.0 + 2019-02-20 + gl + Incorporate council feedback: use @by on error elements + 0.2.0 2019-02-04