Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into clokep/push-rules-s…
Browse files Browse the repository at this point in the history
…cope
  • Loading branch information
clokep committed Jul 30, 2024
2 parents 6df63ee + 9bac118 commit 87f16c9
Show file tree
Hide file tree
Showing 157 changed files with 1,851 additions and 633 deletions.
28 changes: 15 additions & 13 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: [SCT] Release checklist
about: Used by the Spec Core Team to create a new release.
name: '[SCT] Release checklist'
about: 'Used by the Spec Core Team to create a new release.'
title: 'Matrix 1.X'
labels: 'release-blocker'
assignees: ''
Expand All @@ -16,20 +16,22 @@ Previous release: <!-- LINK TO LAST RELEASE'S CHECKLIST -->

Preflight checklist ([release steps](https://github.com/matrix-org/matrix-spec/blob/main/meta/releasing.md)):

* [ ] Pin this issue to the repo.
* [ ] Ensure the social media account holders are available for the release day.
* [ ] Blog post written
* [ ] Check for release blockers that may have been missed
* [ ] Review/fix the changelog
* [ ] Blog post written.
* [ ] Check for release blockers that may have been missed.
* [ ] Review/fix the changelog.

Release checklist ([release steps](https://github.com/matrix-org/matrix-spec/blob/main/meta/releasing.md)):
* [ ] Branch stuffs
* [ ] Github release artifact
* [ ] Published to spec.matrix.org
* [ ] All links work
* [ ] Publish blog post
* [ ] Announce in #matrix-spec, client developers, HS developers, SCT office, and other rooms as warranted
* [ ] Post to Twitter/Mastodon
* [ ] Close this issue
* [ ] Branch stuffs.
* [ ] Github release artifact.
* [ ] Published to spec.matrix.org.
* [ ] All links work.
* [ ] Publish blog post.
* [ ] Announce in #matrix-spec, client developers, HS developers, SCT office, and other rooms as warranted.
* [ ] Post to Twitter/Mastodon.
* [ ] Close this issue.
* [ ] Unpin this issue from the repo.

Known release blockers:
* [ ] <!-- Issue/PR link -->
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
- name: "➕ Setup Hugo"
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
hugo-version: '0.113.0'
hugo-version: '0.117.0'
extended: true
- name: "📥 Source checkout"
uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
id: readctx
# we need to find the PR number that corresponds to the branch, which we do by
# searching the GH API
env:
OWNER_LOGIN: ${{ github.event.workflow_run.head_repository.owner.login }}
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
run: |
head_branch='${{github.event.workflow_run.head_repository.owner.login}}:${{github.event.workflow_run.head_branch}}'
head_branch="${OWNER_LOGIN}:${HEAD_BRANCH}"
echo "head branch: $head_branch"
pulls_uri="https://api.github.com/repos/${{ github.repository }}/pulls?head=$(jq -Rr '@uri' <<<$head_branch)"
pr_number=$(curl -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' "$pulls_uri" |
Expand Down
1 change: 1 addition & 0 deletions .htmltest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
IgnoreDirectoryMissingTrailingSlash: true
DirectoryPath: spec
CheckExternal: false
IgnoreInternalEmptyHash: true
21 changes: 5 additions & 16 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ the ``newsfragments`` directory. The ``type`` can be one of the following:

* ``deprecation`` - Used when deprecating something.

* ``removal`` - Used when removing something that was unused or previously deprecated.

All news fragments must have a brief summary explaining the change in the
contents of the file. The summary must end in a full stop to be in line with
the style guide and formatting must be done using Markdown.
Expand Down Expand Up @@ -163,19 +165,6 @@ include the line in your commit or pull request comment::

Signed-off-by: Your Name <your@email.example.org>

...using your real name; unfortunately pseudonyms and anonymous contributions
can't be accepted. Git makes this trivial - just use the -s flag when you do
``git commit``, having first set ``user.name`` and ``user.email`` git configs
(which you should have done anyway :)

Private sign off
~~~~~~~~~~~~~~~~

If you would like to provide your legal name privately to the Matrix.org
Foundation (instead of in a public commit or comment), you can do so by emailing
your legal name and a link to the pull request to dco@matrix.org. It helps to
include "sign off" or similar in the subject line. You will then be instructed
further.

Once private sign off is complete, doing so for future contributions will not
be required.
Git allows you to add this signoff automatically when using the ``-s``
flag to ``git commit``, which uses the name and email set in your
``user.name`` and ``user.email`` git configs.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ place after an MSC has been accepted, not as part of a proposal itself.

1. Install the extended version (often the OS default) of Hugo:
<https://gohugo.io/getting-started/installing>. Note that at least Hugo
v0.113.0 is required.
v0.117.0 is required.

Alternatively, use the Docker image at
https://hub.docker.com/r/klakegg/hugo/. (The "extended edition" is required
Expand Down
1 change: 0 additions & 1 deletion changelogs/appendices/newsfragments/1791.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/appendices/newsfragments/1819.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/appendices/newsfragments/1823.deprecation

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1755.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1757.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1772.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1776.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1808.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1812.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1813.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1816.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1819.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1822.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/client_server/newsfragments/1829.clarification

This file was deleted.

1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1855.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rename and sort the modules in the feature profiles table for easier skimming.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1870.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the deprecated name attribute on HTML anchor elements as per [MSC4159](https://github.com/matrix-org/matrix-spec-proposals/pull/4159).
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1871.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that room avatars cannot be encrypted.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1875.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the acronyms and alternate names for the "Secrets" section.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1888.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve recommendation for how to form transaction IDs.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1890.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that the deprecated `dont_notify` and `coalesce` push rule actions MUST be ignored, not rejected.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1895.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for marking rooms as unread as per [MSC2867](https://github.com/matrix-org/matrix-spec-proposals/pull/2867).
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1897.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing references to `m.set_displayname`, `m.set_avatar_url` and `m.3pid_changes` in capabilities table.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1899.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that the fallback login page calls `window.matrixLogin.onLogin` instead of `window.onLogin`.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1903.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove confusing description of restricted rooms with no valid conditions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1905.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that `window.matrixLogin.onLogin` is called with the response body of `POST /_matrix/client/v3/login`.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1908.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the `m.get_login_token` capability as per [MSC3882](https://github.com/matrix-org/matrix-spec-proposals/pull/3882).
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1909.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The `User identifier` object in `POST /_matrix/client/v3/login` contains additional properties that depend on the identification type.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1910.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't mention that `GET /_matrix/client/v3/profile/{userId}` can return additional properties because this is true for almost every endpoint.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1765.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1769.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1770.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1771.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1773.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1775.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1781.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1786.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1787.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1788.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1789.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1793.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1794.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1796.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1797.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1798.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1799.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1800.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1801.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1802.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1803.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1804.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1805.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1806.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1809.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1814.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/internal/newsfragments/1831.clarification

This file was deleted.

1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1886.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarified "real name" in contributor requirements to match other matrix-org projects.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1907.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the `removal` changelog category.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1914.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Matrix.org Foundation no longer requires "real" or "legally identifiable" names in order to contribute to projects.
1 change: 0 additions & 1 deletion changelogs/room_versions/newsfragments/1824.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/room_versions/newsfragments/1827.clarification

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a formatting issue in v2 state res.
1 change: 0 additions & 1 deletion changelogs/server_server/newsfragments/1772.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/server_server/newsfragments/1813.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/server_server/newsfragments/1818.clarification

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/server_server/newsfragments/1834.clarification

This file was deleted.

10 changes: 7 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ description = "Home of the Matrix specification for decentralised communication"
weight = 30

[markup]
[markup.tableOfContents]
startLevel = 2
endLevel = 6
ordered = true
[markup.goldmark]
[markup.goldmark.renderer]
# Enables us to render raw HTML
Expand Down Expand Up @@ -66,8 +70,8 @@ current_version_url = "https://spec.matrix.org/latest"
# The following is used when status = "stable", and is displayed in various UI elements on a released version
# of the spec. CI will set these values here automatically when a release git tag (i.e `v1.5`) is created.
# major = "1"
# minor = "10"
# release_date = "March 22, 2024"
# minor = "11"
# release_date = "June 20, 2024"

# User interface configuration
[params.ui]
Expand Down Expand Up @@ -130,7 +134,7 @@ sidebar_menu_compact = true
[module]
[module.hugoVersion]
extended = true
min = "0.113.0"
min = "0.117.0"
[[module.imports]]
path = "github.com/matrix-org/docsy"
disable = false
13 changes: 9 additions & 4 deletions content/appendices.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ The `domain` of a user ID is the [server name](#server-name) of the
homeserver which allocated the account.

The length of a user ID, including the `@` sigil and the domain, MUST
NOT exceed 255 characters.
NOT exceed 255 bytes.

The complete grammar for a legal user ID is:

Expand Down Expand Up @@ -663,6 +663,9 @@ Room IDs are case-sensitive. They are not meant to be
human-readable. They are intended to be treated as fully opaque strings
by clients.

The length of a room ID, including the `!` sigil and the domain, MUST
NOT exceed 255 bytes.

#### Room Aliases

A room may have zero or more aliases. A room alias has the format:
Expand All @@ -673,8 +676,8 @@ The `domain` of a room alias is the [server name](#server-name) of the
homeserver which created the alias. Other servers may contact this
homeserver to look up the alias.

Room aliases MUST NOT exceed 255 bytes (including the `#` sigil and the
domain).
The length of a room alias, including the `#` sigil and the domain, MUST
NOT exceed 255 bytes.

#### Event IDs

Expand All @@ -686,10 +689,12 @@ However, the precise format depends upon the [room version
specification](/rooms): early room versions included a `domain` component,
whereas more recent versions omit the domain and use a base64-encoded hash instead.

In addition to the requirements of the room version, the length of an event ID,
including the `$` sigil and the domain where present, MUST NOT exceed 255 bytes.

Event IDs are case-sensitive. They are not meant to be human-readable. They are
intended to be treated as fully opaque strings by clients.


### URIs

There are two major kinds of referring to a resource in Matrix: matrix.to
Expand Down
Loading

0 comments on commit 87f16c9

Please sign in to comment.