summary refs log tree commit diff
path: root/tests/rest (follow)
Commit message (Expand)AuthorAgeFilesLines
* Attempt to validate macaroonsDaniel Wagner-Hall2015-08-265-25/+22
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-254-11/+0
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-254-11/+0
* Merge branch 'develop' into refreshDaniel Wagner-Hall2015-08-201-1/+2
|\
| * Fix testsDavid Baker2015-08-041-1/+2
* | s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-205-23/+23
|/
* Use the same reg paths as register v1 for ASes.Kegan Dougal2015-07-291-1/+3
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-0/+132
* Fix test.Erik Johnston2015-07-071-1/+11
* Add receipts_key to StreamTokenErik Johnston2015-07-021-2/+2
* Fix the presence testsMark Haines2015-05-221-2/+2
* Merge pull request #157 from matrix-org/markjh/presence_performanceMark Haines2015-05-221-0/+3
|\
| * Fix the presence testsMark Haines2015-05-201-0/+3
* | Oops, get_rooms_for_user returns a namedtuple, not a room_idMark Haines2015-05-211-1/+6
|/
* Discard unused NotifierUserStreamsMark Haines2015-05-131-0/+1
* Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-5/+10
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-284-13/+13
|\
| * Merge branch 'develop' into csauthDavid Baker2015-04-171-2/+5
| |\
| * | Fix testsDavid Baker2015-03-244-13/+13
* | | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-171-2/+5
|\ \ \ | | |/ | |/|
| * | Various minor fixes to unit-test structure around typing notificationsPaul "LeoNerd" Evans2015-04-151-2/+4
| * | Have TypingNotificationEventSource.get_new_events_for_user() return a deferre...Paul "LeoNerd" Evans2015-04-151-1/+2
| |/
* / Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-9/+0
|/
* Fix testsErik Johnston2015-03-091-4/+4
* Fix unit testsKegan Dougal2015-02-271-0/+3
* Update testsErik Johnston2015-02-191-0/+1
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-116-141/+34
|\
| * Factor out some of the common homeserver setup code into aMark Haines2015-02-116-141/+34
* | Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal2015-02-092-1/+6
|/
* Merge in auth changes from developMark Haines2015-01-291-0/+1
* Merge changes from developMark Haines2015-01-294-2/+12
|\
| * Merge pull request #36 from matrix-org/device_id_from_access_tokenMark Haines2015-01-284-2/+12
| |\
| | * Extract the id token of the token when authing users, include the token and d...Mark Haines2015-01-283-0/+10
| | * Return the device_id from get_auth_by_reqMark Haines2015-01-282-2/+2
* | | More unit-testing of REST errorsPaul "LeoNerd" Evans2015-01-271-1/+35
* | | Move storage of user filters into real datastore layer; now have to mock it o...Paul "LeoNerd" Evans2015-01-272-3/+27
* | | Use new V2AlphaRestTestCasePaul "LeoNerd" Evans2015-01-271-38/+2
* | | Merge branch 'develop' into client_v2_filterPaul "LeoNerd" Evans2015-01-271-0/+45
|\| |
| * | Initial cut of a shared base class for REST unit testsPaul "LeoNerd" Evans2015-01-271-0/+45
| |/
* | Minor changes to v2_alpha filter REST test to allow the setUp method to be sh...Paul "LeoNerd" Evans2015-01-271-5/+7
* | Initial trivial REST test of v2_alpha filter APIPaul "LeoNerd" Evans2015-01-261-0/+74
|/
* Create (empty) v2_alpha REST tests directoryPaul "LeoNerd" Evans2015-01-261-0/+15
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-234-24/+24
* Merge rest servlets into the client json resource objectMark Haines2015-01-232-4/+9
* Move client rest tests back under restMark Haines2015-01-229-0/+2156
* Move client v1 api rest servlets into a "client/v1" directoryMark Haines2015-01-227-2128/+0
* Check that setting typing notification still works after explicit timeout at ...Paul "LeoNerd" Evans2015-01-121-1/+50
* Update testsKegan Dougal2015-01-071-1/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-152-4/+115
|\
| * Send list of typing user IDs as 'user_ids' list within 'content', so that m.t...Paul "LeoNerd" Evans2014-12-121-1/+3
| * Move typing-notification REST tests into their own .py filePaul "LeoNerd" Evans2014-12-112-83/+113
| * Actually unit-test the event stream around REST typing testsPaul "LeoNerd" Evans2014-12-111-0/+14
| * Initial hack at unit tests of room typing REST APIPaul "LeoNerd" Evans2014-12-111-3/+68
* | Fix test.Erik Johnston2014-12-121-1/+1
* | Fix stream test. Make sure we add join to auth_events for invitiationsErik Johnston2014-12-121-4/+0
|/
* Fix tests from prev commitErik Johnston2014-11-191-1/+0
* Include room members' presence in room initialSyncPaul "LeoNerd" Evans2014-11-181-0/+14
* Include 'messages' snapshot in room initialSyncPaul "LeoNerd" Evans2014-11-181-0/+4
* Merge branch 'develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-173-150/+182
|\
| * 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 c...Paul "LeoNerd" Evans2014-11-101-0/+35
* | 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
|\
| * 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 TestCase...Paul "LeoNerd" Evans2014-09-124-10/+5
* 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 has...Matthew Hodgson2014-09-036-6/+6
* Kill the statePaul "LeoNerd" Evans2014-09-031-8/+12
* 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 differen...Paul "LeoNerd" Evans2014-09-011-1/+1
* Rename 'state' presence key to the much more obvious 'presence'; maintain a l...Paul "LeoNerd" Evans2014-09-011-7/+11
* change the world: make the default matrix API URL prefix /_matrix rather than...Matthew Hodgson2014-08-314-4/+4
* 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 easie...Paul "LeoNerd" Evans2014-08-291-2/+2
* 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, the...Paul "LeoNerd" Evans2014-08-271-8/+16
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-274-99/+42
|\
| * Final url modifications: renamed /presence_list to /presence/list to keep the...Kegan Dougal2014-08-271-3/+3
| * Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and remov...Kegan Dougal2014-08-273-96/+39
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-273-28/+17
|\|
| * Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated cmd...Kegan Dougal2014-08-263-28/+17
* | Fold federation/handler into handlers/federationMark Haines2014-08-262-8/+9
|/
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$ro...Kegan Dougal2014-08-261-4/+4
* 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 members...Erik Johnston2014-08-201-1/+6
* 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
|\
| * Perform the 'REST'-level tests of Presence against the real Presence handler ...Paul "LeoNerd" Evans2014-08-191-40/+92
| * Rename MockHttpServer to MockHttpResource as it stands for one server resourc...Paul "LeoNerd" Evans2014-08-195-136/+136
* | 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 c...Erik Johnston2014-08-181-36/+36
|/
* Removed http_server from HomeServer. Updated unit tests to use either resourc...Kegan Dougal2014-08-142-4/+3
* Start phasing out HttpServer: we should be using Resources instead. Added res...Kegan Dougal2014-08-142-0/+4
* An initial hack at storing presence state-change mtimes in database and prese...Paul "LeoNerd" Evans2014-08-131-2/+10
* Use strings instead of opaque magic-number constants for presence states; ren...Paul "LeoNerd" Evans2014-08-131-6/+6
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-136-0/+84
* Reference Matrix Home Servermatrix.org2014-08-126-0/+1610