synapse-product/changelog.d
Eric Eastwood db6e7f15ea
Fix backfilled events being rejected for no state_groups (#10439)
Reproducible on a federated homeserver when there is a membership auth event as a floating outlier. Then when we try to backfill one of that persons messages, it has missing membership auth to fetch which caused us to mistakenly replace the `context` for the message with that of the floating membership `outlier` event. Since `outliers` have no `state` or `state_group`, the error bubbles up when we continue down the persisting route: `sqlite3.IntegrityError: NOT NULL constraint failed: event_to_state_groups.state_group`

Call stack:

```
backfill
_auth_and_persist_event
_check_event_auth
_update_auth_events_and_context_for_auth
```
2021-07-29 09:46:51 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9918.feature Support MSC2033: Device ID on whoami (#9918) 2021-07-27 05:28:20 +00:00
10245.feature Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 2021-07-28 10:46:37 -05:00
10254.feature Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2021-07-26 12:17:00 -04:00
10283.feature MSC3244 room capabilities implementation (#10283) 2021-07-20 12:59:23 +01:00
10407.feature Add a PeriodicallyFlushingMemoryHandler to prevent logging silence (#10407) 2021-07-27 14:32:05 +01:00
10408.misc Add type hints to synapse.federation.transport.client. (#10408) 2021-07-26 11:53:09 -04:00
10410.bugfix Support underscores (in addition to hyphens) for charset detection. (#10410) 2021-07-27 17:29:42 +00:00
10411.feature allow specifying https:// proxy (#10411) 2021-07-27 17:31:06 +01:00
10413.feature Support for MSC2285 (hidden read receipts) (#10413) 2021-07-28 10:05:11 +02:00
10426.feature Update the notification email subject when invited to a space. (#10426) 2021-07-21 17:29:54 +00:00
10429.misc Drop xenial-support hacks (#10429) 2021-07-21 21:25:28 +01:00
10431.misc Enable docker image caching for the deb build (#10431) 2021-07-26 11:36:01 +01:00
10432.misc Switch to chunk events so we can auth via power_levels (MSC2716) (#10432) 2021-07-21 10:29:57 +00:00
10437.misc Add type hints to additional servlet functions (#10437) 2021-07-21 18:12:22 +00:00
10438.misc Add a return type to parse_string. (#10438) 2021-07-21 09:47:56 -04:00
10439.bugfix Fix backfilled events being rejected for no state_groups (#10439) 2021-07-29 09:46:51 +01:00
10442.misc Replace or_ignore in simple_insert with simple_upsert (#10442) 2021-07-22 12:39:50 +01:00
10444.misc Fix the tests-done Github Actions job (#10444) 2021-07-22 11:10:30 +01:00
10445.doc Fix the hierarchy of OpenID providers in the docs. (#10445) 2021-07-21 13:48:06 -04:00
10446.misc Fix a handful of type annotations. (#10446) 2021-07-22 12:00:16 +01:00
10448.feature Add creation_ts to list users admin API (#10448) 2021-07-22 16:05:16 +02:00
10450.misc improve typing annotations in CachedCall (#10450) 2021-07-28 12:25:12 +01:00
10451.misc Cancel redundant GHA workflows (#10451) 2021-07-22 11:35:06 +01:00
10453.doc Move dev/ docs to development/ (#10453) 2021-07-22 12:58:24 +02:00
10455.bugfix Fix oldest_pdu_in_federation_staging (#10455) 2021-07-27 18:01:04 +01:00
10463.misc Disable msc2716 until Complement update is merged (#10463) 2021-07-22 20:19:30 +00:00
10468.misc Mitigate media repo XSSs on IE11. (#10468) 2021-07-27 13:45:10 +02:00
10482.misc Add type hints to state handler. (#10482) 2021-07-26 12:49:53 -04:00
10483.doc Document Complement dev usage (#10483) 2021-07-27 19:28:23 +00:00
10488.misc Use new go test running syntax for complement. (#10488) 2021-07-27 12:08:51 +00:00
10489.feature Restricted rooms (MSC3083) should not have their allow key redacted. (#10489) 2021-07-28 07:03:01 -04:00
10490.misc Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
10491.misc Generics for ObservableDeferred (#10491) 2021-07-28 19:55:50 +00:00