diff --git a/changelog.d/378.misc b/changelog.d/378.misc new file mode 100644 index 00000000..fb755f4b --- /dev/null +++ b/changelog.d/378.misc @@ -0,0 +1 @@ +Case-fold email addresses when binding to MXIDs or performing look-ups. Contributed by H. Shay. diff --git a/res/matrix-org/migration_template.eml b/res/matrix-org/migration_template.eml deleted file mode 100644 index 28bb95af..00000000 --- a/res/matrix-org/migration_template.eml +++ /dev/null @@ -1,37 +0,0 @@ -Date: %(date)s -From: %(from)s -To: %(to)s -Message-ID: %(messageid)s -Subject: %(subject_header_value)s -MIME-Version: 1.0 -Content-Type: multipart/alternative; - boundary="%(multipart_boundary)s" - ---%(multipart_boundary)s -Content-Type: text/plain; charset=UTF-8 -Content-Disposition: inline - -Hello, - -We’ve recently improved how people discover your Matrix account. -In the past, identity services did not take capitalization into account when creating and storing Matrix IDs. We’ve now updated this behavior so anyone can find you, no matter how your email is capitalized. As part of this recent update, the duplicate Matrix ID %(mxid)s is no longer associated with this e-mail address. - -No action is needed on your part. This doesn’t affect any passwords or password reset options on your account. - - -About Matrix: - -Matrix.org is an open standard for interoperable, decentralised, real-time communication -over IP, supporting group chat, file transfer, voice and video calling, integrations to -other apps, bridges to other communication systems and much more. It can be used to power -Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication - or anywhere -you need a standard HTTP API for publishing and subscribing to data whilst tracking the -conversation history. - -Matrix defines the standard, and provides open source reference implementations of -Matrix-compatible Servers, Clients, Client SDKs and Application Services to help you -create new communication solutions or extend the capabilities and reach of existing ones. - -Thanks, - -Matrix diff --git a/res/matrix-org/migration_template.eml.j2 b/res/matrix-org/migration_template.eml.j2 new file mode 100644 index 00000000..8a36c33f --- /dev/null +++ b/res/matrix-org/migration_template.eml.j2 @@ -0,0 +1,143 @@ +Date: {{ date|safe }} +From: {{ from|safe }} +To: {{ to|safe }} +Message-ID: {{ messageid|safe }} +Subject: {{ subject_header_value|safe }} +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="{{ multipart_boundary|safe }}" + +--{{ multipart_boundary|safe }} +Content-Type: text/plain; charset=UTF-8 +Content-Disposition: inline + +Hello, + +We’ve recently improved how people discover your Matrix account. +In the past, identity services took capitalisation into account when storing email +addresses. This means Alice@example.com and alice@example.com would be considered to be +two different addresses, and could be associated with different Matrix accounts. We’ve +now updated this behaviour so anyone can find you, no matter how your email is capitalised. +As part of this recent update, we've dissociated the Matrix account {{ mxid|safe }} from +this e-mail address. +No action is needed on your part. This doesn’t affect any passwords or password reset +options on your account. + + +About Matrix: + +Matrix.org is an open standard for interoperable, decentralised, real-time communication +over IP, supporting group chat, file transfer, voice and video calling, integrations to +other apps, bridges to other communication systems and much more. It can be used to power +Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication - or anywhere +you need a standard HTTP API for publishing and subscribing to data whilst tracking the +conversation history. + +Matrix defines the standard, and provides open source reference implementations of +Matrix-compatible Servers, Clients, Client SDKs and Application Services to help you +create new communication solutions or extend the capabilities and reach of existing ones. + +Thanks, + +Matrix + +--{{ multipart_boundary|safe }} +Content-Type: text/html; charset=UTF-8 +Content-Disposition: inline + + + + + + + + + + + + + +
+ + + + + +
+
+ +

Hello,

+ +

+ We’ve recently improved how people discover your Matrix account.
+ In the past, identity services took capitalisation into account when storing email + addresses. This means Alice@example.com and alice@example.com would be considered to + be two different addresses, and could be associated with different Matrix accounts. + We’ve now updated this behaviour so anyone can find you, no matter how your email is + capitalised. As part of this recent update, we've dissociated the Matrix account + {{ mxid|safe }} from this e-mail address.
+ No action is needed on your part. This doesn’t affect any passwords or password reset + options on your account. +

+ +
+

About Matrix:

