0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-14 22:11:47 +01:00
synapse/tests
Erik Johnston 4a17a647a9
Improve get auth chain difference algorithm. (#7095)
It was originally implemented by pulling the full auth chain of all
state sets out of the database and doing set comparison. However, that
can take a lot work if the state and auth chains are large.

Instead, lets try and fetch the auth chains at the same time and
calculate the difference on the fly, allowing us to bail early if all
the auth chains converge. Assuming that the auth chains do converge more
often than not, this should improve performance. Hopefully.
2020-03-18 16:46:41 +00:00
..
api Add a make_event_from_dict method (#6858) 2020-02-07 15:30:04 +00:00
app set worker_app for frontend proxy test (#7003) 2020-02-27 13:08:43 +00:00
appservice Refactor the Appservice scheduler code 2019-08-20 11:50:23 +01:00
config Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
crypto Add a make_event_from_dict method (#6858) 2020-02-07 15:30:04 +00:00
events Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
federation Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
handlers Revert "Add options to disable setting profile info for prevent changes. (#7053)" 2020-03-17 11:25:01 +00:00
http Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
logging Fix for structured logging tests stomping on logs (#6023) 2019-09-13 02:29:55 +10:00
push Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
replication Read the room version from database when fetching events (#6874) 2020-03-04 13:11:04 +00:00
rest Remove special casing of m.room.aliases events (#7034) 2020-03-17 07:37:04 -04:00
scripts Port register_new_matrix_user to Python 3 and add tests (#4085) 2018-10-26 22:05:22 +11:00
server_notices Option to suppress resource exceeded alerting (#6173) 2019-10-24 11:48:46 +01:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
storage Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
test_utils Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
util Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
__init__.py Move patch_inline_callbacks into synapse/ 2019-10-10 10:53:06 +01:00
server.py Kill off redundant SynapseRequestFactory (#6619) 2020-01-03 14:19:48 +00:00
test_distributor.py Run black. 2018-08-10 23:54:09 +10:00
test_event_auth.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
test_federation.py Add a make_event_from_dict method (#6858) 2020-02-07 15:30:04 +00:00
test_mau.py Run Black on the tests again (#5170) 2019-05-10 00:12:11 -05:00
test_metrics.py Add a build info metric to Prometheus (#6005) 2019-09-10 00:14:58 +10:00
test_phone_home.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
test_preview.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_server.py Implement RedirectException (#6687) 2020-01-15 15:58:55 +00:00
test_state.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
test_terms_auth.py Refactor code for calculating registration flows (#6106) 2019-09-25 11:32:05 +01:00
test_test_utils.py Run black. 2018-08-10 23:54:09 +10:00
test_types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
test_visibility.py Port to use state storage 2019-10-30 14:46:54 +00:00
unittest.py Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939) 2020-02-18 16:23:25 +00:00
utils.py Add rooms.room_version column (#6729) 2020-01-27 14:30:57 +00:00