summary refs log tree commit diff
path: root/tests/rest/client/v1/test_presence.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-0/+72
|
* Remove old tests.Erik Johnston2016-02-181-412/+0
|
* Remove redundated BaseHomeServerErik Johnston2016-01-261-8/+10
|
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-3/+2
| | | | | | | | | This tracks data about the entity which made the request. This is instead of passing around a tuple, which requires call-site modifications every time a new piece of optional context is passed around. I tried to introduce a User object. I gave up.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Return non-room events from guest /events callsDaniel Wagner-Hall2015-11-121-0/+3
|
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-1/+8
| | | | Squash-merge of PR #345 from daniel/anonymousevents
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-4/+6
| | | | | | | This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices.
* Support clients supplying older tokens, fix short poll testMark Haines2015-10-301-2/+2
|
* Move NullSource out of synapse and into tests since it is only used by the testsMark Haines2015-09-221-1/+17
|
* s/user_id/user/g for consistencyDaniel Wagner-Hall2015-09-011-2/+2
|
* Attempt to validate macaroonsDaniel Wagner-Hall2015-08-261-4/+4
| | | | | | | | | | | | | A couple of weird caveats: * If we can't validate your macaroon, we fall back to checking that your access token is in the DB, and ignoring the failure * Even if we can validate your macaroon, we still have to hit the DB to get the access token ID, which we pretend is a device ID all over the codebase. This mostly adds the interesting code, and points out the two pieces we need to delete (and necessary conditions) in order to fix the above caveats.
* Stop looking up "admin", which we never readDaniel Wagner-Hall2015-08-251-2/+0
|
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-2/+0
| | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly.
* s/by_token/by_access_token/gDaniel Wagner-Hall2015-08-201-4/+4
| | | | We're about to have two kinds of token, access and refresh
* 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
|\ | | | | Improve presence performance in loadtest
| * 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
|
* Fix testsDavid Baker2015-03-241-3/+3
|
* Fix testsErik Johnston2015-03-091-4/+4
|
* Fix unit testsKegan Dougal2015-02-271-0/+3
|
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-111-18/+7
|\
| * Factor out some of the common homeserver setup code into aMark Haines2015-02-111-18/+7
| | | | | | | | setup_test_homeserver function in utils.
* | Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal2015-02-091-0/+3
|/ | | | | | Add logic to map the appservice token to the autogenned appservice user ID. Add unit tests for all forms of get_user_by_req (user/appservice, valid/bad/missing tokens)
* Extract the id token of the token when authing users, include the token and ↵Mark Haines2015-01-281-0/+2
| | | | device_id in the internal meta data for the event along with the transaction id when sending events
* Return the device_id from get_auth_by_reqMark Haines2015-01-281-1/+1
|
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-9/+10
|
* Merge rest servlets into the client json resource objectMark Haines2015-01-231-3/+6
|
* Move client rest tests back under restMark Haines2015-01-221-0/+372