Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove various bits of compatibility code for Python <3.6 (#9879) | Andrew Morgan | 2021-04-27 | 1 | -9/+6 |
| | | | I went through and removed a bunch of cruft that was lying around for compatibility with old Python versions. This PR also will now prevent Synapse from starting unless you're running Python 3.6+. | ||||
* | Fix (final) Bugbear violations (#9838) | Jonathan de Jong | 2021-04-20 | 1 | -2/+2 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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>` | ||||
* | Add an admin API to manage ratelimit for a specific user (#9648) | Dirk Klimpel | 2021-04-13 | 1 | -0/+284 |
| | |||||
* | Use mock from the stdlib. (#9772) | Patrick Cloke | 2021-04-09 | 1 | -2/+1 |
| | |||||
* | Add `order_by` to list user admin API (#9691) | Dirk Klimpel | 2021-04-01 | 1 | -1/+120 |
| | |||||
* | Consistently check whether a password may be set for a user. (#9636) | Dirk Klimpel | 2021-03-18 | 1 | -55/+118 |
| | |||||
* | Add an `order_by` field to list users' media admin API. (#8978) | Dirk Klimpel | 2021-02-22 | 1 | -21/+225 |
| | |||||
* | Add the shadow-banning status to the display user admin API. (#9400) | Dirk Klimpel | 2021-02-17 | 1 | -0/+2 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -84/+264 |
| | | | | | | | - 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 an admin API for shadow-banning users. (#9209) | Patrick Cloke | 2021-01-25 | 1 | -0/+64 |
| | | | | | | | | | | This expands the current shadow-banning feature to be usable via the admin API and adds documentation for it. A shadow-banned users receives successful responses to their client-server API requests, but the events are not propagated into rooms. Shadow-banning a user should be used as a tool of last resort and may lead to confusing or broken behaviour for the client. | ||||
* | Add tests for List Users Admin API (#9045) | Dirk Klimpel | 2021-01-21 | 1 | -27/+196 |
| | |||||
* | Remove user's avatar URL and displayname when deactivated. (#8932) | Dirk Klimpel | 2021-01-12 | 1 | -0/+220 |
| | | | This only applies if the user's data is to be erased. | ||||
* | Also support remote users on the joined_rooms admin API. (#8948) | David Teller | 2021-01-11 | 1 | -6/+52 |
| | | | | For remote users, only the rooms which the server knows about are returned. Local users have all of their joined rooms returned. | ||||
* | Removes unnecessary declarations in the tests for the admin API. (#9063) | Dirk Klimpel | 2021-01-11 | 1 | -5/+0 |
| | |||||
* | Fix `UsersListTestCase` (#8964) | Richard van der Hoff | 2020-12-17 | 1 | -6/+4 |
| | |||||
* | Fix a bug that deactivated users appear in the directory (#8933) | Dirk Klimpel | 2020-12-17 | 1 | -1/+49 |
| | | | | | | | | | | Fixes a bug that deactivated users appear in the directory when their profile information was updated. To change profile information of deactivated users is neccesary for example you will remove displayname or avatar. But they should not appear in directory. They are deactivated. Co-authored-by: Erik Johnston <erikj@jki.re> | ||||
* | Make search statement in List Room and User Admin API case-insensitive (#8931) | Dirk Klimpel | 2020-12-17 | 1 | -3/+98 |
| | |||||
* | Convert internal pusher dicts to attrs classes. (#8940) | Patrick Cloke | 2020-12-16 | 1 | -1/+1 |
| | | | This improves type hinting and should use less memory. | ||||
* | Remove spurious "SynapseRequest" result from `make_request" | Richard van der Hoff | 2020-12-15 | 1 | -193/+121 |
| | | | | This was never used, so let's get rid of it. | ||||
* | Call set_avatar_url with target_user, not user_id (#8872) | Will Hunt | 2020-12-07 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | * Call set_avatar_url with target_user, not user_id Fixes https://github.com/matrix-org/synapse/issues/8871 * Create 8872.bugfix * Update synapse/rest/admin/users.py Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Testing * Update changelog.d/8872.bugfix Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Add additional validation to pusher URLs. (#8865) | Patrick Cloke | 2020-12-04 | 1 | -1/+1 |
| | | | | Pusher URLs now must end in `/_matrix/push/v1/notify` per the specification. | ||||
* | Remove deprecated `/_matrix/client/*/admin` endpoints (#8785) | Dirk Klimpel | 2020-11-25 | 1 | -1/+109 |
| | | | These are now only available via `/_synapse/admin/v1`. | ||||
* | Fix tests on develop (#8777) | Erik Johnston | 2020-11-18 | 1 | -16/+0 |
| | | | This was broken due to #8617 and #8761. | ||||
* | Merge pull request #8761 from matrix-org/rav/test_request_rendering | Richard van der Hoff | 2020-11-17 | 1 | -95/+0 |
|\ | | | | | Make `make_request` actually render the request | ||||
| * | Remove redundant `HomeserverTestCase.render` | Richard van der Hoff | 2020-11-16 | 1 | -95/+0 |
| | | |||||
* | | Add admin API for logging in as a user (#8617) | Erik Johnston | 2020-11-17 | 1 | -2/+243 |
|/ | |||||
* | Add `displayname` to Shared-Secret Registration for admins (#8722) | Dirk Klimpel | 2020-11-05 | 1 | -2/+119 |
| | | | Add `displayname` to Shared-Secret Registration for admins to `POST /_synapse/admin/v1/register` | ||||
* | Fix unit tests (#8689) | Erik Johnston | 2020-10-29 | 1 | -1/+1 |
| | | | | | * Fix unit tests * Newsfile | ||||
* | Add an admin APIs to allow server admins to list users' pushers (#8610) | Dirk Klimpel | 2020-10-28 | 1 | -0/+124 |
| | | | Add an admin API `GET /_synapse/admin/v1/users/<user_id>/pushers` like https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-pushers | ||||
* | Add admin API to list users' local media (#8647) | Dirk Klimpel | 2020-10-27 | 1 | -0/+282 |
| | | | Add admin API `GET /_synapse/admin/v1/users/<user_id>/media` to get information of users' uploaded files. | ||||
* | Fix a bug in the joined_rooms admin API (#8643) | Dirk Klimpel | 2020-10-26 | 1 | -1/+15 |
| | | | | If the user was not in any rooms then the API returned the same error as if the user did not exist. | ||||
* | Fixed a bug with reactivating users with the admin API (#8362) | Dirk Klimpel | 2020-09-22 | 1 | -0/+14 |
| | | | | | | | Fixes: #8359 Trying to reactivate a user with the admin API (`PUT /_synapse/admin/v2/users/<user_name>`) causes an internal server error. Seems to be a regression in #8033. | ||||
* | Admin API for querying rooms where a user is a member (#8306) | Dirk Klimpel | 2020-09-18 | 1 | -2/+94 |
| | | | | Add a new admin API `GET /_synapse/admin/v1/users/<user_id>/joined_rooms` to list all rooms where a user is a member. | ||||
* | Allow for make_awaitable's return value to be re-used. (#8261) | Patrick Cloke | 2020-09-08 | 1 | -3/+3 |
| | |||||
* | Convert stats and related calls to async/await (#8192) | Patrick Cloke | 2020-08-27 | 1 | -5/+4 |
| | |||||
* | Convert synapse.api to async/await (#8031) | Patrick Cloke | 2020-08-06 | 1 | -3/+7 |
| | |||||
* | Allow accounts to be re-activated from the admin APIs. (#7847) | Patrick Cloke | 2020-07-15 | 1 | -0/+47 |
| | |||||
* | Allow new users to be registered via the admin API even if the monthly ↵ | Dirk Klimpel | 2020-06-05 | 1 | -15/+163 |
| | | | | active user limit has been reached (#7263) | ||||
* | Email notifications for new users when creating via the Admin API. (#7267) | Dirk Klimpel | 2020-06-01 | 1 | -0/+75 |
| | |||||
* | Return total number of users and profile attributes in admin users endpoint ↵ | Manuel Stahl | 2020-04-28 | 1 | -0/+2 |
| | | | | | (#6881) Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de> | ||||
* | Fixed set a user as an admin with the new API (#6928) | Dirk Klimpel | 2020-02-28 | 1 | -32/+186 |
| | | | Fix #6910 | ||||
* | Ensure 'deactivated' parameter is a boolean on user admin API, Fix error ↵ | Andrew Morgan | 2020-02-26 | 1 | -0/+59 |
| | | | | handling of call to deactivate user (#6990) | ||||
* | Return a 404 for admin api user lookup if user not found (#6901) | Andrew Morgan | 2020-02-12 | 1 | -0/+16 |
| | |||||
* | Admin api to add an email address (#6789) | Dirk Klimpel | 2020-02-07 | 1 | -2/+17 |
| | |||||
* | Fix changing password via user admin API. (#6730) | Erik Johnston | 2020-01-20 | 1 | -0/+13 |
| | |||||
* | Allow admin users to create or modify users without a shared secret (#6495) | Manuel Stahl | 2020-01-09 | 1 | -0/+465 |
Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de> |