0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-16 09:38:19 +02:00
synapse/tests
Sean Quah 335f52d595
Improve handling of non-ASCII characters in user directory search (#15143)
* Fix a long-standing bug where non-ASCII characters in search terms,
  including accented letters, would not match characters in a different
  case.
* Fix a long-standing bug where search terms using combining accents
  would not match display names using precomposed accents and vice
  versa.

To fully take effect, the user directory must be rebuilt after this
change.

Fixes #14630.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-24 13:39:45 +00:00
..
api Properly typecheck tests.api (#14983) 2023-02-03 20:03:23 +00:00
app Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
appservice Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
config Add missing type hints to tests.config. (#14681) 2022-12-16 08:53:28 -05:00
crypto Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
events Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
federation Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
handlers Add information on uploaded media to user export command. (#15107) 2023-02-23 13:14:17 -05:00
http Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
logging Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
push Fix a typo in MSC3873 config option. (#15138) 2023-02-23 16:06:42 -05:00
replication Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
rest Do not fail completely if oEmbed autodiscovery fails. (#15092) 2023-02-23 16:08:53 -05:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Improve handling of non-ASCII characters in user directory search (#15143) 2023-02-24 13:39:45 +00:00
test_utils Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
types Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
util Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00: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 Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00: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 Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
test_state.py Add missing types to test_state. (#14985) 2023-02-06 16:11:09 +00:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00: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 Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
unittest.py Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
utils.py Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00