mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
1433b5d5b6
* Show erasure status when listing users in the Admin API * Use USING when joining erased_users * Add changelog entry * Revert "Use USING when joining erased_users" This reverts commit 30bd2bf106415caadcfdbdd1b234ef2b106cc394. * Make the erased check work on postgres * Add a testcase for showing erased user status * Appease the style linter * Explicitly convert `erased` to bool to make SQLite consistent with Postgres This also adds us an easy way in to fix the other accidentally integered columns. * Move erasure status test to UsersListTestCase * Include user erased status when fetching user info via the admin API * Document the erase status in user_admin_api * Appease the linter and mypy * Signpost comments in tests Co-authored-by: Tadeusz Sośnierz <tadeusz@sosnierz.com> Co-authored-by: David Robertson <david.m.robertson1@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_admin.py | ||
test_background_updates.py | ||
test_device.py | ||
test_event_reports.py | ||
test_federation.py | ||
test_media.py | ||
test_registration_tokens.py | ||
test_room.py | ||
test_server_notice.py | ||
test_statistics.py | ||
test_user.py | ||
test_username_available.py |