forked-synapse/synapse
Erik Johnston bd558a6dc3
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
2023-08-18 15:32:06 +01:00
..
_scripts Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
api MSC3861: allow impersonation by an admin using a query param (#16132) 2023-08-18 15:46:46 +02:00
app Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
appservice Move support for application service query parameter authorization behind a configuration option (#16017) 2023-08-03 11:43:51 -07:00
config Allow customizing IdP name and icon for SAML and CAS (#16094) 2023-08-11 20:15:17 +00:00
crypto Factor out an is_mine_server_name method (#15542) 2023-05-05 15:06:22 +01:00
events Drop backwards compat hack for event serialization (#16069) 2023-08-07 10:37:08 -07:00
federation Rename pagination&purge locks and add comments explaining them (#16112) 2023-08-16 16:19:54 +02:00
handlers Disable caching in /sync corner case (#16080) 2023-08-17 10:22:50 +01:00
http Don't log exceptions for every non-200 response (#15969) 2023-07-20 11:07:58 +01:00
logging Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
media Make the media /upload tracing less ambiguous (#15888) 2023-07-10 17:23:11 -05:00
metrics Quick & dirty metric for background update status (#15740) 2023-06-07 17:12:23 +00:00
module_api Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
push Support room version 11 (#15912) 2023-07-18 08:44:59 -04:00
replication Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
res Use oEmbed for YouTube Shorts (#15025) 2023-05-03 12:54:42 -04:00
rest Allow filtering for admins in the list accounts admin API (#16114) 2023-08-18 12:26:38 +01:00
server_notices Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Speed up updating state in large rooms (#15971) 2023-07-20 15:51:28 +01:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Speed up state res in rare case we don't have all events (#16116) 2023-08-18 15:32:06 +01:00
streams Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
types Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
util Attempt to fix twisted trunk (#16115) 2023-08-15 16:07:13 +00:00
__init__.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
event_auth.py Support room version 11 (#15912) 2023-07-18 08:44:59 -04:00
notifier.py Add ability to wait for locks and add locks to purge history / room deletion (#15791) 2023-07-31 10:58:03 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Stabilize support for MSC3970: updated transaction semantics (scope to device_id) (#15629) 2023-08-04 07:47:18 -04:00
visibility.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00