Commit graph

5432 commits

Author SHA1 Message Date
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.
2020-05-15 14:10:06 -06:00
Travis Ralston 54102b8d36 Clarify wording per review suggestions 2020-05-15 13:50:17 -06:00
Travis Ralston a15fe3723d Merge master into MSC2342 spec 2020-05-15 13:46:56 -06:00
Travis Ralston b4beb05dde Remove excess whitespace 2020-05-15 13:44:21 -06:00
Travis Ralston bd26a41114 off by one error 2020-05-15 13:42:08 -06:00
Travis Ralston d24f15a3a9 Spec soft-logout per MSC1466
MSC: https://github.com/matrix-org/matrix-doc/issues/1466
2020-05-15 13:41:13 -06:00
Hubert Chathi fae1165e1c spec what to do if you try to delete a backup that's already deleted 2020-05-15 12:17:37 -04:00
Hubert Chathi bac9afa124 document error codes and remove a statement that isn't true 2020-05-15 12:14:46 -04:00
Patrick Cloke e5fa76c8ed
Clarify range a bit more. 2020-05-15 10:53:26 -04:00
Patrick Cloke 007c8b5799
Clarify the range of valid values. 2020-05-15 10:52:29 -04:00
Patrick Cloke 0b6301ac80
Fix grammar and typos from review.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-05-15 10:51:41 -04:00
Hubert Chathi c196cbcf42 add introduction and discourage new implementations from using old method 2020-05-14 13:01:24 -04:00
Travis Ralston 560eb6df71
Fix MSC reference 2020-05-14 10:44:44 -06:00
Patrick Cloke 6757c60d35
Specify the current stable room versions.
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-05-14 07:22:48 -04:00
Hubert Chathi bd95568c8c remove duplicate key 2020-05-13 19:27:36 -04:00
Hubert Chathi 1bae8ea633 we actually don't support the GET /room_key/versions/ with trailing slash 2020-05-13 19:24:34 -04:00
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
2020-05-13 15:36:58 -06:00
Hubert Chathi 9ccfe61674 add some clarifications and add sharing withheld reason with other devices 2020-05-13 14:22:26 -04:00
Patrick Cloke 03588cbf0d Be clearer about errors and what to do with current room versions. 2020-05-13 14:02:50 -04:00
Patrick Cloke bbbd9c4c33
Update wording to avoid demand-style language.
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-05-13 12:50:09 -04:00
Hubert Chathi a6ae757e7a
Fix typo 2020-05-13 12:47:46 -04:00
Travis Ralston d8e6e17bd3 Incorporate integers MSC 2020-05-13 09:42:14 -06:00
Patrick Cloke 11587a5384 Small clarification. 2020-05-13 11:25:31 -04:00
Patrick Cloke 7797c18727 Add MSC2540 for stricter validation of event JSON. 2020-05-13 11:22:51 -04:00
Travis Ralston 05228bf40b `s -> s` 2020-05-12 19:13:16 -06:00
Travis Ralston 9599c3bc99 changelog 2020-05-12 19:03:53 -06:00
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.
2020-05-12 19:02:39 -06:00
Hubert Chathi f97b394591 add changelogs 2020-05-12 18:14:56 -04:00
Travis Ralston f156938821 Update v6 room proposal for modern activity 2020-05-12 16:10:14 -06:00
Travis Ralston 29d0d97b25 Merge branch 'master' into travis/msc/rooms-v6 2020-05-12 15:58:52 -06:00
Hubert Chathi a8910fe323 initial spec for cross-signing 2020-05-12 17:24:06 -04:00
Travis Ralston 3556b8457f Add changelog for 2527 2020-05-11 21:05:26 -06:00
Travis Ralston d69e5af7ab Merge remote-tracking branch 'Gnuxie/patch-1' 2020-05-11 21:04:34 -06:00
Travis Ralston 10293d6951
Merge pull request #2532 from matrix-org/clokep/sso-login
Add MSC2454 to the specification.
2020-05-11 14:02:38 -06:00
Patrick Cloke e85f6c31a3
Fix a typo found in review.
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-11 15:14:11 -04:00
Hubert Chathi 86d0d04ed1 don't include unrelated changes 2020-05-11 11:54:50 -04:00
Patrick Cloke 78f8d1322f Add MSC2454 to the specification. 2020-05-08 11:28:59 -04:00
Kitsune Ral ff59fc1905 /keys/query: Add a title in the response
The device keys structure in queryKeys is not the same as the one
defined in device_keys.yaml (it adds things on top of it).

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
2020-05-08 07:48:28 +02:00
Kitsune Ral 77783b8fc3 Remove extraneous quotes, fix a typo
filter.yaml: quotes under |- were taken literally.
notifications.yaml: it's a number in the example, not a string
2020-05-08 07:48:28 +02:00
Ben Parsons c704da1449 remove proposal 2020-05-07 15:49:18 +01:00
Ben Parsons 9065d1aa14 proposal to use existing events as captions for images 2020-05-07 15:45:33 +01:00
Richard van der Hoff 6613cd89a6
2454-ui-interactive-auth-for-sso.md: markup fix 2020-05-07 15:42:04 +01:00
Hubert Chathi a896729ac2 some more clarifications and indentation fixes 2020-05-06 17:11:41 -04:00
Gnuxie 6b8b31ce63
correct use of required annotation in json-schema
https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3
2020-05-06 17:10:39 +01:00
Hubert Chathi 0145191d43 add links to endpoints and add delete endpoint 2020-05-05 20:00:45 -04:00
Hubert Chathi 0b39308a13 rename to use msc number 2020-05-05 19:20:20 -04:00
Hubert Chathi fffed943bc proposal to add endpoint to delete backups 2020-05-05 19:18:04 -04:00
Hubert Chathi 3d1c33ed1b move API definitions into backup section 2020-05-05 18:09:35 -04:00
Hubert Chathi 5f3ee44cfb add more suggestions from review 2020-05-05 18:09:17 -04:00
Hubert Chathi 8ff1c26ef2 fix indentation 2020-05-05 17:28:54 -04:00