MatrixSynapse/tests/handlers
reivilibre 1f5473465d
Refresh remote profiles that have been marked as stale, in order to fill the user directory. [rei:userdirpriv] (#14756)
* Scaffolding for background process to refresh profiles

* Add scaffolding for background process to refresh profiles for a given server

* Implement the code to select servers to refresh from

* Ensure we don't build up multiple looping calls

* Make `get_profile` able to respect backoffs

* Add logic for refreshing users

* When backing off, schedule a refresh when the backoff is over

* Wake up the background processes when we receive an interesting state event

* Add tests

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Add comment about 1<<62

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-16 11:44:11 +00:00
..
__init__.py
oidc_test_key.p8
oidc_test_key.pub.pem
test_admin.py Add information on uploaded media to user export command. (#15107) 2023-02-23 13:14:17 -05:00
test_appservice.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_auth.py
test_cas.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_deactivate_account.py
test_device.py
test_directory.py
test_e2e_keys.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_e2e_room_keys.py
test_federation.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_federation_event.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_message.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_oidc.py
test_password_providers.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_presence.py
test_profile.py
test_receipts.py
test_register.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_room.py
test_room_member.py
test_room_summary.py
test_saml.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_send_email.py
test_sso.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_stats.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_sync.py
test_typing.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_user_directory.py Refresh remote profiles that have been marked as stale, in order to fill the user directory. [rei:userdirpriv] (#14756) 2023-03-16 11:44:11 +00:00