Commit Graph

256 Commits (8cced497640525ff1bed7011509b88306c7e7ea3)

Author SHA1 Message Date
Erik Johnston 02e928cf9b Don't include defer.returnValue in Measure block 9 years ago
Erik Johnston 56a94ccd9e Measure PresenceEventSource.get_new_events 9 years ago
Erik Johnston 138c405974 Pick up currently_active across federation 9 years ago
Erik Johnston 3dbaeef58c Correctly filter states 9 years ago
Erik Johnston 42ac5f0c1a Only send presence updates to remote hosts if user is ours 9 years ago
Erik Johnston 24d9f2c140 Add Measures to presence 9 years ago
Erik Johnston 4a95eb0a12 Add presence metric 9 years ago
Erik Johnston be799453aa Remove spurious extra metrics 9 years ago
Erik Johnston 929cb0ed7d Don't set currently_active for remote presence 9 years ago
Erik Johnston 5f4eca3816 More metrics 9 years ago
Erik Johnston 5614b4dafb Add presence metrics 9 years ago
Erik Johnston 48b652bcbe Remove invalid arg. 9 years ago
Erik Johnston b4796a62ee Add unit test 9 years ago
Erik Johnston fe95f2217c Add stuff pulled from the DB to the cache 9 years ago
Erik Johnston 8351538873 PEP8 9 years ago
Erik Johnston 112283e230 Prefix TS fields with _ts 9 years ago
Erik Johnston b31ec214a5 Remove status_msg when going offline. Don't offline -> online if you send a message 9 years ago
Erik Johnston 114b929f8b Check presence state is a valid one 9 years ago
Erik Johnston ddca9c56fc Move if statement 9 years ago
Erik Johnston 58371fa263 Comment 9 years ago
Erik Johnston c229c87398 Remove spurious comment 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines a9526831a4 Wrap calls to distributor.fire in appropriately named functions so that static analysis can work out want is calling what 9 years ago
Mark Haines 31069ecf6a Rename presence_handler.send_invite to presence_handler.send_presence_invite to distinguish it from normal invites 9 years ago
Daniel Wagner-Hall 38d82edf0e Allow guest users to join and message rooms 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Mark Haines 987803781e Fix some races in the synapse presence handler caused by not yielding on deferreds 9 years ago
Erik Johnston 0d4abf7777 Typo 9 years ago
Erik Johnston e55291ce5e None check 9 years ago
Erik Johnston 83eb627b5a More helpful variable names 9 years ago
Erik Johnston 776ee6d92b Doc strings 9 years ago
Erik Johnston f72ed6c6a3 Remove debug try/catch 9 years ago
Erik Johnston 1a9510bb84 Implement a batched presence_handler.get_state and use it 9 years ago
Erik Johnston bd1236c0ee Consolidate duplicate code in notifier 10 years ago
Erik Johnston 0460406298 Don't do unecessary db ops in presence.get_state 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 7ae8afb7ef Removed unused 'is_visible' method 10 years ago
Mark Haines e01b825cc9 Clean up the presence_list checking logic a bit 10 years ago
Mark Haines e4c65b338d Speed up the get_pagination_rows as well 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
Mark Haines 415b158ce2 More whitespace 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