Commit Graph

31 Commits (4535532526581834ab798996ffe73f6d19c25123)

Author SHA1 Message Date
Patrick Cloke 1f9d0b8a7a
Add type hints to synapse.events.*. (#11066) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Aaron Raimist 40f619eaa5
Validate new m.room.power_levels events (#10232) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Erik Johnston 243d427fbc
Block clients from sending server ACLs that lock the local server out. (#8708) 4 years ago
Brendan Abolivier 3ee97a2748
Make sure a retention policy is a state event (#8527) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Brendan Abolivier 420484a334
Allow capping a room's retention policy (#8104) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Patrick Cloke 56b66db78a
Strictly enforce canonicaljson requirements in a new room version (#7381) 5 years ago
Brendan Abolivier 09957ce0e4
Implement per-room message retention policies 5 years ago
Erik Johnston 76a58fdcce Fix spelling. 5 years ago
Erik Johnston dc4d74e44a Validate well-known state events are state events. 5 years ago
Erik Johnston f31d4cb7a2 Don't allow clients to send tombstones that reference the same room 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Brendan Abolivier 1473058b5e
Do checks on aliases for incoming m.room.aliases events (#5128) 6 years ago
Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 6 years ago
Erik Johnston 610f0830b0 Don't assert an event must have an event ID 6 years ago
Erik Johnston 40638ae7f5 Remove duplicate checks 6 years ago
Erik Johnston 9fa3c6ffa3 Fix up error messages 6 years ago
Erik Johnston 28efc80723 Fold validate into validate_new 6 years ago
Erik Johnston b872c7b1b4 Split up event validation between event and builder 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Adrian Tschira d9fe2b2d9d Replace some more comparisons with six 7 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 63810c777d Validate message, topic and name event contents 10 years ago
Erik Johnston b245ee34ed Add some basic event validation 10 years ago
Erik Johnston 8c48450682 Add PEP8 newlines 10 years ago
Erik Johnston 75b4329aaa WIP for new way of managing events. 10 years ago