This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Rename MSC2716 things from chunk
to batch
to match /batch_send
endpoint
#10838
Merged
MadLittleMods
merged 11 commits into
develop
from
madlittlemods/2716-rename-chunk-to-batch
Sep 21, 2021
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4d3ed3c
Rename MSC2716 things from chunk to batch to match /batch_send endpoint
MadLittleMods 5833b3a
Merge branch 'develop' into madlittlemods/2716-rename-chunk-to-batch
MadLittleMods 1786113
Forgotten chunk -> batch
MadLittleMods 176c8a9
Add SQL changes
MadLittleMods 4318525
Add changelog
MadLittleMods 15b7dae
Fix typo
MadLittleMods 75a74be
Add punctuation to changelog
MadLittleMods 88e626e
Go nuclear for SQLite column renames
MadLittleMods 76c1211
Merge branch 'develop' into madlittlemods/2716-rename-chunk-to-batch
MadLittleMods fb905e6
Fix sql syntax
MadLittleMods c181de0
Merge branch 'develop' into madlittlemods/2716-rename-chunk-to-batch
MadLittleMods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Rename [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) fields and event types from `chunk` to `batch` to match the `/batch_send` endpoint. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,24 +244,8 @@ class RoomVersions: | |
msc2716_historical=False, | ||
msc2716_redactions=False, | ||
) | ||
MSC2716 = RoomVersion( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping support for older MSC2716 room versions so we don't have to worry about |
||
"org.matrix.msc2716", | ||
RoomDisposition.UNSTABLE, | ||
EventFormatVersions.V3, | ||
StateResolutionVersions.V2, | ||
enforce_key_validity=True, | ||
special_case_aliases_auth=False, | ||
strict_canonicaljson=True, | ||
limit_notifications_power_levels=True, | ||
msc2176_redaction_rules=False, | ||
msc3083_join_rules=False, | ||
msc3375_redaction_rules=False, | ||
msc2403_knocking=True, | ||
msc2716_historical=True, | ||
msc2716_redactions=False, | ||
) | ||
MSC2716v2 = RoomVersion( | ||
"org.matrix.msc2716v2", | ||
MSC2716v3 = RoomVersion( | ||
"org.matrix.msc2716v3", | ||
RoomDisposition.UNSTABLE, | ||
EventFormatVersions.V3, | ||
StateResolutionVersions.V2, | ||
|
@@ -289,9 +273,9 @@ class RoomVersions: | |
RoomVersions.V6, | ||
RoomVersions.MSC2176, | ||
RoomVersions.V7, | ||
RoomVersions.MSC2716, | ||
RoomVersions.V8, | ||
RoomVersions.V9, | ||
RoomVersions.MSC2716v3, | ||
) | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erikjohnston Assigned you because this rename is more a taste making decision vs code and I didn't have many opinions on it in matrix-org/matrix-spec-proposals#2716 (comment)