synapse-product/synapse
Eric Eastwood 2d89c66b88
Switch to chunk events so we can auth via power_levels (MSC2716) (#10432)
Previously, we were using `content.chunk_id` to connect one
chunk to another. But these events can be from any `sender`
and we can't tell who should be able to send historical events.
We know we only want the application service to do it but these
events have the sender of a real historical message, not the
application service user ID as the sender. Other federated homeservers
also have no indicator which senders are an application service on
the originating homeserver.

So we want to auth all of the MSC2716 events via power_levels
and have them be sent by the application service with proper
PL levels in the room.
2021-07-21 10:29:57 +00:00
..
_scripts Add script for getting info about recently registered users (#10290) 2021-07-06 13:03:16 +01:00
api Switch to chunk events so we can auth via power_levels (MSC2716) (#10432) 2021-07-21 10:29:57 +00:00
app Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config MSC3244 room capabilities implementation (#10283) 2021-07-20 12:59:23 +01:00
crypto Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
events Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
federation Do not include signatures/hashes in make_{join,leave,knock} responses. (#10404) 2021-07-16 10:36:38 -04:00
groups Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
handlers Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
http [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
logging [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
metrics [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
module_api Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
push Add a module type for account validity (#9884) 2021-07-16 18:11:53 +02:00
replication Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Switch to chunk events so we can auth via power_levels (MSC2716) (#10432) 2021-07-21 10:29:57 +00:00
server_notices Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Fix dropping locks on shut down (#10433) 2021-07-20 14:24:25 +01:00
streams Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
util [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
__init__.py 1.39.0rc1 2021-07-20 12:31:51 +01:00
event_auth.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
notifier.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
python_dependencies.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
server.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
types.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00