Commit graph

4892 commits

Author SHA1 Message Date
Travis Ralston
74c51b05a4 Incorporate MSC2209 (notifications auth rules)
MSC: https://github.com/matrix-org/matrix-doc/pull/2209

The changes are slightly difficult to word without dumping the text in and playing a game of spot the difference, so we now use our pre-existing pygments support to render a representation of the difference. The difference is shown in markdown-like format instead of RST for ease of understanding. It's also not rendered HTML for largely complexity reasons.
2020-05-20 22:14:29 -06:00
Travis Ralston
a1324aa9dc Move MSC2432 (alias handling) to v6 2020-05-20 22:14:11 -06:00
Travis Ralston
be35311559 s/should/must for redaction algorithm
This feels like it was a mistake some time ago considering the redaction algorithm is used in very strict algorithms like event signing.
2020-05-20 22:14:11 -06:00
Travis Ralston
0300a3cab4 Move redaction algorithm into room version specification
We stick it in a client section of v1 as the earliest version to define the algorithm is v1, and the client-server spec tells clients to use this algorithm.
2020-05-20 22:14:11 -06:00
Travis Ralston
3875d50de8 Add missing changelog 2020-05-20 07:50:39 -06:00
Kegsay
86d4a6f786
Merge pull request #2559 from matrix-org/kegan/backfill-wording
Make backfill wording clearer
2020-05-20 11:07:59 +01:00
Kegsay
fc91946e5a
Update api/server-server/backfill.yaml
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-05-20 11:07:35 +01:00
Kegan Dougal
9765116c47 Make backfill wording clearer 2020-05-20 10:11:30 +01:00
Travis Ralston
05e83f2e7d Fix more describes -> describe 2020-05-19 09:55:55 -06:00
Travis Ralston
0e771c7b07
Merge pull request #2547 from matrix-org/travis/spec/1802-fix-200
Spec v2 send_join and send_leave endpoints
2020-05-19 08:11:04 -06:00
Travis Ralston
7c0046ffc7 describes -> describe 2020-05-19 08:09:19 -06:00
Travis Ralston
d419e3b38a Remove extraneous spaces 2020-05-19 08:08:31 -06:00
Travis Ralston
c2d5516517 Clobber changelogs 2020-05-18 00:24:05 -06:00
Travis Ralston
749be9ddf2
Merge pull request #2554 from deepbluev7/number-fixes
Fix some numbers in the spec text.
2020-05-18 00:21:34 -06:00
Travis Ralston
f9af712e1b
Merge pull request #2526 from uhoreg/e2e_delete_backup
MSC2526: Add ability to delete key backups
2020-05-18 00:20:44 -06:00
Travis Ralston
ddeb695b97
Use 'several' in place of counting 2020-05-18 00:19:30 -06:00
Nicolas Werner
a7e7496cd6 Fix some numbers in the spec text.
Odds were not written as an exponent.
Special tag names count was not updated.

Fixes #2550

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
2020-05-17 22:20:29 +02:00
Matthew Hodgson
b8f13ac35e
Merge pull request #2553 from Dominaezzz/patch-1
Fix Typo
2020-05-17 11:33:09 +01:00
Dominic Fischer
c3582e5fc6
Add changelog 2020-05-16 21:41:09 +01:00
Dominic Fischer
28d460fb62
Fix Typo 2020-05-16 21:35:26 +01:00
Travis Ralston
a2a1694c35 Spec v2 send_join and send_leave endpoints
MSC: https://github.com/matrix-org/matrix-doc/pull/1802

Fixes https://github.com/matrix-org/matrix-doc/issues/2541

This also adds the v2 invite endpoint to the ACL protected list as that appears to be an omission.
2020-05-15 14:10:06 -06:00
Hubert Chathi
bac9afa124 document error codes and remove a statement that isn't true 2020-05-15 12:14:46 -04:00
Travis Ralston
7eafe5a1d9
Merge pull request #2538 from matrix-org/travis/spec/clarify-num-ev-limit
Clarify the limits of prev_events and auth_events
2020-05-13 15:36:58 -06:00
Travis Ralston
05228bf40b `s -> s` 2020-05-12 19:13:16 -06:00
Travis Ralston
9599c3bc99 changelog 2020-05-12 19:03:53 -06:00
Travis Ralston
42ae5c966a Clarify the limits of prev_events and auth_events
Fixes https://github.com/matrix-org/matrix-doc/issues/2307

