30 Commits (develop)

Author SHA1 Message Date
  Patrick Cloke 4eed7b2ede
Add missing type hints to tests. (#15027) 1 year ago
  David Robertson 510d4b06e7
Handle malformed values of `notification.room` in power level events (#14942) 1 year ago
  reivilibre c2fe48a6ff
Rename the `EventFormatVersions` enum values so that they line up with room version numbers. (#13706) 1 year ago
  Shay ad5761b65c
Add support for room version 10 (#13220) 1 year ago
  Richard van der Hoff d4b1c0d800
Fix inconsistencies in event validation (#13088) 1 year ago
  Richard van der Hoff e16ea87d0f
Fix inconsistencies in event validation for `m.room.create` events (#13087) 1 year ago
  Richard van der Hoff 8ecf6be1e1
Move some event auth checks out to a different method (#13065) 1 year ago
  Richard van der Hoff 0d9d36b15c Remove `room_version` param from `check_auth_rules_for_event` 1 year ago
  Richard van der Hoff 2959184a42 EventAuthTestCase: build events for the right room version 1 year ago
  Richard van der Hoff a5d2ea3d08
Check *all* auth events for room id and rejection (#11009) 2 years ago
  Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 2 years ago
  Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 2 years ago
  Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 2 years ago
  Patrick Cloke 0c246dd4a0
Support MSC3289: Room version 8 (#10449) 2 years ago
  Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2 years ago
  Patrick Cloke eb3beb8f12
Add type hints and comments to event auth code. (#10393) 2 years ago
  Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 3 years ago
  Patrick Cloke 35c5ef2d24
Add an experimental room version to support restricted join rules. (#9717) 3 years ago
  Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 3 years ago
  Patrick Cloke 08bc80ef09
Implement room version 6 (MSC2240). (#7506) 4 years ago
  Patrick Cloke fef3ff5cc4
Enforce MSC2209: auth rules for notifications in power level event (#7502) 4 years ago
  Patrick Cloke 06eb5cae08
Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 4 years ago
  Richard van der Hoff 799001f2c0
Add a `make_event_from_dict` method (#6858) 4 years ago
  Richard van der Hoff a8ce7aeb43
Pass room version object into event_auth.check and check_redaction (#6788) 4 years ago
  Amber Brown b36c82576e
Run Black on the tests again (#5170) 5 years ago
  Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 5 years ago
  Erik Johnston ae2a957dba Pass through room version to event auth 5 years ago
  black 8b3d9b6b19 Run black. 5 years ago
  Amber Brown 49af402019 run isort 5 years ago
  Richard van der Hoff a502cfec00 remove spurious debug 6 years ago
  Richard van der Hoff 5c9afd6f80 Make default state_default 50 6 years ago