summary refs log tree commit diff
path: root/synapse/handlers/room_list.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port handlers/ to Python 3 (#3803)Amber Brown2018-09-071-1/+1
|
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
|
* typoMatthew Hodgson2018-07-131-3/+3
|
* run isortAmber Brown2018-07-091-11/+9
|
* Consistently use six's iteritems and wrap lazy keys/values in list() if ↵Amber Brown2018-05-311-1/+2
| | | | they're not meant to be lazy (#3307)
* Move more xrange to sixAdrian Tschira2018-04-281-1/+3
| | | | | | plus a bonus next() Signed-off-by: Adrian Tschira <nota@notafile.com>
* Refactor ResponseCache usageRichard van der Hoff2018-04-121-25/+13
| | | | | | | | | | | | | | | Adds a `.wrap` method to ResponseCache which wraps up the boilerplate of a (get, set) pair, and then use it throughout the codebase. This will be largely non-functional, but does include the following functional changes: * federation_server.on_context_state_request: drops use of _server_linearizer which looked redundant and could cause incorrect cache misses by yielding between the get and the set. * RoomListHandler.get_remote_public_room_list(): fixes logcontext leaks * the wrap function includes some logging. I'm hoping this won't be too noisy on production.
* Add metrics for ResponseCacheRichard van der Hoff2018-04-101-2/+3
|
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
|
* Split replication layer into twoErik Johnston2018-03-131-1/+1
|
* add white space lineNeil Johnson2018-01-261-0/+1
|
* rather than try reconstruct the results object, better to guard against the ↵Neil Johnson2018-01-261-6/+2
| | | | xrange step argument being 0
* fix return type, should be a dictNeil Johnson2018-01-251-1/+1
|
* fix PEP8 violationNeil Johnson2018-01-251-1/+1
|
* remove white spaceNeil Johnson2018-01-251-1/+0
|
* synapse 500s on a call to publicRooms in the case where the number of public ↵Neil Johnson2018-01-251-0/+5
| | | | rooms is zero, the specific cause is due to xrange trying to use a step value of zero, but if the total room number really is zero then it makes sense to just bail and save the extra processing
* Reshuffle room list request codeRichard van der Hoff2017-11-141-27/+24
| | | | | | I'm not entirely sure if this will actually help anything, but it simplifies the code and might give further clues about why room list search requests are blowing out the get_current_state_ids caches.
* Add a load of logging to the room_list handlerRichard van der Hoff2017-11-141-0/+13
| | | | So we can see what it gets up to.
* Update room_list.pyErik Johnston2017-10-261-1/+1
|
* Do logcontexts outside ResponseCacheErik Johnston2017-10-251-2/+5
|
* Add logging and fix log contexts for publicRoomsErik Johnston2017-10-251-0/+2
|
* Initial group server implementationErik Johnston2017-07-101-8/+10
|
* CommentsErik Johnston2017-03-131-0/+12
|
* Assume rooms likely haven't changedErik Johnston2017-03-131-8/+11
|
* Get current state by using current_state_events tableErik Johnston2017-03-101-18/+29
|
* Cache network room list queries.Erik Johnston2016-12-161-3/+4
|
* Fix caching on public room listErik Johnston2016-12-131-2/+4
|
* CommentsErik Johnston2016-12-071-1/+2
|
* Add new API appservice specific public room listErik Johnston2016-12-061-11/+46
|
* Add total_room_count_estimate to /publicRoomsErik Johnston2016-09-211-0/+3
|
* Merge pull request #1130 from matrix-org/erikj/fix_pubroom_pagErik Johnston2016-09-191-12/+25
|\ | | | | Handle fact that _generate_room_entry may not return a room entry
| * PEP8Erik Johnston2016-09-171-1/+1
| |
| * Handle fact that _generate_room_entry may not return a room entryErik Johnston2016-09-171-12/+25
| |
* | Merge pull request #1129 from matrix-org/erikj/fix_pubroom_pagErik Johnston2016-09-171-110/+123
|\| | | | | Fix and clean up publicRooms pagination
| * SpellingErik Johnston2016-09-171-1/+1
| |
| * Fix and clean up publicRooms paginationErik Johnston2016-09-171-110/+123
| |
* | Make public room search case insensitiveDavid Baker2016-09-161-4/+4
|/
* CommentErik Johnston2016-09-161-0/+2
|
* Add remote reoom cacheErik Johnston2016-09-161-2/+23
|
* Support filtering remote room listsErik Johnston2016-09-161-3/+9
|
* Filter remote rooms lists locallyErik Johnston2016-09-161-10/+24
|
* Don't cache searched in /publicRoomsErik Johnston2016-09-161-1/+5
|
* Add very basic filter API to /publicRoomsErik Johnston2016-09-151-5/+18
|
* Change the way we calculate new_limit in /publicRooms and add POST APIErik Johnston2016-09-151-15/+33
|
* Base public room list off of public_rooms streamErik Johnston2016-09-151-7/+27
|
* Pass since/from parameters over federationErik Johnston2016-09-151-29/+26
|
* Allow paginating both forwards and backwardsErik Johnston2016-09-151-21/+50
|
* Remove support for aggregate room listsErik Johnston2016-09-151-55/+0
|
* Accept optional token to public room listErik Johnston2016-09-151-7/+75
|
* Calculate the public room list from a stream_orderingErik Johnston2016-09-141-3/+40
|
* Refactor public rooms to not pull out the full state for each roomErik Johnston2016-09-141-14/+30
|
* Move RoomListHandler into a separate fileErik Johnston2016-09-141-0/+184