forked-synapse/synapse/config
Brendan Abolivier a4c3a361b7
Add rate-limiting on registration (#4735)
* Rate-limiting for registration

* Add unit test for registration rate limiting

* Add config parameters for rate limiting on auth endpoints

* Doc

* Fix doc of rate limiting function

Co-Authored-By: babolivier <contact@brendanabolivier.com>

* Incorporate review

* Fix config parsing

* Fix linting errors

* Set default config for auth rate limiting

* Fix tests

* Add changelog

* Advance reactor instead of mocked clock

* Move parameters to registration specific config and give them more sensible default values

* Remove unused config options

* Don't mock the rate limiter un MAU tests

* Rename _register_with_store into register_with_store

* Make CI happy

* Remove unused import

* Update sample config

* Fix ratelimiting test for py2

* Add non-guest test
2019-03-05 14:25:33 +00:00
..
__init__.py ConsentResource to gather policy consent from users 2018-05-15 15:11:59 +01:00
__main__.py Fix synapse.config.__main__ on python 3 (#4356) 2019-01-08 10:03:09 +11:00
_base.py Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
api.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
appservice.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
captcha.py switch from google.com to recaptcha.net for reCAPTCHA (#4731) 2019-02-25 11:15:36 -08:00
cas.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
consent_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
database.py Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
emailconfig.py Calculate absolute path for email templates 2018-10-19 14:01:59 +01:00
groups.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
homeserver.py Infer no_tls from presence of TLS listeners 2019-02-11 21:39:14 +00:00
jwt_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
key.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
logger.py Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
metrics.py Merge pull request #4694 from matrix-org/erikj/fix_sentry_config_format 2019-02-20 14:13:38 +00:00
password_auth_providers.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
password.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
push.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
ratelimiting.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
registration.py Add rate-limiting on registration (#4735) 2019-03-05 14:25:33 +00:00
repository.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
room_directory.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
saml2_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
server_notices_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
server.py Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
spam_checker.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
tls.py Fix ACME config for python 2. (#4717) 2019-02-25 11:16:33 -08:00
user_directory.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
voip.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
workers.py Add replication http endpoint for event sending 2018-02-07 10:32:32 +00:00