Commit Graph

87 Commits (b42fe05c516ffc8e049ab9b56451cceb813bdf64)

Author SHA1 Message Date
Erik Johnston 849627b82e Don't generate room membership messages. Include previous state of in membership messages. 10 years ago
Erik Johnston cc48e920d6 Don't expect a reflection from events stream 10 years ago
Erik Johnston 41333452e5 Update tests 10 years ago
Erik Johnston 22dd0b37c4 Fix typo in merge conflict 10 years ago
Paul "LeoNerd" Evans d7cfb91a7a Rewrite of PresenceHandler test to ensure it covers the interaction with Federation as well 10 years ago
Paul "LeoNerd" Evans fcdc40a5dd Add a DeferredMockCallable; like mock's MockCallable but allows awaiting 10 years ago
Paul "LeoNerd" Evans 88f7482b92 Perform the 'REST'-level tests of Presence against the real Presence handler as well, mocking out the datastore beneath it 10 years ago
Paul "LeoNerd" Evans 83f031207e Implement and test presence dropping of remote users 10 years ago
Paul "LeoNerd" Evans bb793019a5 Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server 10 years ago
Erik Johnston 709a92cee8 SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. 10 years ago
Paul "LeoNerd" Evans faf25e3a83 Allow room presence visibility between users who share a room 10 years ago
Erik Johnston 663a259d64 Change the MemoryDataStore to implement new storage api 10 years ago
Erik Johnston dccb2f57be Disable the ability to GET individualy messages. We need to think about the correct API to do this, as the current one doesn't make much sense. 10 years ago
Erik Johnston f5fca6f787 Fix some of the tests to reflect changes in the storage layer. 10 years ago
Erik Johnston c5f2da5875 Add a check to make sure that during state conflict res we only request a PDU we don't have. 10 years ago
Kegan Dougal 9a1638ed21 Removed http_server from HomeServer. Updated unit tests to use either resource_for_federation or resource_for_client depending on what is being tested. 10 years ago
Kegan Dougal 9f863d3466 Start phasing out HttpServer: we should be using Resources instead. Added resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree. 10 years ago
Paul "LeoNerd" Evans d05aa651f8 An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events 10 years ago
Paul "LeoNerd" Evans a6a9b71da0 Allow advancing the MockClock's time 10 years ago
Paul "LeoNerd" Evans eef58a299e Don't mock out presence_handler's internal start/stop methods in presencelike unit test; it's rude 10 years ago
Paul "LeoNerd" Evans fc778e2bce Move MockClock into tests.utils so we can reüse it 10 years ago
Paul "LeoNerd" Evans 3a1cfe18cf Implement directory service federation by Federation Queries; avoid local_only hack; add unit tests 10 years ago
Paul "LeoNerd" Evans 7fb93f2a47 Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(..., hs=hs) - similar to parse_userid() 10 years ago
Paul "LeoNerd" Evans 505917cb97 Use new Federation Query API to implement HS->HS fetching of remote users' profile information instead of (ab)using the client-side REST API 10 years ago
Paul "LeoNerd" Evans 827de7cee9 Define the concept of a 'federation Query'; creating API for making and handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer 10 years ago
Paul "LeoNerd" Evans 820ed34abe Namespace all the Federation HTTP URLs to /matrix/federation/v1/... 10 years ago
Paul "LeoNerd" Evans 55944ccf72 Use strings instead of opaque magic-number constants for presence states; rename AWAY to UNAVAILABLE 10 years ago
Matthew Hodgson 3e35a9f96e add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it 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