summary refs log tree commit diff
path: root/synapse/handlers/admin.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-5/+2
| | | | | | | | The shared ratelimit function was replaced with a dedicated RequestRatelimiter class (accessible from the HomeServer object). Other properties were copied to each sub-class that inherited from BaseHandler.
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-2/+2
|
* Add SSO `external_ids` to Query User Account admin API (#10261)Dirk Klimpel2021-07-011-0/+7
| | | Related to #10251
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+2
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Add type hints to admin and room list handlers. (#8973)Patrick Cloke2020-12-291-25/+38
|
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-2/+2
|
* Various clean ups to room stream tokens. (#8423)Erik Johnston2020-09-291-1/+1
|
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281)Erik Johnston2020-09-111-3/+3
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Fix up types and comments that refer to Deferreds. (#7945)Patrick Cloke2020-07-241-1/+1
|
* Admin api to add an email address (#6789)Dirk Klimpel2020-02-071-0/+2
|
* Remove unnecessary abstractions in admin handler (#6751)Andrew Morgan2020-01-221-62/+0
|
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-16/+9
|
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
| | | | | | | Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
* Allow admin users to create or modify users without a shared secret (#6495)Manuel Stahl2020-01-091-0/+9
| | | Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
* Port some admin handlers to async/await (#6559)Erik Johnston2019-12-191-24/+17
|
* Replace /admin/v1/users_paginate endpoint with /admin/v2/users (#5925)Manuel Stahl2019-12-051-9/+12
|
* Port to use state storageErik Johnston2019-10-301-2/+5
|
* Add GET method to admin API /users/@user:dom/adminOlivier Wilkinson (reivilibre)2019-08-271-0/+9
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Add Admin API capability to set adminship of a user (#5878)reivilibre2019-08-271-0/+10
| | | Admin API: Set adminship of a user
* Replace returnValue with return (#5736)Amber Brown2019-07-231-5/+5
|
* pep8Erik Johnston2019-07-051-4/+0
|
* Remove FileExfiltrationWriterErik Johnston2019-07-051-63/+0
|
* Assume key existence. Update docstringsErik Johnston2019-07-051-3/+1
|
* Fixup from review comments.Erik Johnston2019-07-041-17/+22
|
* Apply comment fixups from code reviewErik Johnston2019-07-031-6/+6
| | | Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Add basic function to get all data for a user out of synapseErik Johnston2019-07-021-0/+247
|
* Run Black. (#5482)Amber Brown2019-06-201-15/+8
|
* run isortAmber Brown2018-07-091-2/+2
|
* admin,storage: added more administrator functionalitiesMorteza Araby2017-02-021-1/+43
| | | | | | | | | | | | | | 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>
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Flatten devices into a dict, not a listDaniel Wagner-Hall2015-12-031-4/+3
|
* Fix implementation of /admin/whoisDaniel Wagner-Hall2015-12-021-17/+11
|
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-0/+1
| | | | | | | | | | 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.
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* SYN-48: Implement WHOIS rest servletErik Johnston2014-09-291-0/+62