Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port handlers/ to Python 3 (#3803) | Amber Brown | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
| | |||||
* | typo | Matthew Hodgson | 2018-07-13 | 1 | -3/+3 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -11/+9 |
| | |||||
* | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 2018-05-31 | 1 | -1/+2 |
| | | | | they're not meant to be lazy (#3307) | ||||
* | Move more xrange to six | Adrian Tschira | 2018-04-28 | 1 | -1/+3 |
| | | | | | | plus a bonus next() Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Refactor ResponseCache usage | Richard van der Hoff | 2018-04-12 | 1 | -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 ResponseCache | Richard van der Hoff | 2018-04-10 | 1 | -2/+3 |
| | |||||
* | s/replication_client/federation_client/ | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | add white space line | Neil Johnson | 2018-01-26 | 1 | -0/+1 |
| | |||||
* | rather than try reconstruct the results object, better to guard against the ↵ | Neil Johnson | 2018-01-26 | 1 | -6/+2 |
| | | | | xrange step argument being 0 | ||||
* | fix return type, should be a dict | Neil Johnson | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | fix PEP8 violation | Neil Johnson | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | remove white space | Neil Johnson | 2018-01-25 | 1 | -1/+0 |
| | |||||
* | synapse 500s on a call to publicRooms in the case where the number of public ↵ | Neil Johnson | 2018-01-25 | 1 | -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 code | Richard van der Hoff | 2017-11-14 | 1 | -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 handler | Richard van der Hoff | 2017-11-14 | 1 | -0/+13 |
| | | | | So we can see what it gets up to. | ||||
* | Update room_list.py | Erik Johnston | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Do logcontexts outside ResponseCache | Erik Johnston | 2017-10-25 | 1 | -2/+5 |
| | |||||
* | Add logging and fix log contexts for publicRooms | Erik Johnston | 2017-10-25 | 1 | -0/+2 |
| | |||||
* | Initial group server implementation | Erik Johnston | 2017-07-10 | 1 | -8/+10 |
| | |||||
* | Comments | Erik Johnston | 2017-03-13 | 1 | -0/+12 |
| | |||||
* | Assume rooms likely haven't changed | Erik Johnston | 2017-03-13 | 1 | -8/+11 |
| | |||||
* | Get current state by using current_state_events table | Erik Johnston | 2017-03-10 | 1 | -18/+29 |
| | |||||
* | Cache network room list queries. | Erik Johnston | 2016-12-16 | 1 | -3/+4 |
| | |||||
* | Fix caching on public room list | Erik Johnston | 2016-12-13 | 1 | -2/+4 |
| | |||||
* | Comments | Erik Johnston | 2016-12-07 | 1 | -1/+2 |
| | |||||
* | Add new API appservice specific public room list | Erik Johnston | 2016-12-06 | 1 | -11/+46 |
| | |||||
* | Add total_room_count_estimate to /publicRooms | Erik Johnston | 2016-09-21 | 1 | -0/+3 |
| | |||||
* | Merge pull request #1130 from matrix-org/erikj/fix_pubroom_pag | Erik Johnston | 2016-09-19 | 1 | -12/+25 |
|\ | | | | | Handle fact that _generate_room_entry may not return a room entry | ||||
| * | PEP8 | Erik Johnston | 2016-09-17 | 1 | -1/+1 |
| | | |||||
| * | Handle fact that _generate_room_entry may not return a room entry | Erik Johnston | 2016-09-17 | 1 | -12/+25 |
| | | |||||
* | | Merge pull request #1129 from matrix-org/erikj/fix_pubroom_pag | Erik Johnston | 2016-09-17 | 1 | -110/+123 |
|\| | | | | | Fix and clean up publicRooms pagination | ||||
| * | Spelling | Erik Johnston | 2016-09-17 | 1 | -1/+1 |
| | | |||||
| * | Fix and clean up publicRooms pagination | Erik Johnston | 2016-09-17 | 1 | -110/+123 |
| | | |||||
* | | Make public room search case insensitive | David Baker | 2016-09-16 | 1 | -4/+4 |
|/ | |||||
* | Comment | Erik Johnston | 2016-09-16 | 1 | -0/+2 |
| | |||||
* | Add remote reoom cache | Erik Johnston | 2016-09-16 | 1 | -2/+23 |
| | |||||
* | Support filtering remote room lists | Erik Johnston | 2016-09-16 | 1 | -3/+9 |
| | |||||
* | Filter remote rooms lists locally | Erik Johnston | 2016-09-16 | 1 | -10/+24 |
| | |||||
* | Don't cache searched in /publicRooms | Erik Johnston | 2016-09-16 | 1 | -1/+5 |
| | |||||
* | Add very basic filter API to /publicRooms | Erik Johnston | 2016-09-15 | 1 | -5/+18 |
| | |||||
* | Change the way we calculate new_limit in /publicRooms and add POST API | Erik Johnston | 2016-09-15 | 1 | -15/+33 |
| | |||||
* | Base public room list off of public_rooms stream | Erik Johnston | 2016-09-15 | 1 | -7/+27 |
| | |||||
* | Pass since/from parameters over federation | Erik Johnston | 2016-09-15 | 1 | -29/+26 |
| | |||||
* | Allow paginating both forwards and backwards | Erik Johnston | 2016-09-15 | 1 | -21/+50 |
| | |||||
* | Remove support for aggregate room lists | Erik Johnston | 2016-09-15 | 1 | -55/+0 |
| | |||||
* | Accept optional token to public room list | Erik Johnston | 2016-09-15 | 1 | -7/+75 |
| | |||||
* | Calculate the public room list from a stream_ordering | Erik Johnston | 2016-09-14 | 1 | -3/+40 |
| | |||||
* | Refactor public rooms to not pull out the full state for each room | Erik Johnston | 2016-09-14 | 1 | -14/+30 |
| | |||||
* | Move RoomListHandler into a separate file | Erik Johnston | 2016-09-14 | 1 | -0/+184 |