Commit Graph

892 Commits (0fa73e4a63d6cd5d402ea5213eac6b766e650321)

Author SHA1 Message Date
Mark Haines a0d1f5a014 Start updating state handling to use snapshots 10 years ago
Mark Haines a03c7f27a8 Fill out prev_events before calling persist_event 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
Kegan Dougal 135a1aa229 Final url modifications: renamed /presence_list to /presence/list to keep the top-level namespace clean. Updated tests. 10 years ago
Kegan Dougal dd661769e1 Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and removed tests which tested that. Updated cmdclient and webclient. 10 years ago
Mark Haines d2798de660 Fold federation/handler into handlers/federation 10 years ago
Mark Haines 64e2a5d58e Move pdu and event persistence into a single persist_event function 10 years ago
Kegan Dougal 5a93bfe1f0 Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated cmdclient, tests and webclient. All appears to work. 10 years ago
Kegan Dougal 2e70de09b9 Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient. 10 years ago
Kegan Dougal 8bd55cfdcb Fix ALL THE UNIT TESTS 10 years ago
Mark Haines 104808107a skip presence tests which broke when presence polling was disabled 10 years ago
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 10 years ago
Paul "LeoNerd" Evans 583add34fe Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour 10 years ago
Erik Johnston d100ac8c82 Fix test. get_joined_hosts_for_room get's called multiple times 10 years ago
Erik Johnston 5c4c591c61 Fix federation test, since we now hit store.get_room 10 years ago
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