summary refs log tree commit diff
path: root/synapse/rest/client/v1/profile.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-2/+2
| | | | what could possibly go wrong
* Split out profile handler to fix testsErik Johnston2017-08-251-9/+9
|
* admin,storage: added more administrator functionalitiesMorteza Araby2017-02-021-2/+4
| | | | | | | | | | | | | | administrators can now: - Set displayname of users - Update user avatars - Search for users by user_id - Browse all users in a paginated API - Reset user passwords - Deactivate users Helpers for doing paginated queries has also been added to storage Signed-off-by: Morteza Araby <morteza.araby@ericsson.com>
* Dont invoke get_handlers fromClientV1RestServletErik Johnston2016-08-121-0/+12
| | | | | | hs.get_handlers() can not be invoked from split out processes. Moving the invocations down a level means that we can slowly split out individual servlets.
* Use parse_json_object_from_request to parse JSON out of request bodiesMark Haines2016-03-111-4/+4
|
* Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-2/+2
| | | | This will enable more detailed decisions
* Revert "Reject additional path segments"Daniel Wagner-Hall2016-02-091-3/+3
| | | | | | This reverts commit 1d19a5ec0fff73af9cee8c21118020b31be47379. iOS Console is apparently relying on these paths.
* Reject additional path segmentsDaniel Wagner-Hall2016-02-081-3/+3
|
* No braces hereDavid Baker2016-02-031-1/+1
|
* Don't return null if profile display name / avatar url isn't set: omit them ↵David Baker2016-02-031-6/+17
| | | | instead
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-4/+4
| | | | | | | | | 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
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-4/+4
|
* Allow guests to set their display namesDaniel Wagner-Hall2015-11-121-1/+1
| | | | | Depends: https://github.com/matrix-org/synapse/pull/363 Tests in https://github.com/matrix-org/sytest/pull/66
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-2/+2
| | | | | | | 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.
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-2/+2
| | | | | | | | | | 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.
* Blunty replace json with simplejsonErik Johnston2015-02-111-1/+1
|
* Extract the id token of the token when authing users, include the token and ↵Mark Haines2015-01-281-2/+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-2/+2
|
* Extract the client v1 base RestServlet to a separate classMark Haines2015-01-231-4/+4
|
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-6/+7
|
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+113