Skip to content

Fix rendering of m.receipt event in Client-Server API #1637

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

Merged
merged 19 commits into from
Sep 27, 2023

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Sep 13, 2023

The fixes to make that happen also improved other parts of the spec:

Note that, for simplicity, the pattern of patternProperties is ignored because usually the description is clear enough.

Each commit can be reviewed separately.

Based on #1634 to avoid conflicts.

Closes #740.
Fixes part of #833.
Closes #1343.
Closes #1595.

Preview: https://pr1637--matrix-spec-previews.netlify.app

`type: enum` does not exist, as an enum can be of any type.

Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Removes duplicate definitions of PushRule and PushCondition

Signed-off-by: Kévin Commaille <[email protected]>
Also resolve allOf of additionalProperties.
Fixes names of objects refs and rendering of arrays

Signed-off-by: Kévin Commaille <[email protected]>
Currently the pattern is ignored as there is always only one
pattern in current definitions,
and the pattern is clear with the descriptions.
First step to render `m.receipt` event

Signed-off-by: Kévin Commaille <[email protected]>
…object

Fixes rendering of m.receipt and m.direct, and the body or response of a few endpoints

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner September 13, 2023 14:42
Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh
Copy link
Contributor Author

zecakeh commented Sep 26, 2023

I addressed all the comments and improved further some descriptions.

@zecakeh zecakeh requested a review from richvdh September 26, 2023 10:31
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm!

@richvdh richvdh enabled auto-merge (squash) September 27, 2023 12:41
@richvdh richvdh merged commit e40d9ca into matrix-org:main Sep 27, 2023
@zecakeh zecakeh deleted the fix-receipts branch September 27, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants