Commit Graph

60 Commits (7dcf984075cbc36e0c9bbd199bf4e4de99523224)

Author SHA1 Message Date
Erik Johnston de7672b78f Don't bundle events in /sync or /events 6 years ago
Erik Johnston b54b03f9e1 Allow client event serialization to be async 6 years ago
Andrew Morgan 4a4d5c4fd6
Fix grammar and document get_current_users_in_room (#4998) 6 years ago
Erik Johnston 536a266520 Deny peeking into rooms that have been blocked 6 years ago
Richard van der Hoff 0bf5ec0db7 Check room visibility for /event/ requests 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 8810685df9 Stub out ServerNoticesSender on the workers 7 years ago
Erik Johnston bed10f9880 Use state handler instead of get_users_in_room/get_joined_hosts 8 years ago
Mark Haines 3b86ecfa79 Move the presence handler out of the Handlers object 9 years ago
Mark Haines 673c96ce97 Remove dead code left over from presence changes 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
Erik Johnston 0e07f2e15d Only fetch events for rooms and receipts 9 years ago
Daniel Wagner-Hall da417aa56d Allow non-guests to peek on rooms using /events 9 years ago
Erik Johnston fd5c28dc52 Dont fire user_joined_room when guest hits /events 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines dbe7892e03 Fix a race between started/stopped stream 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
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 1b9802a0d9 Split the sections of EventStreamHandler.get_stream that handle presence 9 years ago
Erik Johnston f8f3d72e2b Don't make pushers handle presence/typing events 9 years ago
Erik Johnston daa01842f8 Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_users 9 years ago
Erik Johnston 476899295f Change the way we do logging contexts so that they survive divergences 10 years ago
Erik Johnston 8e28db5cc9 Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached. 10 years ago
Erik Johnston 130df8fb01 Add some randomness to the user specified timeout on event streams to mitigate against thundering herds problems 10 years ago
Kegan Dougal 2d20466f9a Add stub functions and work out execution flow to implement AS event stream polling. 10 years ago
David Baker f7c4daa8f9 Oops, remove debugging 10 years ago
David Baker 5eacaeb4a7 or of course we could just return the deferred 10 years ago
David Baker eba89f093f Need a defer.inlineCallbacks here as we yield in it: otherwise nothing in the cb gets executed. 10 years ago
David Baker 1d77969124 Unbreak bad presence merge - don't add these blocks together with an and: they're different things. 10 years ago
Mark Haines 7f6f3f9d62 Pass the current time to serialize event, rather than passing an 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Mark Haines 2bdee98269 Remove temporary debug logging that was accidentally committed 10 years ago
David Baker e3e2fc3255 Don't make the pushers' event streams cause people to appear online 10 years ago
Kegan Dougal edb557b2ad Return the raw federation event rather than adding extra keys for federation data. 10 years ago
Kegan Dougal 5720ab59e0 Add 'raw' query parameter to expose the event graph and signatures to savvy clients. 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 00ab5cd6f2 Attempt to fix bug where we 500d an event stream due to trying to cancel a timer twice 10 years ago
Mark Haines 32090aee16 Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts 10 years ago
Mark Haines 97c7c34f6f Preserve logging context in a few more places, drop the logging context after it has been stashed to reduce potential for confusion 10 years ago
Erik Johnston 5bd9369a62 Correctly handle the 'age' key in events and pdus 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Kegan Dougal 65693e9e15 Fixed GET /events/$id to be not broken. 10 years ago
Erik Johnston 1b7686329e Don't query the rooms members table so much by using the new notifier api that allows you to specify room_ids to notify. 10 years ago
Erik Johnston a8d318cf82 Up timeout to 10 minutes 10 years ago
Erik Johnston e0ba81344c Add more logging. Up the event stream timer to 10s 10 years ago
Erik Johnston b8b52ca09d Add logging to try and figure out what is going on with the presence stuff 10 years ago
Erik Johnston 77a255c7c3 PEP8 tweaks. 10 years ago