forked-synapse/synapse/rest/client/v2_alpha
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
..
__init__.py
_base.py Do not convert async functions to Deferreds in the interactive_auth_handler (#7944) 2020-07-24 09:43:49 -04:00
account_data.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
account_validity.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
auth.py UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) 2021-01-12 17:38:03 +00:00
capabilities.py Return m.change_password.enabled=false if local database is disabled (#9588) 2021-03-16 11:44:25 -04:00
devices.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
filter.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
groups.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
keys.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
notifications.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
openid.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
password_policy.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
read_marker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
receipts.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
register.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
relations.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
report_event.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_keys.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_upgrade_rest_servlet.py Fix some typos. 2021-02-12 11:14:12 -05:00
sendtodevice.py Ratelimit cross-user key sharing requests. (#8957) 2021-02-19 13:20:34 -05:00
shared_rooms.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sync.py Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
tags.py Allow moving account data and receipts streams off master (#9104) 2021-01-18 15:47:59 +00:00
thirdparty.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
tokenrefresh.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
user_directory.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00