Commit Graph

410 Commits (2be5a2b07becdbf0957008ece74be3b3f957b233)

Author SHA1 Message Date
Erik Johnston b3a4e35ca8 Fixup functions to consistently return deferreds 5 years ago
Erik Johnston 8437e2383e Port SyncHandler to async/await 5 years ago
Amber Brown 020add5099
Update black to 19.10b0 (#6304) 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Andrew Morgan 2a44782666
Remove double return statements (#5962) 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
Erik Johnston 748aa38378 Remove logging for #5407 and update comments 5 years ago
Erik Johnston 6881f21f3e Handle TimelineBatch being limited and empty. 5 years ago
Hubert Chathi c659b9f94f allow uploading keys for cross-signing 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Erik Johnston 729f5a4fb6 Review comments 5 years ago
Erik Johnston 8624db3194 Refactor and comment sync device list code 5 years ago
Erik Johnston 806a06daf2 Rename get_users_whose_devices_changed 5 years ago
Erik Johnston a2f6d31a63 Refactor get_user_ids_changed to pull less from DB 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Brendan Abolivier 64fa928792
Simplify condition 6 years ago
Brendan Abolivier 0a2f522644
Simplify condition 6 years ago
Brendan Abolivier dbbaf25dd3
Do user_id != me checks before deciding whether we should pick heroes from the joined members or the parted ones 6 years ago
Matthew Hodgson 4a6d5de98c Make /sync attempt to return device updates for both joined and invited users (#3484) 6 years ago
Katie Wolfe 7e07dc429f
Lint 6 years ago
Katie Wolfe b3e5db402d
Clean up code 6 years ago
Katie Wolfe 5d3ed79944
Show heroes if room name or canonical alias are empty 6 years ago
Katie Wolfe 7f025eb425
Show heroes if room name or canonical alias are empty 6 years ago
Andrew Morgan 4a4d5c4fd6
Fix grammar and document get_current_users_in_room (#4998) 6 years ago
Erik Johnston 8b7790e68f Port #4422 debug logging from hotfixes 6 years ago
Erik Johnston 6d13bdec91 Add docstrings from matrix-org-hotfixes 6 years ago
Richard van der Hoff 07dfe148de
Add some debug for membership syncing issues (#4538) 6 years ago
Erik Johnston ed8c5e4cda Fix remote invite rejections not comming down sync 6 years ago
Nathan Pennie 81b513416e
Fixed line length 6 years ago
Nathan Pennie 668e6625b0
Fix the variable names used for account_data 6 years ago
Erik Johnston cb53ce9d64
Refactor state group lookup to reduce DB hits (#4011) 6 years ago
Erik Johnston 7e561b5c1a Add description to counter metric 6 years ago
Erik Johnston 3cbe8331e6 Track number of non-empty sync responses instead 6 years ago
Erik Johnston 395276b405 Append _total to metric and fix up spelling 6 years ago
Erik Johnston bdc27d6716 Add metric to count lazy member sync requests 6 years ago
Erik Johnston 82f922b4af Fix lazy loaded sync with rejected state events 6 years ago
Matthew Hodgson 787d22ed6c
Only lazy load self-members on initial sync 6 years ago
Matthew Hodgson a2ddaa90f2
Always LL ourselves if we're in a room to simplify clients (#3916) 6 years ago
Matthew Hodgson 2ac1abbc7e
show heroes if a room has a 'deleted' name/canonical_alias (#3851) 6 years ago
Matthew Hodgson 0403cf0783 argh pep8 6 years ago
Matthew Hodgson 0e200e366d correctly log gappy sync metrics 6 years ago
Matthew Hodgson 11bfc2af1c fix logline 6 years ago
Matthew Hodgson b041115415
Speed up lazy loading (#3827) 6 years ago
Erik Johnston f60c9e2a01 Don't send empty tags list down sync 6 years ago
Erik Johnston 7baf66ef5d Send existing room tags down sync on join 6 years ago
Amber Brown 2608ebc04c
Port handlers/ to Python 3 (#3803) 6 years ago
Erik Johnston 7419764351 User iter* during sync state calculations 6 years ago
Matthew Hodgson b1580f50fe
don't return non-LL-member state in incremental sync state blocks (#3760) 6 years ago
Amber Brown c334ca67bb
Integrate presence from hotfixes (#3694) 6 years ago