Commit Graph

4981 Commits (ea02029f89765e64e0032bbe29112dfc41c2ec4e)
 

Author SHA1 Message Date
Travis Ralston be35311559 s/should/must for redaction algorithm
This feels like it was a mistake some time ago considering the redaction algorithm is used in very strict algorithms like event signing.
5 years ago
Travis Ralston 0300a3cab4 Move redaction algorithm into room version specification
We stick it in a client section of v1 as the earliest version to define the algorithm is v1, and the client-server spec tells clients to use this algorithm.
5 years ago
Travis Ralston 2b6086d87c Add changelog entries
It's a bit awkward that this shows up as a backwards compatible change, but it's also not breaking.
5 years ago
Travis Ralston b11cf560b5 Add spec for new alias handling (client-server)
MSC: https://github.com/matrix-org/matrix-doc/pull/2432

This commit does not deal with areas which will be covered by the room version specifications (namely the redaction algorithm).

It feels a bit overly cruel to completely obliterate all mentions of `m.room.aliases` from the spec as client/server developers may encounter the event type in the wild. To ensure that CTRL+F still works, a brief mention that they do nothing has been put in place, leaving no other references (except the redaction algorithm - see previous paragraph).
5 years ago
Travis Ralston 1388742a52 Mention that we use OpenAPI 3's response code format
See comments of https://github.com/matrix-org/matrix-doc/pull/2238
5 years ago
Travis Ralston 8220de58bd Drop loudly and instead encourage 5 years ago
Travis Ralston 04e8244dbc
Clarify various bits of wording
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
5 years ago
Travis Ralston 74b627ac0b Fix the response format of the `/send` endpoint
Fixes https://github.com/matrix-org/matrix-doc/issues/2236
5 years ago
Travis Ralston 3875d50de8 Add missing changelog 5 years ago
Patrick Cloke 07716711f1
Give more guidance on how invalid events should be handled.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
5 years ago
Kegsay 86d4a6f786
Merge pull request #2559 from matrix-org/kegan/backfill-wording
Make backfill wording clearer
5 years ago
Kegsay fc91946e5a
Update api/server-server/backfill.yaml
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
5 years ago
Kegan Dougal 9765116c47 Make backfill wording clearer 5 years ago
Patrick Cloke f5ebe33a9c Reword how bad values are handled. 5 years ago
Travis Ralston 10e4ad72ca
Clarify retention of information for soft logout
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
5 years ago
Travis Ralston 05e83f2e7d Fix more describes -> describe 5 years ago
Travis Ralston 0e771c7b07
Merge pull request #2547 from matrix-org/travis/spec/1802-fix-200
Spec v2 send_join and send_leave endpoints
5 years ago
Travis Ralston 7c0046ffc7 describes -> describe 5 years ago
Travis Ralston d419e3b38a Remove extraneous spaces 5 years ago
Travis Ralston 77d83b9ce5 Clarify that soft logout is about client state 5 years ago
Travis Ralston c2d5516517 Clobber changelogs 5 years ago
Travis Ralston 749be9ddf2
Merge pull request #2554 from deepbluev7/number-fixes
Fix some numbers in the spec text.
5 years ago
Travis Ralston f9af712e1b
Merge pull request #2526 from uhoreg/e2e_delete_backup
MSC2526: Add ability to delete key backups
5 years ago
Travis Ralston ddeb695b97
Use 'several' in place of counting 5 years ago
Nicolas Werner a7e7496cd6 Fix some numbers in the spec text.
Odds were not written as an exponent.
Special tag names count was not updated.

Fixes #2550

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
5 years ago
Matthew Hodgson b8f13ac35e
Merge pull request #2553 from Dominaezzz/patch-1
Fix Typo
5 years ago
Dominic Fischer c3582e5fc6
Add changelog 5 years ago
Dominic Fischer 28d460fb62
Fix Typo 5 years ago
Travis Ralston 19cac03305
Update specification/client_server_api.rst
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
5 years ago
Travis Ralston a2a1694c35 Spec v2 send_join and send_leave endpoints
MSC: https://github.com/matrix-org/matrix-doc/pull/1802

Fixes https://github.com/matrix-org/matrix-doc/issues/2541

This also adds the v2 invite endpoint to the ACL protected list as that appears to be an omission.
5 years ago
Travis Ralston 54102b8d36 Clarify wording per review suggestions 5 years ago
Travis Ralston a15fe3723d Merge master into MSC2342 spec 5 years ago
Travis Ralston b4beb05dde Remove excess whitespace 5 years ago
Travis Ralston bd26a41114 off by one error 5 years ago
Travis Ralston d24f15a3a9 Spec soft-logout per MSC1466
MSC: https://github.com/matrix-org/matrix-doc/issues/1466
5 years ago
Hubert Chathi bac9afa124 document error codes and remove a statement that isn't true 5 years ago
Patrick Cloke e5fa76c8ed
Clarify range a bit more. 5 years ago
Patrick Cloke 007c8b5799
Clarify the range of valid values. 5 years ago
Patrick Cloke 0b6301ac80
Fix grammar and typos from review.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
5 years ago
Travis Ralston 560eb6df71
Fix MSC reference 5 years ago
Patrick Cloke 6757c60d35
Specify the current stable room versions.
Co-authored-by: Travis Ralston <travpc@gmail.com>
5 years ago
Travis Ralston 7eafe5a1d9
Merge pull request #2538 from matrix-org/travis/spec/clarify-num-ev-limit
Clarify the limits of prev_events and auth_events
5 years ago
Patrick Cloke 03588cbf0d Be clearer about errors and what to do with current room versions. 5 years ago
Patrick Cloke bbbd9c4c33
Update wording to avoid demand-style language.
Co-authored-by: Travis Ralston <travpc@gmail.com>
5 years ago
Travis Ralston d8e6e17bd3 Incorporate integers MSC 5 years ago
Patrick Cloke 11587a5384 Small clarification. 5 years ago
Patrick Cloke 7797c18727 Add MSC2540 for stricter validation of event JSON. 5 years ago
Travis Ralston 05228bf40b ``s -> s`` 5 years ago
Travis Ralston 9599c3bc99 changelog 5 years ago
Travis Ralston 42ae5c966a Clarify the limits of prev_events and auth_events
Fixes https://github.com/matrix-org/matrix-doc/issues/2307

These restrictions are due to a Synapse change which never made it to the spec prior to the MSC process. This is therefore documenting an omission.

Synapse's numbers are verified here: 207b1737ee/synapse/handlers/federation.py (L1183-L1213)

... and Synapse's handling of the backfill endpoint is described here: 207b1737ee/synapse/handlers/federation.py (L829-L837)

This also includes a mention that https://github.com/matrix-org/matrix-doc/pull/1594 should render the `auth_events` limitation unnecessary. 

No changes are required to the the "checks on receipt of a PDU" section of the server-server spec as it starts with "must be a valid event", to which an event is invalid if it contains too many prev or auth events.
5 years ago