forked-synapse/synapse/rest/client/v1
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
directory.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
events.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00
initial_sync.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
login.py Make RateLimiter class check for ratelimit overrides (#9711) 2021-03-30 12:06:09 +01:00
logout.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00
presence.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00
profile.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
push_rule.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00
pusher.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
room.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
voip.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00