Commit Graph

106 Commits (be14c24cea7d96f850180759870e83c3789bcdda)

Author SHA1 Message Date
Erik Johnston be14c24cea Fix rare notifier bug where listeners dont timeout 8 years ago
Erik Johnston 26072df6af Ensure only main or federation_sender process can send federation traffic 8 years ago
Erik Johnston f8ee66250a Handle sending events and device messages over federation 8 years ago
Erik Johnston c0238ecbed Explicitly specify state_key for history_visibility fetching 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston afbf6b33fc defer.returnValue must not be called within Measure 8 years ago
Erik Johnston 39242090e3 Add measure blocks to notifier 8 years ago
Erik Johnston 9da84a9a1e Make AppserviceHandler stream events from database 8 years ago
Erik Johnston b9abf3e4e3 Remove dead appservice code 8 years ago
Mark Haines 88625db05f Notify users for events in rooms they join. 9 years ago
Mark Haines c626fc576a Move the AS handler out of the Handlers object. 9 years ago
Mark Haines 7e23476814 move filter_events_for_client out of base handler 9 years ago
David Baker 424a7f48f8 Run filter_events_for_client 9 years ago
Mark Haines 2a37467fa1 Use google style doc strings. 9 years ago
Mark Haines 12904932c4 Hook up adding a pusher to the notifier for replication. 9 years ago
Mark Haines ddf9e7b302 Hook up the push rules to the notifier 9 years ago
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on 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
Erik Johnston d98a9f2583 Don't use before_token. Its wrong. Use actual limit. 9 years ago
Erik Johnston 13724569ec Deal with None limit 9 years ago
Erik Johnston 4a6eb5eb45 Make /events always return a newer token, if one exists 9 years ago
Erik Johnston 0e07f2e15d Only fetch events for rooms and receipts 9 years ago
Erik Johnston 91a222c66d SYN-606: Peeking does not wake up /events 9 years ago
Daniel Wagner-Hall da417aa56d Allow non-guests to peek on rooms using /events 9 years ago
Daniel Wagner-Hall 93afb40cd4 Skip, rather than erroring, invalid guest requests 9 years ago
Daniel Wagner-Hall 2ef6de928d Skip, rather than erroring, invalid guest requests 9 years ago
Mark Haines f3948e001f Missing yield on guest access auth check 9 years ago
Daniel Wagner-Hall 468a2ed4ec Return non-room events from guest /events calls 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Daniel Wagner-Hall 192241cf2a Remove unused arguments and code 9 years ago
Mark Haines f40b0ed5e1 Inform the client of new room tags using v1 /events 9 years ago
Erik Johnston f8f3d72e2b Don't make pushers handle presence/typing events 9 years ago
Daniel Wagner-Hall 53d1174aa9 Improve naming 9 years ago
Erik Johnston bd1236c0ee Consolidate duplicate code in notifier 10 years ago
Erik Johnston ddf7979531 Add receipts_key to StreamToken 10 years ago
Erik Johnston 2f556e0c55 Fix typo 10 years ago
Erik Johnston 6f6ebd216d PEP8 10 years ago
Erik Johnston 73513ececc Documentation 10 years ago
Erik Johnston 1f24c2e589 Don't bother proxying lookups on _NotificationListener to underlying deferred 10 years ago
Erik Johnston 22049ea700 Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserStream.new_listener that accpets a token to avoid races. 10 years ago
Erik Johnston 050ebccf30 Fix notifier leak 10 years ago
Mark Haines 554c63ca60 Iterate over the user_streams not the user_ids 10 years ago
Mark Haines 88f1ea36ce Oops, get_rooms_for_user returns a namedtuple, not a room_id 10 years ago
Mark Haines ad31fa3040 Don't bother sorting by the room_stream_ids, it shouldn't matter which order they are notified in 10 years ago
Mark Haines 1e90715a3d Make sure the notifier stream token goes forward when it is updated. Sort the pending events by the correct room_stream_id 10 years ago
Mark Haines 0ad1c67234 Add some doc-strings to notifier 10 years ago
Mark Haines 084c365c3a Use the current token when timing out a notifier, make sure the user_id is a string in on_new_user_event 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 5e0c533672 Fix metric counter 10 years ago