synapse-product/synapse/handlers
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711)
This should fix a class of bug where we forget to check if e.g. the appservice shouldn't be ratelimited.

We also check the `ratelimit_override` table to check if the user has ratelimiting disabled. That table is really only meant to override the event sender ratelimiting, so we don't use any values from it (as they might not make sense for different rate limits), but we do infer that if ratelimiting is disabled for the user we should disabled all ratelimits.

Fixes #9663
2021-03-30 12:06:09 +01:00
..
ui_auth UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) 2021-01-12 17:38:03 +00:00
__init__.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
_base.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
account_data.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
account_validity.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
acme_issuing_service.py Add type hints to various handlers. (#9223) 2021-01-26 10:50:21 -05:00
acme.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
admin.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
appservice.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
auth.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
cas_handler.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
deactivate_account.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
device.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
devicemessage.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
directory.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
e2e_keys.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
e2e_room_keys.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
events.py Ratelimit cross-user key sharing requests. (#8957) 2021-02-19 13:20:34 -05:00
federation.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
groups_local.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
identity.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
initial_sync.py Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
message.py Add configs to make profile data more private (#9203) 2021-02-19 09:50:41 +00:00
oidc_handler.py Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
pagination.py Fix additional type hints. (#9543) 2021-03-09 07:41:32 -05:00
password_policy.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
presence.py Incorporate review 2021-03-19 18:19:50 +01:00
profile.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
read_marker.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
receipts.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
register.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
room_list.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
room_member_worker.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
room_member.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
room.py Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
saml_handler.py Add support for stable MSC2858 API (#9617) 2021-03-16 11:21:26 +00:00
search.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
set_password.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
space_summary.py Spaces summary: call out to other servers (#9653) 2021-03-24 12:45:39 +00:00
sso.py Add support for stable MSC2858 API (#9617) 2021-03-16 11:21:26 +00:00
state_deltas.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
stats.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
sync.py Add a type hints for service notices to the HomeServer object. (#9675) 2021-03-24 06:48:46 -04:00
typing.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
user_directory.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00