anonymousland-synapse/synapse/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 Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
_base.py synapse.api.auth.Auth cleanup: make permission-related methods use Requester instead of the UserID (#13024) 2022-08-22 14:17:59 +01:00
background_updates.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
devices.py Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
event_reports.py Admin API endpoint to delete a reported event (#15116) 2023-02-28 12:09:10 +00:00
federation.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
media.py Respond correctly to unknown methods on known endpoints (#14605) 2023-02-09 13:04:24 -05:00
registration_tokens.py Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
rooms.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
server_notice_servlet.py Pass the Requester down to the HttpTransactionCache. (#15200) 2023-03-07 16:05:22 +00:00
statistics.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
username_available.py Clean up synapse.rest.admin (#11535) 2021-12-08 16:59:40 +00:00
users.py Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00