synapse-product/synapse
Richard van der Hoff a0e063387d
Stop get_joined_users corruption from custom statuses (#7376)
Fix a bug where the `get_joined_users` cache could be corrupted by custom
status events (or other state events with a state_key matching the user ID).

The bug was introduced by #2229, but has largely gone unnoticed since then.

Fixes #7099, #7373.
2020-05-14 10:07:54 +01:00
..
_scripts
api Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
app Fix new flake8 errors (#7489) 2020-05-13 08:24:50 -04:00
appservice
config Fix new flake8 errors (#7489) 2020-05-13 08:24:50 -04:00
crypto Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
events Fix bug in EventContext.deserialize. (#7393) 2020-05-05 14:17:27 +01:00
federation async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
groups Port group attestation renewal slow down from matrix-org-hotfixes (#7442) 2020-05-06 20:21:38 +01:00
handlers Do not validate that the client dict is stable during UI Auth. (#7483) 2020-05-13 14:26:44 -04:00
http Reduce federation logging on success (#7321) 2020-04-22 11:18:18 +01:00
logging Improve per-block CPU and DB usage metrics (#7426) 2020-05-06 16:43:39 -04:00
metrics Add prometheus metrics for the number of active pushers (#7103) 2020-03-19 10:00:24 +00:00
module_api Convert auth handler to async/await (#7261) 2020-04-15 12:40:18 -04:00
push Fix new flake8 errors (#7489) 2020-05-13 08:24:50 -04:00
replication Fix errors from malformed log line (#7454) 2020-05-07 19:51:38 +01:00
res/templates Use a template for the SSO success page to allow for customization. (#7279) 2020-04-17 13:34:55 -04:00
rest Do not validate that the client dict is stable during UI Auth. (#7483) 2020-05-13 14:26:44 -04:00
server_notices Convert synapse.server_notices to async/await. (#7394) 2020-05-01 15:28:59 -04:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
static Make it clearer to the user that they haven't overridden onLogin/Register (#7237) 2020-04-09 12:38:38 +01:00
storage Stop get_joined_users corruption from custom statuses (#7376) 2020-05-14 10:07:54 +01:00
streams
util Speed up fetching device lists changes in sync. 2020-05-05 17:40:29 +01:00
__init__.py 1.13.0rc1 2020-05-11 14:54:38 +01:00
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
notifier.py Fix new flake8 errors (#7489) 2020-05-13 08:24:50 -04:00
python_dependencies.py Make redis go faster with hiredis (#7439) 2020-05-06 17:36:46 +01:00
secrets.py
server.py Add instance name to RDATA/POSITION commands (#7364) 2020-04-29 16:23:08 +01:00
server.pyi Add instance name to RDATA/POSITION commands (#7364) 2020-04-29 16:23:08 +01:00
types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
visibility.py Refactor a bit 2020-03-11 18:49:41 +00:00