summary refs log tree commit diff
path: root/tests/rest/client/v1/test_rooms.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #276 from ↵Mark Haines2015-09-211-7/+7
|\ | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left.
| * Allow users to GET individual state events for rooms that they have leftMark Haines2015-09-101-5/+5
| |
| * Allow users that have left the room to view the member list from the point ↵Mark Haines2015-09-091-2/+2
| | | | | | | | they left
* | s/user_id/user/g for consistencyDaniel Wagner-Hall2015-09-011-7/+7
| |
* | Attempt to validate macaroonsDaniel Wagner-Hall2015-08-261-14/+14
|/ | | | | | | | | | | | | 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-7/+0
|
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-7/+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-14/+14
| | | | We're about to have two kinds of token, access and refresh
* Fix testsDavid Baker2015-03-241-8/+8
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-83/+14
| | | | setup_test_homeserver function in utils.
* Extract the id token of the token when authing users, include the token and ↵Mark Haines2015-01-281-0/+7
| | | | device_id in the internal meta data for the event along with the transaction id when sending events
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-12/+9
|
* Move client rest tests back under restMark Haines2015-01-221-0/+1068