Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 reported events (#8217) | Dirk Klimpel | 2020-09-22 | 1 | -0/+382 |
| | | | Add an admin API to read entries of table `event_reports`. API: `GET /_synapse/admin/v1/event_reports` | ||||
* | Create function to check for long names in devices (#8364) | Dionysis Grigoropoulos | 2020-09-22 | 1 | -1/+1 |
| | | | | | | | | | * Create a new function to verify that the length of a device name is under a certain threshold. * Refactor old code and tests to use said function. * Verify device name length during registration of device * Add a test for the above Signed-off-by: Dionysis Grigoropoulos <dgrig@erethon.com> | ||||
* | 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. | ||||
* | Add the topic and avatar to the room details admin API (#8305) | Tulir Asokan | 2020-09-14 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -2/+2 |
| | |||||
* | Convert federation client to async/await. (#7975) | Patrick Cloke | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Add an option to disable purge in delete room admin API (#7964) | Dirk Klimpel | 2020-07-28 | 1 | -2/+55 |
| | | | | | | Add option ```purge``` to ```POST /_synapse/admin/v1/rooms/<room_id>/delete``` Fixes: #3761 Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | Convert tests/rest/admin/test_room.py to unix file endings (#7953) | Andrew Morgan | 2020-07-27 | 1 | -1447/+1447 |
| | | | | | Converts tests/rest/admin/test_room.py to have unix file endings after they were accidentally changed in #7613. Keeping the same changelog as #7613 as it hasn't gone out in a release yet. | ||||
* | Add admin endpoint to get members in a room. (#7842) | Michael Albert | 2020-07-16 | 1 | -0/+46 |
| | |||||
* | Allow accounts to be re-activated from the admin APIs. (#7847) | Patrick Cloke | 2020-07-15 | 1 | -0/+47 |
| | |||||
* | Add delete room admin endpoint (#7613) | Dirk Klimpel | 2020-07-14 | 1 | -0/+395 |
| | | | | | | | | | | | | | | | | | | The Delete Room admin API allows server admins to remove rooms from server and block these rooms. `DELETE /_synapse/admin/v1/rooms/<room_id>` It is a combination and improvement of "[Shutdown room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/shutdown_room.md)" and "[Purge room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/purge_room.md)" API. Fixes: #6425 It also fixes a bug in [synapse/storage/data_stores/main/room.py](synapse/storage/data_stores/main/room.py) in ` get_room_with_stats`. It should return `None` if the room is unknown. But it returns an `IndexError`. https://github.com/matrix-org/synapse/blob/901b1fa561e3cc661d78aa96d59802cf2078cb0d/synapse/storage/data_stores/main/room.py#L99-L105 Related to: - #5575 - https://github.com/Awesome-Technologies/synapse-admin/issues/17 Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | Stop populating unused table `local_invites`. (#7793) | Richard van der Hoff | 2020-07-07 | 1 | -1/+0 |
| | | | | | This table is no longer used, so we may as well stop populating it. Removing it would prevent people rolling back to older releases of Synapse, so that can happen in a future release. | ||||
* | Allow local media to be marked as safe from being quarantined. (#7718) | Patrick Cloke | 2020-06-22 | 1 | -72/+65 |
| | |||||
* | 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) | ||||
* | Add device management to admin API (#7481) | Dirk Klimpel | 2020-06-05 | 1 | -0/+541 |
| | | | | | | | | | | - Admin is able to - change displaynames - delete devices - list devices - get device informations Fixes #7330 | ||||
* | Email notifications for new users when creating via the Admin API. (#7267) | Dirk Klimpel | 2020-06-01 | 1 | -0/+75 |
| | |||||
* | Add room details admin endpoint (#7317) | Manuel Stahl | 2020-05-07 | 1 | -0/+41 |
| | |||||
* | 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> | ||||
* | Extend room admin api with additional attributes (#7225) | Dirk Klimpel | 2020-04-22 | 2 | -592/+680 |
| | |||||
* | Admin API to join users to a room. (#7051) | Dirk Klimpel | 2020-03-27 | 1 | -0/+288 |
| | |||||
* | Remove special casing of `m.room.aliases` events (#7034) | Patrick Cloke | 2020-03-17 | 1 | -0/+7 |
| | |||||
* | 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 |
| | |||||
* | MSC2260: Block direct sends of m.room.aliases events (#6794) | Richard van der Hoff | 2020-01-30 | 1 | -7/+0 |
| | | | | | as per MSC2260 | ||||
* | Admin API to list, filter and sort rooms (#6720) | Andrew Morgan | 2020-01-22 | 1 | -4/+389 |
| | |||||
* | Fix and add test to deprecated quarantine media admin api (#6756) | Andrew Morgan | 2020-01-22 | 1 | -4/+11 |
| | |||||
* | Fix changing password via user admin API. (#6730) | Erik Johnston | 2020-01-20 | 1 | -0/+13 |
| | |||||
* | Fix purge_room admin API (#6711) | Erik Johnston | 2020-01-15 | 1 | -3/+1 |
| | |||||
* | Quarantine media by ID or user ID (#6681) | Andrew Morgan | 2020-01-13 | 1 | -0/+341 |
| | |||||
* | Allow admin users to create or modify users without a shared secret (#6495) | Manuel Stahl | 2020-01-09 | 2 | -338/+465 |
| | | | Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de> | ||||
* | Fix GET request on /_synapse/admin/v2/users endpoint (#6563) | Manuel Stahl | 2020-01-08 | 1 | -0/+41 |
| | | | | Fixes #6552 | ||||
* | Move DB pool and helper functions into dedicated Database class | Erik Johnston | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | Remove underscore from SQLBaseStore functions | Erik Johnston | 2019-12-04 | 1 | -1/+1 |
| | |||||
* | Blacklist PurgeRoomTestCase (#6361) | Andrew Morgan | 2019-11-13 | 1 | -0/+2 |
| | |||||
* | Fix deleting state groups during room purge. | Erik Johnston | 2019-11-06 | 1 | -1/+3 |
| | | | | And fix the tests to actually test that things got deleted. | ||||
* | Add unit test for /purge_room API | Erik Johnston | 2019-10-31 | 1 | -0/+78 |
| | |||||
* | Fix races in room stats (and other) updates. (#6187) | Richard van der Hoff | 2019-10-10 | 1 | -1/+1 |
| | | | | | | | Hopefully this will fix the occasional failures we were seeing in the room directory. The problem was that events are not necessarily persisted (and `current_state_delta_stream` updated) in the same order as their stream_id. So for instance current_state_delta 9 might be persisted *before* current_state_delta 8. Then, when the room stats saw stream_id 9, it assumed it had done everything up to 9, and never came back to do stream_id 8. We can solve this easily by only processing up to the stream_id where we know all events have been persisted. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -51/+49 |
| | |||||
* | Unify v1 and v2 REST client APIs (#5226) | Amber Brown | 2019-06-03 | 1 | -1/+0 |
| | |||||
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 1 | -70/+33 |
| | |||||
* | Remove the requirement to authenticate for /admin/server_version. (#5122) | Richard van der Hoff | 2019-05-07 | 1 | -22/+8 |
| | | | | | | | | | This endpoint isn't much use for its intended purpose if you first need to get yourself an admin's auth token. I've restricted it to the `/_synapse/admin` path to make it a bit easier to lock down for those concerned about exposing this information. I don't imagine anyone is using it in anger currently. | ||||
* | Add admin api for sending server_notices (#5121) | Richard van der Hoff | 2019-05-02 | 1 | -4/+4 |
| | |||||
* | Move admin api impl to its own package | Richard van der Hoff | 2019-05-01 | 2 | -0/+631 |
It doesn't really belong under rest/client/v1 any more. |