forked-synapse/synapse/rest
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
..
admin Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
client Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
consent Replace username picker with a template (#9275) 2021-02-01 15:52:50 +00:00
key Add type hints to the crypto module. (#8999) 2021-01-04 10:04:50 -05:00
media Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
synapse Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
__init__.py Show a confirmation page during user password reset (#8004) 2020-09-10 11:45:12 +01:00
health.py Add health check endpoint (#8048) 2020-08-07 14:21:24 +01:00
well_known.py Backout changes for automatically calculating the public baseurl. (#9313) 2021-02-11 11:16:54 -05:00