Compare commits

...

6 commits

Author SHA1 Message Date
Ivan Enderlin cc631ac0a6
Merge a0cc3f30a9 into 6897b6bfd5 2026-06-09 12:43:40 +01:00
Helix K 6897b6bfd5
Clarify that server ACLs are case-insensitive (#2334)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spec / Create release (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
* Clarify that ACLs are case-insensitive

* newsfragment

* reword

* Update changelogs/server_server/newsfragments/2334.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>

---------

Co-authored-by: Travis Ralston <travpc@gmail.com>
2026-06-08 10:32:03 -06:00
Ivan Enderlin a0cc3f30a9
fixup! 619c667 2026-05-19 17:40:47 +02:00
Ivan Enderlin f7c2b46cc3
fixup! 904736e 2026-05-19 17:40:47 +02:00
Ivan Enderlin 619c667aa6
chore: Add #2357 in `changelogs/. 2026-04-23 08:57:04 +02:00
Ivan Enderlin 904736ef0f
fix(client-server): Fix a typo in /rooms/{roomId}/relations/{eventId}.
This patch fixes a typo in `/rooms/{roomId}/relations/{eventId}`. The
specification says about the `from` request query parameter:

> The pagination token to start returning results from. If not supplied,
> results start at the most recent topological event known to the
> server.
>
> Can be a `next_batch` or `prev_batch` token from a previous call,
> or a returned `start` token from `/messages`, or a `next_batch` token
> from `/sync`.

The last part is wrong. It should be:

> … or a `prev_batch` token from `/sync`.

Signed-off-by: Ivan Enderlin <ivan@mnt.io>
2026-04-17 18:11:51 +02:00
4 changed files with 39 additions and 27 deletions

View file

@ -0,0 +1 @@
Clarify which tokens can be used in `from` or `to` in `GET /rooms/{roomId}/relations/{eventId}`.

View file

@ -0,0 +1 @@
Clarify that server ACLs are case-insensitive, as per [MSC4436](https://github.com/matrix-org/matrix-spec-proposals/pull/4436).

View file

@ -22,13 +22,13 @@ paths:
description: |-
Retrieve all of the child events for a given parent event.
Note that when paginating the `from` token should be "after" the `to` token in
terms of topological ordering, because it is only possible to paginate "backwards"
through events, starting at `from`.
Note that, in terms of topological ordering, the `from` token should be "after"
the `to` token when `dir=b`, and should be "before" the `to` token when `dir=f`.
For example, passing a `from` token from page 2 of the results, and a `to` token
from page 1, would return the empty set. The caller can use a `from` token from
page 1 and a `to` token from page 2 to paginate over the same range, however.
For example, with `dir=b`, passing a `from` token from page 2 of the results, and
a `to` token from page 1, would return the empty set. The caller can use a `from`
token from page 1 and a `to` token from page 2 to paginate over the same range,
however.
operationId: getRelatingEvents
security:
- accessTokenQuery: []
@ -80,13 +80,13 @@ paths:
Retrieve all of the child events for a given parent event which relate to the parent
using the given `relType`.
Note that when paginating the `from` token should be "after" the `to` token in
terms of topological ordering, because it is only possible to paginate "backwards"
through events, starting at `from`.
Note that, in terms of topological ordering, the `from` token should be "after"
the `to` token when `dir=b`, and should be "before" the `to` token when `dir=f`.
For example, passing a `from` token from page 2 of the results, and a `to` token
from page 1, would return the empty set. The caller can use a `from` token from
page 1 and a `to` token from page 2 to paginate over the same range, however.
For example, with `dir=b`, passing a `from` token from page 2 of the results, and
a `to` token from page 1, would return the empty set. The caller can use a `from`
token from page 1 and a `to` token from page 2 to paginate over the same range,
however.
operationId: getRelatingEventsWithRelType
security:
- accessTokenQuery: []
@ -142,13 +142,13 @@ paths:
Retrieve all of the child events for a given parent event which relate to the parent
using the given `relType` and have the given `eventType`.
Note that when paginating the `from` token should be "after" the `to` token in
terms of topological ordering, because it is only possible to paginate "backwards"
through events, starting at `from`.
Note that, in terms of topological ordering, the `from` token should be "after"
the `to` token when `dir=b`, and should be "before" the `to` token when `dir=f`.
For example, passing a `from` token from page 2 of the results, and a `to` token
from page 1, would return the empty set. The caller can use a `from` token from
page 1 and a `to` token from page 2 to paginate over the same range, however.
For example, with `dir=b`, passing a `from` token from page 2 of the results, and
a `to` token from page 1, would return the empty set. The caller can use a `from`
token from page 1 and a `to` token from page 2 to paginate over the same range,
however.
operationId: getRelatingEventsWithRelTypeAndEventType
security:
- accessTokenQuery: []
@ -252,9 +252,14 @@ components:
The pagination token to start returning results from. If not supplied, results
start at the most recent topological event known to the server.
Can be a `next_batch` or `prev_batch` token from a previous call, or a returned
`start` token from [`/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages),
or a `next_batch` token from [`/sync`](/client-server-api/#get_matrixclientv3sync).
If `dir=b`, then `from` can be `next_batch` from a previous call, or a
`prev_batch` token from a [`/sync`] or a `start` token from a [`/messages`].
If `dir=f`, then `from` can be `prev_batch` from a previous call, or a
`next_batch` token from a [`/sync`] or an `end` token from a [`/messages`].
[`/messages`]: /client-server-api/#get_matrixclientv3roomsroomidmessages
[`/sync`]: /client-server-api/#get_matrixclientv3sync
required: false
example: page2_token
schema:
@ -266,8 +271,11 @@ components:
The pagination token to stop returning results at. If not supplied, results
continue up to `limit` or until there are no more events.
Like `from`, this can be a previous token from a prior call to this endpoint
or from `/messages` or `/sync`.
Like `from`, this can be a previous token from a prior call to this endpoint,
or from [`/sync`] or [`/messages`].
[`/messages`]: /client-server-api/#get_matrixclientv3roomsroomidmessages
[`/sync`]: /client-server-api/#get_matrixclientv3sync
required: false
example: page3_token
schema:

View file

@ -62,8 +62,9 @@ properties:
allow:
type: array
description: |-
The server names to allow in the room, excluding any port information.
Each entry is interpreted as a [glob-style pattern](/appendices#glob-style-matching).
The case-insensitive [glob expressions](/appendices#glob-style-matching) that are
evaluated against server names excluding any port information to determine the servers
to allow in the room.
**This defaults to an empty list when not provided, effectively disallowing
every server.**
@ -72,8 +73,9 @@ properties:
deny:
type: array
description: |-
The server names to disallow in the room, excluding any port information.
Each entry is interpreted as a [glob-style pattern](/appendices#glob-style-matching).
The case-insensitive [glob expressions](/appendices#glob-style-matching) that are
evaluated against server names excluding any port information to determine the servers
to disallow in the room.
This defaults to an empty list when not provided.
items: