Commit Graph

54 Commits (87b111f96a244cd212e8fff7f1a0f661fdd8073e)

Author SHA1 Message Date
Amber Brown 14e4d4f4bf
Port storage/ to Python 3 (#3725) 6 years ago
Richard van der Hoff 03751a6420 Fix some looping_call calls which were broken in #3604 6 years ago
Richard van der Hoff 371da42ae4 Wrap a number of things that run in the background 6 years ago
Matthew Hodgson 9e40834f74 yes, we do need to invalidate the device_id_exists_cache when deleting a remote device 6 years ago
Matthew Hodgson 12ec58301f shift to using an explicit deleted flag on m.device_list_update EDUs 6 years ago
Matthew Hodgson 5797f5542b WIP to announce deleted devices over federation 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Adrian Tschira 933bf2dd35 replace some iteritems with six 7 years ago
Erik Johnston 926ba76e23 Replace ujson with simplejson 7 years ago
Richard van der Hoff 6cfee09be9 Make __init__ consitstent across Store heirarchy 7 years ago
Erik Johnston 64ed74c01e When pruning, delete from device_lists_outbound_last_success 8 years ago
Erik Johnston 1a81a1898e Keep pruning background task 8 years ago
Erik Johnston 65f0513a33 Split up device_lists_outbound_pokes table for faster updates. 8 years ago
Erik Johnston 6a12998a83 Add missing yields 8 years ago
Erik Johnston 94e6ad71f5 Invalidate cache on device deletion 8 years ago
Erik Johnston fc6d4974a6 Comment 8 years ago
Erik Johnston 738ccf61c0 Cache check to see if device exists 8 years ago
Erik Johnston 24d35ab47b Add new storage functions for new replication 8 years ago
Erik Johnston 2a28b79e04 Batch sending of device list pokes 8 years ago
Erik Johnston 00957d1aa4 User Cursor.__iter__ instead of fetchall 8 years ago
Richard van der Hoff 29ed09e80a Fix assertion to stop transaction queue getting wedged 8 years ago
Luke Barnard bbeeb97f75 Implement _simple_delete_many_txn, use it to delete devices 8 years ago
Erik Johnston ac5491f563 Select distinct devices from DB 8 years ago
Erik Johnston da52d3af31 Fix up 8 years ago
Erik Johnston d766343668 Add index to device_lists_stream 8 years ago
Erik Johnston 3365117151 Clobber old device list stream entries 8 years ago
Erik Johnston 8a12b6f1eb Fix up txn name 8 years ago
Erik Johnston f58dbb02a6 Cache get_user_devices_from_cache 8 years ago
Erik Johnston ab55794b6f Fix deletion of old sent devices correctly 8 years ago
Erik Johnston d3169e8d28 Only fetch with row ts and count > 1 8 years ago
Erik Johnston 05b9f48ee5 Fix clearing out old device list outbound pokes 8 years ago
Erik Johnston c2c9a78db9 Noop device key changes if they're the same 8 years ago
Erik Johnston e75a779d9e Fix query 8 years ago
Erik Johnston 3670025e64 Rename func 8 years ago
Erik Johnston d360c97ae1 Clear out old destination pokes. 8 years ago
Erik Johnston 76100203ab Always use the latest stream_id, sent or unsent 8 years ago
Erik Johnston d1e1fd6210 Add ts column to device_lists_outbound_pokes 8 years ago
Erik Johnston 252b503fc8 Hook device list updates to replication 8 years ago
Erik Johnston 84a35f32c7 Comment 8 years ago
Erik Johnston 738a2867c8 SQL param ordering 8 years ago
Erik Johnston 755adff0e4 User if rather than for 8 years ago
Erik Johnston 888c59c955 Better name 8 years ago
Erik Johnston f25a4a4692 Remove unused param 8 years ago
Erik Johnston 76d40f4904 Handle users leaving rooms 8 years ago
Erik Johnston fbfad76c03 Add comments 8 years ago
Erik Johnston c974116f19 Implement device key caching over federation 8 years ago
Erik Johnston 51e9fe36e4 Fix up sending of m.device_list_update edus 8 years ago
Erik Johnston 2367c5568c Add basic implementation of local device list changes 8 years ago
Mark Haines 85b51fdd6b Log the types and values when failing to store devices 8 years ago