Commit Graph

58 Commits (41bb8e5b92f87c404583ab42715af89931a59f28)

Author SHA1 Message Date
Will Hunt acf44d7d28
Add m.login.appservice to the spec (#3324)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Hubert Chathi <hubertc@matrix.org>
Co-authored-by: Travis Ralston <travisr@matrix.org>
3 years ago
Richard van der Hoff 5e3ea11050
Replace "Pagination" section in C-S API with text in appendices (#3366)
The Pagination section in the C-S API was, basically, full of rubbish. I think that anything of any value it contained was repeated either directly on the API definitions or in the text specific to syncing at https://spec.matrix.org/unstable/client-server-api/#syncing.

The conventions I've added to the Appendices are based on the discussions in #1898. They are there because I don't want to have to go through it all again next time we add a paginated API.

Fixes: #1898
Fixes: #2268
3 years ago
Richard van der Hoff dd0cc92ba8
Start a 'conventions' section in the Appendices (#3350)
I wanted a section for "here's what new APIs ought to do", which isn't really
very useful for consumers of the existing APIs.
3 years ago
Michael[tm] Smith 24810745c2
Drop Origin & Accept from Access-Control-Allow-Headers value
This change drops the Origin and Accept header names from the
recommended value for the CORS Access-Control-Allow-Headers header. Per
the CORS protocol, it’s not necessary or useful to include them.

Per-spec at https://fetch.spec.whatwg.org/#forbidden-header-name, Origin
is a “forbidden header name” set by the browser and that frontend
JavaScript code is never allowed to set.

So the value of Access-Control-Allow-Headers isn’t relevant to Origin or
in general to other headers set by the browser itself — the browser
never ever consults the Access-Control-Allow-Headers value to confirm
that it’s OK for the request to include an Origin header.

And per-spec at https://fetch.spec.whatwg.org/#cors-safelisted-request-header,
Accept is a “CORS-safelisted request-header”, which means that browsers
allow requests to contain the Accept header regardless of whether the
Access-Control-Allow-Headers value contains "Accept".

So it’s unnecessary for the Access-Control-Allow-Headers to explicitly
include Accept. Browsers will not perform a CORS preflight for requests
containing an Accept request header.

Related: Related: https://github.com/matrix-org/synapse/pull/10114

Signed-off-by: Michael[tm] Smith <mike@w3.org>
4 years ago
Hubert Chathi e201f4977e Deprecate verifications that don't begin with a request. 4 years ago
Travis Ralston 4fc54875b1
Merge pull request #3170 from matrix-org/travis/spec/msc2713-rm-v1-id
Remove v1 identity service API
4 years ago
Travis Ralston ab0c773d80
Merge pull request #3163 from matrix-org/travis/spec/msc2858-multisso
Describe social-sign-on (multiple SSO providers)
4 years ago
Travis Ralston 70d9deb2e8
Apply suggestions from code review
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
4 years ago
Travis Ralston e6245f667d Clarify provider naming 4 years ago
Travis Ralston 641d2adfa0
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
4 years ago
Travis Ralston b4e1a816a9 Remove v1 identity service API
Spec for https://github.com/matrix-org/matrix-doc/pull/2713
4 years ago
Travis Ralston 7458ce9fd1 Downgrade identity server failure to FAIL_PROMPT instead of FAIL_ERROR
Spec for https://github.com/matrix-org/matrix-doc/pull/2284
4 years ago
Travis Ralston 7e3f72a95c Describe social-sign-on (multiple SSO providers)
Spec for [MSC2858](https://github.com/matrix-org/matrix-doc/pull/2858)
4 years ago
Travis Ralston 315f36cf38
Merge pull request #3154 from matrix-org/travis/spec/knock-knock-whos-there
Add knocking to the spec
4 years ago
Travis Ralston 509e056dfa Fix general wording 4 years ago
Travis Ralston c27a29b361 Add knocking to the spec
Spec for https://github.com/matrix-org/matrix-doc/pull/2998
Spec for https://github.com/matrix-org/matrix-doc/pull/2403

This deliberately does not help towards fixing https://github.com/matrix-org/matrix-doc/issues/3153 in order to remain consistent with prior room versions, and to keep the diff smaller on this change. A future change will address room version legibility.
4 years ago
Hubert Chathi 4f0825f53d
Merge pull request #3149 from uhoreg/qr_codes_spec
Add spec for verification by QR codes.
4 years ago
Hubert Chathi dc8dd05c63
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
4 years ago
Hubert Chathi 06dc1acebb
Merge pull request #3151 from uhoreg/single_ssss_spec
Document Single SSSS.
4 years ago
Hubert Chathi b67ff356e8
Merge pull request #3150 from uhoreg/verification_fixes
Make SAS outline fit with key verification in DM flow.
4 years ago
Hubert Chathi b6884c20e2
Update content/client-server-api/modules/end_to_end_encryption.md
Co-authored-by: Travis Ralston <travpc@gmail.com>
4 years ago
Hubert Chathi c7df3732e3 Document Single SSSS. 4 years ago
Hubert Chathi 9e4fbfcc88 Make SAS outline fit with key verification in DM flow. 4 years ago
Hubert Chathi 1d98a7441b Add spec for verification by QR codes. 4 years ago
Hubert Chathi 10fcfdafbd Add information about using SSSS for cross-signing and key backup. 4 years ago
Hubert Chathi b91a15f7d9
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
4 years ago
Hubert Chathi 04cf7b9414 spec verification in DMs and m.key.verification.ready/done 4 years ago
Travis Ralston dec4737f40
Fix event size restriction (#3127)
Fixes https://github.com/matrix-org/matrix-doc/issues/3126
4 years ago
Travis Ralston 45fd2a2c1e
Merge pull request #3099 from matrix-org/travis/spec/MSC2801-untrusted-bodies
Sprinkle some DANGER: UNSAFE warnings over the spec about event bodies
4 years ago
Travis Ralston 745fb766a1
Apply suggestions from code review
Co-authored-by: Matthew Hodgson <matthew@matrix.org>
4 years ago
Travis Ralston 629feb4221
Merge pull request #3098 from matrix-org/travis/spec/r2-MSC2010-MSC2422-MSC2557-color-spoilers
Incorporate spoilers and `color` tag allowance
4 years ago
Travis Ralston f9f7d6108b Allow <details> and <summary> in suggested HTML subset
Specs [MSC2184](https://github.com/matrix-org/matrix-doc/pull/2184)
Based on https://github.com/matrix-org/matrix-doc/pull/3094
4 years ago
Travis Ralston 170fd9e3ae Sprinkle some DANGER: UNSAFE warnings over the spec about event bodies
Specs [MSC2801](https://github.com/matrix-org/matrix-doc/pull/2801)
Based on https://github.com/matrix-org/matrix-doc/pull/3094
4 years ago
Travis Ralston 38ea7fdc93 Incorporate spoilers and `color` tag allowance
Specs [MSC2010](https://github.com/matrix-org/matrix-doc/pull/2010)
Specs [MSC2557](https://github.com/matrix-org/matrix-doc/pull/2557)
Specs [MSC2422](https://github.com/matrix-org/matrix-doc/pull/2422)
Obsoletes https://github.com/matrix-org/matrix-doc/pull/2549
Built upon https://github.com/matrix-org/matrix-doc/pull/3094
4 years ago
wbamberg 04018206ac
Clarify the current situation wrt key derivation algorithms
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
4 years ago
Will e5658d71c1
Remove h7 and h8 headings 4 years ago
Will a133921893
A few small fixes in /data and /content 4 years ago
Will f0a7ba7acf
Fix links to rendered APIs 4 years ago
Will 83f71104f3
Update content to call the new template for event definitions 4 years ago
Will 1a21598c5c
Update content to call the new template for HTTP APIs 4 years ago
Will ea9fced092
Formatting fixes for the authentication section 4 years ago
Will fd658f674f
Fix mangling of sub/superscript in e2e module 4 years ago
Will 183ecfda03
Replace sas-emojis template 4 years ago
Will 86152613b1
Remove changelog sections 4 years ago
Will 965f573c9e
Add example that went missing 4 years ago
Will 52745160f3
Use GFM table syntax instead of raw HTML 4 years ago
Will f0a4f59bb0
Fix broken Markdown lists 4 years ago
Will 02a41edc76
Fix heading levels 4 years ago
Will 4e39200cfa
Fix internal links 4 years ago
Will 338434bfcd
Support alerts (notes, warnings, rationales) 4 years ago