0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-02 10:48:56 +02:00
synapse/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 Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
oidc_test_key.p8 JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
oidc_test_key.pub.pem JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
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 Save login tokens in database (#13844) 2022-10-26 11:45:41 +01:00
test_cas.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_deactivate_account.py Port the push rule classes to Rust. (#13768) 2022-09-20 12:10:31 +01:00
test_device.py Revert the deletion of stale devices due to performance issues. (#14662) 2022-12-12 13:55:23 +00:00
test_directory.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
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 Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
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 Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
test_password_providers.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_presence.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_profile.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_receipts.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_register.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_room.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_room_member.py Faster joins: Refactor handling of servers in room (#14954) 2023-02-03 15:39:59 +00:00
test_room_summary.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_saml.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_send_email.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
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 Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
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