Commit Graph

59 Commits (7bf2d6c268bb9fb6a1b22cff4287ce5f8224ac7b)

Author SHA1 Message Date
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 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
Patrick Cloke 5db118626b
Add a return type to parse_string. (#10438) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427) 4 years ago
Erik Johnston 0f545e6b96
Clean up types for PaginationConfig (#8250) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Erik Johnston c9c544cda5
Remove `ChainedIdGenerator`. (#8123) 4 years ago
Patrick Cloke e19de43eb5
Convert streams to async. (#8014) 4 years ago
Patrick Cloke 38e1fac886
Fix some spelling mistakes / typos. (#7811) 4 years ago
Erik Johnston 495005360c Bump version of mypy 5 years ago
Andrew Morgan 3916e1b97a
Clean up newline quote marks around the codebase (#6362) 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
Erik Johnston dddf20e8e1 Fix /messages on workers when no from param specified. 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown 8a4f05fefb
Fix develop because I broke it :( (#3535) 6 years ago
Krombel 32fd6910d0 Use parse_{int,str} and assert from http.servlet 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston 4d793626ff Fix bug in generating current token 7 years ago
Erik Johnston c544188ee3 Add groups to sync stream 7 years ago
Erik Johnston 2367c5568c Add basic implementation of local device list changes 8 years ago
Erik Johnston b6800a8ecd Actually use the new function 8 years ago
Erik Johnston d04e2ff3a4 Fix incredubly slow back pagination query 8 years ago
Mark Haines e993925279 Add store-and-forward direct-to-device messaging 8 years ago
Mark Haines ddf9e7b302 Hook up the push rules to the notifier 9 years ago
Erik Johnston 339c8f0133 Clamp pagination limits to at most 1000 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines 1c960fbb80 s/private_user_data/account_data/ 9 years ago
Mark Haines f40b0ed5e1 Inform the client of new room tags using v1 /events 9 years ago
Mark Haines bb4dddd6c4 Move NullSource out of synapse and into tests since it is only used by the tests 9 years ago
Mark Haines a247729806 synapse/streams/events.py:StreamSource was unused 9 years ago
Mark Haines b35baf6f3c Define __repr__ methods for StreamConfig and PaginationConfig 9 years ago
Erik Johnston ca041d5526 Wire together receipts and the notifer/federation 10 years ago
Erik Johnston ddf7979531 Add receipts_key to StreamToken 10 years ago
Erik Johnston 4df11b5039 Make get_current_token accept a direction parameter, which tells whether the source whether we want a token for going 'forwards' or 'backwards' 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Paul "LeoNerd" Evans afb646dc1e Allow GET /room/:room_id/messages without 'limit' parameter to default to 10 10 years ago
Paul "LeoNerd" Evans 5f19c55731 SYN-58: Allow passing explicit limit=0 to initialSync to request no messages at all; missing still implies default 10 10 years ago
Paul "LeoNerd" Evans d6bcffa929 Construct a source-specific 'SourcePaginationConfig' to pass into get_pagination_rows; meaning each source doesn't have to care about its own name any more 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Paul "LeoNerd" Evans a8e8d1d06c Renamed get_current_token_part to get_current_key 10 years ago
Paul "LeoNerd" Evans eec67a675f Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens 10 years ago
Paul "LeoNerd" Evans 4bfdec1eb2 Rename 'events_key' to 'room_key' so it matches the name of the event source 10 years ago
Paul "LeoNerd" Evans 6dd50da54e Define a new event stream data source for typing notifications (currently null) 10 years ago
Paul "LeoNerd" Evans 20d0db6cfb Move the *EventSource classes into the handlers they relate to, so it's easier to find the code 10 years ago
Erik Johnston b8b52ca09d Add logging to try and figure out what is going on with the presence stuff 10 years ago