forked-synapse/synapse/storage/databases/main
Richard van der Hoff 567f88f835
Prep work for removing outlier from internal_metadata (#9411)
* Populate `internal_metadata.outlier` based on `events` table

Rather than relying on `outlier` being in the `internal_metadata` column,
populate it based on the `events.outlier` column.

* Move `outlier` out of InternalMetadata._dict

Ultimately, this will allow us to stop writing it to the database. For now, we
have to grandfather it back in so as to maintain compatibility with older
versions of Synapse.
2021-03-17 12:33:18 +00:00
..
schema Add a background task to purge unused chain IDs. (#9542) 2021-03-09 11:22:25 -05:00
__init__.py Add type hints to user admin API. (#9521) 2021-03-03 08:09:39 -05:00
account_data.py Fix receipts or account data not being sent down sync (#9193) 2021-01-21 15:09:09 +00:00
appservice.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
cache.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
censor_events.py Remove frozendict_json_encoder and support frozendicts everywhere 2020-10-28 15:56:57 +00:00
client_ips.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
deviceinbox.py Fix some typos. 2021-02-12 11:14:12 -05:00
devices.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
directory.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
e2e_room_keys.py Convert additional database code to async/await. (#8195) 2020-08-28 07:54:27 -04:00
end_to_end_keys.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
event_federation.py Use the chain cover index in get_auth_chain_ids. (#9576) 2021-03-10 09:57:59 -05:00
event_push_actions.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
events_bg_updates.py Fix a bug in the background task for purging chain cover. (#9583) 2021-03-10 08:55:52 -05:00
events_forward_extremities.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
events_worker.py Prep work for removing outlier from internal_metadata (#9411) 2021-03-17 12:33:18 +00:00
events.py Prep work for removing outlier from internal_metadata (#9411) 2021-03-17 12:33:18 +00:00
filtering.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
group_server.py Add type hints to groups code. (#9393) 2021-02-17 08:41:47 -05:00
keys.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
media_repository.py Add type hints to user admin API. (#9521) 2021-03-03 08:09:39 -05:00
metrics.py Fix some typos. 2021-02-12 11:14:12 -05:00
monthly_active_users.py Move additional tasks to the background worker, part 3 (#8489) 2020-10-09 07:37:51 -04:00
openid.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
presence.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
profile.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
purge_events.py Add a background task to purge unused chain IDs. (#9542) 2021-03-09 11:22:25 -05:00
push_rule.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
pusher.py Make deleting stale pushers a background update (#9536) 2021-03-03 12:08:16 +00:00
receipts.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
registration.py Convert Requester to attrs (#9586) 2021-03-10 18:15:56 +00:00
rejections.py Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
relations.py Convert additional databases to async/await (#8199) 2020-09-01 09:21:48 -04:00
room.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
roommember.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
search.py Add type hints to various handlers. (#9223) 2021-01-26 10:50:21 -05:00
signatures.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
state_deltas.py Fix some typos. 2021-02-12 11:14:12 -05:00
state.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
stats.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
stream.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
tags.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
transactions.py Don't go into federation catch up mode so easily (#9561) 2021-03-15 14:42:40 +00:00
ui_auth.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
user_directory.py Remove cache for get_shared_rooms_for_users (#9416) 2021-02-22 16:52:45 +00:00
user_erasure_store.py Fixed a bug with reactivating users with the admin API (#8362) 2020-09-22 18:19:01 +01:00