synapse/tests
Erik Johnston c5b6abd53d
Correctly handle unpersisted events when calculating auth chain difference. (#8827)
We do state res with unpersisted events when calculating the new current state of the room, so that should be the only thing impacted. I don't think this is tooooo big of a deal as:

1. the next time a state event happens in the room the current state should correct itself;
2. in the common case all the unpersisted events' auth events will be pulled in by other state, so will still return the correct result (or one which is sufficiently close to not affect the result); and
3. we mostly use the state at an event to do important operations, which isn't affected by this.
2020-12-02 15:22:37 +00:00
..
api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
app Remove redundant calls to render() 2020-11-16 18:24:08 +00:00
appservice Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
config Use the default templates when a custom template file cannot be found (#8037) 2020-08-17 17:05:00 +01:00
crypto Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
events Convert the message handler to async/await. (#7884) 2020-07-22 12:29:15 -04:00
federation Remove redundant HomeserverTestCase.render 2020-11-16 18:24:08 +00:00
handlers Fix a regression when grandfathering SAML users. (#8855) 2020-12-02 07:45:42 -05:00
http Remove redundant calls to render() 2020-11-16 18:24:08 +00:00
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
module_api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
push Add a config option to change whether unread push notification counts are per-message or per-room (#8820) 2020-11-30 18:43:54 +00:00
replication Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
rest Allow specifying room version in 'RestHelper.create_room_as' and add typing (#8854) 2020-12-02 10:38:18 +00:00
scripts Port register_new_matrix_user to Python 3 and add tests (#4085) 2018-10-26 22:05:22 +11:00
server_notices Remove redundant HomeserverTestCase.render 2020-11-16 18:24:08 +00:00
state Correctly handle unpersisted events when calculating auth chain difference. (#8827) 2020-12-02 15:22:37 +00:00
storage Correctly handle unpersisted events when calculating auth chain difference. (#8827) 2020-12-02 15:22:37 +00:00
test_utils Fail test cases if they fail to await all awaitables (#8690) 2020-10-30 07:15:07 -04:00
util Implement and use an @lru_cache decorator (#8595) 2020-10-30 11:43:17 +00:00
__init__.py Move patch_inline_callbacks into synapse/ 2019-10-10 10:53:06 +01:00
server.py Remove redundant calls to render() 2020-11-16 18:24:08 +00:00
test_distributor.py Run black. 2018-08-10 23:54:09 +10:00
test_event_auth.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_federation.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_mau.py Remove redundant HomeserverTestCase.render 2020-11-16 18:24:08 +00:00
test_metrics.py move DeferredCache into its own module 2020-10-14 23:38:14 +01:00
test_phone_home.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
test_preview.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_server.py Remove redundant calls to render() 2020-11-16 18:24:08 +00:00
test_state.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
test_terms_auth.py Remove redundant HomeserverTestCase.render 2020-11-16 18:24:08 +00: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 Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
unittest.py Remove deprecated /_matrix/client/*/admin endpoints (#8785) 2020-11-25 16:26:11 -05:00
utils.py Simplify the way the HomeServer object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00