Commit Graph

133 Commits (95481e7ba70fd5745c409ef285ed6bd0def81426)

Author SHA1 Message Date
Paul "LeoNerd" Evans d07dfe5392 Create (empty) v2_alpha REST tests directory 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
Mark Haines 53584420a5 Move client rest tests back under rest 10 years ago
Mark Haines 1d2016b4a8 Move client v1 api rest servlets into a "client/v1" directory 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
Kegan Dougal a09882de83 Update tests 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 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
Paul "LeoNerd" Evans 3b2cc26053 Initial hack at unit tests of room typing REST API 10 years ago
Erik Johnston 493055731e Fix tests from prev commit 10 years ago
Paul "LeoNerd" Evans 33d328d967 Include room members' presence in room initialSync 10 years ago
Paul "LeoNerd" Evans 17f977a9de Include 'messages' snapshot in room initialSync 10 years ago
Erik Johnston 37900a92db Only allow people in a room to look up room state. 10 years ago
Erik Johnston 339c11dd86 Fix rest.test_rooms 10 years ago
Paul "LeoNerd" Evans c23afed39a Include room membership in room initialSync 10 years ago
Paul "LeoNerd" Evans 1fd8139138 Put room state in room initialSync output - I guess this is right; I really can't find any other tests similar... 10 years ago
Paul "LeoNerd" Evans 269f80bf8e Have room initialSync return the room's room_id 10 years ago
Paul "LeoNerd" Evans 50c8e3fcda Initial (empty) test that room initialSync at least returns 200 OK 10 years ago
Erik Johnston ec824927c1 Fix rest.test_events. Convert to use SQLiteMemoryDbPool 10 years ago
Erik Johnston 416ab4ebf0 Don't execute empty tests. Formatting. 10 years ago
Mark Haines 66104da10c Sign outgoing PDUs. 10 years ago
Erik Johnston d96cb61f26 Unbreak tests after changing storage API 10 years ago
Erik Johnston 0fdf308874 Track the IP users connect with. Add an admin column to users table. 10 years ago
Mark Haines 52ca867670 Sign federation transactions 10 years ago
Kegan Dougal 2c00e1ecd9 Be consistent when associating keys with login types for registration/login. 10 years ago
Kegan Dougal c04caff55c Fix unit tests. 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago
Kegan Dougal 027f51763e Unit tests do not need captchas. 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
Paul "LeoNerd" Evans cda31fb755 Kill the state 10 years ago
Paul "LeoNerd" Evans da31b96b55 Implement presence state visibilty limiting when polling eventsource for stream 10 years ago
Mark Haines cdd8602e74 Fix tests to support ratelimiting 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 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
Paul "LeoNerd" Evans c46c806126 Re-enable presence, un-skip presence tests 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
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
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