summary refs log tree commit diff
path: root/synapse/streams (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run Black. (#5482)Amber Brown2019-06-202-46/+24
|
* Fix develop because I broke it :( (#3535)Amber Brown2018-07-141-0/+3
|
* Use parse_{int,str} and assert from http.servletKrombel2018-07-131-23/+6
| | | | | | | parse_integer and parse_string can take a request and raise errors in case we have wrong or missing params. This PR tries to use them more to deduplicate some code and make it better readable
* run isortAmber Brown2018-07-092-7/+5
|
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-3/+3
| | | | what could possibly go wrong
* Fix bug in generating current tokenErik Johnston2017-07-201-0/+2
|
* Add groups to sync streamErik Johnston2017-07-201-0/+2
|
* Add basic implementation of local device list changesErik Johnston2017-01-251-0/+4
|
* Actually use the new functionErik Johnston2016-10-241-1/+1
|
* Fix incredubly slow back pagination queryErik Johnston2016-10-241-2/+28
| | | | | | | If a client didn't specify a from token when paginating backwards synapse would attempt to query the (global) maximum topological token. This a) doesn't make much sense since they're room specific and b) there are no indices that lets postgres do this efficiently.
* Add store-and-forward direct-to-device messagingMark Haines2016-08-251-0/+2
|
* Hook up the push rules to the notifierMark Haines2016-03-031-0/+4
|
* Clamp pagination limits to at most 1000Erik Johnston2016-01-141-2/+5
|
* copyrightsMatthew Hodgson2016-01-073-3/+3
|
* s/private_user_data/account_data/Mark Haines2015-11-181-4/+4
|
* Inform the client of new room tags using v1 /eventsMark Haines2015-10-291-0/+5
|
* Move NullSource out of synapse and into tests since it is only used by the testsMark Haines2015-09-221-16/+0
|
* synapse/streams/events.py:StreamSource was unusedMark Haines2015-09-221-12/+0
|
* Define __repr__ methods for StreamConfig and PaginationConfigMark Haines2015-09-221-3/+8
| | | | So that they can be used with "%r" log formats.
* Wire together receipts and the notifer/federationErik Johnston2015-07-071-1/+5
|
* Add receipts_key to StreamTokenErik Johnston2015-07-021-1/+2
|
* Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-121-3/+3
| | | | source whether we want a token for going 'forwards' or 'backwards'
* Update copyright noticesMark Haines2015-01-063-3/+3
|
* Allow GET /room/:room_id/messages without 'limit' parameter to default to 10Paul "LeoNerd" Evans2014-12-021-1/+5
|
* SYN-58: Allow passing explicit limit=0 to initialSync to request no messages ↵Paul "LeoNerd" Evans2014-11-201-6/+6
| | | | at all; missing still implies default 10
* Construct a source-specific 'SourcePaginationConfig' to pass into ↵Paul "LeoNerd" Evans2014-10-292-1/+24
| | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-033-3/+3
| | | | hasn't been incorporated in time for launch.
* Renamed get_current_token_part to get_current_keyPaul "LeoNerd" Evans2014-08-291-6/+6
|
* Have EventSource's get_new_events_for_user() API work only on keys within ↵Paul "LeoNerd" Evans2014-08-291-3/+4
| | | | that source, not overall eventstream tokens
* Rename 'events_key' to 'room_key' so it matches the name of the event sourcePaul "LeoNerd" Evans2014-08-291-1/+1
|
* Define a new event stream data source for typing notifications (currently null)Paul "LeoNerd" Evans2014-08-291-7/+13
|
* Move the *EventSource classes into the handlers they relate to, so it's ↵Paul "LeoNerd" Evans2014-08-291-127/+4
| | | | easier to find the code
* Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-281-1/+1
|
* Fix typo in NullSource.get_pagination_rows. Remove unused import.Erik Johnston2014-08-281-2/+1
|
* Define a NullSource useful for unit-testingPaul "LeoNerd" Evans2014-08-271-0/+16
|
* Index sources in a nicer fashion.Erik Johnston2014-08-271-11/+10
|
* Convert get_paginat_rows to use PaginationConfig. This allows people to ↵Erik Johnston2014-08-272-33/+54
| | | | supply directions.
* PEP8 tweaks.Erik Johnston2014-08-272-5/+3
|
* Implement presence event source. Change the way the notifier indexes listenersErik Johnston2014-08-271-25/+48
|
* Enable presence again. Fix up api to match old api.Erik Johnston2014-08-261-2/+2
|
* Fix exceptions so that the event stream works. Presence like events are ↵Erik Johnston2014-08-261-2/+4
| | | | turned off currently.
* WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-263-0/+235
reflects the change in the underlying storage model.