Commit Graph

87 Commits (98fd558382226b347d78e5f6e6782c6e74c25e69)

Author SHA1 Message Date
Shay a368d30c1c
More speedups/fixes to creating batched events (#15195) 2 years ago
Harishankar Kumar db2b105d69
Change collection[str] to StrCollection in event_auth code (#14929) 2 years ago
David Robertson a134e626e4
Reject boolean power levels (#14944) 2 years ago
Patrick Cloke 4d6b1d3c47
Properly check for frozendicts in event auth code. (#14864) 2 years ago
reivilibre 62ed877433
Improve validation of field size limits in events. (#14664) 2 years ago
David Robertson 9473ebb9e7
Revert "Fix event size checks (#13710)" 2 years ago
DeepBlueV7.X fab495a9e1
Fix event size checks (#13710) 2 years ago
Shay 847e2393f3
Prepatory work for adding power level event to batched events (#14214) 2 years ago
reivilibre c2fe48a6ff
Rename the `EventFormatVersions` enum values so that they line up with room version numbers. (#13706) 2 years ago
Will Hunt 502f075e96
Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2 years ago
Shay ad5761b65c
Add support for room version 10 (#13220) 2 years ago
Richard van der Hoff d4b1c0d800
Fix inconsistencies in event validation (#13088) 2 years ago
Richard van der Hoff e16ea87d0f
Fix inconsistencies in event validation for `m.room.create` events (#13087) 2 years ago
Richard van der Hoff 8ecf6be1e1
Move some event auth checks out to a different method (#13065) 2 years ago
Richard van der Hoff 0d9d36b15c Remove `room_version` param from `check_auth_rules_for_event` 2 years ago
Richard van der Hoff 68be42f6b6 Remove `room_version` param from `validate_event_for_room_version` 2 years ago
Travis Ralston 942c30b16b
Add a new room version for MSC3787's knock+restricted join rule (#12623) 3 years ago
Travis Ralston e3fe6347be
Remove excess condition on `knock->leave` check (#11900) 3 years ago
Richard van der Hoff 4ef39f3353
fix import cycle (#11965) 3 years ago
Patrick Cloke a121507cfe
Adds misc missing type hints (#11953) 3 years ago
Richard van der Hoff a5d2ea3d08
Check *all* auth events for room id and rejection (#11009) 3 years ago
Richard van der Hoff 3a5b0cbe7a
Ensure that we reject events which use rejected events for auth (#10956) 3 years ago
Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 3 years ago
Patrick Cloke c3ccad7785
Only do restricted join rules signature checks for room versions 8/9. (#10927) 3 years ago
Eric Eastwood 51e2db3598
Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint (#10838) 3 years ago
Patrick Cloke 0288e6033b
Add a constant for m.federate. (#10775) 3 years ago
Andrew Morgan 7bb3673f37
Ease searching for M_TOO_LARGE-related error codes (#10750) 3 years ago
Patrick Cloke 0c246dd4a0
Support MSC3289: Room version 8 (#10449) 3 years ago
reivilibre c167e09fe5
Fix explicit assignment of PL 0 from being misinterpreted in rare circumstances (#10499) 3 years ago
Eric Eastwood d0b294ad97
Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 3 years ago
Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Patrick Cloke eb3beb8f12
Add type hints and comments to event auth code. (#10393) 3 years ago
Patrick Cloke aaf7d1acb8
Correct type hints for synapse.event_auth. (#10253) 3 years ago
Sorunome d936371b69
Implement knock feature (#6739) 4 years ago
Richard van der Hoff 3ff2251754
Improved validation for received requests (#9817) 4 years ago
Patrick Cloke e83627926f
Add type hints to auth and auth_blocking. (#9876) 4 years ago
Jonathan de Jong 495b214f4f
Fix (final) Bugbear violations (#9838) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 35c5ef2d24
Add an experimental room version to support restricted join rules. (#9717) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke da11cc22be
Ensure that event.redacts is the proper type before handling it (#8457) 4 years ago
Patrick Cloke f40645e60b
Convert events worker database to async/await. (#8071) 4 years ago
Erik Johnston e29c44340b
Fix recursion error when fetching auth chain over federation (#7817) 4 years ago
Patrick Cloke 5355421295
Add type hints to event_auth code. (#7505) 5 years ago
Patrick Cloke fef3ff5cc4
Enforce MSC2209: auth rules for notifications in power level event (#7502) 5 years ago
Patrick Cloke 06eb5cae08
Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 5 years ago
Richard van der Hoff a1f307f7d1 fix bad variable ref 5 years ago