synapse/tests
Patrick Cloke ea75346f6a
Track presence state per-device and combine to a user state. (#16066)
Tracks presence on an individual per-device basis and combine
the per-device state into a per-user state. This should help in
situations where a user has multiple devices with conflicting status
(e.g. one is syncing with unavailable and one is syncing with online).

The tie-breaking is done by priority:

    BUSY > ONLINE > UNAVAILABLE > OFFLINE
2023-09-05 09:58:51 -04:00
..
api Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
app Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
appservice Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
config Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
crypto Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
events Replace simple_async_mock with AsyncMock (#16180) 2023-08-25 09:27:21 -04:00
federation Don't wake up destination transaction queue if they're not due for retry. (#16223) 2023-09-04 17:14:09 +01:00
handlers Track presence state per-device and combine to a user state. (#16066) 2023-09-05 09:58:51 -04:00
http Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
logging Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
media Fix unsafe hotserving behaviour for non-multimedia uploads. (#15680) 2023-06-15 14:23:27 +01:00
metrics Remove support for Python 3.7 (#15851) 2023-07-05 18:45:42 -05:00
module_api Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
push Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
replication Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
rest Add last_seen_ts to the admin users API (#16218) 2023-09-04 18:13:28 +02:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Add last_seen_ts to the admin users API (#16218) 2023-09-04 18:13:28 +02:00
test_utils Replace simple_async_mock with AsyncMock (#16180) 2023-08-25 09:27:21 -04:00
types Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
util Task scheduler: add replication notify for new task to launch ASAP (#16184) 2023-08-28 14:03:51 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_mau.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_phone_home.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_state.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_terms_auth.py Prepare unit tests for Python 3.12 (#16099) 2023-08-25 15:05:10 -04:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
unittest.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
utils.py Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00