forked-synapse/synapse
Erik Johnston 541f1b92d9 Only do rc_login ratelimiting on succesful login.
We were doing this in a number of places which meant that some login
code paths incremented the counter multiple times.

It was also applying ratelimiting to UIA endpoints, which was probably
not intentional.

In particular, some custom auth modules were calling
`check_user_exists`, which incremented the counters, meaning that people
would fail to login sometimes.
2019-11-06 11:08:58 +00:00
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
app Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
appservice rstrip slashes from url on appservice (#6306) 2019-10-31 17:32:25 +00:00
config Remove last usages of deprecated logging.warn method (#6314) 2019-11-01 12:03:44 +00:00
crypto Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
events Improve documentation for EventContext fields (#6319) 2019-11-05 13:23:25 +00:00
federation Depublish a room from the public rooms list when it is upgraded (#6232) 2019-11-01 10:28:09 +00:00
groups Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
handlers Only do rc_login ratelimiting on succesful login. 2019-11-06 11:08:58 +00:00
http Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
logging Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
push Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
replication document the REPLICATE command a bit better (#6305) 2019-11-04 12:40:18 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Only do rc_login ratelimiting on succesful login. 2019-11-06 11:08:58 +00:00
server_notices Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state Improve documentation for EventContext fields (#6319) 2019-11-05 13:23:25 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
streams Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
util Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
__init__.py 1.5.0 2019-10-29 14:28:54 +00:00
event_auth.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
notifier.py Port to use state storage 2019-10-30 14:46:54 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Port to use state storage 2019-10-30 14:46:54 +00:00