Commit Graph

486 Commits (8330fc9953032f21eb4c7d5f0627c1e6aba2459c)

Author SHA1 Message Date
Quentin Gliech 92103cb2c8
Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. (#13021) 3 years ago
David Teller a164a46038
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return `Union[Allow, Codes]`. (#12857) 3 years ago
Richard van der Hoff c1b28b8842 Remove redundant `room_version` param from `check_auth_rules_from_context` 3 years ago
Richard van der Hoff 68be42f6b6 Remove `room_version` param from `validate_event_for_room_version` 3 years ago
Erik Johnston e3163e2e11
Reduce the amount of state we pull from the DB (#12811) 3 years ago
Erik Johnston 888a29f412
Wait for lazy join to complete when getting current state (#12872) 3 years ago
Patrick Cloke 7bc08f3201
Remove remaining bits of groups code. (#12936) 3 years ago
Erik Johnston 1e453053cb
Rename storage classes (#12913) 3 years ago
Erik Johnston 4660d9fdcf
Fix up `state_store` naming (#12871) 3 years ago
Shay 71e8afe34d
Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accept state filters and update calls where possible (#12791) 3 years ago
Andrew Morgan 96df31239c
Add a unit test for copying over arbitrary room types when upgrading a room (#12792) 3 years ago
Aminda Suomalainen d25935cd3d
Implement MSC3818: copy room type on upgrade (#12786) 3 years ago
reivilibre df4963548b
Give a meaningful error message when a client tries to create a room with an invalid alias localpart. (#12779) 3 years ago
Andrew Morgan 83be72d76c
Add `StreamKeyType` class and replace string literals with constants (#12567) 3 years ago
Sean Quah a5c26750b5
Fix room upgrades creating an empty room when auth fails (#12696) 3 years ago
Andy Balaam de1e599b9d
add default_power_level_content_override config option. (#12618) 3 years ago
David Robertson 051a1c3f22
Convert stringy power levels to integers on room upgrade (#12657) 3 years ago
Eric Eastwood 793d03e2c5
Generate historic pagination token for `/messages` when no `?from` token provided (#12370) 3 years ago
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357) 3 years ago
reivilibre c4cf916ed7
Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350) 3 years ago
Patrick Cloke 8fe930c215
Move get_bundled_aggregations to relations handler. (#12237) 3 years ago
Will Hunt 15382b1afa
Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Brendan Abolivier 0171fa5226
Remove deprecated user_may_create_room_with_invites callback (#11950) 3 years ago
Patrick Cloke 2897fb6b4f
Improvements to bundling aggregations. (#11815) 3 years ago
Patrick Cloke 68acb0a29d
Include whether the requesting user has participated in a thread. (#11577) 3 years ago
Patrick Cloke 6bf81a7a61
Bundle aggregations outside of the serialization method. (#11612) 3 years ago
lukasdenk 2ef1fea8d2
Make room creations denied by `user_may_create_room` cause an `M_FORBIDDEN` error to be returned, not `M_UNKNOWN` (#11672) 3 years ago
Richard van der Hoff c3e38b88f2
Improve opentracing support for `ResponseCache` (#11607) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Richard van der Hoff b1ecd19c5d
Fix 'delete room' admin api to work on incomplete rooms (#11523) 3 years ago
Eric Eastwood a6f1a3abec
Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 3 years ago
Patrick Cloke 7ae559944a
Fix checking whether a room can be published on creation. (#11392) 3 years ago
Dirk Klimpel 8840a7b7f1
Convert delete room admin API to async endpoint (#11223) 3 years ago
David Robertson b6f4d122ef
Allow admins to proactively block rooms (#11228) 3 years ago
Patrick Cloke a19d01c3d9
Support filtering by relations per MSC3440 (#11236) 3 years ago
Patrick Cloke c01bc5f43d
Add remaining type hints to `synapse.events`. (#11098) 3 years ago
Patrick Cloke 19d5dc6931
Refactor `Filter` to handle fields according to data being filtered. (#11194) 3 years ago
AndrewFerr 4387b791e0
Don't set new room alias before potential 403 (#10930) 3 years ago
Patrick Cloke 1f9d0b8a7a
Add type hints to synapse.events.*. (#11066) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Brendan Abolivier 829f2a82b0
Add a spamchecker callback to allow or deny room joins (#10910) 3 years ago
Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Richard van der Hoff 5279b9161b
Use `RoomVersion` objects (#10934) 3 years ago
Brendan Abolivier b10257e879
Add a spamchecker callback to allow or deny room creation based on invites (#10898) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Patrick Cloke 4054dfa409
Add type hints for event streams. (#10856) 3 years ago