0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-14 14:01:59 +01:00
synapse/tests/replication
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
..
http Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
slave Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
tcp Remove no-op send_command for Redis replication. (#15274) 2023-03-16 11:13:30 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_auth.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_client_reader_shard.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_federation_ack.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_federation_sender_shard.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_module_cache_invalidation.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_multi_media_repo.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_pusher_shard.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_sharded_event_persister.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00