synapse/synapse
Patrick Cloke 2ad91ec628
Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15597)
Updates the database schema to require a thread_id (by adding a
constraint that the column is non-null) for event_push_actions,
event_push_actions_staging, and event_push_actions_summary.

For PostgreSQL we add the constraint as NOT VALID, then
VALIDATE the constraint a background job to avoid locking
the table during an upgrade.

Each table is updated as a separate schema delta to avoid
deadlocks between them.

For SQLite we simply rebuild the table & copy the data.
2023-05-26 13:16:08 -04:00
..
_scripts Add an admin API endpoint to support per-user feature flags (#15344) 2023-04-28 11:33:45 -07:00
api Add MSC3820 (room version 11) option 2 unstable room version. (#15666) 2023-05-26 07:46:13 -04:00
app Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
appservice Consolidate logic to check for deactivated users. (#15634) 2023-05-23 10:35:43 -04:00
config Merge branch 'master' into develop 2023-05-26 17:16:15 +01:00
crypto Factor out an is_mine_server_name method (#15542) 2023-05-05 15:06:22 +01:00
events Properly parse event_fields in filters (#15607) 2023-05-22 11:31:22 -04:00
federation Add requesting user id parameter to key claim methods in TransportLayerClient (#15663) 2023-05-24 13:23:26 -07:00
handlers Process previously failed backfill events in the background (#15585) 2023-05-24 23:22:24 -05:00
http Use a custom scheme & the worker name for replication requests. (#15578) 2023-05-23 09:05:30 -04:00
logging Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
media Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
metrics Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
module_api Update code to refer to "workers". (#15606) 2023-05-16 15:56:38 -04:00
push Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
replication Use a custom scheme & the worker name for replication requests. (#15578) 2023-05-23 09:05:30 -04:00
res Use oEmbed for YouTube Shorts (#15025) 2023-05-03 12:54:42 -04:00
rest Add requesting user id parameter to key claim methods in TransportLayerClient (#15663) 2023-05-24 13:23:26 -07:00
server_notices Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Instrument state and state_group storage related things (tracing) (#15610) 2023-05-19 12:26:58 -05:00
static Remove registration fallback code. (#15405) 2023-04-13 11:36:29 -04:00
storage Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15597) 2023-05-26 13:16:08 -04:00
streams Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
types Re-type config paths in ConfigErrors to be StrSequences (#15615) 2023-05-18 11:11:30 +01:00
util Process previously failed backfill events in the background (#15585) 2023-05-24 23:22:24 -05:00
__init__.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
event_auth.py Reject instead of erroring on invalid membership events. (#15564) 2023-05-15 15:01:29 -04:00
notifier.py Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00:00
py.typed
server.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
visibility.py Refactor filter_events_for_server (#15240) 2023-03-10 15:31:25 +00:00