MatrixSynapse/synapse/push
Patrick Cloke 666ae87729
Update event push action and receipt tables to support threads. (#13753)
Adds a `thread_id` column to the `event_push_actions`, `event_push_actions_staging`,
and `event_push_summary` tables. This will notifications to be segmented by the thread
in a future pull request. The `thread_id` column stores the root event ID or the special
value `"main"`.

The `thread_id` column for `event_push_actions` and `event_push_summary` is
backfilled with `"main"` for all existing rows. New entries into `event_push_actions`
and `event_push_actions_staging` will get the proper thread ID.

`receipts_linearized` and `receipts_graph` also gain a `thread_id` column, which is similar,
except `NULL` is a special value meaning the receipt is "unthreaded".

See MSC3771 and MSC3773 for where this data will be useful.
2022-09-14 17:11:16 +00:00
..
__init__.py Remove unneeded `ActionGenerator` class. (#12691) 2022-05-11 07:15:21 -04:00
baserules.py Fix breaking event sending due to bad push rule (#13547) 2022-08-17 11:02:38 +00:00
bulk_push_rule_evaluator.py Update event push action and receipt tables to support threads. (#13753) 2022-09-14 17:11:16 +00:00
clientformat.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
emailpusher.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
httppusher.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
mailer.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
presentable_names.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
push_rule_evaluator.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
push_tools.py Concurrently collect room unread counts for push badges (#13765) 2022-09-09 19:00:21 +01:00
push_types.py Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
pusher.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
pusherpool.py Fix overcounting of pushers when they are replaced (#13296) 2022-07-18 17:39:39 +01:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00