0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 04:33:47 +01:00
synapse/tests/rest/admin
Quentin Gliech 5b70f240cf
Make cleaning up pushers depend on the device_id instead of the token_id (#15280)
This makes it so that we rely on the `device_id` to delete pushers on logout,
instead of relying on the `access_token_id`. This ensures we're not removing
pushers on token refresh, and prepares for a world without access token IDs
(also known as the OIDC).

This actually runs the `set_device_id_for_pushers` background update, which
was forgotten in #13831.

Note that for backwards compatibility it still deletes pushers based on the
`access_token` until the background update finishes.
2023-03-24 11:09:39 -04:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_admin.py Use literals in place of HTTPStatus constants in tests (#13479) 2022-08-09 14:56:43 +01:00
test_background_updates.py Use literals in place of HTTPStatus constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_device.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_event_reports.py Admin API endpoint to delete a reported event (#15116) 2023-02-28 12:09:10 +00:00
test_federation.py Use literals in place of HTTPStatus constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_media.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
test_registration_tokens.py Use literals in place of HTTPStatus constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_room.py Fix error when sending message into deleted room. (#15235) 2023-03-21 09:13:43 +00:00
test_server_notice.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_statistics.py Use literals in place of HTTPStatus constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_user.py Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00
test_username_available.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00