Commit Graph

43 Commits (7adcb20fc02d614b4a2b03b128b279f25633e2bd)

Author SHA1 Message Date
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong d6196efafc
Add ResponseCache tests. (#9458) 4 years ago
Patrick Cloke fc8b3d8809
Ratelimit cross-user key sharing requests. (#8957) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 637282bb50
Add additional type hints to the storage module. (#8980) 4 years ago
Patrick Cloke de5cafe980
Add type hints to profile and base handlers. (#8609) 4 years ago
Patrick Cloke 1781bbe319
Add type hints to response cache. (#8507) 4 years ago
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427) 4 years ago
Erik Johnston ea70f1c362
Various clean ups to room stream tokens. (#8423) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Erik Johnston fe8ed1b46f
Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281) 4 years ago
Erik Johnston 0f545e6b96
Clean up types for PaginationConfig (#8250) 4 years ago
Erik Johnston be16ee59a8
Add type hints to more handlers (#8244) 4 years ago
Patrick Cloke e19de43eb5
Convert streams to async. (#8014) 4 years ago
Richard van der Hoff 71a1abb8a1
Stop the master relaying USER_SYNC for other workers (#7318) 5 years ago
Richard van der Hoff a0a1fd0bec Add `allow_departed_users` param to `check_in_room_or_world_readable` 5 years ago
Richard van der Hoff b58d17e44f Refactor the membership check methods in Auth 5 years ago
Erik Johnston 28c98e51ff
Add `local_current_membership` table (#6655) 5 years ago
Erik Johnston a1f8ea9051 Port synapse.handlers.initial_sync to async/await 5 years ago
Erik Johnston f166a8d1f5 Remove SnapshotCache in favour of ResponseCache 5 years ago
Amber Brown 020add5099
Update black to 19.10b0 (#6304) 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Andrew Morgan 2a44782666
Remove double return statements (#5962) 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston b54b03f9e1 Allow client event serialization to be async 6 years ago
Erik Johnston 536a266520 Deny peeking into rooms that have been blocked 6 years ago
Erik Johnston cb53ce9d64
Refactor state group lookup to reduce DB hits (#4011) 6 years ago
Amber Brown c334ca67bb
Integrate presence from hotfixes (#3694) 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Richard van der Hoff cf2d15c6a9 another couple of logcontext leaks 6 years ago
Richard van der Hoff 8dff6e0322 Logcontext fixes 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Erik Johnston fcf55f2255 Fix returned token is no longer a tuple 7 years ago
Erik Johnston c4af4c24ca Refactor get_recent_events_for_room return type 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 7e6fa29cb5 Remove preserve_context_over_{fn, deferred} 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston 6c82de5100 Format presence events on the edges instead of reformatting them multiple times 8 years ago
Erik Johnston feec718265 Shuffle receipt handler around so that worker apps don't need to load it 8 years ago
Erik Johnston 87528f0756 Support /initialSync in synchrotron worker 8 years ago