+ +

Matrix.org is an open standard for interoperable, decentralised, real-time communication +over IP, supporting group chat, file transfer, voice and video calling, integrations to +other apps, bridges to other communication systems and much more. It can be used to power +Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication - or anywhere +you need a standard HTTP API for publishing and subscribing to data whilst tracking the +conversation history.

+ +

Matrix defines the standard, and provides open source reference implementations of +Matrix-compatible Servers, Clients, Client SDKs and Application Services to help you +create new communication solutions or extend the capabilities and reach of existing ones.

+ +

Thanks,

+ +

Matrix

+
+ + + +--{{ multipart_boundary|safe }}-- diff --git a/res/vector-im/migration_template.eml.j2 b/res/vector-im/migration_template.eml.j2 new file mode 100644 index 00000000..adf7af3d --- /dev/null +++ b/res/vector-im/migration_template.eml.j2 @@ -0,0 +1,166 @@ +Date: {{ date|safe }} +From: {{ from|safe }} +To: {{ to|safe }} +Message-ID: {{ messageid|safe }} +Subject: {{ subject_header_value|safe }} +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="{{ multipart_boundary|safe }}" + +--{{ multipart_boundary|safe }} +Content-Type: text/plain; charset=UTF-8 +Content-Disposition: inline + +Hello, + +We’ve recently improved how people discover your Matrix account. +In the past, identity services took capitalisation into account when storing email +addresses. This means Alice@example.com and alice@example.com would be considered to be +two different addresses, and could be associated with different Matrix accounts. We’ve +now updated this behaviour so anyone can find you, no matter how your email is capitalised. +As part of this recent update, we've dissociated the Matrix account {{ mxid|safe }} from +this e-mail address. +No action is needed on your part. This doesn’t affect any passwords or password reset +options on your account. + +Thanks, + +Element + + +About Element: + +Break through - Element allows teams to communicate across a wide range of collaboration +apps. If some team members use Element while others use IRC, Slack or Gitter, Element will +allow these team members to seamlessly work together. Element offers the richest +network of communication bridges. + +Own Your Own Data - No one should control your communication and data but you. Element +lets you run your own server, and provides users and teams with the most advanced +crypto ratchet technology available today for a decentralized secure Internet. + +Open Source - Element is entirely open source: all the code is published on GitHub +(Apache License) for anyone to see and extend. This means teams can customize or +contribute to the code and everyone can benefit from the speed of community innovation. + +Made on Matrix - Element is built on top of Matrix. Matrix is an open network for secure, +decentralized communication delivering a community of users, bridged networks, +integrated bots and applications plus full end-to-end encryption. To learn more about +Matrix visit https://matrix.org. + +--{{ multipart_boundary|safe }} +Content-Type: text/html; charset=UTF-8 +Content-Disposition: inline + + + + + + + + + + + + + +
+ + + + + +
+
+ +

Hello,

+ +

+ We’ve recently improved how people discover your Matrix account.
+ In the past, identity services took capitalisation into account when storing email + addresses. This means Alice@example.com and alice@example.com would be considered to + be two different addresses, and could be associated with different Matrix accounts. + We’ve now updated this behaviour so anyone can find you, no matter how your email is + capitalised. As part of this recent update, we've dissociated the Matrix account + {{ mxid|safe }} from this e-mail address.
+ No action is needed on your part. This doesn’t affect any passwords or password reset + options on your account. +

+ +

Thanks,

+ +

Element

+ +
+

About Element:

+ +

Break through - Element allows teams to communicate across a wide range of collaboration +apps. If some team members use Element while others use IRC, Slack or Gitter, Element will +allow these team members to seamlessly work together. Element offers the richest +network of communication bridges.

+ +

Own Your Own Data - No one should control your communication and data but you. Element +lets you run your own server, and provides users and teams with the most advanced +crypto ratchet technology available today for a decentralized secure Internet.

+ +

Open Source - Element is entirely open source: all the code is published on GitHub +(Apache License) for anyone to see and extend. This means teams can customize or +contribute to the code and everyone can benefit from the speed of community innovation.

+ +

Made on Matrix - Element is built on top of Matrix. Matrix is an open network for secure, +decentralized communication delivering a community of users, bridged networks, +integrated bots and applications plus full end-to-end encryption. To learn more about +Matrix visit https://matrix.org.

+ +
+ + + +--{{ multipart_boundary|safe }}--