summary refs log tree commit diff
path: root/synapse/event_auth.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+2
* Update license headersPatrick Cloke2023-11-211-11/+16
* Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-291-2/+2
* Fix inaccurate error message while trying to ban or unban a user with the sam...Chen Zhang2023-08-291-1/+7
* Support room version 11 (#15912)Patrick Cloke2023-07-181-15/+13
* Remove experimental MSC2716 implementation to incrementally import history in...Eric Eastwood2023-06-161-40/+0
* Reject instead of erroring on invalid membership events. (#15564)Patrick Cloke2023-05-151-6/+11
* Implement MSC2174: move redacts to a content property. (#15395)Patrick Cloke2023-04-131-1/+1
* Implement MSC2175: remove the creator field from create events. (#15394)Patrick Cloke2023-04-061-7/+18
* More speedups/fixes to creating batched events (#15195)Shay2023-03-071-6/+17
* Change collection[str] to StrCollection in event_auth code (#14929)Harishankar Kumar2023-02-141-14/+9
* Reject boolean power levels (#14944)David Robertson2023-01-311-2/+2
* Properly check for frozendicts in event auth code. (#14864)Patrick Cloke2023-01-181-1/+2
* Improve validation of field size limits in events. (#14664)reivilibre2022-12-131-7/+69
* Revert "Fix event size checks (#13710)"David Robertson2022-11-011-5/+5
* Fix event size checks (#13710)DeepBlueV7.X2022-10-211-5/+5
* Prepatory work for adding power level event to batched events (#14214)Shay2022-10-181-1/+18
* Rename the `EventFormatVersions` enum values so that they line up with room v...reivilibre2022-09-071-2/+2
* Implement MSC3848: Introduce errcodes for specific event sending failures (#1...Will Hunt2022-07-271-11/+51
* Add support for room version 10 (#13220)Shay2022-07-131-0/+26
* Fix inconsistencies in event validation (#13088)Richard van der Hoff2022-06-171-2/+21
* Fix inconsistencies in event validation for `m.room.create` events (#13087)Richard van der Hoff2022-06-171-23/+44
* Move some event auth checks out to a different method (#13065)Richard van der Hoff2022-06-151-29/+79
* Remove `room_version` param from `check_auth_rules_for_event`Richard van der Hoff2022-06-121-7/+8
* Remove `room_version` param from `validate_event_for_room_version`Richard van der Hoff2022-06-121-8/+4
* Add a new room version for MSC3787's knock+restricted join rule (#12623)Travis Ralston2022-05-171-4/+17
* Remove excess condition on `knock->leave` check (#11900)Travis Ralston2022-02-221-3/+3
* fix import cycle (#11965)Richard van der Hoff2022-02-111-23/+31
* Adds misc missing type hints (#11953)Patrick Cloke2022-02-111-1/+3
* Check *all* auth events for room id and rejection (#11009)Richard van der Hoff2021-10-181-18/+15
* Ensure that we reject events which use rejected events for auth (#10956)Richard van der Hoff2021-10-051-0/+6
* Strip "join_authorised_via_users_server" from join events which do not need i...Patrick Cloke2021-09-301-5/+7
* Split `event_auth.check` into two parts (#10940)Richard van der Hoff2021-09-291-61/+92
* Only do restricted join rules signature checks for room versions 8/9. (#10927)Patrick Cloke2021-09-281-1/+2
* Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint...Eric Eastwood2021-09-211-4/+4
* Add a constant for m.federate. (#10775)Patrick Cloke2021-09-081-2/+8
* Ease searching for M_TOO_LARGE-related error codes (#10750)Andrew Morgan2021-09-061-9/+6
* Support MSC3289: Room version 8 (#10449)Patrick Cloke2021-08-091-4/+1
* Fix explicit assignment of PL 0 from being misinterpreted in rare circumstanc...reivilibre2021-07-301-1/+1
* Make historical events discoverable from backfill for servers without any scr...Eric Eastwood2021-07-281-0/+38
* Update the MSC3083 support to verify if joins are from an authorized server. ...Patrick Cloke2021-07-261-16/+61
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-4/+4
* Add type hints and comments to event auth code. (#10393)Patrick Cloke2021-07-141-0/+3
* Correct type hints for synapse.event_auth. (#10253)Patrick Cloke2021-06-301-2/+3
* Implement knock feature (#6739)Sorunome2021-06-091-4/+29
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-231-2/+2
* Add type hints to auth and auth_blocking. (#9876)Patrick Cloke2021-04-231-2/+2
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-201-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add an experimental room version to support restricted join rules. (#9717)Patrick Cloke2021-03-311-6/+22
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-3/+7
* Ensure that event.redacts is the proper type before handling it (#8457)Patrick Cloke2020-10-051-0/+2
* Convert events worker database to async/await. (#8071)Patrick Cloke2020-08-181-1/+1
* Fix recursion error when fetching auth chain over federation (#7817)Erik Johnston2020-07-101-4/+6
* Add type hints to event_auth code. (#7505)Patrick Cloke2020-05-151-32/+46
* Enforce MSC2209: auth rules for notifications in power level event (#7502)Patrick Cloke2020-05-141-2/+10
* Remove special auth and redaction rules for aliases events in experimental ro...Patrick Cloke2020-03-091-5/+3
* fix bad variable refRichard van der Hoff2020-01-281-1/+1
* Implement updated auth rules from MSC2260Richard van der Hoff2020-01-281-5/+19
* Pass room version object into event_auth.check and check_redaction (#6788)Richard van der Hoff2020-01-281-13/+21
* Fixup synapse.api to pass mypy (#6733)Erik Johnston2020-01-201-1/+1
* Merge release-v1.7.1 into developRichard van der Hoff2019-12-181-7/+8
|\
| * Fix bug where we added duplicate event IDs as auth_events (#6560)Erik Johnston2019-12-171-7/+8
| * Sanity-check room ids in event auth (#6530)Richard van der Hoff2019-12-161-0/+12
* | Sanity-check room ids in event auth (#6530)Richard van der Hoff2019-12-131-0/+12
* | Remove redundant code from event authorisation implementation. (#6502)Richard van der Hoff2019-12-101-6/+2
|/
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
* Cleanup extra quotes from IDEs (#6236)Andrew Morgan2019-10-231-2/+1
* Cleanup event auth type initialisation (#5975)Andrew Morgan2019-09-041-5/+5
* Run Black. (#5482)Amber Brown2019-06-201-120/+57
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-12/+8
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/redactions...Erik Johnston2019-01-291-4/+8
|\
| * check event format version not room versionErik Johnston2019-01-291-2/+2
| * Only check event IDs domain signed event for V1 and V2Erik Johnston2019-01-291-5/+14
* | Drop vdh supportErik Johnston2019-01-291-1/+1
* | Implement rechecking of redactionsErik Johnston2019-01-291-6/+18
|/
* Pass through room version to event authErik Johnston2019-01-251-1/+2
* Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-2/+2
* User event.sender rather than alias event.user_idErik Johnston2018-10-161-1/+1
* Sanitise error messages when user doesn't have permission to inviteErik Johnston2018-10-031-5/+2
* Fix handling of rejected threepid invitesErik Johnston2018-10-031-1/+1
* Fix error handling for missing auth_eventRichard van der Hoff2018-09-261-2/+2
* Check m.room.create for sane room_versionsRichard van der Hoff2018-08-061-1/+9
* run isortAmber Brown2018-07-091-3/+3
* Avoid relying on int vs None comparisonErik Johnston2018-07-021-1/+5
* Ensure that we define sender_domainErik Johnston2018-07-021-0/+1
* Make default state_default 50Richard van der Hoff2018-06-141-20/+14
* Clarify interface for event_authRichard van der Hoff2018-06-141-18/+16
* Refactor get_send_level to take a power_levels eventRichard van der Hoff2018-06-141-7/+38
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-2/+2
* Fix templating error with unban permission messageTravis Ralston2018-01-071-1/+1
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-2/+2
* Fix 500 error when fields missing from power_levels eventRichard van der Hoff2017-10-171-3/+3
* Use better variable nameErik Johnston2017-01-171-3/+3
* Optimise state resolutionErik Johnston2017-01-171-6/+43
* Split event auth code into seperate moduleErik Johnston2017-01-131-0/+641