1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2024-12-22 12:44:30 +03:00
synapse/tests/handlers
Brendan Abolivier a4c3a361b7
Add rate-limiting on registration ()
* 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
test_appservice.py Run black. 2018-08-10 23:54:09 +10:00
test_auth.py add new error type ResourceLimit 2018-08-16 18:02:02 +01:00
test_device.py Fix tests on postgresql () 2018-09-04 02:21:48 +10:00
test_directory.py Add configurable room list publishing rules 2019-02-14 16:02:23 +00:00
test_e2e_keys.py Run tests under PostgreSQL () 2018-08-13 16:47:46 +10:00
test_e2e_room_keys.py make sure version is in body and wrap in linearizer queue 2019-02-08 01:32:45 -05:00
test_presence.py Run black. 2018-08-10 23:54:09 +10:00
test_profile.py Add rate-limiting on registration () 2019-03-05 14:25:33 +00:00
test_register.py Fix registration on workers () 2019-02-20 18:47:31 +11:00
test_roomlist.py Fix roomlist since tokens on Python 3 () 2018-10-17 23:04:55 +11:00
test_sync.py rename error code 2018-08-18 14:39:45 +01:00
test_typing.py Update test_typing to use HomeserverTestCase. () 2019-03-04 10:05:39 +00:00
test_user_directory.py create support user () 2018-12-14 18:20:59 +00:00