mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-02 07:04:09 +02:00
Compare commits
4 commits
f5e5f9cb5b
...
69ea5e0345
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69ea5e0345 | ||
|
|
fe3f43a905 | ||
|
|
4783619964 | ||
|
|
282a44f5c5 |
|
|
@ -0,0 +1 @@
|
||||||
|
M_RESOURCE_LIMIT_EXCEEDED is now listed as a common error code.
|
||||||
1
changelogs/internal/newsfragments/2241.clarification
Normal file
1
changelogs/internal/newsfragments/2241.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Inline Olm & Megolm specifications.
|
||||||
1
changelogs/internal/newsfragments/2242.clarification
Normal file
1
changelogs/internal/newsfragments/2242.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Inline Olm & Megolm specifications.
|
||||||
|
|
@ -136,6 +136,17 @@ code if the endpoint is implemented, but the incorrect HTTP method is used.
|
||||||
{{% added-in v="1.17" %}} The device ID supplied by the application service does
|
{{% added-in v="1.17" %}} The device ID supplied by the application service does
|
||||||
not belong to the user ID during [identity assertion](/application-service-api/#identity-assertion).
|
not belong to the user ID during [identity assertion](/application-service-api/#identity-assertion).
|
||||||
|
|
||||||
|
`M_RESOURCE_LIMIT_EXCEEDED`
|
||||||
|
The request cannot be completed because the homeserver has reached a
|
||||||
|
resource limit imposed on it. For example, a homeserver held in a shared
|
||||||
|
hosting environment may reach a resource limit if it starts using too
|
||||||
|
much memory or disk space. The error MUST have an `admin_contact` field
|
||||||
|
to provide the user receiving the error a place to reach out to.
|
||||||
|
Typically, this error will appear on routes which attempt to modify
|
||||||
|
state (e.g.: sending messages, account data, etc) and not routes which
|
||||||
|
only read state (e.g.: [`/sync`](#get_matrixclientv3sync),
|
||||||
|
[`/user/{userId}/account_data/{type}`](#get_matrixclientv3useruseridaccount_datatype), etc).
|
||||||
|
|
||||||
`M_UNKNOWN`
|
`M_UNKNOWN`
|
||||||
An unknown error has occurred.
|
An unknown error has occurred.
|
||||||
|
|
||||||
|
|
@ -221,17 +232,6 @@ The request or entity was too large.
|
||||||
The resource being requested is reserved by an application service, or
|
The resource being requested is reserved by an application service, or
|
||||||
the application service making the request has not created the resource.
|
the application service making the request has not created the resource.
|
||||||
|
|
||||||
`M_RESOURCE_LIMIT_EXCEEDED`
|
|
||||||
The request cannot be completed because the homeserver has reached a
|
|
||||||
resource limit imposed on it. For example, a homeserver held in a shared
|
|
||||||
hosting environment may reach a resource limit if it starts using too
|
|
||||||
much memory or disk space. The error MUST have an `admin_contact` field
|
|
||||||
to provide the user receiving the error a place to reach out to.
|
|
||||||
Typically, this error will appear on routes which attempt to modify
|
|
||||||
state (e.g.: sending messages, account data, etc) and not routes which
|
|
||||||
only read state (e.g.: [`/sync`](#get_matrixclientv3sync),
|
|
||||||
[`/user/{userId}/account_data/{type}`](#get_matrixclientv3useruseridaccount_datatype), etc).
|
|
||||||
|
|
||||||
`M_CANNOT_LEAVE_SERVER_NOTICE_ROOM`
|
`M_CANNOT_LEAVE_SERVER_NOTICE_ROOM`
|
||||||
The user is unable to reject an invite to join the server notices room.
|
The user is unable to reject an invite to join the server notices room.
|
||||||
See the [Server Notices](#server-notices) module for more information.
|
See the [Server Notices](#server-notices) module for more information.
|
||||||
|
|
|
||||||
|
|
@ -1457,8 +1457,8 @@ readers without adding any useful extra information.
|
||||||
##### `m.olm.v1.curve25519-aes-sha2`
|
##### `m.olm.v1.curve25519-aes-sha2`
|
||||||
|
|
||||||
The name `m.olm.v1.curve25519-aes-sha2` corresponds to version 1 of the
|
The name `m.olm.v1.curve25519-aes-sha2` corresponds to version 1 of the
|
||||||
Olm ratchet, as defined by the [Olm
|
Olm ratchet, as defined by the [Olm specification](/olm-megolm/olm).
|
||||||
specification](http://matrix.org/docs/spec/olm.html). This uses:
|
This uses:
|
||||||
|
|
||||||
- Curve25519 for the initial key agreement.
|
- Curve25519 for the initial key agreement.
|
||||||
- HKDF-SHA-256 for ratchet key derivation.
|
- HKDF-SHA-256 for ratchet key derivation.
|
||||||
|
|
@ -1631,8 +1631,8 @@ This is due to a deprecation of the fields. See
|
||||||
{{% changed-in v="1.3" %}}
|
{{% changed-in v="1.3" %}}
|
||||||
|
|
||||||
The name `m.megolm.v1.aes-sha2` corresponds to version 1 of the Megolm
|
The name `m.megolm.v1.aes-sha2` corresponds to version 1 of the Megolm
|
||||||
ratchet, as defined by the [Megolm
|
ratchet, as defined by the [Megolm specification](/olm-megolm/megolm).
|
||||||
specification](http://matrix.org/docs/spec/megolm.html). This uses:
|
This uses:
|
||||||
|
|
||||||
- HMAC-SHA-256 for the hash ratchet.
|
- HMAC-SHA-256 for the hash ratchet.
|
||||||
- HKDF-SHA-256, AES-256 in CBC mode, and 8 byte truncated HMAC-SHA-256
|
- HKDF-SHA-256, AES-256 in CBC mode, and 8 byte truncated HMAC-SHA-256
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
{{ if .Page.Store.Get "hasMath" }}
|
{{ if .Page.Store.Get "hasMath" }}
|
||||||
<link href="/css/katex.min.css" rel="preload" as="style">
|
<link href="{{ relURL "css/katex.min.css" }}" rel="preload" as="style">
|
||||||
<link href="/css/katex.min.css" rel="stylesheet">
|
<link href="{{ relURL "css/katex.min.css" }}" rel="stylesheet">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
|
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue