Commit Graph

884 Commits

Author SHA1 Message Date
Travis Ralston 1c7a6a9c7f Attempt to clarify how the `state` restriction works for lazy-loading 2020-08-31 15:16:55 -06:00
Kitsune Ral 5a699f2650
Merge pull request from matrix-org/kitsune/cleanup
Assorted cleanup pieces
2020-07-23 08:42:41 +02:00
Olivier Wilkinson (reivilibre) 2e72da2343 Fix spec bug concerning the type of a push rule's array of actions
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-07-06 13:14:27 +01:00
Aaron Raimist f8ff2ad6a9
Reword "UI Authorization" to "User-Interactive Authentication" ()
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-07-06 11:19:41 +01:00
Hubert Chathi a91c6446bc
Merge pull request from uhoreg/backup_version_required
various key backups fixes
2020-07-01 12:04:40 -04:00
Jonas Platte 049275c33b
Consistently use the title UnsignedData for the unsigned object 2020-06-19 20:16:20 +02:00
Kitsune Ral c76d53c11a
Apply suggestions from code review 2020-06-18 11:03:43 +02:00
Hubert Chathi 24427242f7 fix more mistakes in key backup spec, and factor out room key backups 2020-06-16 17:00:29 -04:00
Hubert Chathi af6e1157d9 version is required when getting keys. Also add some full stops. 2020-06-16 14:23:10 -04:00
Nicolas Werner e3d12d6769 Remove room_id from /sync examples
Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
2020-06-11 18:27:00 +02:00
Kitsune Ral e310736adb
Merge pull request from matrix-org/kitsune/structures
Use public_rooms_response.yaml instead of replicating the same definition
2020-06-11 07:36:28 +02:00
Kitsune Ral 57f0c8346f message_pagination.yaml: more $ref cleanup 2020-06-11 07:32:12 +02:00
Kitsune Ral d3b41941aa key_backup.yaml: make body parameters required
Along the same lines as c72d3051.
2020-06-10 21:16:54 +02:00
Kitsune Ral 8e7c0dfb93 Merge remote-tracking branch 'origin/master' into kitsune/cleanup 2020-06-10 21:14:49 +02:00
Kitsune Ral 49ccfa09a8
Merge pull request from matrix-org/kitsune/fix-room-versions
capabilities.yaml: drop an extraneous title
2020-06-06 17:47:15 +02:00
Richard van der Hoff f632f4a20f
Clarify link to OpenID Connect specification ()
OpenID Connect and OpenID are different things. This seems to be talking about
the former.
2020-06-04 17:36:40 +01:00
Travis Ralston 29f23a5eda
Merge pull request from matrix-org/travis/typos
Fix typos and clarify the user ID in login sections
2020-06-03 11:40:05 -06:00
Hubert Chathi cf37688b7c
Merge pull request from uhoreg/key_backup_spec
initial version of spec for key backups
2020-06-02 16:28:04 -04:00
Hubert Chathi a36284810d more clarifications and fixes 2020-06-02 16:25:31 -04:00
Travis Ralston d9a1de1d30 Fix typos and clarify the user ID in login sections 2020-06-02 08:13:07 -06:00
Hubert Chathi 40c50c80ea
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-06-01 22:34:45 -04:00
Kitsune Ral bda05a0d44 capabilities.yaml: drop an extraneous title
AvailableRoomVersions sticks itself as a property type, preempting
the mention of RoomVersionStability in the generated text.
2020-06-01 09:50:18 +02:00
Kitsune Ral 3b5340539d c2s: Make allOf and description siblings throughout the PR
The overall mess with allOf will be addressed separately; this PR just
puts $ref under allOf to fix the glaring misuse of $ref objects.
2020-05-28 14:40:29 +02:00
Kitsune Ral 48af2e5b47 joining.yaml: put descriptions next to their properties
Fixing the problem described in https://github.com/matrix-org/matrix-doc/pull/2518#issuecomment-621684187
2020-05-28 14:17:01 +02:00
Kitsune Ral 040a91f42d api/: More cleanup in descriptions
(and a fix in one example).
2020-05-28 14:11:47 +02:00
Kitsune Ral f299f60e17 Use public_rooms_response.yaml instead of replicating the same definition
Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
2020-05-28 14:01:47 +02:00
Kitsune Ral 6cfb94562e c2s: clean up $ref objects
* Most of the changes: align to the $ref object definition
  (https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03#section-3)
  that says that any attribute other than $ref be ignored.
* Remove extraneous leading ./ in $ref paths
* Fix an apparent typo in registration.yaml:
  /account/password/msisdn/requestToken used a file from ../identity/*
  instead of its c2s namesake.
2020-05-28 13:55:37 +02:00
Travis Ralston c3289614da
Merge pull request 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 04a26dafd0
Merge pull request 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 9bdafab2a4
Merge pull request 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
Kitsune Ral c72d30513e c2s: Add required: true to request bodies 2020-05-25 19:08:17 +02: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 36ed6e94a2 Re-introduce signature schemas 2020-05-25 08:16:10 -06:00
Hubert Chathi 5b38c04e19 make definition of signatures fields more consistent 2020-05-22 15:50:32 -04: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
Dominic Fischer 28d460fb62
Fix Typo 2020-05-16 21:35:26 +01: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 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
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
Hubert Chathi a896729ac2 some more clarifications and indentation fixes 2020-05-06 17:11:41 -04:00
Hubert Chathi 0145191d43 add links to endpoints and add delete endpoint 2020-05-05 20:00:45 -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
Hubert Chathi e0b4a3c912
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-05-05 17:02:16 -04:00
Hubert Chathi 0d2924841b
Merge pull request from uhoreg/e2e_misc_fixes_202005
misc fixes in e2ee spec
2020-05-05 16:10:27 -04:00