summary refs log tree commit diff
path: root/synapse/storage/databases/main/roommember.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-091-8/+11
* Ensure local invited & knocking users leave before purge. (#16559)Patrick Cloke2023-10-271-0/+16
* Remove more usages of cursor_to_dict. (#16551)Patrick Cloke2023-10-261-2/+2
* Convert simple_select_list and simple_select_list_txn to return lists of tupl...Patrick Cloke2023-10-261-6/+9
* Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444)Patrick Cloke2023-10-111-35/+43
* Remove manys calls to cursor_to_dict (#16431)Patrick Cloke2023-10-051-6/+4
* mypy plugin to check `@cached` return types (#14911)David Robertson2023-10-021-2/+3
* Convert more cached return values to immutable types (#16356)Patrick Cloke2023-09-201-4/+6
* Return immutable objects for cachedList decorators (#16350)Patrick Cloke2023-09-191-4/+4
* Speed up updating state in large rooms (#15971)Erik Johnston2023-07-201-122/+0
* Remove superfluous `room_memberships` join from background update (#15733)Eric Eastwood2023-06-071-1/+0
* No need for the extra join since `membership` is built-in to `current_state_e...Eric Eastwood2023-06-061-4/+3
* Improve type hints for cached decorator. (#15658)Patrick Cloke2023-05-241-1/+1
* Add config option to forget rooms automatically when users leave them (#15224)Sean Quah2023-05-031-24/+45
* Speed up membership queries for users with forgotten rooms (#15385)Erik Johnston2023-04-041-1/+11
* Return read-only collections from `@cached` methods (#13755)Sean Quah2023-02-101-10/+9
* Fetch fewer events when getting hosts in room (#14962)David Robertson2023-02-021-2/+44
* Faster joins: omit partial rooms from eager syncs until the resync completes ...David Robertson2023-01-231-5/+14
* Include heroes in partial join responses' state (#14442)David Robertson2022-11-151-0/+30
* Check appservice user interest against the local users instead of all users (...Eric Eastwood2022-10-271-0/+3
* Fix presence bug introduced in 1.64 by #13313 (#14243)Mathieu Velten2022-10-271-2/+1
* Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)dependabot[bot]2022-10-191-2/+2
* Batch up calls to `get_rooms_for_users` (#14109)Nick Mills-Barrett2022-10-121-1/+16
* Fix performance regression in `get_users_in_room` (#13972)Erik Johnston2022-09-301-56/+73
* Optimise get_rooms_for_user (drop with_stream_ordering) (#13787)Nick Mills-Barrett2022-09-291-61/+56
* Handle the case of remote users leaving a partial join room for device lists ...Erik Johnston2022-09-271-20/+26
* Deduplicate `is_server_notices_room`. (#13780)reivilibre2022-09-141-0/+17
* Remove check current state membership up to date (#13745)Nick Mills-Barrett2022-09-121-155/+47
* Update docstrings to explain the impact of partial state (#13750)Sean Quah2022-09-081-1/+16
* Avoid raising errors due to malformed IDs in `get_current_hosts_in_room` (#13...Sean Quah2022-09-081-1/+4
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-0/+2
* Remove cached wrap on `_get_joined_users_from_context` method (#13569)Nick Mills-Barrett2022-08-311-84/+38
* Optimize how we calculate `likely_domains` during backfill (#13575)Eric Eastwood2022-08-301-17/+71
* Directly lookup local membership instead of getting all members in a room fir...Eric Eastwood2022-08-241-0/+26
* Fix regression caused by #13573 (#13600)Erik Johnston2022-08-231-4/+6
* Cache user IDs instead of profile objects (#13573)Nick Mills-Barrett2022-08-231-38/+29
* Add forgotten status to Room Details API (#13503)Dirk Klimpel2022-08-171-0/+24
* Faster room joins: make `/joined_members` block whilst the room is partial st...reivilibre2022-08-161-0/+3
* Optimise async get event lookups (#13435)Nick Mills-Barrett2022-08-041-1/+1
* Refactor presence so we can prune user in room caches (#13313)Erik Johnston2022-07-251-15/+68
* Increase batch size of `bulk_get_push_rules` and `_get_joined_profiles_from_e...Shay2022-07-181-1/+1
* Improve performance of query ` _get_subset_users_in_room_with_profiles` (#13299)Shay2022-07-181-1/+1
* Async get event cache prep (#13242)Nick Mills-Barrett2022-07-151-1/+3
* Don't pull out state in `compute_event_context` for unconflicted state (#13267)Erik Johnston2022-07-141-27/+8
* Don't pull out the full state when calculating push actions (#13078)Erik Johnston2022-07-111-0/+86
* Reduce state pulled from DB due to sending typing and receipts over federatio...Erik Johnston2022-06-061-0/+37
* Mutual rooms: Remove dependency on user directory (#12836)Jonathan de Jong2022-05-301-0/+24
* allow `on_invalidate=None` in `@cached` methods (#12769)David Robertson2022-05-171-1/+2
* Add some type hints to datastore (#12717)Dirk Klimpel2022-05-171-43/+83
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-1/+1
* Add a configuration to exclude rooms from sync response (#12310)Brendan Abolivier2022-03-301-5/+16
* Add cache for `get_membership_from_event_ids` (#12272)Erik Johnston2022-03-251-4/+33
* Remove some unused variables/parameters. (#12187)Patrick Cloke2022-03-091-9/+5
* Optimise calculating device_list changes in `/sync`. (#11974)Erik Johnston2022-02-151-0/+62
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-3/+3
* Type hint the constructors of the data store classes (#11555)Sean Quah2021-12-131-4/+19
* Disambiguate queries on `state_key` (#11497)Richard van der Hoff2021-12-021-2/+2
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-021-3/+5
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-3/+4
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+1
* Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826)David Robertson2021-09-221-3/+8
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* Easy refactors of the user directory (#10789)David Robertson2021-09-101-0/+5
* Do not include rooms with an unknown room version in a sync response. (#10644)Patrick Cloke2021-08-191-3/+5
* Convert room member storage tuples to attrs. (#10629)Patrick Cloke2021-08-181-2/+6
* Improve event caching code (#10119)Erik Johnston2021-08-041-4/+2
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-1/+1
* Show all joinable rooms in the spaces summary. (#10298)Patrick Cloke2021-07-131-2/+11
* Fix incorrect time magnitude on delayed call (#10195)Andrew Morgan2021-06-171-1/+1
* Use get_current_users_in_room from store and not StateHandler (#9910)Erik Johnston2021-05-051-2/+6
* Only store data in caches, not "smart" objects (#9845)Erik Johnston2021-04-231-72/+89
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+12
* User directory: use calculated room membership state instead (#9821)Andrew Morgan2021-04-161-0/+27
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-8/+9
* Use execute_batch in more places (#9188)Erik Johnston2021-01-211-5/+1
* Speed up remote invite rejection database call (#8815)Andrew Morgan2020-11-251-1/+33
* Consistently use wrap_as_background_task in more places (#8599)Patrick Cloke2020-10-201-9/+7
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-1/+1
* Move additional tasks to the background worker (#8458)Patrick Cloke2020-10-071-1/+4
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-021-10/+3
* Add EventStreamPosition type (#8388)Erik Johnston2020-09-241-5/+9
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-3/+3
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Fix typing for SyncHandler (#8237)Erik Johnston2020-09-031-3/+3
* Convert `event_push_actions`, `registration`, and `roommember` datastores to ...Patrick Cloke2020-08-281-25/+27
* Convert some of the general database methods to async (#8100)Patrick Cloke2020-08-171-2/+2
* Convert misc database code to async (#8087)Patrick Cloke2020-08-141-11/+6
* Convert the roommember database to async/await. (#8070)Patrick Cloke2020-08-121-165/+98
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+1139