Commit Graph

367 Commits (6080830beffd38a08b08d73ee1588cf2289c0080)

Author SHA1 Message Date
Erik Johnston 83ce57302d Fix bug in state handling where we incorrectly identified a missing pdu. Update tests to catch this case. 10 years ago
Erik Johnston ea5b5b1f64 Fix state unit test 10 years ago
Kegan Dougal 027f51763e Unit tests do not need captchas. 10 years ago
Erik Johnston 34a7f0ca93 Fix test to assert that we don't do auth 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
Erik Johnston 30bcbc433a Fix up directory server to not require uploading room hosts. Update the room hosts table with the current room hosts (if we have them) on GET. 10 years ago
Paul "LeoNerd" Evans cda31fb755 Kill the state 10 years ago
Kegan Dougal 7fc84c7019 Make retrying requests on DNS failures configurable, and turn off retrying only in directory.get_association 10 years ago
Paul "LeoNerd" Evans da31b96b55 Implement presence state visibilty limiting when polling eventsource for stream 10 years ago
Paul "LeoNerd" Evans 86d6232236 Don't eat federation transmit errors during unit tests; fix remote presence EDU-sending test because of this 10 years ago
Paul "LeoNerd" Evans da3e04df8b Rename the 'do_users_share_a_room' to something slightly less verb-sounding 10 years ago
Paul "LeoNerd" Evans 967b45bc1a Allow optional non-suppression of exceptions through the Distributor 10 years ago
Mark Haines cdd8602e74 Fix tests to support ratelimiting 10 years ago
Mark Haines dd2cd9312a Test ratelimiter 10 years ago
Erik Johnston a808c06a10 Fix room permissions test 10 years ago
Paul "LeoNerd" Evans 7e22afbc7c Ensure that event source unit tests could cope with get_new_events_for_user() returning a Deferred 10 years ago
Paul "LeoNerd" Evans 270d302834 Reënable presence visibility permission checking now it's not used on redundant code paths 10 years ago
Erik Johnston 3f5ebccbff Fix the tests to include new db calls 10 years ago
Paul "LeoNerd" Evans 59d3955db1 Have MemoryDataStore's get_rooms_for_user_where_membership_is() return room membership event objects, as per interface contract 10 years ago
Paul "LeoNerd" Evans fd696f1243 Perform room unit tests with 'local' users actually in the right domain ;) 10 years ago
Paul "LeoNerd" Evans 468d94c920 Rename API-visible 'mtime' presence field to 'last_active'; slightly different semantics 10 years ago
Paul "LeoNerd" Evans 02f4e3b3ff Rename 'state' presence key to the much more obvious 'presence'; maintain a legacy 'state' copy for now 10 years ago
Matthew Hodgson 8fe912d95c change the world: make the default matrix API URL prefix /_matrix rather than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. 10 years ago
Paul "LeoNerd" Evans 93407cf7cf Bugfixes on presence pushes on user joining: 10 years ago
Paul "LeoNerd" Evans 56424eca5c Bugfix for rest presence test - datastore needs to implement profile methods 10 years ago
Paul "LeoNerd" Evans 6dd50da54e Define a new event stream data source for typing notifications (currently null) 10 years ago
Paul "LeoNerd" Evans 20d0db6cfb Move the *EventSource classes into the handlers they relate to, so it's easier to find the code 10 years ago
Erik Johnston 5dd38d579b Fix a couple of bugs in presence handler related to pushing updatesto the correct user. Fix presence tests. 10 years ago
Paul "LeoNerd" Evans efc5f3440d Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotes 10 years ago
Paul "LeoNerd" Evans 113342a756 Ability to assert a DeferredMockCallable has received no calls 10 years ago
Paul "LeoNerd" Evans c46c806126 Re-enable presence, un-skip presence tests 10 years ago
Mark Haines 7b079a26a5 Remove get_state_for_room function from federation handler 10 years ago
Paul "LeoNerd" Evans d027e859cd Fix up the various presence-related tests so that if they're not skipped, they still PASS 10 years ago
Erik Johnston e111a06e0a Fix tests. 10 years ago
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