Commit Graph

44 Commits (7bf2d6c268bb9fb6a1b22cff4287ce5f8224ac7b)

Author SHA1 Message Date
Patrick Cloke 4054dfa409
Add type hints for event streams. (#10856) 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
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
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 49af402019 run isort 6 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
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
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 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 f3f32addca Fix typo in NullSource.get_pagination_rows. Remove unused import. 10 years ago
Paul "LeoNerd" Evans 407c86c013 Define a NullSource useful for unit-testing 10 years ago
Erik Johnston bfe9faad5a Index sources in a nicer fashion. 10 years ago
Erik Johnston 05672a6a8c Convert get_paginat_rows to use PaginationConfig. This allows people to supply directions. 10 years ago
Erik Johnston 77a255c7c3 PEP8 tweaks. 10 years ago
Erik Johnston bd16b93e8f Implement presence event source. Change the way the notifier indexes listeners 10 years ago
Erik Johnston 67c5f89244 Enable presence again. Fix up api to match old api. 10 years ago
Erik Johnston c1cf0b334e Fix exceptions so that the event stream works. Presence like events are turned off currently. 10 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 10 years ago