summary refs log tree commit diff
path: root/tests/rest/admin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Admin API endpoint to delete a reported event (#15116)Dirk Klimpel2023-02-281-2/+141
* Refactor media modules. (#15146)Patrick Cloke2023-02-272-2/+2
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-224-10/+0
* Add final type hint to tests.unittest. (#15072)Patrick Cloke2023-02-142-6/+14
* Return read-only collections from `@cached` methods (#13755)Sean Quah2023-02-101-2/+2
* Add a class UnpersistedEventContext to allow for the batching up of storing s...Shay2023-02-091-1/+3
* Respond correctly to unknown methods on known endpoints (#14605)Patrick Cloke2023-02-091-3/+6
* Add helper to parse an enum from query args & use it. (#14956)Patrick Cloke2023-02-011-1/+4
* Faster joins: omit partial rooms from eager syncs until the resync completes ...David Robertson2023-01-231-2/+2
* Respond with proper error responses on unknown paths. (#14621)Patrick Cloke2022-12-081-1/+1
* Implement message forward pagination from start when no from is given, fixes ...Benjamin Kampmann2022-11-241-0/+40
* Add a type hint for `get_device_handler()` and fix incorrect types. (#14055)Patrick Cloke2022-11-221-1/+4
* Add an Admin API endpoint for looking up users based on 3PID (#14405)Ashish Kumar2022-11-111-13/+94
* Show erasure status when listing users in the Admin API (#14205)Tadeusz Sośnierz2022-10-211-1/+34
* Allow admins to require a manual approval process before new accounts can be ...Brendan Abolivier2022-09-291-2/+184
* Support enabling/disabling pushers (from MSC3881) (#13799)Brendan Abolivier2022-09-211-1/+1
* Add an admin API endpoint to find a user based on its external ID in an auth ...Quentin Gliech2022-09-161-0/+87
* Add timestamp to user's consent (#13741)Dirk Klimpel2022-09-081-0/+1
* Add Admin API to Fetch Messages Within a Particular Window (#13672)Connor Davis2022-09-071-1/+157
* Fix admin List Room API return type on sqlite (#13509)David Robertson2022-08-311-5/+14
* Fix that sending server notices fail if avatar is `None` (#13566)Dirk Klimpel2022-08-231-0/+56
* Implement MSC3852: Expose `last_seen_user_agent` to users for their own devic...Andrew Morgan2022-08-191-1/+91
* Fix a bug in the `/event_reports` Admin API which meant that the total count ...reivilibre2022-08-171-0/+27
* Add forgotten status to Room Details API (#13503)Dirk Klimpel2022-08-171-0/+1
* Use literals in place of `HTTPStatus` constants in tests (#13488)Dirk Klimpel2022-08-1011-447/+176
* Use literals in place of `HTTPStatus` constants in tests (#13479)Dirk Klimpel2022-08-0911-141/+140
* Use literals in place of `HTTPStatus` constants in tests (#13469)Dirk Klimpel2022-08-0812-331/+328
* Return 404 or member list when getting joined_members after leaving (#13374)andrew do2022-08-031-0/+15
* Make minor clarifications to the error messages given when we fail to join a ...reivilibre2022-07-271-1/+4
* Use HTTPStatus constants in place of literals in tests. (#13297)Dirk Klimpel2022-07-151-8/+8
* Fix "add user" admin api error when request contains a "msisdn" threepid (#13...Thomas Weston2022-07-131-0/+35
* expose whether a room is a space in the Admin API (#13208)andrew do2022-07-121-3/+10
* annotate tests.server.FakeChannel (#13136)David Robertson2022-07-042-3/+3
* Remove remaining pieces of groups code. (#12966)Patrick Cloke2022-06-061-2/+0
* Rename storage classes (#12913)Erik Johnston2022-05-311-2/+2
* Remove user-visible groups/communities code (#12553)Patrick Cloke2022-05-251-89/+1
* Delete events from federation_inbound_events_staging table on purge (#12770)Mathieu Velten2022-05-171-0/+1
* Disable groups/communities by default. (#12344)Patrick Cloke2022-04-121-0/+1
* Update the server notices user profile in room if changed. (#12115)Jorge Florian2022-04-081-0/+92
* Add type hints for `tests/unittest.py`. (#12347)Richard van der Hoff2022-04-012-6/+17
* Remove redundant `get_success` calls in test code (#12346)Richard van der Hoff2022-04-011-9/+3
* Always allow the empty string as an avatar_url. (#12261)David Robertson2022-03-251-0/+19
* Add config settings for background update parameters (#11980)Shay2022-03-111-4/+5
* Fix a bug in background updates wherein background updates are never run usin...Shay2022-03-071-10/+8
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-7/+7
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-237-20/+20
* Add type hints to `tests/rest/admin` (#11851)Dirk Klimpel2022-01-313-229/+183
* Add admin API to get a list of federated rooms (#11658)Dirk Klimpel2022-01-251-25/+277
* Add admin API to reset connection timeouts for remote server (#11639)Dirk Klimpel2022-01-251-4/+51
* Drop unused table `public_room_list_stream`. (#11795)Richard van der Hoff2022-01-211-1/+0
* Make pagination of rooms in admin api stable (#11737)Daniel Sonck2022-01-171-19/+28
* Remove the 'password_hash' from the Users Admin API endpoint response diction...Andrew Morgan2022-01-141-17/+33
* Replace uses of simple_insert_many with simple_insert_many_values. (#11742)Patrick Cloke2022-01-131-11/+4
* Fix get federation status of destination if no error occured (#11593)Dirk Klimpel2022-01-051-18/+57
* Add admin API to get users' account data (#11664)Dirk Klimpel2022-01-051-0/+90
* Add type hints to `synapse/tests/rest/admin` (#11590)Dirk Klimpel2021-12-165-57/+70
* Ensure emails are canonicalized before fetching associated user. (#11547)Patrick Cloke2021-12-101-1/+2
* Add missing `errcode` to `parse_string` and `parse_boolean` (#11542)Dirk Klimpel2021-12-094-10/+10
* Clean up `synapse.rest.admin` (#11535)Dirk Klimpel2021-12-081-1/+1
* Fix 'delete room' admin api to work on incomplete rooms (#11523)Richard van der Hoff2021-12-071-17/+25
* Add admin API to get some information about federation status (#11407)Dirk Klimpel2021-12-061-0/+456
* Add type hints to `synapse/tests/rest/admin` (#11501)Dirk Klimpel2021-12-039-225/+256
* Remove unnecessary `json.dumps` from `tests.rest.admin` (#11461)Dirk Klimpel2021-11-301-41/+20
* Convert status codes to `HTTPStatus` in `tests.rest.admin` (#11455)Dirk Klimpel2021-11-3011-557/+886
* Make background updates controllable via a plugin (#11306)Erik Johnston2021-11-291-1/+1
* Lower minumum batch size to 1 for background updates (#11422)Brendan Abolivier2021-11-241-8/+17
* Add an admin API to run background jobs. (#11352)Dirk Klimpel2021-11-191-8/+146
* Add dedicated admin API for blocking a room (#11324)Dirk Klimpel2021-11-181-0/+228
* Rename `get_access_token_for_user_id` method to `create_access_token_for_user...reivilibre2021-11-171-2/+2
* Add ability to un-shadow-ban via the admin API. (#11347)Patrick Cloke2021-11-161-6/+20
* Convert delete room admin API to async endpoint (#11223)Dirk Klimpel2021-11-122-65/+709
* Allow admins to proactively block rooms (#11228)David Robertson2021-11-091-0/+28
* Add some background update admin APIs (#11263)Erik Johnston2021-11-081-0/+218
* Add search by room ID and room alias to List Room admin API (#11099)Dirk Klimpel2021-11-021-39/+49
* Fix a bug in unit test `test_block_room_and_not_purge` (#11226)Dirk Klimpel2021-11-011-2/+2
* Remove deprecated delete room admin API (#11213)Dirk Klimpel2021-11-011-24/+15
* Enable changing user type via users admin API (#11174)Jason Robinson2021-10-261-0/+51
* Fix setting a user's external_id via the admin API returns 500 and deletes us...Dirk Klimpel2021-10-211-3/+212
* Show error when timestamp in seconds is provided to the /purge_media_cache AP...Aaron R2021-10-201-4/+102
* Simplify the user admin API tests (#11048)Dirk Klimpel2021-10-121-255/+146
* Use direct references for configuration variables (part 7). (#10959)Patrick Cloke2021-10-041-2/+2
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-3/+3
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-242-3/+3
* Add reactor to `SynapseRequest` and fix up types. (#10868)Erik Johnston2021-09-243-7/+7
* Allow `.` and `~` chars in registration tokens (#10887)Callum Brown2021-09-231-3/+5
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-1/+1
* Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859)Hillery Shay2021-09-211-0/+27
* Create a constant for a small png image in tests. (#10834)Patrick Cloke2021-09-164-66/+22
* Improve ServerNoticeServlet to avoid duplicate requests (#10679)Dirk Klimpel2021-08-271-0/+450
* Implement MSC3231: Token authenticated registration (#10142)Callum Brown2021-08-211-0/+710
* Simplify tests for the device admin rest API. (#10664)Dirk Klimpel2021-08-201-81/+18
* Remove not needed database updates in modify user admin API (#10627)Dirk Klimpel2021-08-191-4/+58
* Remove deprecated Shutdown Room and Purge Room Admin API (#8830)Dirk Klimpel2021-08-171-162/+0
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-178-11/+8
* Allow to edit `external_ids` by Edit User admin API (#10598)Dirk Klimpel2021-08-171-30/+197
* Add an admin API to check if a username is available (#10578)Will Hunt2021-08-171-0/+62
* Admin API to delete media for a specific user (#10558)Dirk Klimpel2021-08-111-113/+208
* Add `creation_ts` to list users admin API (#10448)Dirk Klimpel2021-07-221-18/+27
* Add type hints to additional servlet functions (#10437)Patrick Cloke2021-07-211-2/+2
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-132-14/+12
* Remove functionality associated with unused historical stats tables (#9721)Cristina2021-07-081-1/+0
* Fix deactivate a user if he does not have a profile (#10252)Dirk Klimpel2021-07-061-18/+68
* Add SSO `external_ids` to Query User Account admin API (#10261)Dirk Klimpel2021-07-011-84/+140
* Add new admin APIs to remove media by media ID from quarantine. (#10044)Dirk Klimpel2021-06-021-0/+128
* Make reason and score optional for report_event (#10077)Callum Brown2021-05-271-1/+14
* Add an admin API for unprotecting local media from quarantine (#10040)Dirk Klimpel2021-05-261-0/+99
* Delete room endpoint (#9889)ThibF2021-04-291-19/+26
* Remove various bits of compatibility code for Python <3.6 (#9879)Andrew Morgan2021-04-271-9/+6
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-205-13/+13
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-148-8/+0
* Add an admin API to manage ratelimit for a specific user (#9648)Dirk Klimpel2021-04-131-0/+284
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-093-6/+3
* Add `order_by` to list user admin API (#9691)Dirk Klimpel2021-04-011-1/+120
* Consistently check whether a password may be set for a user. (#9636)Dirk Klimpel2021-03-181-55/+118
* Add an `order_by` field to list users' media admin API. (#8978)Dirk Klimpel2021-02-221-21/+225
* Add the shadow-banning status to the display user admin API. (#9400)Dirk Klimpel2021-02-171-0/+2
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-167-252/+748
* Merge pull request #9150 from Yoric/develop-contextDavid Teller2021-02-081-0/+84
|\
| * FIXUP: linterDavid Teller2021-01-281-1/+3
| * FIXUP: Now testing that the user is admin!David Teller2021-01-281-1/+35
| * New API /_synapse/admin/rooms/{roomId}/context/{eventId}David Teller2021-01-281-0/+48
* | Add an admin API to get the current room state (#9168)Travis Ralston2021-02-021-0/+15
|/
* Add an admin API for shadow-banning users. (#9209)Patrick Cloke2021-01-251-0/+64
* Add tests for List Users Admin API (#9045)Dirk Klimpel2021-01-211-27/+196
* Add an admin API endpoint to protect media. (#9086)Patrick Cloke2021-01-151-3/+5
* Remove user's avatar URL and displayname when deactivated. (#8932)Dirk Klimpel2021-01-121-0/+220
* Also support remote users on the joined_rooms admin API. (#8948)David Teller2021-01-111-6/+52
* Removes unnecessary declarations in the tests for the admin API. (#9063)Dirk Klimpel2021-01-116-17/+0
* Drop the unused local_invites table. (#8979)Patrick Cloke2020-12-291-1/+0
* Allow server admin to get admin bit in rooms where local user is an admin (#8...Erik Johnston2020-12-181-0/+138
* Fix `UsersListTestCase` (#8964)Richard van der Hoff2020-12-171-6/+4
* Fix a bug that deactivated users appear in the directory (#8933)Dirk Klimpel2020-12-171-1/+49
* Make search statement in List Room and User Admin API case-insensitive (#8931)Dirk Klimpel2020-12-172-3/+105
* Convert internal pusher dicts to attrs classes. (#8940)Patrick Cloke2020-12-161-1/+1
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-157-441/+301
* Add number of local devices to Room Details Admin API (#8886)Dirk Klimpel2020-12-111-0/+34
* Call set_avatar_url with target_user, not user_id (#8872)Will Hunt2020-12-071-1/+6
* Add additional validation to pusher URLs. (#8865)Patrick Cloke2020-12-041-1/+1
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
* Fix broken testcase (#8851)Richard van der Hoff2020-12-011-1/+0
* Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)Dirk Klimpel2020-11-253-4/+112
* Fix tests on develop (#8777)Erik Johnston2020-11-181-16/+0
* Merge pull request #8761 from matrix-org/rav/test_request_renderingRichard van der Hoff2020-11-177-278/+0
|\
| * Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-167-266/+0
| * Make `make_request` actually render the requestRichard van der Hoff2020-11-162-12/+0
* | Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-2/+243
|/
* Merge branch 'develop' into rav/pass_site_to_make_requestRichard van der Hoff2020-11-161-1/+1
|\
| * Rename `create_test_json_resource` to `create_test_resource` (#8759)Richard van der Hoff2020-11-161-1/+1
* | use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-152-7/+24
|/
* Add an admin API for users' media statistics (#8700)Dirk Klimpel2020-11-051-0/+485
* Add `displayname` to Shared-Secret Registration for admins (#8722)Dirk Klimpel2020-11-051-2/+119
* Consolidate purge table lists to prevent desyncronisation (#8713)Andrew Morgan2020-11-041-67/+38
* Fix unit tests (#8689)Erik Johnston2020-10-291-1/+1
* Add an admin APIs to allow server admins to list users' pushers (#8610)Dirk Klimpel2020-10-281-0/+124
* Add admin API to list users' local media (#8647)Dirk Klimpel2020-10-271-0/+282
* Split admin API for reported events into a detail and a list view (#8539)Dirk Klimpel2020-10-261-13/+183
* Add an admin api to delete local media. (#8519)Dirk Klimpel2020-10-261-0/+568
* Fix a bug in the joined_rooms admin API (#8643)Dirk Klimpel2020-10-261-1/+15
* Add field `total` to device list in admin API (#8644)Dirk Klimpel2020-10-261-0/+17
* Fixed a bug with reactivating users with the admin API (#8362)Dirk Klimpel2020-09-221-0/+14
* Admin API for reported events (#8217)Dirk Klimpel2020-09-221-0/+382
* Create function to check for long names in devices (#8364)Dionysis Grigoropoulos2020-09-221-1/+1
* Admin API for querying rooms where a user is a member (#8306)Dirk Klimpel2020-09-181-2/+94
* Add the topic and avatar to the room details admin API (#8305)Tulir Asokan2020-09-141-0/+2
* Allow for make_awaitable's return value to be re-used. (#8261)Patrick Cloke2020-09-081-3/+3
* Convert stats and related calls to async/await (#8192)Patrick Cloke2020-08-271-5/+4
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-3/+7
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-2/+2
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-2/+2
* Add an option to disable purge in delete room admin API (#7964)Dirk Klimpel2020-07-281-2/+55
* Convert tests/rest/admin/test_room.py to unix file endings (#7953)Andrew Morgan2020-07-271-1447/+1447
* Add admin endpoint to get members in a room. (#7842)Michael Albert2020-07-161-0/+46
* Allow accounts to be re-activated from the admin APIs. (#7847)Patrick Cloke2020-07-151-0/+47
* Add delete room admin endpoint (#7613)Dirk Klimpel2020-07-141-0/+395
* Stop populating unused table `local_invites`. (#7793)Richard van der Hoff2020-07-071-1/+0
* Allow local media to be marked as safe from being quarantined. (#7718)Patrick Cloke2020-06-221-72/+65
* Allow new users to be registered via the admin API even if the monthly active...Dirk Klimpel2020-06-051-15/+163
* Add device management to admin API (#7481)Dirk Klimpel2020-06-051-0/+541
* Email notifications for new users when creating via the Admin API. (#7267)Dirk Klimpel2020-06-011-0/+75
* Add room details admin endpoint (#7317)Manuel Stahl2020-05-071-0/+41
* Return total number of users and profile attributes in admin users endpoint (...Manuel Stahl2020-04-281-0/+2
* Extend room admin api with additional attributes (#7225)Dirk Klimpel2020-04-222-592/+680
* Admin API to join users to a room. (#7051)Dirk Klimpel2020-03-271-0/+288
* Remove special casing of `m.room.aliases` events (#7034)Patrick Cloke2020-03-171-0/+7
* Fixed set a user as an admin with the new API (#6928)Dirk Klimpel2020-02-281-32/+186
* Ensure 'deactivated' parameter is a boolean on user admin API, Fix error hand...Andrew Morgan2020-02-261-0/+59
* Return a 404 for admin api user lookup if user not found (#6901)Andrew Morgan2020-02-121-0/+16
* Admin api to add an email address (#6789)Dirk Klimpel2020-02-071-2/+17
* MSC2260: Block direct sends of m.room.aliases events (#6794)Richard van der Hoff2020-01-301-7/+0
* Admin API to list, filter and sort rooms (#6720)Andrew Morgan2020-01-221-4/+389
* Fix and add test to deprecated quarantine media admin api (#6756)Andrew Morgan2020-01-221-4/+11
* Fix changing password via user admin API. (#6730)Erik Johnston2020-01-201-0/+13
* Fix purge_room admin API (#6711)Erik Johnston2020-01-151-3/+1
* Quarantine media by ID or user ID (#6681)Andrew Morgan2020-01-131-0/+341
* Allow admin users to create or modify users without a shared secret (#6495)Manuel Stahl2020-01-092-338/+465
* Fix GET request on /_synapse/admin/v2/users endpoint (#6563)Manuel Stahl2020-01-081-0/+41
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+1
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-041-1/+1
* Blacklist PurgeRoomTestCase (#6361)Andrew Morgan2019-11-131-0/+2
* Fix deleting state groups during room purge.Erik Johnston2019-11-061-1/+3
* Add unit test for /purge_room APIErik Johnston2019-10-311-0/+78
* Fix races in room stats (and other) updates. (#6187)Richard van der Hoff2019-10-101-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-51/+49
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-1/+0
* Run Black on the tests again (#5170)Amber Brown2019-05-101-70/+33
* Remove the requirement to authenticate for /admin/server_version. (#5122)Richard van der Hoff2019-05-071-22/+8
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-4/+4
* Move admin api impl to its own packageRichard van der Hoff2019-05-012-0/+631