summary refs log tree commit diff
path: root/synapse/streams/config.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-3/+6
|
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Run Black. (#5482)Amber Brown2019-06-201-14/+13
|
* 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-091-3/+2
|
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-3/+3
| | | | what could possibly go wrong
* Clamp pagination limits to at most 1000Erik Johnston2016-01-141-2/+5
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Define __repr__ methods for StreamConfig and PaginationConfigMark Haines2015-09-221-3/+8
| | | | So that they can be used with "%r" log formats.
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* 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-291-0/+23
| | | | 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-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-281-1/+1
|
* Convert get_paginat_rows to use PaginationConfig. This allows people to ↵Erik Johnston2014-08-271-27/+40
| | | | supply directions.
* PEP8 tweaks.Erik Johnston2014-08-271-4/+3
|
* WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-261-0/+72
reflects the change in the underlying storage model.