0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-13 21:41:30 +01:00
synapse/synapse/storage/databases/main
Patrick Cloke 4bd54b263e
Do not allow MSC3440 threads to fork threads (#11161)
Adds validation to the Client-Server API to ensure that
the potential thread head does not relate to another event
already. This results in not allowing a thread to "fork" into
other threads.

If the target event is unknown for some reason (maybe it isn't
visible to your homeserver), but is the target of other events
it is assumed that the thread can be created from it. Otherwise,
it is rejected as an unknown event.
2021-11-18 13:43:09 +00:00
..
__init__.py Get directory db file to pass mypy (#11339) 2021-11-15 12:59:05 +00:00
account_data.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
appservice.py Clarifications and small fixes to to-device related code (#11247) 2021-11-09 14:31:15 +00:00
cache.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
censor_events.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
client_ips.py Fix module API's get_user_ip_and_agents function when run on workers (#11112) 2021-10-25 13:01:04 +01:00
deviceinbox.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
devices.py Fix providing a RoomStreamToken instance to _notify_app_services_ephemeral (#11137) 2021-11-02 10:39:02 +00:00
directory.py Get directory db file to pass mypy (#11339) 2021-11-15 12:59:05 +00:00
e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
end_to_end_keys.py Fix invalidating OTK count cache after claim (#10875) 2021-09-22 15:31:05 +01:00
event_federation.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
event_push_actions.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
events.py Change display names/avatar URLs to None if they contain null bytes before storing in DB (#11230) 2021-11-12 10:38:24 -08:00
events_bg_updates.py Fix thread BG update to not seq scan event_json (#11192) 2021-10-27 11:33:21 +00:00
events_forward_extremities.py Attempt to annotate events_forward_extremities (#11314) 2021-11-12 15:58:17 +00:00
events_worker.py Track ongoing event fetches correctly in the presence of failure (#11240) 2021-11-04 10:33:53 +00:00
filtering.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
group_server.py Add index to local_group_updates.stream_id (#11231) 2021-11-02 15:46:48 +00:00
keys.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
lock.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
media_repository.py Add type hints to media repository storage module (#11311) 2021-11-12 11:05:26 -05:00
metrics.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
monthly_active_users.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
openid.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
presence.py Fix providing a RoomStreamToken instance to _notify_app_services_ephemeral (#11137) 2021-11-02 10:39:02 +00:00
profile.py Database storage profile passes mypy (#11342) 2021-11-15 12:59:33 +00:00
purge_events.py In _purge_history_txn, ensure that txn.fetchall has elements before accessing rows (#10690) 2021-09-24 09:19:51 +00:00
push_rule.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
pusher.py Annotate synapse.storage.util (#10892) 2021-10-08 14:25:16 +00:00
receipts.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
registration.py Add ability to un-shadow-ban via the admin API. (#11347) 2021-11-16 12:43:53 +00:00
rejections.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Do not allow MSC3440 threads to fork threads (#11161) 2021-11-18 13:43:09 +00:00
room.py Allow admins to proactively block rooms (#11228) 2021-11-09 13:11:47 +00:00
room_batch.py Correct type hint for room_batch.py (#11310) 2021-11-11 16:49:28 +00:00
roommember.py Add remaining type hints to synapse.events. (#11098) 2021-11-02 09:55:52 -04:00
search.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
session.py Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00
signatures.py Get db signatures file to pass mypy (#11312) 2021-11-11 17:04:44 +00:00
state.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
state_deltas.py Annotations for state_deltas.py (#11316) 2021-11-12 20:24:12 +00:00
stats.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
stream.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
tags.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
transactions.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
ui_auth.py Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
user_directory.py Stop user directory from failing if it encounters users not in the users table. (#11053) 2021-10-13 09:38:22 +00:00
user_erasure_store.py Annotations for user_erasure_store (#11313) 2021-11-11 19:22:19 +00:00