Commit graph

4975 commits

Author SHA1 Message Date
Travis Ralston
09986af8fc Server-Server r0.1.4
Includes a link to r0.1.3 because we forgot
2020-05-27 07:21:59 -06:00
Travis Ralston
e14cf35c80
Merge pull request #2563 from matrix-org/travis/spec/2240-and-assoc--r-v6
Room Version 6
2020-05-27 07:15:22 -06:00
Travis Ralston
db72e7caea
Merge pull request #2575 from matrix-org/travis/clarification/send-join
Clarify the auth_chain and state requirements for /send_join
2020-05-26 14:32:48 -06:00
Travis Ralston
c3289614da
Merge pull request #2562 from matrix-org/travis/spec/2432-alias-semantics
Add spec for new alias handling (client-server)
2020-05-26 13:04:32 -06:00
Travis Ralston
4b64d80437 Remove v6 TODO
To avoid the conflict, hopefully.
2020-05-26 13:04:04 -06:00
Travis Ralston
65c6435093
Merge pull request #2570 from matrix-org/travis/clarification/s2s-auth
Clarify which server names to sign requests with
2020-05-26 12:46:56 -06:00
Travis Ralston
47c531adff
Clarify exactly which servers
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-26 12:46:50 -06:00
Travis Ralston
04a26dafd0
Merge pull request #2546 from matrix-org/travis/spec/1466-softlogout
Spec soft-logout per MSC1466
2020-05-26 12:38:48 -06:00
Travis Ralston
a5cb9c655c
It's important to say who
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-26 12:38:40 -06:00
Travis Ralston
bea6b321a5
Change the nots order
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-26 12:37:52 -06:00
Travis Ralston
d4c19a0e80
Federation
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-26 12:36:18 -06:00
Travis Ralston
9bdafab2a4
Merge pull request #2571 from matrix-org/travis/clarification/createRoom-events
Clarify that a creation event and member event are needed for createRoom
2020-05-25 13:12:27 -06:00
Travis Ralston
25f4a30b18
Merge pull request #2577 from matrix-org/travis/clarification/spelling
Fix more typos throughout the specification
2020-05-25 13:08:27 -06:00
Travis Ralston
9792921357
Merge pull request #2576 from matrix-org/travis/clarification/server-names
Clarify that server names are at least 1 character
2020-05-25 13:08:16 -06:00
Travis Ralston
56ba0c7862
Merge pull request #2574 from matrix-org/travis/clarification/member-profiles
Remove claim that profile info is exclusively managed by the server
2020-05-25 13:07:48 -06:00
Travis Ralston
2cf68945d3
Merge pull request #2572 from matrix-org/travis/clarification/1179-forward-link
Update MSC1779 to forward link to matrix.org/foundation
2020-05-25 13:07:34 -06:00
Travis Ralston
669377888e Fix more typos throughout the specification
Fixes https://github.com/matrix-org/matrix-doc/issues/2193
2020-05-25 12:31:21 -06:00
Travis Ralston
e9998c5335 Clarify that server names are at least 1 character
Fixes https://github.com/matrix-org/matrix-doc/issues/2460
2020-05-25 12:21:27 -06:00
Travis Ralston
67d46fa881 Clarify the auth_chain and state for send_join
Fixes https://github.com/matrix-org/matrix-doc/issues/2467
Fixes https://github.com/matrix-org/matrix-doc/issues/2464

This is based on looking at Synapse, not actually testing it. Within the send_join handling functions, an "event context" is acquired [here](d14c4d6b6d/synapse/handlers/federation.py (L1472)) which then later uses the previous state (populated [here](d14c4d6b6d/synapse/state/__init__.py (L286-L289)) in the event context) [here](d14c4d6b6d/synapse/handlers/federation.py (L1494-L1501)) to return a response. Within the event context, the previous state IDs are populated [here](d14c4d6b6d/synapse/state/__init__.py (L351)).
2020-05-25 11:58:50 -06:00
Hubert Chathi
a1177cbd61
Merge pull request #2566 from uhoreg/remove_string_string_string
E2E clarifications/improvements
2020-05-25 13:01:47 -04:00
Travis Ralston
06b0c1762a Move the send_join response to its own definition
Both APIs need clarification, so dedupe the changes.

