Commit Graph

179 Commits (b18cd25e42711d99c62a098203f59f4e12f3fca7)

Author SHA1 Message Date
Richard van der Hoff 8ddd0f273c Comments on get_all_new_events_stream 6 years ago
Matthew Hodgson 3f543dc021 initial cut at a room summary API (#3574) 6 years ago
Matthew Hodgson e9b2d047f6
make /context lazyload & filter aware (#3567) 6 years ago
Richard van der Hoff 21e878ebb6 Make EventStore inherit from EventFederationStore 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Erik Johnston a17e901f4d Remove unused string formatting param 7 years ago
Erik Johnston 5494c1d71e Don't support limitless pagination 7 years ago
Erik Johnston 7ce98804ff Fix up comment 7 years ago
Erik Johnston 75552d2148 Update comments 7 years ago
Erik Johnston c0e08dc45b Remove unused code path from member change DB func 7 years ago
Erik Johnston e2accd7f1d Refactor sync APIs to reuse pagination API 7 years ago
Erik Johnston e5ab9cd24b Don't unnecessarily require token to be stream token 7 years ago
Erik Johnston c4af4c24ca Refactor get_recent_events_for_room return type 7 years ago
Erik Johnston 05e0a2462c Refactor pagination DB API to return concrete type 7 years ago
Erik Johnston 7dd13415db Remove unused from_token param 7 years ago
Erik Johnston 27cf170558 Refactor recent events func to use pagination func 7 years ago
Erik Johnston 23ec51c94c Fix up comments and make function private 7 years ago
Erik Johnston 696f532453 Reuse existing pagination code for context API 7 years ago
Erik Johnston 3e6d306e94 Parse tokens before calling DB function 7 years ago
Erik Johnston 274b8c6025 Only fetch required fields from database 7 years ago
Erik Johnston 06c0d0ed08 Split paginate_room_events storage function 7 years ago
Adrian Tschira d82b6ea9e6 Move more xrange to six 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 605defb9e4 Add missing consumeErrors 7 years ago
Erik Johnston d4ffe61d4f Remove ability for AS users to call /events and /sync 7 years ago
Richard van der Hoff f8bfcd7e0d Provide a means to pass a timestamp to purge_history 7 years ago
Erik Johnston 1b2af11650 Document abstract class and method better 7 years ago
Erik Johnston f793bc3877 Split out stream store 7 years ago
Richard van der Hoff 7e6fa29cb5 Remove preserve_context_over_{fn, deferred} 7 years ago
Erik Johnston 79926e016e Assume rooms likely haven't changed 8 years ago
Erik Johnston fbfe44bb4d Doc args 8 years ago
Erik Johnston d61a04583e Comment 8 years ago
Erik Johnston 7e919bdbd0 Include newly joined users in /keys/changes API 8 years ago
Erik Johnston c45d8e9ba2 Add profile data to the room_membership table for joins 8 years ago
Erik Johnston 7c9cdb2245 Store federation stream positions in the database 8 years ago
Erik Johnston f8ee66250a Handle sending events and device messages over federation 8 years ago
Erik Johnston d04e2ff3a4 Fix incredubly slow back pagination query 8 years ago
Erik Johnston c566f0ee17 Calculate the public room list from a stream_ordering 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston f91faf09b3 Comment 8 years ago
Erik Johnston d554ca5e1d Add support for filters in paginate_room_events 8 years ago
Erik Johnston 8f8798bc0d Add ReadWriteLock for pagination and history prune 9 years ago
Mark Haines dd2ccee27d Fix typo 9 years ago
Mark Haines b6b0132ac7 Make get_events_around more efficient on sqlite3 9 years ago
Mark Haines d44d11d864 Use true/false for boolean parameter inclusive to avoid potential for sqli, and possibly make the code clearer 9 years ago
Mark Haines 0fb76c71ac Use different SQL for postgres and sqlite3 for when using multicolumn indexes 9 years ago
Mark Haines f18d7546c6 Use a query that postgresql optimises better for get_events_around 9 years ago
Erik Johnston 05e01f21d7 Remove event fetching from DB threads 9 years ago
Mark Haines 7e2f971c08 Remove some unused functions (#711) 9 years ago
Mark Haines e36bfbab38 Use a stream id generator for backfilled ids 9 years ago