MatrixSynapse/synapse/storage/databases/main
Sean Quah e46d5f3586
Factor out an `is_mine_server_name` method (#15542)
Add an `is_mine_server_name` method, similar to `is_mine_id`.

Ideally we would use this consistently, instead of sometimes comparing
against `hs.hostname` and other times reaching into
`hs.config.server.server_name`.

Also fix a bug in the tests where `hs.hostname` would sometimes differ
from `hs.config.server.server_name`.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-05-05 15:06:22 +01:00
..
__init__.py Add an admin API endpoint to support per-user feature flags (#15344) 2023-04-28 11:33:45 -07:00
account_data.py Experimental MSC3890 Implementation: Fix deleting account data when using an account data writer worker (#14869) 2023-03-03 10:51:57 +00:00
appservice.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
cache.py Check databases/__init__ and main/cache with mypy. (#15496) 2023-04-27 07:59:14 -04:00
censor_events.py
client_ips.py
deviceinbox.py to_device updates could be dropped when consuming the replication stream (#15349) 2023-03-30 19:41:14 +02:00
devices.py Revert pruning of old devices (#15360) 2023-03-31 13:51:51 +01:00
directory.py Load `/directory/room/{roomAlias}` endpoint on workers (#15333) 2023-04-14 10:24:06 +01:00
e2e_room_keys.py Delete server-side backup keys when deactivating an account. (#15181) 2023-04-04 20:16:08 +00:00
end_to_end_keys.py Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
event_federation.py More precise type for LoggingTransaction.execute (#15432) 2023-04-14 18:04:49 +00:00
event_push_actions.py Speed up deleting of old rows in `event_push_actions` (#15531) 2023-05-03 13:42:43 +00:00
events.py Re re introduce membership tables event stream ordering (#15356) 2023-04-25 09:44:29 +01:00
events_bg_updates.py Remove support for aggregating reactions (#15172) 2023-02-28 18:49:28 +00:00
events_forward_extremities.py
events_worker.py Experimental support for MSC3970: per-device transaction IDs (#15318) 2023-04-25 09:37:09 +01:00
experimental_features.py Add an admin API endpoint to support per-user feature flags (#15344) 2023-04-28 11:33:45 -07:00
filtering.py Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458) 2023-04-26 16:03:26 -07:00
keys.py Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00
lock.py
media_repository.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
metrics.py
monthly_active_users.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
openid.py
presence.py Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
profile.py Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458) 2023-04-26 16:03:26 -07:00
purge_events.py Re re introduce membership tables event stream ordering (#15356) 2023-04-25 09:44:29 +01:00
push_rule.py Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) 2023-03-03 08:13:37 -05:00
pusher.py Fix the 'set_device_id_for_pushers_txn' background update. (#15391) 2023-04-05 07:49:15 -04:00
receipts.py Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) 2023-03-03 08:13:37 -05:00
registration.py Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458) 2023-04-26 16:03:26 -07:00
rejections.py
relations.py Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
room.py Factor out an `is_mine_server_name` method (#15542) 2023-05-05 15:06:22 +01:00
room_batch.py Remove option to skip locking of tables during emulated upserts (#14469) 2022-11-28 13:42:06 +00:00
roommember.py Add config option to forget rooms automatically when users leave them (#15224) 2023-05-03 12:27:33 +01:00
search.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
session.py Run `pyupgrade --py37-plus --keep-percent-format` on Synapse (#11685) 2022-01-05 09:53:05 -08:00
signatures.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
state.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
state_deltas.py
stats.py Bump ruff from 0.0.252 to 0.0.259 (#15328) 2023-03-28 09:46:47 +01:00
stream.py Bump ruff from 0.0.252 to 0.0.259 (#15328) 2023-03-28 09:46:47 +01:00
tags.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
transactions.py Remove unused store method `_set_destination_retry_timings_emulated`. (#15266) 2023-03-14 17:32:46 +00:00
ui_auth.py
user_directory.py Speed up rebuilding of the user directory for local users (#15529) 2023-05-03 13:41:37 +00:00
user_erasure_store.py