Commit Graph

117 Commits (3ecaabc7fd8a1a461c319248a94617cf24dd4070)

Author SHA1 Message Date
Erik Johnston 3ecaabc7fd Use topological orders for initial sync timeline 9 years ago
Erik Johnston 42109a62a4 Remove unused param from get_max_token 9 years ago
Erik Johnston ce14c7a995 Fix SYN-627, events are in incorrect room in /sync 9 years ago
Erik Johnston 0eff740523 Return events in correct order for /events 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Erik Johnston b84d59c5f0 Add descriptions 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Erik Johnston 8a391e33ae s/get_room_changes_for_user/get_membership_changes_for_user/ 9 years ago
Erik Johnston 477b1ed6cf Fetch events in a separate transaction. 9 years ago
Erik Johnston 89b40b225c Order things correctly 9 years ago
Erik Johnston 4bf448be25 Switch over /events to use per room caches 9 years ago
Erik Johnston ceb6b8680a Only use room_ids if in get_room_events_stream if is_guest 9 years ago
Erik Johnston 25c311eaf6 Cache get_room_changes_for_user 9 years ago
Erik Johnston 18579534ea Prefill stream change caches 9 years ago
Erik Johnston 45cf827c8f Change name and doc has_entity_changed 9 years ago
Erik Johnston 00cb3eb24b Cache tags and account data 9 years ago
Erik Johnston c23a8c7833 Ensure keys to RoomStreamChangeCache are ints 9 years ago
Erik Johnston e1941442d4 Invalidate caches properly. Remove unused arg 9 years ago
Erik Johnston 4e7948b47a Allow paginating backwards from stream token 9 years ago
Erik Johnston ba8931829b Return correct type of token 9 years ago
Erik Johnston e7febf4fbb PEP8 9 years ago
Erik Johnston aca3193efb Use the same path for incremental with gap or without gap 9 years ago
Erik Johnston b97f6626b6 Add cache to room stream 9 years ago
Erik Johnston 87f9477b10 Add a Homeserver.setup method. 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Daniel Wagner-Hall 771ca56c88 Remove more unused parameters 9 years ago
Erik Johnston 56dbcd1524 Docs 9 years ago
Erik Johnston 5cb298c934 Add room context api 9 years ago
Mark Haines 09cb5c7d33 Allow users that have left a room to get the messages that happend in the room before they left 9 years ago
Mark Haines 3c166a24c5 Remove undocumented and unimplemented 'feedback' parameter from the Client-Server API 9 years ago
Mark Haines 89ae0166de Allow room initialSync for users that have left the room, returning a snapshot of how the room was when they left it 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston b2c7bd4b09 Cache get_recent_events_for_room 9 years ago
Erik Johnston 07507643cb Use dictionary cache to do group -> state fetching 9 years ago
Erik Johnston a2c4f3f150 Fix daedlock 10 years ago
Erik Johnston f6f902d459 Move fetching of events into their own transactions 10 years ago
Erik Johnston 4071f29653 Fetch events from events_id in their own transactions 10 years ago
Erik Johnston 4df11b5039 Make get_current_token accept a direction parameter, which tells whether the source whether we want a token for going 'forwards' or 'backwards' 10 years ago
Erik Johnston 17653a5dfe Move storage.stream._StreamToken to types.RoomStreamToken 10 years ago
Erik Johnston 6ead27ddda Add more conditions on JOINs to make postgres go a little faster. 10 years ago
Erik Johnston 58d8339966 Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. 10 years ago
Erik Johnston 2ded344620 Remove unused import 10 years ago
Erik Johnston 8ad0f4912e
Stream ordering and out of order insertions. 10 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Paul "LeoNerd" Evans ceb61daa70 Add the tiniest of tiny one-element caches to get_room_events_max_id() as it's read every time someone hits eventstream 10 years ago
Erik Johnston 87db64b839 Rearrange storage modules 10 years ago
Erik Johnston cb8162d3d1 Rearrange storage modules 10 years ago
Erik Johnston d7a0496f3e Convert storage layer to be mysql compatible 10 years ago
Kegan Dougal 377ae369c1 Wrap all of get_app_service_rooms in a txn. 10 years ago