Commit Graph

265 Commits (4be637cb120f00e5de99c12a79e908e2f26da8af)

Author SHA1 Message Date
Mark Haines ada711504e Replace hs.parse_roomalias with RoomAlias.from_string 10 years ago
Mark Haines 1c06c48ce2 Replace hs.parse_roomid with RoomID.from_string 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Mark Haines 7256def8e4 Merge rest servlets into the client json resource object 10 years ago
Paul "LeoNerd" Evans 3a243c53f4 Rename MockedDatastoreTestCase to MockedDatastorePresenceTestCase since it is still presence-specific 10 years ago
Paul "LeoNerd" Evans cbb10879cb Much merging of test case setUp() methods to make them much more 10 years ago
Mark Haines 53584420a5 Move client rest tests back under rest 10 years ago
Mark Haines 97c68c508d Move rest APIs back under the rest directory 10 years ago
Mark Haines 1d2016b4a8 Move client v1 api rest servlets into a "client/v1" directory 10 years ago
Mark Haines 16bfabb9c5 Fix manifest. Ignore contrib and docs directories when checking manifest against source control. 10 years ago
Paul "LeoNerd" Evans 73315ce9de Abstract out the room ID from presence tests, so it's stored in self 10 years ago
Paul "LeoNerd" Evans dbe71e670c Use common base class for two Presence unit-tests, avoiding boilerplate copypasta 10 years ago
Mark Haines 5fed042640 Finish renaming "context" to "room_id" in federation codebase 10 years ago
Paul "LeoNerd" Evans cf7e723808 Have MockClock detect attempts to cancel expired timers, to prevent a repeat of SYN-230 10 years ago
Mark Haines 3891597eb3 Remove unused functions 10 years ago
Paul "LeoNerd" Evans 9c804bc3fd Check that setting typing notification still works after explicit timeout at REST layer - SYN-230 10 years ago
Paul "LeoNerd" Evans db72a07ef5 Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers 10 years ago
Paul "LeoNerd" Evans 968dc988f9 Check that setting typing notification still works after explicit timeout - SYN-230 10 years ago
Kegan Dougal a09882de83 Update tests 10 years ago
Kegan Dougal 4640239d34 Mock ratelimiter to make tests pass. 10 years ago
Mark Haines 041ac476a5 Supply auth_chain along with current state in '/state/', fetch auth events from a remote server if we are missing some of them 10 years ago
Mark Haines dbe77ec79a Replace distributor deferred list, with a simple for loop until I understand why the former breaks and the latter doesn't 10 years ago
Mark Haines c3eae8a88c Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state 10 years ago
Mark Haines 8b8beba194 Remove annotate_event_with_state as nothing was using it. Update state tests to call annotate_context_with_state 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston cf6e5f1dbf Rename MessageHandler.handle_event. Add a few comments. 10 years ago
Erik Johnston 65cdf4e724 Get current member state from current_state snapshot. Fix leave test. 10 years ago
Erik Johnston 1fc2a0e33e Fix tests and remove debug logging 10 years ago
Erik Johnston ebf2ec3ce6 Fix membership handler test 10 years ago
Erik Johnston 41ff21c907 Fix test. 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
Erik Johnston fa4b610ae3 Fix stream test. Make sure we add join to auth_events for invitiations 10 years ago
Paul "LeoNerd" Evans f25764943c Add a 'user_left_room' distributor signal analogous to 'user_joined_room' 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 6e1531682b Move typing-notification REST tests into their own .py file 10 years ago
Paul "LeoNerd" Evans 1f26e56de0 Actually unit-test the event stream around REST typing tests 10 years ago
Erik Johnston 3fecacd86b Fix replication tests 10 years ago
Erik Johnston d3eb12c7b8 Fix federation test 10 years ago
Erik Johnston c161b6cf96 Fix room creation test 10 years ago
Paul "LeoNerd" Evans 3b2cc26053 Initial hack at unit tests of room typing REST API 10 years ago
Erik Johnston 9191292b0f Fix prev_content 10 years ago
Erik Johnston e72b16f9a3 Fix redaction tests 10 years ago
Erik Johnston 8cdebce470 Fix redactions. Fix 'age' key 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
Paul "LeoNerd" Evans 4551afc6d2 Implement .cancel_call_later() in MockClock 10 years ago
Paul "LeoNerd" Evans 38da9884e7 Implement .call_later() in MockClock 10 years ago
Paul "LeoNerd" Evans be9a8d68e0 Trivial test of MockClock() 10 years ago
Erik Johnston 4d6af0dde3 Fix some tests 10 years ago