synapse-product/synapse/storage/databases/main
Brendan Abolivier 3f49f74610
Don't fail /submit_token requests on incorrect session ID if request_token_inhibit_3pid_errors is turned on (#7991)
* Don't raise session_id errors on submit_token if request_token_inhibit_3pid_errors is set

* Changelog

* Also wait some time before responding to /requestToken

* Incorporate review

* Update synapse/storage/databases/main/registration.py

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Incorporate review

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-08-24 11:33:55 +01:00
..
schema Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00
__init__.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
account_data.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
appservice.py Use the JSON encoder without whitespace in more places. (#8124) 2020-08-20 10:32:33 -04:00
cache.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
censor_events.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
client_ips.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
deviceinbox.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
devices.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
directory.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
e2e_room_keys.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
end_to_end_keys.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
event_federation.py Micro-optimisations to get_auth_chain_ids (#8132) 2020-08-21 10:06:45 +01:00
event_push_actions.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
events_bg_updates.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
events_worker.py Be more tolerant of membership events in unknown rooms (#8110) 2020-08-20 16:42:12 +01:00
events.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
filtering.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
group_server.py Do not assume calls to runInteraction return Deferreds. (#8133) 2020-08-20 06:39:55 -04:00
keys.py Do not assume calls to runInteraction return Deferreds. (#8133) 2020-08-20 06:39:55 -04:00
media_repository.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
metrics.py Convert tags and metrics databases to async/await (#8062) 2020-08-11 17:21:20 -04:00
monthly_active_users.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
openid.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
presence.py Convert stream database to async/await. (#8074) 2020-08-17 07:24:46 -04:00
profile.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
purge_events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
push_rule.py Remove ChainedIdGenerator. (#8123) 2020-08-19 13:41:51 +01:00
pusher.py Convert pusher databases to async/await. (#8075) 2020-08-14 10:30:16 -04:00
receipts.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
registration.py Don't fail /submit_token requests on incorrect session ID if request_token_inhibit_3pid_errors is turned on (#7991) 2020-08-24 11:33:55 +01:00
rejections.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
relations.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
room.py Use the JSON encoder without whitespace in more places. (#8124) 2020-08-20 10:32:33 -04:00
roommember.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
search.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
signatures.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
state_deltas.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
state.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
stats.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
stream.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
tags.py Use the JSON encoder without whitespace in more places. (#8124) 2020-08-20 10:32:33 -04:00
transactions.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
ui_auth.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00
user_directory.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
user_erasure_store.py Do not assume calls to runInteraction return Deferreds. (#8133) 2020-08-20 06:39:55 -04:00