forked-synapse/tests/rest/client
David Robertson 32a59a6495
Keep track of user_ips and monthly_active_users when delegating auth (#16672)
* Describe `insert_client_ip`
* Pull out client_ips and MAU tracking to BaseAuth
* Define HAS_AUTHLIB once in tests

sick of copypasting

* Track ips and token usage when delegating auth
* Test that we track MAU and user_ips
* Don't track `__oidc_admin`
2023-11-23 12:35:37 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account_data.py Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
test_account.py Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 2023-11-09 11:13:31 -05:00
test_auth.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_capabilities.py Implement stable support for MSC3882 to allow an existing device/session to generate a login token for use on a new device/session (#15388) 2023-06-01 08:52:51 -04:00
test_consent.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_devices.py Support MSC3814: Dehydrated Devices Part 2 (#16010) 2023-08-08 12:04:46 -07:00
test_directory.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_ephemeral_message.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_events.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
test_filter.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_identity.py Drop support for calling /_matrix/client/v3/rooms/{roomId}/invite without an id_access_token (#13241) 2022-08-31 12:10:25 +00:00
test_keys.py Keep track of user_ips and monthly_active_users when delegating auth (#16672) 2023-11-23 12:35:37 +00:00
test_login_token_request.py Implement stable support for MSC3882 to allow an existing device/session to generate a login token for use on a new device/session (#15388) 2023-06-01 08:52:51 -04:00
test_login.py Update ruff config (#16283) 2023-09-08 11:24:36 -04:00
test_models.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
test_mutual_rooms.py Update Mutual Rooms (MSC2666) implementation (#15621) 2023-05-18 12:49:12 -04:00
test_notifications.py Replace simple_async_mock with AsyncMock (#16180) 2023-08-25 09:27:21 -04:00
test_password_policy.py Remove unnecessary json.dumps from tests (#13303) 2022-07-17 22:28:45 +01:00
test_power_levels.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_presence.py Add a new module API to update user presence state. (#16544) 2023-10-26 15:11:24 -04:00
test_profile.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
test_push_rule_attrs.py push rules: fix internal conversion from _type to value (#15781) 2023-06-16 14:17:02 +02:00
test_read_marker.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
test_receipts.py Additional validation of receipts (#16327) 2023-09-18 13:02:12 +00:00
test_redactions.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
test_register.py Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 2023-11-09 11:13:31 -05:00
test_relations.py Prepare unit tests for Python 3.12 (#16099) 2023-08-25 15:05:10 -04:00
test_rendezvous.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_report_event.py Make POST /_matrix/client/v3/rooms/{roomId}/report/{eventId} endpoint return 404 if event exists, but the user lacks access (#15300) 2023-03-21 13:24:03 +00:00
test_retention.py Add new module API for adding custom fields to events unsigned section (#16549) 2023-10-27 09:04:08 +00:00
test_rooms.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
test_sendtodevice.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_shadow_banned.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_sync.py Use full GitHub links instead of bare issue numbers. (#16637) 2023-11-15 08:02:11 -05:00
test_third_party_rules.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_transactions.py Replace make_awaitable with AsyncMock (#16179) 2023-08-24 19:38:46 -04:00
test_typing.py Do not allow a None-limit on PaginationConfig. (#14146) 2022-10-14 12:30:05 +00:00
test_upgrade_room.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
utils.py Register media servlets via regex. (#16419) 2023-10-06 07:22:55 -04:00