Commit Graph

6370 Commits (element-hq/oidc-qr-login)
 

Author SHA1 Message Date
Hugh Nimmo-Smith 02f18e1a30
Fix description of 304 GET response 1 week ago
Hugh Nimmo-Smith 0ca3dea0bd The If-Match header on PUT requests contains the ETag 4 weeks ago
Hugh Nimmo-Smith 76f175b011 Use unstable prefix for errcode 4 weeks 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.
4 weeks 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
4 weeks ago
Hugh Nimmo-Smith 4f9a4a42e6 Rendezvous sessions should have a fixed lifetime and allow enough time to complete login 4 weeks ago
Hugh Nimmo-Smith e12945c5fd Fix POST endpoint and Location references 4 weeks ago
Hugh Nimmo-Smith 25e8fcb2c3 Remove references to rendezvous session ID 4 weeks ago
Hugh Nimmo-Smith 289a810f60
Add missing device id check step to sequence diagram 1 month 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>
1 month ago
Hugh Nimmo-Smith ad31acf891 More formatting 1 month ago
Hugh Nimmo-Smith d8c62ed866 Whitespace 1 month ago
Hugh Nimmo-Smith e1f7367b55 Formatting 1 month ago
Hugh Nimmo-Smith a81491ca2b Add error codes 1 month ago
Hugh Nimmo-Smith a302c39faf Add Cache-Control and Pragma HTTP response headers 1 month ago
Hugh Nimmo-Smith 4e425afe49 Define POST response body explicitly 1 month 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 1 month ago
Hugh Nimmo-Smith db759eacce Resolve some more TODOs 1 month ago
Hugh Nimmo-Smith 9cd724f500
Fix broken link 1 month ago
Hugh Nimmo-Smith 38eb66151e Notes on threat model 1 month ago
Hugh Nimmo-Smith 21ae2cac8a Lint 1 month ago
Hugh Nimmo-Smith 24e2242f8d Add description of QR format 1 month ago
Hugh Nimmo-Smith 2830e88bfc Description of rendezvous session API 1 month ago
Hugh Nimmo-Smith f34bec334a Cheat spell checker 1 month ago
Hugh Nimmo-Smith f54e194584 High level description of rendezvous protocol and consistency in payload vs message 1 month ago
Hugh Nimmo-Smith 177a2db95a Auto numbers don't work on non-sequential items 2 months ago
Hugh Nimmo-Smith f7bbba3991 WIP of MSC4108 2 months ago
Hugh Nimmo-Smith d90eda1529 MSC4108 3 months ago
Hugh Nimmo-Smith 6e42f10bcc Placeholder 3 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
3 months ago
Travis Ralston 9eaf81f715 home server -> homeserver
https://github.com/matrix-org/matrix-spec-proposals/pull/4041#discussion_r1480455030
3 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>
3 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>
3 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>
4 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>
4 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>
4 months ago
Denis Kasak fe587a7d33
Stop typos from correcting the "OT" in "OTK". (#4093) 4 months ago
Lilith Orion Hafner abe7045be7
fix typo in readme (#4087)
Signed-off-by: Lilith Orion Hafner <lilithhafner@gmail.com>
5 months ago
Travis Ralston 902caeaf2b
Fix MSC3930's unstable prefix references (#4082) 5 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>
5 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>
6 months ago
Andrew Morgan cf3f0d58be
Add an "MSC Checklist" document and link to it from various places (#4061) 7 months ago
Aminda Suomalainen 4623228eef
add simple .editorconfig (#4054)
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
8 months ago
Shay 294b051579
MSC4026: Allow `/versions` to optionally accept authentication (#4026) 9 months ago
Travis Ralston 2a73041f06
MSC3930: Polls push rules/notifications (#3930)
* Split poll notifications out to their own MSC

* Assign number

* Update proposals/3930-polls-notifications.md

* Change sync behaviour; Add links; Account for room versions

* spelling

* Update proposals/3930-polls-notifications.md

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

* Clarity around rule order

* spelling

* Use modern push rule practices

* More using of modern push rule practices

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
9 months ago
Travis Ralston 02682041b3
MSC4040: Update SRV service name to IANA registration (#4040)
* Update SRV service name to IANA registation

* rrrrrrrrrr

* Clarify step 3 changes

Co-authored-by: Hubert Chathi <hubertc@matrix.org>

* Fix security considerations

* Update SRV steps per https://github.com/matrix-org/matrix-spec/pull/1615

---------

Co-authored-by: Hubert Chathi <hubertc@matrix.org>
9 months ago
Hubert Chathi 6a3ab1d64c MSC3061: Sharing room keys for past messages (#3061)
* initial version

* use MSC number

* address comments from review

* fix list

* fix markdown

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

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
9 months ago
Patrick Cloke 43c374e361
MSC3958: Suppress notifications from message edits (#3958)
* Suppress message edits.

* Fix typo.

Co-authored-by: Sumner Evans <me@sumnerevans.com>

* Add @room.

* Match MSC title to PR.

* Add a potential issue.

* Clarify rule placement.

* Change link text.

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

* Fix typo.

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

* Add a note about mobile clients.

* Update from anoa's feedback.

* Updates for Matrix 1.7

* Update more spec links.

* Minor clarifications.

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

* Add downside about "all messages"

* Clarify again that this *does* work with all messages.

---------

Co-authored-by: Sumner Evans <me@sumnerevans.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
9 months ago
Šimon Brandner 7ad992abe5 MSC3291: Muting in VoIP calls (#3291)
* MSC: Muting in VoIP calls

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update MSC number

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Missing :

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix MSC number in prefix

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix unstable prefix table

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Reword pottential issues

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add an Alternatives section

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove trailing comma

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

* Fix a typo

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

* Fix missing word

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Link to MSC for holding

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update unstable prefixes

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplify things

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Be explicit about deps

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Be clearer about how things work

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update proposals/3291-muting.md

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

* `disabled` -> `enabled`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix client mention

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve explaination

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Be more precise

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

* Fix negation

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

* Don't refer to something that doesn't exist

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

---------

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
10 months ago
Andrew Morgan f7b3903e3b
Clarify how to make use of unstable prefixes in your MSC (#4024)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
11 months ago