Commit Graph

55 Commits (4fb92d93eae3c3519a9a47ea7fdef2d492014f2f)

Author SHA1 Message Date
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
Richard van der Hoff 49d3bca37b Implement updated auth rules from MSC2260 5 years ago
Richard van der Hoff a8ce7aeb43
Pass room version object into event_auth.check and check_redaction (#6788) 5 years ago
Erik Johnston 0f6e525be3
Fixup synapse.api to pass mypy (#6733) 5 years ago
Erik Johnston 5029422530
Fix bug where we added duplicate event IDs as auth_events (#6560) 5 years ago
Richard van der Hoff 6577f2d887 Sanity-check room ids in event auth (#6530) 5 years ago
Richard van der Hoff 971a0702b5
Sanity-check room ids in event auth (#6530) 5 years ago
Richard van der Hoff 424fd58237
Remove redundant code from event authorisation implementation. (#6502) 5 years ago
Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 5 years ago
Andrew Morgan 92e88a71d3
Cleanup extra quotes from IDEs (#6236) 5 years ago
Andrew Morgan b09d443632
Cleanup event auth type initialisation (#5975) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 6 years ago
Erik Johnston 655ce037fd check event format version not room version 6 years ago
Erik Johnston 47e2dd1994 Drop vdh support 6 years ago
Erik Johnston 770b823445 Only check event IDs domain signed event for V1 and V2 6 years ago
Erik Johnston 7709d2bd16 Implement rechecking of redactions 6 years ago
Erik Johnston ae2a957dba Pass through room version to event auth 6 years ago
Erik Johnston bc80b3f454 Add helpers for getting prev and auth events (#4139) 6 years ago
Erik Johnston 6bd856caa2 User event.sender rather than alias event.user_id 6 years ago
Erik Johnston 52e6e815be Sanitise error messages when user doesn't have permission to invite 6 years ago
Erik Johnston 69e857853f Fix handling of rejected threepid invites 6 years ago
Richard van der Hoff 8afddf7afe Fix error handling for missing auth_event 6 years ago
Richard van der Hoff 19a17068f1 Check m.room.create for sane room_versions 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Erik Johnston 2c33b55738 Avoid relying on int vs None comparison 6 years ago
Erik Johnston cbf82dddf1 Ensure that we define sender_domain 6 years ago
Richard van der Hoff 5c9afd6f80 Make default state_default 50 7 years ago
Richard van der Hoff 52423607bd Clarify interface for event_auth 7 years ago
Richard van der Hoff 557b686eac Refactor get_send_level to take a power_levels event 7 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Travis Ralston eccfc8e928
Fix templating error with unban permission message 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Richard van der Hoff c2bd177ea0 Fix 500 error when fields missing from power_levels event 7 years ago