forked-synapse/synapse
Erik Johnston 5d3850b038
Port EventInternalMetadata class to Rust (#16782)
There are a couple of things we need to be careful of here:

1. The current python code does no validation when loading from the DB,
so we need to be careful to ignore such errors (at least on jki.re there
are some old events with internal metadata fields of the wrong type).
2. We want to be memory efficient, as we often have many hundreds of
thousands of events in the cache at a time.

---------

Co-authored-by: Quentin Gliech <quenting@element.io>
2024-01-08 14:06:48 +00:00
..
_scripts Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
api Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
app Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
appservice Update license headers 2023-11-21 15:29:58 -05:00
config Update book location 2023-12-13 16:15:22 +00:00
crypto Update license headers 2023-11-21 15:29:58 -05:00
events Port EventInternalMetadata class to Rust (#16782) 2024-01-08 14:06:48 +00:00
federation Port EventInternalMetadata class to Rust (#16782) 2024-01-08 14:06:48 +00:00
handlers Fix linting (#16780) 2024-01-05 13:29:00 +00:00
http Fix email verification redirection (#16761) 2024-01-02 16:25:26 +00:00
logging Update license headers 2023-11-21 15:29:58 -05:00
media Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
metrics Update license headers 2023-11-21 15:29:58 -05:00
module_api Update book location 2023-12-13 16:15:22 +00:00
push Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
replication Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
res Use oEmbed for YouTube Shorts (#15025) 2023-05-03 12:54:42 -04:00
rest Search non ASCII display names using Admin API (#16767) 2024-01-04 09:36:57 +00:00
server_notices Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
spam_checker_api Update license headers 2023-11-21 15:29:58 -05:00
state Update license headers 2023-11-21 15:29:58 -05:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Port EventInternalMetadata class to Rust (#16782) 2024-01-08 14:06:48 +00:00
streams Update license headers 2023-11-21 15:29:58 -05:00
synapse_rust Port EventInternalMetadata class to Rust (#16782) 2024-01-08 14:06:48 +00:00
types Update license headers 2023-11-21 15:29:58 -05:00
util Update license headers 2023-11-21 15:29:58 -05:00
__init__.py Revert changes to README 2023-12-13 15:02:08 +00:00
_pydantic_compat.py Update license headers 2023-11-21 15:29:58 -05:00
event_auth.py Update license headers 2023-11-21 15:29:58 -05:00
notifier.py Update license headers 2023-11-21 15:29:58 -05: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 Update license headers 2023-11-21 15:29:58 -05:00
visibility.py Update license headers 2023-11-21 15:29:58 -05:00