Commit Graph

1416 Commits (98aedb5556fe4a89331c01fd4553e039746e55b1)

Author SHA1 Message Date
Hugh Nimmo-Smith 98aedb5556 Suggestions from @uhoreg 3 months ago
Hugh Nimmo-Smith 0e1dd7c033 Add table of contents 3 months ago
Hugh Nimmo-Smith 34ade3c1ac Min and mix rendezvous timeouts
See https://github.com/matrix-org/matrix-spec-proposals/pull/4108#discussion_r1575855901
4 months ago
Hugh Nimmo-Smith 2dc580e85f Feedback from review
See https://github.com/matrix-org/matrix-spec-proposals/pull/4108#discussion_r1954778980
4 months ago
Hugh Nimmo-Smith bb5f080baa Update links from spec 1.10 to 1.15 4 months ago
Hugh Nimmo-Smith 3545ca0498 Update to match spec 1.15 and MSC4341 4 months ago
Hugh Nimmo-Smith 0b315f5439
Update 4108-oidc-qr-login.md
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
1 year ago
Hugh Nimmo-Smith 87f8317a90 Use server name rather than base URL and clarify well-known discovery 2 years ago
Hugh Nimmo-Smith 73da95a970
Fix originator of m.login.declined
Co-authored-by: Damir Jelić <poljar@termina.org.uk>
2 years ago
Hugh Nimmo-Smith f49fd7f582
Fix m.login.failure reason typo
Co-authored-by: Damir Jelić <poljar@termina.org.uk>
2 years ago
Hugh Nimmo-Smith 02f18e1a30
Fix description of 304 GET response 2 years ago
Hugh Nimmo-Smith 0ca3dea0bd The If-Match header on PUT requests contains the ETag 2 years ago
Hugh Nimmo-Smith 76f175b011 Use unstable prefix for errcode 2 years ago
Hugh Nimmo-Smith fe939bed89 Cross signing is mandatory
The user must having cross signing set up and the private keys available on the existing device for the process to complete.
2 years ago
Hugh Nimmo-Smith fbb30ec812
Set max payload size to 4KB and fix content-type as text/plain (#4134)
* Set max payload size and fix content-type as text/plain

* Set max payload size to 4KB
2 years ago
Hugh Nimmo-Smith 4f9a4a42e6 Rendezvous sessions should have a fixed lifetime and allow enough time to complete login 2 years ago
Hugh Nimmo-Smith e12945c5fd Fix POST endpoint and Location references 2 years ago
Hugh Nimmo-Smith 25e8fcb2c3 Remove references to rendezvous session ID 2 years ago
Hugh Nimmo-Smith 289a810f60
Add missing device id check step to sequence diagram 2 years ago
Denis Kasak aa37af9b38
Tweaks to the QR code login crypto (#4129)
- Derive separate encryption keys and nonces for the two sides of the secure channel
- Spell out HKDF parameters in text too
- Misc style fixes

---------

Co-authored-by: Damir Jelić <poljar@termina.org.uk>
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2 years ago
Hugh Nimmo-Smith ad31acf891 More formatting 2 years ago
Hugh Nimmo-Smith d8c62ed866 Whitespace 2 years ago
Hugh Nimmo-Smith e1f7367b55 Formatting 2 years ago
Hugh Nimmo-Smith a81491ca2b Add error codes 2 years ago
Hugh Nimmo-Smith a302c39faf Add Cache-Control and Pragma HTTP response headers 2 years ago
Hugh Nimmo-Smith 4e425afe49 Define POST response body explicitly 2 years ago
Hugh Nimmo-Smith 5d6fb4a21d Merge branch 'element-hq/oidc-qr-login' of https://github.com/matrix-org/matrix-spec-proposals into element-hq/oidc-qr-login 2 years ago
Hugh Nimmo-Smith db759eacce Resolve some more TODOs 2 years ago
Hugh Nimmo-Smith 9cd724f500
Fix broken link 2 years ago
Hugh Nimmo-Smith 38eb66151e Notes on threat model 2 years ago
Hugh Nimmo-Smith 21ae2cac8a Lint 2 years ago
Hugh Nimmo-Smith 24e2242f8d Add description of QR format 2 years ago
Hugh Nimmo-Smith 2830e88bfc Description of rendezvous session API 2 years ago
Hugh Nimmo-Smith f34bec334a Cheat spell checker 2 years ago
Hugh Nimmo-Smith f54e194584 High level description of rendezvous protocol and consistency in payload vs message 2 years ago
Hugh Nimmo-Smith 177a2db95a Auto numbers don't work on non-sequential items 2 years ago
Hugh Nimmo-Smith f7bbba3991 WIP of MSC4108 2 years ago
Hugh Nimmo-Smith d90eda1529 MSC4108 2 years ago
Hugh Nimmo-Smith 6e42f10bcc Placeholder 2 years ago
Tulir Asokan ef5baec8a4 MSC2530: Body field as media caption (#2530)
* Proposal to use body field as media caption

* Add paragraph about relation-based captions being difficult for bridges

* Clarify how to treat body when filename is not present

* Refactor proposal text

* Fix heading size

* Add problem statement

* Add links to and quotes from current spec

* Adjust wording and quote m.audio body spec

* Clarify that m.location and m.sticker are out of scope for this proposal

* Add examples and summary of changes

* Fix JSON syntax in example
2 years ago
Travis Ralston 9eaf81f715 home server -> homeserver
https://github.com/matrix-org/matrix-spec-proposals/pull/4041#discussion_r1480455030
2 years ago
Thomas Halwax 555b5d76d9
MSC4041: http header Retry-After for http code 429 (#4041)
* http header Retry-After for http code 429

* MSC id

* Update proposals/4041-retry-after-header-rate-limiting.md

Thanks for the advice! What a stupid mistake!

Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>

* notes on backward compatibility

* fixes https://github.com/matrix-org/matrix-spec-proposals/pull/4041#discussion_r1299385626

* fixed typos

* made calculation of the Retry-After header value less explicit

* Update proposals/4041-retry-after-header-rate-limiting.md

Co-authored-by: Will Hunt <will@half-shot.uk>

* retry_after_ms gets deprecated

* explicit advice for server and client

* * moved deprecation into proposal
* made Retry-After is a delay

---------

Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
Co-authored-by: Will Hunt <will@half-shot.uk>
2 years ago
Travis Ralston 1c38196798 MSC2705: Animated thumbnails for media (#2705)
* Proposal to support animated thumbnails

* add implementation note

* Apply suggestions from code review

Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>

* Clean up the MSC

* Appease the keepers of mimetypes

---------

Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
2 years ago
Janne Mareike Koschinski 4b00da27a1
MSC3981: `/relations` recursion (#3981)
* Initial Draft for MSC 3981: /relations recursion

Signed-off-by: Janne Mareike Koschinski <jannemk@element.io>

* fix accidentally copy-pasted title

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Remove unnecessarily specific sentence

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Add warning to avoid unlimited recursion

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Clean-up links in MSC

* Apply reviewer suggestions

* More clarifications on examples

* Address feedback on formatting

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Address feedback on linking related specs

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Rephrase technical definition of the parameter

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Correct mistake in examples

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Rephrase paragraph on O(n+1) issue

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* fix: correct mixup between event type and rel type

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* feat: add clarification for why this was needed

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* feat: add clarification for how it affects intermediate events

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* feat: add clarification for how it affects intermediate events

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Add /version unstable feature flag

* feat: improve phrasing of unstable prefix section

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* feat: add clarification for how clients can make use of this

Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>

* Clarify unstable features map

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Attempt at resolving the discussion threads for 3981.

Largely removes the talk about topological vs chronological ordering as I
don't really see what it was trying to express either, other than the fact
that a client fetching relations by recursing manually would give no ordering
information, which is what I've reduced it to.

* Add note that security is discussed elsewhere.

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Add recursion_depth response parameter.

* Note that recursion_depth is sent un-prefixed.

* Add summary of security discussions

---------

Signed-off-by: Janne Mareike Koschinski <jannemk@element.io>
Signed-off-by: Janne Mareike Koschinski <janne.koschinski@matrix.org>
Co-authored-by: Travis Ralston <travisr@matrix.org>
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Michael Weimann <michaelw@element.io>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2 years ago
Travis Ralston c015c5bb56 MSC2701: Clarifying `Content-Type` usage in the media repo (#2701)
* Proposal to clarify how Content-Type works with media

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Modernize wording

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2 years ago
Travis Ralston 209a99a658 MSC2702: Specifying semantics for Content-Disposition on media (#2702)
* Proposal to introduce sane Content-Disposition semantics

* Update proposals/2702-media-content-disposition.md

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Update for the year 2023

* Clarify thumbnails receiving Content-Disposition header

* Clarify layering

* Update proposals/2702-media-content-disposition.md

Co-authored-by: David Baker <dbkr@users.noreply.github.com>

* Fix wording

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Clarify wording

* Add clarifying words

* Adjust security section

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2 years ago
Travis Ralston 902caeaf2b
Fix MSC3930's unstable prefix references (#4082) 2 years ago
Travis Ralston e5eb721d37
MSC3381: Polls (mk II) (#3381)
* Polls (mk II)

* m.poll.start

* m.poll.* types

* Allow multiple selections

* Give moderators access to closing polls

* Mention freeform edits

* Mention how edits are a security issue

* Enforce minimum and maximum length

* Rename open and secret

* Mention message pinning

* Update unstable definition for polls

* Rework responses into aggregations/annotations

* Note how answer IDs should be unique

* Mention MSC3523

* Revert change to annotations

* Mention how to handle invalid closure events

* Only count the first closure

* Add push rules

* spelling

* Clarify the extensible events structure

* Fix wording of answer handling in start event

* Clarify how the push rules work, and add one for ending polls

* WIP rewrite of polls to consider content blocks system

* Finish the polls rewrite

* Remove notifications

* Update links and MSC1767 behaviour

* Remove excess artifact

* Note UISI problems in potential issues section

* Note why MSC3523 is a bad idea

* Update proposals/3381-polls.md

Co-authored-by: Maxime NATUREL <46314705+mnaturel@users.noreply.github.com>

* Update MSC

* Update proposals/3381-polls.md

Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>

* Typo: event layering

* Minor clarifications from non-blocking review feedback

---------

Co-authored-by: Maxime NATUREL <46314705+mnaturel@users.noreply.github.com>
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2 years ago
Will Hunt d4df1d9d43
MSC1929: Homeserver Admin Contact and Support page (#1929)
* Create 1929-admin-contact.md

* Update 1929-admin-contact.md

* recommended

* clarify backup contact address

* Update 1929-admin-contact.md

* s/mxid/matrix_id/

* s/email/email_address/

* Update proposals/1929-admin-contact.md

Co-Authored-By: Hubert Chathi <hubert@uhoreg.ca>

* Cleanup

* Clarify hostname in endpoint definition.

Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>

* Fix contact formatting

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update admins -> contacts

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Mark that role is required and namespaced.

* Use `m.` prefix

* Apply suggestions from code review

---------

Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2 years ago
Shay 294b051579
MSC4026: Allow `/versions` to optionally accept authentication (#4026) 2 years ago