summary refs log tree commit diff
path: root/tests/rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-173-150/+182
|\ | | | | | | | | Conflicts: synapse/handlers/message.py
| * Only allow people in a room to look up room state.Erik Johnston2014-11-111-8/+8
| |
| * Fix rest.test_roomsErik Johnston2014-11-111-90/+113
| |
| * Fix rest.test_events. Convert to use SQLiteMemoryDbPoolErik Johnston2014-11-101-10/+5
| |
| * Don't execute empty tests. Formatting.Erik Johnston2014-11-051-17/+28
| |
| * Sign outgoing PDUs.Mark Haines2014-10-163-11/+36
| |
* | Include room membership in room initialSyncPaul "LeoNerd" Evans2014-11-101-0/+1
| |
* | Put room state in room initialSync output - I guess this is right; I really ↵Paul "LeoNerd" Evans2014-11-101-0/+35
| | | | | | | | can't find any other tests similar...
* | Have room initialSync return the room's room_idPaul "LeoNerd" Evans2014-11-101-0/+2
| |
* | Initial (empty) test that room initialSync at least returns 200 OKPaul "LeoNerd" Evans2014-11-101-0/+53
|/
* Merge branch 'develop' into server2server_signingMark Haines2014-09-303-10/+49
|\ | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py
| * Unbreak tests after changing storage APIErik Johnston2014-09-292-8/+45
| |
| * Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-262-3/+7
| |
* | Sign federation transactionsMark Haines2014-09-241-3/+12
|/
* Be consistent when associating keys with login types for registration/login.Kegan Dougal2014-09-151-1/+1
|
* Fix unit tests.Kegan Dougal2014-09-151-2/+8
|
* Have all unit tests import from our own subclass of trial's unittest ↵Paul "LeoNerd" Evans2014-09-124-10/+5
| | | | TestCase; set up logging in ONE PLACE ONLY
* Unit tests do not need captchas.Kegan Dougal2014-09-051-0/+1
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-036-6/+6
| | | | hasn't been incorporated in time for launch.
* Kill the statePaul "LeoNerd" Evans2014-09-031-8/+12
| | | | ... key from all the Presence messages
* Implement presence state visibilty limiting when polling eventsource for streamPaul "LeoNerd" Evans2014-09-031-5/+23
|
* Fix tests to support ratelimitingMark Haines2014-09-032-2/+51
|
* Perform room unit tests with 'local' users actually in the right domain ;)Paul "LeoNerd" Evans2014-09-011-6/+6
|
* Rename API-visible 'mtime' presence field to 'last_active'; slightly ↵Paul "LeoNerd" Evans2014-09-011-1/+1
| | | | different semantics
* Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵Paul "LeoNerd" Evans2014-09-011-7/+11
| | | | legacy 'state' copy for now
* change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-314-4/+4
| | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
* Bugfix for rest presence test - datastore needs to implement profile methodsPaul "LeoNerd" Evans2014-08-291-0/+10
|
* Define a new event stream data source for typing notifications (currently null)Paul "LeoNerd" Evans2014-08-291-3/+5
|
* Move the *EventSource classes into the handlers they relate to, so it's ↵Paul "LeoNerd" Evans2014-08-291-2/+2
| | | | easier to find the code
* Re-enable presence, un-skip presence testsPaul "LeoNerd" Evans2014-08-281-2/+0
|
* Fix up the various presence-related tests so that if they're not skipped, ↵Paul "LeoNerd" Evans2014-08-271-8/+16
| | | | they still PASS
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-274-99/+42
|\
| * Final url modifications: renamed /presence_list to /presence/list to keep ↵Kegan Dougal2014-08-271-3/+3
| | | | | | | | the top-level namespace clean. Updated tests.
| * Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵Kegan Dougal2014-08-273-96/+39
| | | | | | | | removed tests which tested that. Updated cmdclient and webclient.
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-273-28/+17
|\|
| * Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵Kegan Dougal2014-08-263-28/+17
| | | | | | | | cmdclient, tests and webclient. All appears to work.
* | Fold federation/handler into handlers/federationMark Haines2014-08-262-8/+9
|/
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-261-4/+4
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Fix ALL THE UNIT TESTSKegan Dougal2014-08-262-27/+27
|
* skip presence tests which broke when presence polling was disabledMark Haines2014-08-221-0/+2
|
* Don't generate room membership messages. Include previous state of in ↵Erik Johnston2014-08-201-1/+6
| | | | membership messages.
* Don't expect a reflection from events streamErik Johnston2014-08-191-3/+1
|
* Update testsErik Johnston2014-08-191-8/+1
|
* Fix typo in merge conflictErik Johnston2014-08-191-2/+0
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-195-180/+232
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Perform the 'REST'-level tests of Presence against the real Presence handler ↵Paul "LeoNerd" Evans2014-08-191-40/+92
| | | | | | | | as well, mocking out the datastore beneath it
| * Rename MockHttpServer to MockHttpResource as it stands for one server ↵Paul "LeoNerd" Evans2014-08-195-136/+136
| | | | | | | | resource rather than an entire server
* | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.Erik Johnston2014-08-182-0/+3
| |
* | Disable the ability to GET individualy messages. We need to think about the ↵Erik Johnston2014-08-181-36/+36
|/ | | | correct API to do this, as the current one doesn't make much sense.
* Removed http_server from HomeServer. Updated unit tests to use either ↵Kegan Dougal2014-08-142-4/+3
| | | | resource_for_federation or resource_for_client depending on what is being tested.
* Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal2014-08-142-0/+4
| | | | 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.
* An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans2014-08-131-2/+10
| | | | presenting age durations to clients/federation events
* Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-131-6/+6
| | | | rename AWAY to UNAVAILABLE
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-136-0/+84
| | | | copyrighter.pl whilst we're at it
* Reference Matrix Home Servermatrix.org2014-08-126-0/+1610