We should also probably deprecate some of this stuff so we can eventually remove it.
2020-05-25 09:55:32 -06:00
Travis Ralston
e8548f3c3b Remove claim that profile info is exclusively managed by the server
Fixes https://github.com/matrix-org/matrix-doc/issues/2496
2020-05-25 09:42:54 -06:00
Travis Ralston
ac187904bb Update MSC1779 to forward link to matrix.org/foundation 2020-05-25 08:35:26 -06:00
Travis Ralston
200212ffd7 Clarify that a creation event and member event are needed for createRoom
Fixes https://github.com/matrix-org/matrix-doc/issues/2494
2020-05-25 08:33:08 -06:00
Travis Ralston
b876ac5893 Clarify which server names to sign requests with
Fixes https://github.com/matrix-org/matrix-doc/issues/2512
2020-05-25 08:27:55 -06:00
Travis Ralston
730d164df7 Add changelogs 2020-05-25 08:16:15 -06:00
Travis Ralston
36ed6e94a2 Re-introduce signature schemas 2020-05-25 08:16:10 -06:00
Travis Ralston
93f68866c5 Fix spec generation not using titles on pseudo objects 2020-05-25 08:16:05 -06:00
Travis Ralston
e9e9366804
Merge pull request #2209 from lucavb/master
MSC2209: Alter auth rules to check notifications in m.room.power_levels
2020-05-25 07:42:03 -06:00
Travis Ralston
5b0e94c6e0
Merge pull request #2240 from matrix-org/travis/msc/rooms-v6
MSC2240: Room version 6
2020-05-25 07:41:44 -06:00
Travis Ralston
e422bad0ab
Merge pull request #2540 from matrix-org/clokep/json-validation-room-ver
MSC2540: Stricter event validation: JSON compliance
2020-05-25 07:11:15 -06:00
Travis Ralston
bdd8f03fef Add changelog 2020-05-24 11:13:58 -06:00
Travis Ralston
b5ba9a008f Merge remote-tracking branch 'tulir/fix-receipts-typo' 2020-05-24 11:13:18 -06:00
Tulir Asokan
5270ed0c0a Fix typo in read markers module
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2020-05-24 14:24:49 +03:00
Hubert Chathi
6a8ba9b1d6 improve description of key object in CS and include a link in Fed 2020-05-22 16:10:16 -04:00
Hubert Chathi
5b38c04e19 make definition of signatures fields more consistent 2020-05-22 15:50:32 -04:00
Travis Ralston
e264124faa
Merge pull request #2472 from uhoreg/symmetric_ssss
MSC2472: Symmetric SSSS
2020-05-21 08:36:49 -06:00
Travis Ralston
12ecf9f383
Merge pull request #2561 from matrix-org/travis/doc-2xx-format
Mention that we use OpenAPI 3's response code format
2020-05-21 07:46:51 -06:00
Travis Ralston
ab62b6293c
Merge pull request #2560 from matrix-org/travis/clarify-txn-send
Fix the response format of the `/send` endpoint
2020-05-21 07:46:08 -06:00
Travis Ralston
899db411a3
Merge pull request #2433 from matrix-org/travis/spec/msc2324-early-releases
Attempt to convert MSC2324 (facilitating early releases of implementations) to reality
2020-05-21 07:41:45 -06:00
Travis Ralston
98416bf948 Add changelog for client-server API 2020-05-20 22:16:16 -06:00
Travis Ralston
66ab480967 Incorporate MSC2540 (Canonical JSON validation)
MSC: https://github.com/matrix-org/matrix-doc/pull/2540
2020-05-20 22:14:29 -06:00
Travis Ralston
74c51b05a4 Incorporate MSC2209 (notifications auth rules)
MSC: https://github.com/matrix-org/matrix-doc/pull/2209

The changes are slightly difficult to word without dumping the text in and playing a game of spot the difference, so we now use our pre-existing pygments support to render a representation of the difference. The difference is shown in markdown-like format instead of RST for ease of understanding. It's also not rendered HTML for largely complexity reasons.
2020-05-20 22:14:29 -06:00
Travis Ralston
a1324aa9dc Move MSC2432 (alias handling) to v6 2020-05-20 22:14:11 -06:00
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.
2020-05-20 22:14:11 -06:00
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.
2020-05-20 22:14:11 -06:00
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.
2020-05-20 20:15:09 -06:00
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).
2020-05-20 20:10:52 -06:00
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
2020-05-20 18:00:27 -06:00
Travis Ralston
8220de58bd Drop loudly and instead encourage 2020-05-20 17:48:13 -06:00