Commit Graph

40 Commits (ae6ff094941505064aeac48f4b911a45e83e6336)

Author SHA1 Message Date
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on 9 years ago
Erik Johnston 6c558ee8bc Measure some /sync related things 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Erik Johnston da51acf0e7 Remove needless existence checks 9 years ago
Erik Johnston f4d552589e Don't loop over all rooms ever in typing.get_new_events_for_user 9 years ago
Erik Johnston bd1236c0ee Consolidate duplicate code in notifier 10 years ago
Mark Haines 63878c0379 Don't bother checking for updates if the stream token hasn't advanced for a user 10 years ago
Erik Johnston 2236ef6c92 Fix up leak. Add warnings. 10 years ago
Paul "LeoNerd" Evans f2cf37518b Filter typing nofication events to only those rooms the requesting user is a member of (SYN-328) 10 years ago
Paul "LeoNerd" Evans 0268d40281 Have TypingNotificationEventSource.get_new_events_for_user() return a deferred, for consistency and extensibility 10 years ago
Erik Johnston c2b1dbd84c We do want to consumeError 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Paul "LeoNerd" Evans c2e7c84e58 Don't try to cancel already-expired timers - SYN-230 10 years ago
Paul "LeoNerd" Evans 02ffbb20d0 Use float rather than integer divisions to turn msec into sec - so timeouts under 1000msec will actually work 10 years ago
Paul "LeoNerd" Evans 67d8305aea Make typing notification timeouts print a (debug) logging message 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 3c7857e49b clean up coding style a bit 10 years ago
Erik Johnston 009e4b5637 User.is_mine is no longer a thing. Use hs.is_mine instead. 10 years ago
Paul "LeoNerd" Evans 20beed9dd4 Still send typing notifications to myself if I'm the only one in the room (it's a lonely life...) 10 years ago
Paul "LeoNerd" Evans b0bb1756a9 Send list of typing user IDs as 'user_ids' list within 'content', so that m.typing stream events have a toplevel content, for consistency with others 10 years ago
Paul "LeoNerd" Evans cfb963af03 When users leave rooms mark them as no longer typing in them 10 years ago
Paul "LeoNerd" Evans 5ebc994f84 Actually auth-check to ensure people can only send typing notifications for rooms they're actually in 10 years ago
Paul "LeoNerd" Evans 966c4b2b04 Add a sprinkling of logger.debug() into typing notification handler 10 years ago
Paul "LeoNerd" Evans 3b2cc26053 Initial hack at unit tests of room typing REST API 10 years ago
Paul "LeoNerd" Evans 5f49914dee Avoid cyclic dependency in handler setup 10 years ago
Paul "LeoNerd" Evans 1a75ff5c23 Hook up the event stream to typing notifications 10 years ago
Paul "LeoNerd" Evans 4006d58335 Store serial numbers per room for typing event stream purposes 10 years ago
Paul "LeoNerd" Evans 9eb819e828 First hack at implementing timeouts in typing notification handler 10 years ago
Erik Johnston 9d53228158 Change DomainSpecificString so that it doesn't use a HomeServer object 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Paul "LeoNerd" Evans d6bcffa929 Construct a source-specific 'SourcePaginationConfig' to pass into get_pagination_rows; meaning each source doesn't have to care about its own name any more 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
Paul "LeoNerd" Evans a8e8d1d06c Renamed get_current_token_part to get_current_key 10 years ago
Paul "LeoNerd" Evans eec67a675f Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens 10 years ago
Paul "LeoNerd" Evans 6797c7f1b1 TypingNotificationEventSource has to return proper tokens, not int 0 10 years ago
Paul "LeoNerd" Evans 6dd50da54e Define a new event stream data source for typing notifications (currently null) 10 years ago
Mark Haines 7acede1e42 Fix pyflakes warnings 10 years ago
Paul "LeoNerd" Evans 5eff05a4ce Initial typing notification support - EDU federation, but no timers, and no actual push to clients 10 years ago