Commit Graph

6378 Commits (49f3db393cc0cbc30dc4150cefad1cb0b8e9e33f)
 

Author SHA1 Message Date
Hugh Nimmo-Smith 49f3db393c Missed a device_id format change 7 months ago
Hugh Nimmo-Smith 1fe39b431e
Merge branch 'element-hq/oidc-qr-login' into dkasak/oidc-qr-identity-key 7 months ago
Hugh Nimmo-Smith c91d748695 Update proof description and failure reason 7 months ago
Hugh Nimmo-Smith 289a810f60
Add missing device id check step to sequence diagram 7 months ago
Hugh Nimmo-Smith 461313312e Move proof to m.login.protocol message 7 months 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>
7 months ago
Hugh Nimmo-Smith 83064887e9 Revert secure channel changes 7 months ago
Hugh Nimmo-Smith a0fd350473
Typo 7 months ago
Hugh Nimmo-Smith ad31acf891 More formatting 7 months ago
Hugh Nimmo-Smith cc392e3367
Merge branch 'element-hq/oidc-qr-login' into dkasak/oidc-qr-login-crypto-tweaks 7 months ago
Hugh Nimmo-Smith d8c62ed866 Whitespace 7 months ago
Hugh Nimmo-Smith e1f7367b55 Formatting 7 months ago
Denis Kasak f71d295dd8 Fix m.login.success examples and document "proof" key. 7 months ago
Denis Kasak 2725967ffd More style fixes. 7 months ago
Denis Kasak 2e6c3beb84 Use HMAC-SHA256 instead of ChaCha20Poly1305 for proof of possession. 7 months ago
Denis Kasak 6c7c55a536
Apply suggestions from code review
Co-authored-by: Damir Jelić <poljar@termina.org.uk>
7 months ago
Denis Kasak db90b1ca18 Fix typo and tweak styling. 7 months ago
Denis Kasak 84326e6a17 Commit to device ID = identity key and prove ownership of that key. 7 months ago
Denis Kasak be6f22f851 Use two encryption keys and two nonces, one for each sender. 7 months ago
Denis Kasak 7007bbf361 Spell out HKDF parameters in text and change HKDF info. 7 months ago
Denis Kasak 998963bd0f Fix style. 7 months ago
Hugh Nimmo-Smith a81491ca2b Add error codes 7 months ago
Hugh Nimmo-Smith a302c39faf Add Cache-Control and Pragma HTTP response headers 7 months ago
Hugh Nimmo-Smith 4e425afe49 Define POST response body explicitly 7 months 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 7 months ago
Hugh Nimmo-Smith db759eacce Resolve some more TODOs 7 months ago
Hugh Nimmo-Smith 9cd724f500
Fix broken link 7 months ago
Hugh Nimmo-Smith 38eb66151e Notes on threat model 7 months ago
Hugh Nimmo-Smith 21ae2cac8a Lint 7 months ago
Hugh Nimmo-Smith 24e2242f8d Add description of QR format 7 months ago
Hugh Nimmo-Smith 2830e88bfc Description of rendezvous session API 7 months ago
Hugh Nimmo-Smith f34bec334a Cheat spell checker 7 months ago
Hugh Nimmo-Smith f54e194584 High level description of rendezvous protocol and consistency in payload vs message 7 months ago
Hugh Nimmo-Smith 177a2db95a Auto numbers don't work on non-sequential items 7 months ago
Hugh Nimmo-Smith f7bbba3991 WIP of MSC4108 7 months ago
Hugh Nimmo-Smith d90eda1529 MSC4108 9 months ago
Hugh Nimmo-Smith 6e42f10bcc Placeholder 9 months 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
9 months ago
Travis Ralston 9eaf81f715 home server -> homeserver
https://github.com/matrix-org/matrix-spec-proposals/pull/4041#discussion_r1480455030
9 months 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>
9 months 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>
9 months 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>
10 months 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>
10 months 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>
10 months ago
Denis Kasak fe587a7d33
Stop typos from correcting the "OT" in "OTK". (#4093) 10 months ago
Lilith Orion Hafner abe7045be7
fix typo in readme (#4087)
Signed-off-by: Lilith Orion Hafner <lilithhafner@gmail.com>
10 months ago
Travis Ralston 902caeaf2b
Fix MSC3930's unstable prefix references (#4082) 11 months 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>
11 months 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>
12 months ago
Andrew Morgan cf3f0d58be
Add an "MSC Checklist" document and link to it from various places (#4061) 1 year ago