Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room Version 6 #2563

Merged
merged 7 commits into from
May 27, 2020
Merged

Room Version 6 #2563

merged 7 commits into from
May 27, 2020

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented May 21, 2020

Fixes #1727

Reviewing this commit-by-commit might be best as it tells a bit of a story.

MSCs implemented:

  • MSC2240 - Room version 6 scope
  • MSC2209 - Including notifications in power level auth rules.
  • MSC2432 - Alias event authorisation and redaction.
  • MSC2540 - Integers in canonical JSON compliance.

Note: Most of MSC2432 is specified in #2562

turt2live added 6 commits May 20, 2020 22:14
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.
This feels like it was a mistake some time ago considering the redaction algorithm is used in very strict algorithms like event signing.
MSC: #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.
@turt2live
Copy link
Member Author

Implementation for all this is linked off from matrix-org/synapse#7500

Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm other than the couple nits below. Diff colorization is cool too.

specification/rooms/v1.rst Show resolved Hide resolved
specification/rooms/v6.rst Outdated Show resolved Hide resolved
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
@turt2live
Copy link
Member Author

(will land this when the release scripts are ready, as merging this immediately puts it live and we have to update the index anyways)

@turt2live turt2live merged commit e14cf35 into master May 27, 2020
@turt2live turt2live deleted the travis/spec/2240-and-assoc--r-v6 branch May 27, 2020 13:15
@richvdh richvdh added merged A proposal whose PR has merged into the spec! and removed merged A proposal whose PR has merged into the spec! labels Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release Queued for the next release of the spec release-blocker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put a big red box somewhere that says floats are banned
3 participants