Commit Graph

50 Commits (ae6ff094941505064aeac48f4b911a45e83e6336)

Author SHA1 Message Date
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
Erik Johnston bd16b93e8f Implement presence event source. Change the way the notifier indexes listeners 10 years ago
Kegan Dougal c65885e166 Added support for GET /events/$eventid with auth checks. 10 years ago
Erik Johnston 67c5f89244 Enable presence again. Fix up api to match old api. 10 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 10 years ago
Erik Johnston 114984a236 Start chagning the events stream to work with the new DB schema 10 years ago
Matthew Hodgson f98e6380f1 add in whitespace after copyright statements to improve legibility 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago