Patrick Cloke
|
68a6717312
Reject mentions on the C-S API which are invalid. (#15311)
|
1 year ago |
David Robertson
|
3b0083c92a
Use immutabledict instead of frozendict (#15113)
|
1 year ago |
David Robertson
|
796a4b7482
Prefer `type(x) is int` to `isinstance(x, int)` (#14945)
|
1 year ago |
reivilibre
|
c2fe48a6ff
Rename the `EventFormatVersions` enum values so that they line up with room version numbers. (#13706)
|
1 year ago |
Richard van der Hoff
|
68be42f6b6
Remove `room_version` param from `validate_event_for_room_version`
|
2 years ago |
David Robertson
|
796a0312e1
Bump jsonschema stubs (#12912)
|
2 years ago |
David Robertson
|
74e4419eb4
Fix another jsonschema typecheck error (#11830)
|
2 years ago |
Patrick Cloke
|
15c2a6a106
Ignore the jsonschema type. (#11817)
|
2 years ago |
Patrick Cloke
|
c01bc5f43d
Add remaining type hints to `synapse.events`. (#11098)
|
2 years ago |
Patrick Cloke
|
1f9d0b8a7a
Add type hints to synapse.events.*. (#11066)
|
2 years ago |
Patrick Cloke
|
01c88a09cd
Use direct references for some configuration variables (#10798)
|
2 years ago |
Aaron Raimist
|
40f619eaa5
Validate new m.room.power_levels events (#10232)
|
2 years ago |
Jonathan de Jong
|
4b965c862d
Remove redundant "coding: utf-8" lines (#9786)
|
3 years ago |
Erik Johnston
|
243d427fbc
Block clients from sending server ACLs that lock the local server out. (#8708)
|
3 years ago |
Brendan Abolivier
|
3ee97a2748
Make sure a retention policy is a state event (#8527)
|
3 years ago |
Patrick Cloke
|
c619253db8
Stop sub-classing object (#8249)
|
3 years ago |
Brendan Abolivier
|
420484a334
Allow capping a room's retention policy (#8104)
|
3 years ago |
Dagfinn Ilmari Mannsåker
|
a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704)
|
4 years ago |
Patrick Cloke
|
56b66db78a
Strictly enforce canonicaljson requirements in a new room version (#7381)
|
4 years ago |
Brendan Abolivier
|
09957ce0e4
Implement per-room message retention policies
|
4 years ago |
Erik Johnston
|
55a0c98d16
Merge pull request #5805 from matrix-org/erikj/validate_state
|
4 years ago |
Erik Johnston
|
76a58fdcce
Fix spelling.
|
4 years ago |
Erik Johnston
|
dc4d74e44a
Validate well-known state events are state events.
|
4 years ago |
Erik Johnston
|
f31d4cb7a2
Don't allow clients to send tombstones that reference the same room
|
4 years ago |
Amber Brown
|
32e7c9e7f2
Run Black. (#5482)
|
5 years ago |
Brendan Abolivier
|
1473058b5e
Do checks on aliases for incoming m.room.aliases events (#5128)
|
5 years ago |
Richard van der Hoff
|
54a87a7b08
Collect room-version variations into one place (#4969)
|
5 years ago |
Erik Johnston
|
610f0830b0
Don't assert an event must have an event ID
|
5 years ago |
Erik Johnston
|
40638ae7f5
Remove duplicate checks
|
5 years ago |
Erik Johnston
|
9fa3c6ffa3
Fix up error messages
|
5 years ago |