David Teller
7f07caca3f
[CI] Retry registration attempts
2022-01-07 14:06:10 +01:00
David Teller
c48a1e8ffc
Let's make sure that we can still check for errors with concise error handling
2022-01-07 14:06:10 +01:00
David Teller
3f2039f6a7
Let's use getRequestFn/setRequestFn to keep errors readable
2022-01-07 14:06:10 +01:00
David Teller
9a8fed1695
Slightly cleaner MatrixClient wrapping
2022-01-07 14:06:10 +01:00
David Teller
57746f7fb4
Wrap MatrixClient into something that displays nicer error messages
2022-01-07 14:06:10 +01:00
gnuxie
0bbfe93a4b
Use MSC2313 m.policy.rule.* for rules and always prefer these types.
...
The reason for doing this is because otherwise there may be duplicate
rules under different state types for the same entity.
This simplifies the process of modifying or invalidating rules affecting
an entity because the rule with the most recent type will always be
preferred.
2021-11-29 11:45:22 +00:00
gnuxie
7aee14bf5c
Add test for banList changes
2021-11-29 11:45:22 +00:00
jess
1bf3ecac6d
consistently use 'alias' in ensureAliasedRoomExists ( #155 )
2021-11-19 17:09:58 +00:00
David Teller
a21415a04c
Give the ability to moderators to react quickly to /report abuse reports. ( #137 )
2021-11-09 13:15:49 +01:00
gnuxie
7a20b5a212
Fix helloTest hooks running before global hooks.
2021-10-20 12:11:00 +01:00
gnuxie
c52084c58a
Stop managing client from utils and require the caller to (tests)
...
Specifically `onReactionTo` was starting and stopping the client
argument it was given, which could be problematic if the caller
didn't expect that or didn't want it to.
2021-10-20 11:44:25 +01: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
gnuxie
4e8315be44
Add regression test for timeline pagination.
2021-10-19 16:28:55 +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
4d46d4dd34
Move integration test config file
...
it now lives in config/ because it was being loaded there by the tests before it could be copied to there from the test directory
2021-09-30 16:02:58 +01:00
gnuxie
776c1fe063
Tidy logging in integration tests
2021-09-30 15:52:06 +01:00
gnuxie
400af48e6e
Move Mjolnir setup and configuration to a sensible place.
2021-09-27 16:04:01 +01:00
gnuxie
21d79475e3
Add manual launch script for working with mx-tester
2021-09-27 15:33:15 +01:00
gnuxie
b838caee09
Add script for manual testing with mx-tester
2021-09-27 15:33:15 +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
gnuxie
67e20e2415
Move files in preperation for mx-tester
2021-09-24 18:25:27 +01:00