Commit Graph

338 Commits (c9f11d09fc85470cf9a36909104734a3682c4b39)

Author SHA1 Message Date
Daniel Wagner-Hall ac5a4477ad Require unbanning before other membership changes 9 years ago
Mark Haines c0a279e808 Delete the table objects from TransactionStore 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
David Baker 0e48f7f245 fix tests 9 years ago
David Baker 92a1e74b20 fix tests 9 years ago
David Baker d79e90f078 Add mocks to make tests work again 9 years ago
Mark Haines 7b593af7e1 rename the method in the tests as well 9 years ago
Erik Johnston bd3de8f39a Update tests 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Daniel Wagner-Hall 617501dd2a Move token generation to auth handler 9 years ago
Daniel Wagner-Hall 70e265e695 Re-add whitespace around caveat operators 9 years ago
Daniel Wagner-Hall ce832c38d4 Remove padding space around caveat operators 9 years ago
Daniel Wagner-Hall 42e858daeb Fix units in test 9 years ago
Daniel Wagner-Hall 3e6fdfda00 Fix some formatting to use tuples 9 years ago
Daniel Wagner-Hall 2d3462714e Issue macaroons as opaque auth tokens 9 years ago
Erik Johnston bd1236c0ee Consolidate duplicate code in notifier 10 years ago
Kegan Dougal d88e20cdb9 Fix bug where synapse was sending AS user queries incorrectly. 10 years ago
Erik Johnston 55bf90b9e4 Don't needlessly compute prev_state 10 years ago
Erik Johnston 1c3d844e73 Don't needlessly compute context 10 years ago
Mark Haines 17167898c8 Fix the presence tests 10 years ago
Mark Haines 8eca5bd50a Fix the presence tests 10 years ago
Mark Haines c5d1b4986b Remove unused arguments and doc PresenceHandler.push_update_to_clients 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
Paul "LeoNerd" Evans e1e5e53127 Remove users from the remote_offline_serials list (and clean up empty elements) when they go online again 10 years ago
Paul "LeoNerd" Evans 8a785c3006 Store a list of the presence serial number at which remote users went offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261) 10 years ago
Paul "LeoNerd" Evans 04c7f3576e Various minor fixes to unit-test structure around typing notifications 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 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Erik Johnston 6df319b6f0 Fix tests 10 years ago
Erik Johnston e7ce5d8b06 Fix test 10 years ago
Kegan Dougal 21fd84dcb8 Use seconds; start gluing in the AS scheduler into the AS handler. 10 years ago
Erik Johnston 6d74e46621 Fix tests 10 years ago
Erik Johnston 852816befe Fix presence tests 10 years ago
Mark Haines 896253e085 Factor out some of the common homeserver setup code into a 10 years ago
Kegan Dougal 11e6b3d18b Dependency inject ApplicationServiceApi when creating ApplicationServicesHandler. 10 years ago
Kegan Dougal 131e036402 Fix unit tests. 10 years ago
Kegan Dougal bc658907f0 Add unit test for appservice_handler.query_room_alias_exists 10 years ago
Kegan Dougal f0c730252f Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searching for services by alias. 10 years ago
Kegan Dougal 89f2e8fbdf Fix bug in store defer. Add more unit tests. 10 years ago
Kegan Dougal 525a218b2b Begin to add unit tests for appservice glue and regex testing. 10 years ago
Erik Johnston e7ca813dd4 Try to ensure we don't persist an event we have already persisted. In persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. 10 years ago
Erik Johnston 78015948a7 Initial implementation of auth conflict resolution 10 years ago
Mark Haines ada711504e Replace hs.parse_roomalias with RoomAlias.from_string 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 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
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 968dc988f9 Check that setting typing notification still works after explicit timeout - SYN-230 10 years ago