MatrixSynapse/synapse
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
..
_scripts Strip trailing / from server_url in register_new_matrix_user (#8823) 2020-11-26 10:57:26 +00:00
api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
app Defer SIGHUP handlers to reactor. (#8817) 2020-11-26 11:18:10 +00:00
appservice Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 2020-10-30 15:23:16 +00:00
config 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
crypto Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
events Use TYPE_CHECKING instead of magic MYPY variable. (#8770) 2020-11-17 09:09:40 -05:00
federation Consistently use room_id from federation request body (#8776) 2020-11-19 10:05:33 +00:00
groups Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
handlers Fix a regression when grandfathering SAML users. (#8855) 2020-12-02 07:45:42 -05:00
http Allow Date header through CORS (#8804) 2020-12-01 13:24:56 +00:00
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
metrics Add metrics for tracking 3PID /requestToken requests. (#8712) 2020-11-13 12:03:51 +00: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 Add typing to membership Replication class methods (#8809) 2020-11-27 10:49:38 +00:00
res/templates Include a simple message in email notifications that include encrypted content (#8545) 2020-10-19 09:12:39 -04:00
rest Add additional validation for the admin register endpoint. (#8837) 2020-12-02 10:01:15 -05:00
server_notices Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
spam_checker_api Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464) 2020-10-07 12:03:26 +01:00
state Correctly handle unpersisted events when calculating auth chain difference. (#8827) 2020-12-02 15:22:37 +00:00
static Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
storage Add missing `ordering` to background updates (#8850) 2020-12-01 15:52:49 +00:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-30 15:24:10 +00:00
__init__.py 1.24.0rc1 2020-12-02 08:57:51 -05:00
event_auth.py Ensure that event.redacts is the proper type before handling it (#8457) 2020-10-05 10:24:17 -04:00
notifier.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
python_dependencies.py Cap the version of prometheus_client to <v0.9.0 in the dockerfile (#8767) 2020-11-17 16:01:33 +00:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Simplify the way the `HomeServer` object caches its internal attributes. (#8565) 2020-11-30 13:28:44 -05:00
types.py Improve error checking for OIDC/SAML mapping providers (#8774) 2020-11-19 14:25:17 -05:00
visibility.py Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00