Commit Graph

657 Commits (0862fed2a89723e8aa6a4df9f1dbad975a7fbffc)

Author SHA1 Message Date
Erik Johnston 0862fed2a8 Add basic ReceiptHandler 10 years ago
Kegan Dougal d88e20cdb9 Fix bug where synapse was sending AS user queries incorrectly. 10 years ago
Erik Johnston eceb554a2f Use another deferred list 10 years ago
Erik Johnston b849a64f8d Use DeferredList 10 years ago
Erik Johnston 0460406298 Don't do unecessary db ops in presence.get_state 10 years ago
Erik Johnston 55bf90b9e4 Don't needlessly compute prev_state 10 years ago
Erik Johnston 1c3d844e73 Don't needlessly compute context 10 years ago
Erik Johnston 09e23334de Add a timeout 10 years ago
Erik Johnston 02410e9239 Handle the fact we might be missing auth events 10 years ago
Erik Johnston e552b78d50 Add some logging 10 years ago
Erik Johnston fde0da6f19 Correctly look up auth_events 10 years ago
Erik Johnston 3f04a08a0c Don't process events we've already processed. Remember to process state events 10 years ago
Erik Johnston 4bbfbf898e Correctly pass in auth_events 10 years ago
Mark Haines d94590ed48 Add config for setting the recaptcha verify api endpoint, so we can test it in sytest 10 years ago
Erik Johnston afbd3b2fc4 SYN-395: Fix CAPTCHA, don't double decode json 10 years ago
Mark Haines 1a9a9abcc7 Add a cache for getting the presence list for a user 10 years ago
Mark Haines 106a3051b8 Remove spurious TODO comment 10 years ago
Mark Haines c8135f808b Remove unused import 10 years ago
Mark Haines f43544eecc Make the appservice use 'users_in_room' rather than get_room_members since it is cached 10 years ago
Mark Haines 53447e9cd3 Add caches for things requested by the pushers 10 years ago
Mark Haines 7ae8afb7ef Removed unused 'is_visible' method 10 years ago
Mark Haines e01b825cc9 Clean up the presence_list checking logic a bit 10 years ago
Erik Johnston 20814fabdd Actually fetch state for new backwards extremeties when backfilling. 10 years ago
Erik Johnston 7223129916 Don't apply new room join hack if depth > 5 10 years ago
Mark Haines e4c65b338d Speed up the get_pagination_rows as well 10 years ago
Erik Johnston ef910a0358 Do work in parellel when joining a room 10 years ago
Mark Haines 591c4bf223 Cache the most recent serial for each room 10 years ago
Mark Haines e1150cac4b Move updating the serial and state of the presence cache into a single function 10 years ago
Mark Haines 755def8083 Add more doc string, reduce C+P boilerplate for getting room list 10 years ago
Erik Johnston 807229f2f2 Err, defer.gatherResults ftw 10 years ago
Mark Haines 415b158ce2 More whitespace 10 years ago
Erik Johnston a2c4f3f150 Fix daedlock 10 years ago
Mark Haines 0a4330cd5d Add some missed argument types, cleanup the whitespace a bit 10 years ago
Mark Haines 47ec693e29 More doc-strings 10 years ago
Mark Haines c5d1b4986b Remove unused arguments and doc PresenceHandler.push_update_to_clients 10 years ago
David Baker 67800f7626 Treat setting your display name to the empty string as removing it (SYN-186). 10 years ago
David Baker 92e1c8983d Disallow whitespace in aliases here too 10 years ago
David Baker 0c894e1ebd Throw error when creating room if alias contains whitespace #SYN-335 10 years ago
Mark Haines 3edd2d5c93 Fix v2 sync, update the last_notified_ms only if there was an active listener 10 years ago
Mark Haines 63878c0379 Don't bother checking for updates if the stream token hasn't advanced for a user 10 years ago
Erik Johnston 80fd2b574c Don't talk to yourself when backfilling 10 years ago
Mark Haines d7b3ac46f8 Revert "Improvement to performance of presence event stream handling" 10 years ago
Erik Johnston 07a1223156 s/backfil/backfill/ 10 years ago
Erik Johnston 0d31ad5101 Typos everywhere 10 years ago
Erik Johnston a0dfffb33c And another typo. 10 years ago
Erik Johnston 6e5ac4a28f Err, gatherResults doesn't take a dict... 10 years ago
Erik Johnston 95dedb866f Unwrap defer.gatherResults failures 10 years ago
Erik Johnston 367382b575 Handle the case where the other side is unreachable when backfilling 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 84e6b4001f Initial hack at wiring together pagination and backfill 10 years ago