Commit Graph

96 Commits (bc1db16086d0718c9c0bb61b32b825ba62049bb0)

Author SHA1 Message Date
Erik Johnston 23740eaa3d
Correctly mention previous copyright (#16820) 10 months ago
Patrick Cloke 8e1e62c9e0 Update license headers 1 year ago
dependabot[bot] 001fc7bd19
Bump ruff from 0.0.277 to 0.0.286 (#16198) 1 year ago
Chen Zhang 692ee2af19
Fix inaccurate error message while trying to ban or unban a user with the same or higher PL (#16205) 1 year ago
Patrick Cloke 6d81aec09f
Support room version 11 (#15912) 1 year ago
Eric Eastwood 0f02f0b4da
Remove experimental MSC2716 implementation to incrementally import history into existing rooms (#15748) 1 year ago
Patrick Cloke eb3c1823d8
Reject instead of erroring on invalid membership events. (#15564) 2 years ago
Patrick Cloke 2503126d52
Implement MSC2174: move redacts to a content property. (#15395) 2 years ago
Patrick Cloke d07d255830
Implement MSC2175: remove the creator field from create events. (#15394) 2 years ago
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