summary refs log tree commit diff
path: root/tests/rest/client/v1/test_events.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate all tests to use the dict-based config format instead of hanging ↵Amber Brown2019-05-131-3/+3
| | | | items off HomeserverConfig (#5171)
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-1/+1
|
* Move admin api impl to its own packageRichard van der Hoff2019-05-011-2/+3
| | | | It doesn't really belong under rest/client/v1 any more.
* Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove v1 only REST APIs now we don't ship matrix console (#4334)Amber Brown2018-12-291-56/+44
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-0/+1
|
* Run black.black2018-08-101-19/+14
|
* Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-191-80/+10
|
* run isortAmber Brown2018-07-091-4/+2
|
* Burminate v1authAdrian Tschira2018-04-301-2/+7
| | | | | | | | | | | | | | | | | | This closes #2602 v1auth was created to account for the differences in status code between the v1 and v2_alpha revisions of the protocol (401 vs 403 for invalid tokens). However since those protocols were merged, this makes the r0 version/endpoint internally inconsistent, and violates the specification for the r0 endpoint. This might break clients that rely on this inconsistency with the specification. This is said to affect the legacy angular reference client. However, I feel that restoring parity with the spec is more important. Either way, it is critical to inform developers about this change, in case they rely on the illegal behaviour. Signed-off-by: Adrian Tschira <nota@notafile.com>
* move handling of auto_join_rooms to RegisterHandlerKrombel2018-03-141-0/+1
| | | | | | | | | | | | | Currently the handling of auto_join_rooms only works when a user registers itself via public register api. Registrations via registration_shared_secret and ModuleApi do not work This auto_joins the users in the registration handler which enables the auto join feature for all 3 registration paths. This is related to issue #2725 Signed-Off-by: Matthias Kesler <krombel@krombel.de>
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
|
* Fix testsErik Johnston2018-03-131-1/+1
|
* Rename config field to reflect yaml nameDaniel Wagner-Hall2016-02-031-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Fix test.Erik Johnston2015-07-071-1/+11
|
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-9/+0
|
* Update testsErik Johnston2015-02-191-0/+1
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-12/+2
| | | | setup_test_homeserver function in utils.
* Move client rest tests back under restMark Haines2015-01-221-0/+225