forked-synapse/synapse/api
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 copyrights 2016-01-07 04:26:29 +00:00
auth_blocking.py Don't MAU limit AS ghost users 2020-12-17 12:04:14 +00:00
auth.py Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
constants.py Merge branch 'develop' into babolivier/msc3026 2021-03-19 16:12:40 +01:00
errors.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
filtering.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
presence.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
ratelimiting.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
room_versions.py Implement MSC2176: Updated redaction rules (#8984) 2021-01-05 07:41:48 -05:00
urls.py Backout changes for automatically calculating the public baseurl. (#9313) 2021-02-11 11:16:54 -05:00