synapse/synapse/storage/databases/main
Andrew Morgan 43bdfbbc85 Add database method to fetch to-device messages by user_ids from db
This method is quite similar to the one below, except that it doesn't
support device ids, and supports querying with more than one user id,
both of which are relevant to application services.

The results are also formatted in a different data structure, so I'm
not sure how much we could really share here between the two methods.
2021-11-10 16:10:57 +00:00
..
__init__.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
account_data.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
appservice.py Allow setting/getting stream id per appservice for to-device messages 2021-11-10 16:10:57 +00:00
cache.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
censor_events.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
client_ips.py Fix module API's get_user_ip_and_agents function when run on workers (#11112) 2021-10-25 13:01:04 +01:00
deviceinbox.py Add database method to fetch to-device messages by user_ids from db 2021-11-10 16:10:57 +00:00
devices.py Fix providing a RoomStreamToken instance to _notify_app_services_ephemeral (#11137) 2021-11-02 10:39:02 +00:00
directory.py Allow room_alias_name parameter to be handled by /createRoom calls on workers (#10757) 2021-09-06 14:37:15 +01:00
e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
end_to_end_keys.py Fix invalidating OTK count cache after claim (#10875) 2021-09-22 15:31:05 +01:00
event_federation.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
event_push_actions.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
events.py Add remaining type hints to synapse.events. (#11098) 2021-11-02 09:55:52 -04:00
events_bg_updates.py Fix thread BG update to not seq scan event_json (#11192) 2021-10-27 11:33:21 +00:00
events_forward_extremities.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
events_worker.py Track ongoing event fetches correctly in the presence of failure (#11240) 2021-11-04 10:33:53 +00:00
filtering.py Add type hints to filtering classes. (#10958) 2021-10-01 07:02:32 -04:00
group_server.py Add index to local_group_updates.stream_id (#11231) 2021-11-02 15:46:48 +00:00
keys.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
lock.py Handle federation inbound instances being killed more gracefully (#11262) 2021-11-08 09:54:47 +00:00
media_repository.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
metrics.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
monthly_active_users.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
openid.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
presence.py Fix providing a RoomStreamToken instance to _notify_app_services_ephemeral (#11137) 2021-11-02 10:39:02 +00:00
profile.py Annotate log_function decorator (#10943) 2021-10-27 17:27:23 +01:00
purge_events.py In _purge_history_txn, ensure that txn.fetchall has elements before accessing rows (#10690) 2021-09-24 09:19:51 +00:00
push_rule.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
pusher.py Annotate synapse.storage.util (#10892) 2021-10-08 14:25:16 +00:00
receipts.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
registration.py Enable changing user type via users admin API (#11174) 2021-10-26 09:01:06 +00:00
rejections.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
room.py Allow admins to proactively block rooms (#11228) 2021-11-09 13:11:47 +00:00
room_batch.py Rename to more clear get_insertion_event_id_by_batch_id (MSC2716) (#11244) 2021-11-08 21:21:10 -06:00
roommember.py Add remaining type hints to synapse.events. (#11098) 2021-11-02 09:55:52 -04:00
search.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
session.py Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00
signatures.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
state_deltas.py Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
stats.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
stream.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
tags.py Use inline type hints in http/federation/, storage/ and util/ (#10381) 2021-07-15 12:46:54 -04:00
transactions.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
ui_auth.py Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
user_directory.py Stop user directory from failing if it encounters users not in the users table. (#11053) 2021-10-13 09:38:22 +00:00
user_erasure_store.py Minor @cachedList enhancements (#9975) 2021-05-14 11:12:36 +01:00