Commit Graph

34 Commits (fec4485e28569718b9a0c341be4aaead8533c280)

Author SHA1 Message Date
Erik Johnston fec4485e28 Batch fetching of events for state groups 10 years ago
Erik Johnston 409bcc76bd Load events for state group seperately 10 years ago
Mark Haines d18f37e026 Collect the invalidate callbacks on the transaction object rather than passing around a separate list 10 years ago
Erik Johnston 43c2e8deae Add support for using executemany 10 years ago
Mark Haines a9aea68fd5 Invalidate the caches from the correct thread 10 years ago
Erik Johnston 8be5284e91 Remove pointless join 10 years ago
Erik Johnston 00718ae7a9 Need more yield 10 years ago
Erik Johnston 0465560c1a Add missing param 10 years ago
Erik Johnston f383d5a801 Fix up get_current_state and get_room_name_and_aliases queries to parse events in transaction 10 years ago
Erik Johnston 3c4c229788 Don't use sub queries, it makes postgres sad 10 years ago
Erik Johnston 2366d28780 Don't needlessly join on state_events 10 years ago
Erik Johnston 86fc9b617c For backwards compat, make state_groups.id have a type of int, not varchar 10 years ago
Erik Johnston 0bfa78b39b PEP8 10 years ago
Erik Johnston 304111afd0 Don't use AUTOINCREMENT, use an in memory version 10 years ago
Erik Johnston 6e7131f02f Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable. 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
Erik Johnston f1d2b94e0b Copy dict of context.current_state before changing it. 10 years ago
Mark Haines 3891597eb3 Remove unused functions 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 12819d5082 Remove debug lines 10 years ago
Erik Johnston 753126b8cc Add some debug logging 10 years ago
Erik Johnston f3788e3c78 Test some ideas that might help performance a bit 10 years ago
Erik Johnston d044121168 Various typos and bug fixes. 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Erik Johnston 3598c11c8d Correctly handle the case where we get an event for an unknown room, which turns out we are actually in 10 years ago
Erik Johnston e24d5cb97d Document StateStore and use transactions 10 years ago
Erik Johnston 6fea478d2e Fix bugs with invites/joins across federatiom. 10 years ago
Erik Johnston 5ff0bfb81d Fix bug where we /always/ created a new state group 10 years ago
Erik Johnston da1dda3e1d Add transaction level logging and timing information. Add a _simple_delete method 10 years ago
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago
Erik Johnston 80472ac198 Add missing package storate.state 10 years ago