Commit Graph

20 Commits (7025781df8ab295848cb70a43d0ff8ca5949bc19)

Author SHA1 Message Date
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
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