mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-20 10:23:47 +01:00
18231f25b4
* WIP Event rejection * Still send back errors for rejected events Instead, discard them at the federationapi /send layer rather than re-implementing checks at the clientapi/PerformJoin layer. * Implement rejected events Critically, rejected events CAN cause state resolution to happen as it can merge forks in the DAG. This is fine, _provided_ we do not add the rejected event when performing state resolution, which is what this PR does. It also fixes the error handling when NotAllowed happens, as we were checking too early and needlessly handling NotAllowed in more than one place. * Update test to match reality * Modify InputRoomEvents to no longer return an error Errors do not serialise across HTTP boundaries in polylith mode, so instead set fields on the InputRoomEventsResponse. Add `Err()` function to make the API shape basically the same. * Remove redundant returns; linting * Update blacklist
58 lines
No EOL
2.2 KiB
Text
58 lines
No EOL
2.2 KiB
Text
# Blacklisted due to flakiness
|
|
Remote users can join room by alias
|
|
|
|
# Blacklisted due to flakiness
|
|
POST /login can log in as a user with just the local part of the id
|
|
|
|
# Blacklisted due to flakiness
|
|
avatar_url updates affect room member events
|
|
|
|
# Blacklisted due to flakiness
|
|
displayname updates affect room member events
|
|
|
|
# Blacklisted due to flakiness
|
|
Room members can override their displayname on a room-specific basis
|
|
|
|
# Blacklisted due to flakiness
|
|
Alias creators can delete alias with no ops
|
|
|
|
# Blacklisted because matrix-org/dendrite#847 might have broken it but we're not
|
|
# really sure and we need it pretty badly anyway
|
|
Real non-joined users can get individual state for world_readable rooms after leaving
|
|
|
|
# Blacklisted until matrix-org/dendrite#862 is reverted due to Riot bug
|
|
Latest account data appears in v2 /sync
|
|
|
|
# Blacklisted due to flakiness
|
|
Outbound federation can backfill events
|
|
|
|
# Blacklisted due to alias work on Synapse
|
|
Alias creators can delete canonical alias with no ops
|
|
|
|
# Blacklisted because we need to implement v2 invite endpoints for room versions
|
|
# to be supported (currently fails with M_UNSUPPORTED_ROOM_VERSION)
|
|
Inbound federation rejects invites which are not signed by the sender
|
|
|
|
# Blacklisted because we don't support ignores yet
|
|
Ignore invite in incremental sync
|
|
|
|
# Blacklisted because this test calls /r0/events which we don't implement
|
|
New room members see their own join event
|
|
Existing members see new members' join events
|
|
|
|
# See https://github.com/matrix-org/sytest/pull/901
|
|
Remote invited user can see room metadata
|
|
|
|
# We don't implement soft-failed events yet, but because the /send response is vague,
|
|
# this test thinks it's all fine...
|
|
Inbound federation accepts a second soft-failed event
|
|
|
|
# Relies on a rejected PL event which will never be accepted into the DAG
|
|
# Caused by https://github.com/matrix-org/sytest/pull/911
|
|
Outbound federation requests missing prev_events and then asks for /state_ids and resolves the state
|
|
|
|
# We don't implement lazy membership loading yet.
|
|
The only membership state included in a gapped incremental sync is for senders in the timeline
|
|
|
|
# flakey since implementing rejected events
|
|
Inbound federation correctly soft fails events |