summary refs log tree commit diff
path: root/tests/test_event_auth.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement room version 6 (MSC2240). (#7506)Patrick Cloke2020-05-151-11/+5
|
* Enforce MSC2209: auth rules for notifications in power level event (#7502)Patrick Cloke2020-05-141-0/+33
| | | | In a new room version, the "notifications" key of power level events are subject to restricted auth rules.
* Remove special auth and redaction rules for aliases events in experimental ↵Patrick Cloke2020-03-091-1/+92
| | | | room ver. (#7037)
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-5/+5
| | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors.
* Pass room version object into event_auth.check and check_redaction (#6788)Richard van der Hoff2020-01-281-7/+4
| | | | | | | These are easier to work with than the strings and we normally have one around. This fixes `FederationHander._persist_auth_tree` which was passing a RoomVersion object into event_auth.check instead of a string.
* Run Black on the tests again (#5170)Amber Brown2019-05-101-2/+6
|
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-5/+5
| | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
* Pass through room version to event authErik Johnston2019-01-251-2/+11
|
* Run black.black2018-08-101-53/+45
|
* run isortAmber Brown2018-07-091-1/+2
|
* remove spurious debugRichard van der Hoff2018-06-141-2/+0
|
* Make default state_default 50Richard van der Hoff2018-06-141-0/+153
Make it so that, before there is a power-levels event in the room, you need a power level of at least 50 to send state. Partially addresses https://github.com/matrix-org/matrix-doc/issues/1192