anonymousland-synapse/tests
reivilibre 52c7a51cfc
Merge pull request from GHSA-3x4c-pq33-4w3q
* Add some tests to characterise the problem

Some failing. Current states:

  RoomsMemberListTestCase
test_get_member_list ...
[OK]
test_get_member_list_mixed_memberships ...
[OK]
test_get_member_list_no_permission ...
[OK]
test_get_member_list_no_permission_former_member ...
[OK]
test_get_member_list_no_permission_former_member_with_at_token ...
[FAIL]
test_get_member_list_no_room ...
[OK]
test_get_member_list_no_permission_with_at_token ...
[FAIL]

* Correct the tests

* Check user is/was member before divulging room membership

* Pull out only the 1 membership event we want.

* Update tests/rest/client/v1/test_rooms.py

Co-authored-by: Erik Johnston <erik@matrix.org>

* Fixup tests (following apply review suggestion)

Co-authored-by: Erik Johnston <erik@matrix.org>
2021-08-31 10:09:58 +01:00
..
api MSC2918 Refresh tokens implementation (#9450) 2021-06-24 14:33:20 +01:00
app Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
appservice Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
config Allow using several custom template directories (#10587) 2021-08-17 10:23:14 +00:00
crypto Rewrite the KeyRing (#10035) 2021-06-02 16:37:59 +01:00
events Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
federation Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
handlers Fix incompatibility with Twisted < 21. (#10713) 2021-08-27 16:33:41 +01:00
http support federation queries through http connect proxy (#10475) 2021-08-11 15:34:59 +01:00
logging Merge branch 'master' into develop 2021-04-20 14:55:16 +01:00
module_api Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
push Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
replication Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
rest Merge pull request from GHSA-3x4c-pq33-4w3q 2021-08-31 10:09:58 +01:00
scripts Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server_notices Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
state Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2021-07-26 12:17:00 -04:00
storage Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_utils Use inline type hints in tests/ (#10350) 2021-07-13 11:52:58 +01:00
util Use inline type hints in tests/ (#10350) 2021-07-13 11:52:58 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Fix incompatibility with Twisted < 21. (#10713) 2021-08-27 16:33:41 +01:00
test_distributor.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_event_auth.py Support MSC3289: Room version 8 (#10449) 2021-08-09 10:46:39 +02:00
test_federation.py Clean up federation event auth code (#10539) 2021-08-06 13:54:23 +01:00
test_mau.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_metrics.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_phone_home.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_preview.py Support underscores (in addition to hyphens) for charset detection. (#10410) 2021-07-27 17:29:42 +00:00
test_server.py Improved validation for received requests (#9817) 2021-04-23 19:20:44 +01:00
test_state.py Add a module type for account validity (#9884) 2021-07-16 18:11:53 +02:00
test_terms_auth.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_test_utils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_types.py [pyupgrade] tests/ (#10347) 2021-07-13 11:43:15 +01:00
test_visibility.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
unittest.py Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric (#10332) 2021-07-19 16:11:34 +01:00
utils.py Allow setting transaction limit for db connections (#10440) 2021-08-02 13:24:43 +00:00