Commit Graph

105 Commits (065e739d6e1de2f3dea1ebfc63065b08bda37be4)

Author SHA1 Message Date
Erik Johnston c8285564a3 Use state to calculate get_users_in_room 9 years ago
Mark Haines 816df9f267 get_room_members is unused now 9 years ago
Mark Haines 1a3a2002ff Spell "domain" correctly 9 years ago
Erik Johnston 08dfa8eee2 Add and use get_domian_from_id 9 years ago
Mark Haines 7e2f971c08 Remove some unused functions (#711) 9 years ago
David Baker 0fd1cd2400 pep8 9 years ago
David Baker 7e2c89a37f Make pushers use the event_push_actions table instead of listening on an event stream & running the rules again. Sytest passes, but remaining to do: 9 years ago
Erik Johnston df727f2126 Fix stuck invites 9 years ago
Erik Johnston 0c53d750e7 Docs and indents 9 years ago
Erik Johnston 92ab45a330 Add upgrade path, rename table 9 years ago
Erik Johnston 3d76b7cb2b Store invites in a separate table. 9 years ago
Erik Johnston b6507869cd Make get_invites return RoomsForUser 9 years ago
Mark Haines 673c96ce97 Remove dead code left over from presence changes 9 years ago
Erik Johnston 25c311eaf6 Cache get_room_changes_for_user 9 years ago
Erik Johnston c5e7c0e436 Up get_rooms_for_user cache size 9 years ago
Erik Johnston 53cb173663 Push: Use storage apis that are cached 9 years ago
Erik Johnston cc66a9a5e3 Allow filtering events for multiple users at once 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall 76e69cc8de Fix typo 9 years ago
Mark Haines 7d6b313312 Add caches for whether a room has been forgotten by a user 9 years ago
Daniel Wagner-Hall df7cf6c0eb Fix SQL for postgres again 9 years ago
Daniel Wagner-Hall 3e573a5c6b Fix SQL for postgres 9 years ago
Daniel Wagner-Hall df6824a008 Ignore forgotten rooms in v2 sync 9 years ago
Daniel Wagner-Hall 9da4c5340d Simplify code 9 years ago
Daniel Wagner-Hall bed7889703 Apply forgetting properly to historical events 9 years ago
Daniel Wagner-Hall ba26eb3d5d Allow users to forget rooms 9 years ago
Mark Haines e3d75f564a Include banned rooms in the archived section of v2 sync 9 years ago
Mark Haines 68b7fc3e2b Add rooms that the user has left under archived in v2 sync. 9 years ago
Mark Haines cacf0688c6 Add a get_invites_for_user method to the storage to find out the rooms a user is invited to 9 years ago
Mark Haines cf1100887b Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txn 9 years ago
Mark Haines e51aa4be96 synapse/storage/roommember.py:_get_members_query was unused 9 years ago
Erik Johnston 49ae42bbe1 Bundle in some room state in the unsigned bit of the invite when sending to invited servers 9 years ago
Mark Haines 417485eefa Include the event_id and stream_ordering of membership events when looking up which rooms a user is in 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston 20addfa358 Change Cache to not use *args in its interface 9 years ago
Erik Johnston b8e386db59 Change Cache to not use *args in its interface 9 years ago
Erik Johnston 1e62a3d3a9 Up the cache size for 'get_joined_hosts_for_room' and 'get_users_in_room' 9 years ago
Erik Johnston 5130d80d79 Add bulk insert events API 10 years ago
Mark Haines 53447e9cd3 Add caches for things requested by the pushers 10 years ago
Erik Johnston f6f902d459 Move fetching of events into their own transactions 10 years ago
Mark Haines d18f37e026 Collect the invalidate callbacks on the transaction object rather than passing around a separate list 10 years ago
Mark Haines a9aea68fd5 Invalidate the caches from the correct thread 10 years ago
Erik Johnston 61d05daab1 More join conditions 10 years ago
Erik Johnston 6ead27ddda Add more conditions on JOINs to make postgres go a little faster. 10 years ago
Erik Johnston 69d4063651 Add get_rooms_for_user cache 10 years ago
Erik Johnston 0bfa78b39b PEP8 10 years ago
Erik Johnston 5a447098dd Don't use room hosts table 10 years ago
Erik Johnston 9a7f496298 Sanitize RoomMemberStore 10 years ago
Erik Johnston dc0c989ef4 Give sensible names for '_simple_...' transactions 10 years ago
Erik Johnston d7a0496f3e Convert storage layer to be mysql compatible 10 years ago