Commit Graph

68 Commits (4535e849d79c47eaa1a950d2230b9c4d5b357e10)

Author SHA1 Message Date
Erik Johnston a1e9bb9eae
Add typing info to Notifier (#8058) 4 years ago
Richard van der Hoff 71a1abb8a1
Stop the master relaying USER_SYNC for other workers (#7318) 5 years ago
Erik Johnston 8437e2383e Port SyncHandler to async/await 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Andrew Morgan 2a44782666
Remove double return statements (#5962) 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
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