David Teller
7b0edadd17
Update tests and instructions to intercept reports also with v3 endpoint ( #388 )
...
In both our instructions and our tests, we use the r0 endpoint to intercept abuse reports. This endpoint is deprecated and not implemented by all clients. This PR updates the instructions and tests to the new endpoint.
2022-10-18 15:48:39 +02:00
Jess Porter
4376679b99
load config yaml manually, remove more references to static config ( #347 )
2022-08-16 15:51:18 +01:00
Gnuxie
21aabc879a
Stop the config being global (in almost all contexts). ( #334 )
...
* Stop the config being global (in almost all contexts).
* make sure unit test has a config
* Make failing word list more visible
* Only use Healthz from index.ts
Not really sure how useful it is anyways?
2022-08-09 11:29:27 +01:00
David Teller
82a2e63d23
A room Protection designed to measure lag in a room ( #217 )
2022-02-24 13:43:31 +01:00
Gnuxie
e9dff8fd5a
Batch events from ban lists together during sync ( #221 )
...
* Test for batching ACL.
* Batch events from sync within BanList.
* Introduce the BanList.batch event to the BanList emitter to let Mjolnir sync after new events have been added from sync.
Fixes #203
2022-02-15 13:51:20 +00:00
gnuxie
17a1d02af8
Fix uses of old interface for registration helper in tests.
2022-01-25 18:23:14 +00:00
David Teller
baa9129fa5
[CI] We need to wait until Mjölnir's start is complete before proceeding with tests.
...
Hopefully, this should fix the (latest) race conditions we've been seeing during CI.
2022-01-24 16:13:18 +01:00
Jess Porter
941d10b015
never mutate config.managementRoom in-place ( #184 )
2022-01-17 16:24:12 +00:00
gnuxie
7773949631
Fix indentation in fixtures.ts
2021-10-20 11:00:44 +01:00
gnuxie
6c1a502f34
Integration tests for redaction commands.
...
This is important now that both timeline pagination and
how the callbacks are now awaited during pagination
have been changed.
2021-10-20 11:00:44 +01:00
David Teller
06e5f00b2d
Intercept /report and display human-readable abuse reports in the moderation room - Resolves #38 ( #135 )
...
* Intercept /report and display human-readable abuse reports in the moderation room - Resolves #38
2021-10-07 14:42:08 +02:00
gnuxie
776c1fe063
Tidy logging in integration tests
2021-09-30 15:52:06 +01:00
gnuxie
0a6b122f5c
Tidy up documentation and test utils
2021-09-27 15:33:15 +01:00
gnuxie
ff216f4918
Give mjolnir a clean history in each test
2021-09-24 18:25:28 +01:00
gnuxie
68aa717826
Rework integration tests to work with mx-tester
2021-09-24 18:25:27 +01:00