These restrictions are due to a Synapse change which never made it to the spec prior to the MSC process. This is therefore documenting an omission.

Synapse's numbers are verified here: 207b1737ee/synapse/handlers/federation.py (L1183-L1213)

... and Synapse's handling of the backfill endpoint is described here: 207b1737ee/synapse/handlers/federation.py (L829-L837)

This also includes a mention that https://github.com/matrix-org/matrix-doc/pull/1594 should render the `auth_events` limitation unnecessary. 

No changes are required to the the "checks on receipt of a PDU" section of the server-server spec as it starts with "must be a valid event", to which an event is invalid if it contains too many prev or auth events.
2020-05-12 19:02:39 -06:00
Travis Ralston
3556b8457f Add changelog for 2527 2020-05-11 21:05:26 -06:00
Travis Ralston
d69e5af7ab Merge remote-tracking branch 'Gnuxie/patch-1' 2020-05-11 21:04:34 -06:00
Travis Ralston
10293d6951
Merge pull request #2532 from matrix-org/clokep/sso-login
Add MSC2454 to the specification.
2020-05-11 14:02:38 -06:00
Patrick Cloke
e85f6c31a3
Fix a typo found in review.
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-05-11 15:14:11 -04:00
Patrick Cloke
78f8d1322f Add MSC2454 to the specification. 2020-05-08 11:28:59 -04:00
Ben Parsons
c704da1449 remove proposal 2020-05-07 15:49:18 +01:00
Ben Parsons
9065d1aa14 proposal to use existing events as captions for images 2020-05-07 15:45:33 +01:00
Richard van der Hoff
6613cd89a6
2454-ui-interactive-auth-for-sso.md: markup fix 2020-05-07 15:42:04 +01:00
Gnuxie
6b8b31ce63
correct use of required annotation in json-schema
https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3
2020-05-06 17:10:39 +01:00
Hubert Chathi
0b39308a13 rename to use msc number 2020-05-05 19:20:20 -04:00
Hubert Chathi
fffed943bc proposal to add endpoint to delete backups 2020-05-05 19:18:04 -04:00
Hubert Chathi
0d2924841b
Merge pull request #2524 from uhoreg/e2e_misc_fixes_202005
misc fixes in e2ee spec
2020-05-05 16:10:27 -04:00
Hubert Chathi
6ede023b35 make the changelog match others so they get combined 2020-05-05 16:06:21 -04:00
Hubert Chathi
9980b83dd4 add changelog 2020-05-05 15:54:53 -04:00
Travis Ralston
4cd4e19bf8
Merge pull request #2454 from matrix-org/clokep/ui-interactive-auth-for-sso
MSC2454: Support UI interactive auth for SSO
2020-05-05 10:28:11 -06:00
Travis Ralston
bc0c81f062
Merge pull request #2525 from matrix-org/poljar/event-id-required
client-server: Mark the event_id when putting room events as required.
2020-05-05 09:22:05 -06:00
Travis Ralston
b0e8fd648d
Apply suggestions from code review 2020-05-05 09:21:58 -06:00
Damir Jelić
3054ac572f changelogs: Fragment for the event id when putting room events clarification. 2020-05-05 12:17:54 +02:00
Damir Jelić
6e33954256 client-server: Mark the event_id when putting room events as required. 2020-05-05 12:11:51 +02:00
Hubert Chathi
e89521d195 some fixes (spelling, RST, and naming) 2020-05-04 22:08:22 -04:00
Travis Ralston
8b4cfc643f
Merge pull request #2523 from matrix-org/clokep/passwd-invalidation-spec
Add an additional parameter to the modify password API per MSC2457.
2020-05-04 14:29:41 -06:00
Patrick Cloke
1e330c9423 Clarify revocation behavior. 2020-05-04 16:23:31 -04:00
Patrick Cloke
0c582ea8c7
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-05-04 16:21:19 -04:00
Patrick Cloke
958e1b4a2e Make the spec changes for MSC 2457. 2020-05-04 14:36:52 -04:00