synapse-old/synapse
Patrick Cloke 92828a7f95
Simplify event persistence code (#16584)
The event persistence code used to handle multiple rooms
at a time, but was simplified to only ever be called with a
single room at a time (different rooms are now handled in
parallel). The code is still generic to multiple rooms causing
a lot of work that is unnecessary (e.g. unnecessary loops, and
partitioning data by room).

This strips out the ability to handle multiple rooms at once, greatly
simplifying the code.
2023-11-03 07:30:31 -04:00
..
_scripts Portdb: don't copy a table that gets rebuilt (#16563) 2023-10-27 20:14:02 +01:00
api Fix possible AttributeError when account-api is called over unix socket (#16404) 2023-10-09 10:16:07 +01:00
app Make cached account data/tags/admin types immutable (#16325) 2023-09-18 09:55:04 -04:00
appservice Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
config Add a new module API to update user presence state. (#16544) 2023-10-26 15:11:24 -04:00
crypto Refactor storing of server keys (#16261) 2023-09-12 11:08:04 +01:00
events Add new module API for adding custom fields to events `unsigned` section (#16549) 2023-10-27 09:04:08 +00:00
federation Fix import ordering issue introduced in 7a3a55ac98. 2023-10-31 10:32:35 -04:00
handlers Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
http Fix http/s proxy authentication with long username/passwords (#16504) 2023-10-24 13:45:21 +00:00
logging Do not call getfullargspec on every call. (#16589) 2023-10-31 20:16:17 +00:00
media Remove more usages of cursor_to_dict. (#16551) 2023-10-26 15:12:28 -04:00
metrics Only use literal strings for process names (#16315) 2023-09-15 09:10:24 +01:00
module_api Add new module API for adding custom fields to events `unsigned` section (#16549) 2023-10-27 09:04:08 +00:00
push Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
replication Add fast path for replication events stream fetch (#16580) 2023-10-30 14:47:57 +00:00
res Use oEmbed for YouTube Shorts (#15025) 2023-05-03 12:54:42 -04:00
rest Remove remaining usage of cursor_to_dict. (#16564) 2023-10-31 13:13:28 -04:00
server_notices Refactor `get_user_by_id` (#16316) 2023-09-14 12:46:30 +01: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 Improve state types. (#16395) 2023-09-28 07:01:46 -04:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Simplify event persistence code (#16584) 2023-11-03 07:30:31 -04:00
streams Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
types Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00
util Bump twisted from 23.8.0 to 23.10.0 (#16588) 2023-11-01 10:23:13 +00:00
__init__.py Gracefully handle failing to thumbnail images (#16211) 2023-08-30 15:18:34 +01:00
_pydantic_compat.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
event_auth.py Bump ruff from 0.0.277 to 0.0.286 (#16198) 2023-08-29 09:41:43 -04:00
notifier.py Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +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 Add new module API for adding custom fields to events `unsigned` section (#16549) 2023-10-27 09:04:08 +00:00
visibility.py Use StrCollection in additional places. (#16301) 2023-09-13 07:57:19 -04:00