summary refs log tree commit diff
path: root/synapse/storage/roommember.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix up commentErik Johnston2017-10-091-1/+2
* Update commentsErik Johnston2017-10-031-0/+7
* Ignore incoming events for rooms that we have leftErik Johnston2017-10-031-0/+32
* Add cache for is_host_joinedErik Johnston2017-06-131-1/+1
* Tweak SQLErik Johnston2017-06-091-3/+6
* Change is_host_joined to use current_state tableErik Johnston2017-06-091-29/+23
* CommentsErik Johnston2017-06-071-0/+9
* Remove spurious log linesErik Johnston2017-06-071-1/+0
* Handle None state group correctlyErik Johnston2017-05-261-1/+4
* Faster cache for get_joined_hostsErik Johnston2017-05-251-21/+72
* CommentErik Johnston2017-05-171-0/+5
* Short circuit when we have delta idsErik Johnston2017-05-171-3/+19
* Speed up get_joined_hostsErik Johnston2017-05-161-1/+2
* Don't update event cache hit ratio from get_joined_usersErik Johnston2017-05-081-0/+4
* Merge pull request #2176 from matrix-org/erikj/faster_get_joinedErik Johnston2017-05-051-16/+42
|\
| * FixesErik Johnston2017-05-051-3/+4
| * Add commentErik Johnston2017-05-041-0/+3
| * Make get_joined_users fasterErik Johnston2017-05-031-16/+38
* | Merge pull request #2185 from matrix-org/erikj/smaller_cachesErik Johnston2017-05-051-2/+2
|\ \
| * | Reduce size of get_users_in_roomErik Johnston2017-05-041-2/+2
| |/
* | Intern host stringsErik Johnston2017-05-041-1/+2
* | Make caches biggerErik Johnston2017-05-041-1/+1
* | Fix comment and num argsErik Johnston2017-05-041-1/+1
* | Add cache for get_current_hosts_in_roomErik Johnston2017-05-021-0/+38
|/
* CommentErik Johnston2017-04-251-0/+2
* Reduce size of joined_user cacheErik Johnston2017-04-251-8/+14
* Cache hosts in roomErik Johnston2017-03-241-0/+10
* Replace some calls to cursor_to_dictErik Johnston2017-03-241-34/+9
* CommentsErik Johnston2017-03-161-0/+2
* Don't recreate so many setsErik Johnston2017-03-161-5/+6
* Bump cache sizes for common membership queriesErik Johnston2017-02-021-3/+3
* CommentErik Johnston2017-02-021-1/+2
* Make presence.get_new_events a bit fasterErik Johnston2017-02-021-0/+16
* Merge pull request #1868 from matrix-org/erikj/replication_cacheErik Johnston2017-02-011-2/+0
|\
| * Only invalidate membership caches based on the cache streamErik Johnston2017-01-311-2/+0
* | Add m.room.member type to queryErik Johnston2017-02-011-1/+1
* | Add an index to make membership queries fasterErik Johnston2017-01-311-1/+1
|/
* Don't have such a large cacheErik Johnston2017-01-301-1/+1
* Use get_users_in_room and declare it iterableErik Johnston2017-01-301-1/+1
* Up cache max entries for stateErik Johnston2017-01-161-1/+1
* Increase cache size limitErik Johnston2017-01-161-1/+1
* Optionally measure size of cache by sum of length of valuesErik Johnston2017-01-131-1/+2
* fix annoying typosMatthew Hodgson2017-01-051-2/+2
* Fixup membership queryErik Johnston2016-12-141-2/+2
* Fix background update that prematurely stoppedErik Johnston2016-12-121-1/+1
* Add /room/<room_id>/joined_members APIErik Johnston2016-12-081-3/+13
* Add profile data to the room_membership table for joinsErik Johnston2016-12-081-0/+86
* Reduce batch size to be under SQL limitErik Johnston2016-09-091-1/+1
* Correctly handle the difference between prev and current stateErik Johnston2016-08-311-4/+23
* Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-9/+2
* Add is_host_joined to slave storageErik Johnston2016-08-261-3/+4
* Cache check_host_in_roomErik Johnston2016-08-261-0/+35
* Add descErik Johnston2016-08-251-1/+2
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-2/+43
* Add some invalidations to a cache_streamErik Johnston2016-08-151-5/+7
* Remove dead code.Mark Haines2016-06-071-7/+0
* Make get_joined_hosts_for_room use get_users_in_roomErik Johnston2016-06-031-16/+3
* Use state to calculate get_users_in_roomErik Johnston2016-06-011-3/+0
* get_room_members is unused nowMark Haines2016-05-161-18/+0
* Spell "domain" correctlyMark Haines2016-05-161-2/+2
* Add and use get_domian_from_idErik Johnston2016-05-091-5/+2
* Merge pull request #705 from matrix-org/dbkr/pushers_use_event_actionsDavid Baker2016-04-111-0/+3
|\
| * pep8David Baker2016-04-061-1/+3
| * Make pushers use the event_push_actions table instead of listening on an even...David Baker2016-04-061-0/+1
* | Remove some unused functions (#711)Mark Haines2016-04-081-33/+0
|/
* Fix stuck invitesErik Johnston2016-04-051-0/+19
* Docs and indentsErik Johnston2016-04-041-2/+16
* Add upgrade path, rename tableErik Johnston2016-04-041-3/+3
* Store invites in a separate table.Erik Johnston2016-04-041-21/+90
* Make get_invites return RoomsForUserErik Johnston2016-03-231-6/+4
* Remove dead code left over from presence changesMark Haines2016-03-171-24/+0
* Cache get_room_changes_for_userErik Johnston2016-01-291-0/+4
* Up get_rooms_for_user cache sizeErik Johnston2016-01-281-1/+1
* Push: Use storage apis that are cachedErik Johnston2016-01-251-0/+1
* Allow filtering events for multiple users at onceErik Johnston2016-01-181-0/+13
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Fix typoDaniel Wagner-Hall2015-12-141-1/+1
* Add caches for whether a room has been forgotten by a userMark Haines2015-12-101-4/+7
* Fix SQL for postgres againDaniel Wagner-Hall2015-11-231-1/+1
* Fix SQL for postgresDaniel Wagner-Hall2015-11-231-1/+1
* Ignore forgotten rooms in v2 syncDaniel Wagner-Hall2015-11-191-1/+1
* Simplify codeDaniel Wagner-Hall2015-11-191-7/+5
* Apply forgetting properly to historical eventsDaniel Wagner-Hall2015-11-181-2/+32
* Allow users to forget roomsDaniel Wagner-Hall2015-11-171-0/+36
* Include banned rooms in the archived section of v2 syncMark Haines2015-10-211-2/+2
* Add rooms that the user has left under archived in v2 sync.Mark Haines2015-10-191-0/+13
* Add a get_invites_for_user method to the storage to find out the rooms a user...Mark Haines2015-10-131-0/+14
* Merge pull request #288 from matrix-org/markjh/unused_definitionsMark Haines2015-09-281-6/+0
|\
| * synapse/storage/roommember.py:_get_members_query was unusedMark Haines2015-09-231-6/+0
* | Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txnMark Haines2015-09-241-6/+6
|/
* Include the event_id and stream_ordering of membership events when looking up...Mark Haines2015-09-081-2/+4
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+2
* Change Cache to not use *args in its interfaceErik Johnston2015-08-071-3/+3
* Up the cache size for 'get_joined_hosts_for_room' and 'get_users_in_room'Erik Johnston2015-08-051-2/+2
* Add bulk insert events APIErik Johnston2015-06-251-27/+17
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-0/+2
|\
| * Add caches for things requested by the pushersMark Haines2015-05-211-0/+2
* | Move fetching of events into their own transactionsErik Johnston2015-05-141-21/+18
|/
* Collect the invalidate callbacks on the transaction object rather than passin...Mark Haines2015-05-051-5/+3
* Invalidate the caches from the correct threadMark Haines2015-05-051-3/+5
* More join conditionsErik Johnston2015-04-301-2/+6
* Add more conditions on JOINs to make postgres go a little faster.Erik Johnston2015-04-301-1/+1
* Add get_rooms_for_user cacheErik Johnston2015-04-301-0/+2
* PEP8Erik Johnston2015-04-071-1/+0
* Don't use room hosts tableErik Johnston2015-03-241-25/+4
* Sanitize RoomMemberStoreErik Johnston2015-03-231-63/+61
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-1/+2
|\
| * Give sensible names for '_simple_...' transactionsErik Johnston2015-03-201-1/+2
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-1/+1
|/
* PEP8Kegan Dougal2015-03-021-1/+1
* Wrap all of get_app_service_rooms in a txn.Kegan Dougal2015-03-021-17/+19
* RoomMemberStore no longer needs a _user_rooms_cache memberPaul "LeoNerd" Evans2015-02-231-5/+0
* Take named arguments to @cached() decorator, add a 'max_entries' limitPaul "LeoNerd" Evans2015-02-191-1/+1
* Move @cached decorator out into synapse.storage._base; add minimal docsPaul "LeoNerd" Evans2015-02-191-27/+1
* Pull out the 'get_rooms_for_user' cache logic into a reĆ¼sable @cached decoratorPaul "LeoNerd" Evans2015-02-191-24/+29
* Use consumeErrors=True on all DeferredLists.Erik Johnston2015-02-171-1/+1
* Added another TODO notePaul "LeoNerd" Evans2015-02-111-0/+3
* Cache the result of a get_rooms_for_user query, to make user_rooms_intersect(...Paul "LeoNerd" Evans2015-02-111-7/+34
* First step of making user_rooms_intersect() faster - implement in intersectio...Paul "LeoNerd" Evans2015-02-111-18/+20
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-2/+3
* Merge branch 'erikj-perf' of github.com:matrix-org/synapse into developErik Johnston2015-01-061-21/+49
|\
| * Name 'user_rooms_intersect' transactionErik Johnston2015-01-061-16/+18
| * We don't need the full events for get_rooms_for_user_where_membership_isErik Johnston2015-01-061-5/+31
* | Merge pull request #28 from matrix-org/erikj-perfMark Haines2015-01-061-7/+14
|\|
| * Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ...Erik Johnston2015-01-061-0/+13
| * Test some ideas that might help performance a bitErik Johnston2014-12-171-7/+1
* | Update copyright noticesMark Haines2015-01-061-1/+1
|/
* Workaround for non-uniqueness of room member events in the database confusing...Paul "LeoNerd" Evans2014-12-021-1/+3
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-2/+2
* Fix pep8 warningsMark Haines2014-10-301-3/+5
* pyflakes cleanupErik Johnston2014-09-301-1/+0
* Add LIMIT to scalar subqueryErik Johnston2014-09-251-1/+2
* Rename deletions to redactionsErik Johnston2014-09-241-3/+3
* Add m.room.deletion. If an event is deleted it will be returned to clients 'p...Erik Johnston2014-09-231-3/+10
* Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-151-2/+2
|\
| * Fix bug where we relied on the current_state_events being updated when we are...Erik Johnston2014-09-121-2/+2
* | Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-121-12/+45
|\|
| * Fix bug where we incorrectly removed a remote host from the list of hosts in ...Erik Johnston2014-09-121-12/+45
* | More accurate docs / clearer paramter names in RoomMemberStorePaul "LeoNerd" Evans2014-09-121-6/+7
* | Revert recent changes to RoomMemberStorePaul "LeoNerd" Evans2014-09-121-27/+9
* | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_poolPaul "LeoNerd" Evans2014-09-121-0/+5
* | Add a better _store_room_member_txn() method that takes separated fields inst...Paul "LeoNerd" Evans2014-09-111-8/+21
* | Rename _store_room_member_txn to _store_room_member_from_event_txn so we can ...Paul "LeoNerd" Evans2014-09-111-1/+1
|/
* When getting a state event also include the previous contentErik Johnston2014-09-061-2/+2
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Rename the 'do_users_share_a_room' to something slightly less verb-soundingPaul "LeoNerd" Evans2014-09-031-1/+1
* add _get_room_member, fix datastore methodsMark Haines2014-08-271-2/+20
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-10/+27
|\
| * Fix pyflakes errorsMark Haines2014-08-261-7/+2
| * Add a do_users_share_a_room method and use that in the presence handler.Erik Johnston2014-08-261-0/+21
| * Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur...Kegan Dougal2014-08-261-1/+1
| |\
| | * Turn off spammy loggingErik Johnston2014-08-221-1/+1
| * | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-2/+3
| |/
* / Move the event storage into a single transactionMark Haines2014-08-261-5/+5
|/
* PEP8 cleanupsErik Johnston2014-08-151-1/+0
* Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-151-1/+7
* Fix up typos and correct sql queriesErik Johnston2014-08-141-13/+13
* Start fixing places that use the data store.Erik Johnston2014-08-141-1/+1
* Rename _execute_queryErik Johnston2014-08-141-1/+1
* Fix up RoomMemberStore to work with the new schema.Erik Johnston2014-08-141-95/+69
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+171