Travis Ralston
c0365416fa
Add an option to protect all joined rooms
2020-01-21 15:19:03 -07:00
Travis Ralston
97d02b3816
Add an option to only autojoin invites from bot managers
2020-01-21 13:53:02 -07:00
Travis Ralston
38e22ee155
Add commands to add/remove protected rooms on the fly
2020-01-21 13:46:15 -07:00
Travis Ralston
c1ea98f55d
Fix logging for status command
2020-01-21 13:17:38 -07:00
Travis Ralston
cebd0309cb
v0.1.9
2019-12-14 09:38:44 -07:00
Travis Ralston
959162c4a3
Support automatically redacting users for certain ban reasons
2019-12-09 19:56:12 -07:00
Travis Ralston
6753e7f780
Allow the redact command to take globs
2019-12-09 19:43:41 -07:00
Travis Ralston
7de3744875
Respect no-op in more places
2019-12-09 19:20:47 -07:00
Travis Ralston
f9e3c33935
Don't spam protection warnings, and ensure the user is redacted
...
We now always prioritize redaction over ban to ensure that the user gets removed from our rooms. This also means that the second image posted by a spammer is redacted after join.
This commit also improves the messaging a bit.
2019-12-09 19:15:51 -07:00
Travis Ralston
2e3bc5287c
Update moderation guide for protections
2019-12-06 00:40:24 -07:00
Travis Ralston
85ad0e7997
v0.1.8
2019-12-04 19:29:05 -07:00
Travis Ralston
245b81262e
Fix linter
2019-12-04 19:28:49 -07:00
Travis Ralston
fd2343dd28
Add some null safety to ban lists
2019-12-04 19:28:31 -07:00
Travis Ralston
0879cd58a0
Actually fix ban command not always applying
...
Fixes https://github.com/matrix-org/mjolnir/issues/13
2019-12-04 19:28:28 -07:00
Travis Ralston
3be2da5c47
Automatically sync the ban lists after issuing a ban
...
Workaround for https://github.com/matrix-org/mjolnir/issues/13 .
Fixes https://github.com/matrix-org/mjolnir/issues/13
2019-12-04 19:28:24 -07:00
Travis Ralston
1b795c7b17
Add basic flooding protection too
2019-12-04 19:07:04 -07:00
Travis Ralston
d5f260b982
Add a protection system with a "first message is an image" demo
2019-12-04 18:51:03 -07:00
Travis Ralston
4f8b55c45f
Update matrix-bot-sdk
2019-12-04 18:46:00 -07:00
Travis Ralston
d5a366aa6d
v0.1.7
2019-11-14 16:00:09 -07:00
Travis Ralston
07c9c04169
Detect UISI errors from pantalaimon in the management room
2019-11-14 15:59:01 -07:00
Travis Ralston
778f9c3459
Add a command to deactivate a user
2019-11-14 15:44:13 -07:00
Travis Ralston
417673aeef
Test for ban reasons as well in autodetection
2019-11-13 21:46:20 -07:00
Travis Ralston
66a5775136
Make the [un]ban command smarter
...
Fixes https://github.com/matrix-org/mjolnir/issues/11
2019-11-13 21:38:19 -07:00
Travis Ralston
dd260091bb
Add a command to set a default ban list
2019-11-13 20:34:45 -07:00
Travis Ralston
8afa42b7c5
Merge pull request #7 from matrix-org/travis/synapse-antispam
...
Add Synapse antispam module
2019-11-13 15:07:11 -07:00
Travis Ralston
9462c25bbf
Use background processes, not log contexts
2019-11-13 15:05:16 -07:00
Travis Ralston
83fffd322e
Wrap ban list build in a logging context
2019-11-13 14:31:31 -07:00
Travis Ralston
40113a0760
Use the correct reference to Mjolnir's client
2019-11-11 14:31:25 -07:00
Travis Ralston
b2790c2866
v0.1.6
2019-11-07 11:34:53 -07:00
Travis Ralston
6018cd3ed3
Add more startup logging
2019-11-07 11:06:56 -07:00
Travis Ralston
b1fd36737f
Make the startup check less aggressive for joins
2019-11-07 11:05:52 -07:00
Travis Ralston
9f84a65598
Don't apply bans globally when membership changes
2019-11-07 11:00:41 -07:00
Travis Ralston
863f7025ee
Update bot-sdk to beta 14
2019-11-07 11:00:29 -07:00
Travis Ralston
32bbf43409
v0.1.5
2019-11-06 19:29:28 -07:00
Travis Ralston
8d1111b056
Upgrade to bot-sdk beta 13 for dependency problem
2019-11-06 19:29:17 -07:00
Travis Ralston
a71d905a7b
v0.1.4
2019-11-06 19:18:05 -07:00
Travis Ralston
82214c6cd8
Avoid spamming the management room with errors
...
The intervals are arbitrarily defined.
Fixes https://github.com/matrix-org/mjolnir/issues/10
2019-11-06 19:17:11 -07:00
Travis Ralston
30e186ca9c
Add a config option to reduce homeserver load during ban checks
2019-11-06 18:54:59 -07:00
Travis Ralston
84135c5ff5
Update log handling for debugging
2019-11-06 18:46:49 -07:00
Travis Ralston
05aedcafb7
Upgrade to beta.12 of the bot-sdk
2019-11-06 15:37:43 -07:00
Travis Ralston
2eb55f1e30
v0.1.3
2019-10-31 11:08:37 -06:00
Travis Ralston
2dcce018d0
Upgrade to bot-sdk beta 11
2019-10-31 10:55:55 -06:00
Travis Ralston
7c9e2dd822
Use yarn in the docker image too
2019-10-31 10:55:44 -06:00
Travis Ralston
0595e9e548
v0.1.2
2019-10-31 10:16:18 -06:00
Travis Ralston
644c19694e
Update matrix-bot-sdk to v0.4.0-beta.10
2019-10-31 10:15:52 -06:00
Travis Ralston
0575c56b74
Add a config flag to reduce logging noise
2019-10-31 09:55:34 -06:00
Travis Ralston
f72b68dc7c
Add a description for what Mjolnir's antispam module does
2019-10-31 08:34:58 -06:00
Travis Ralston
84682db9b0
v0.1.1
2019-10-30 14:51:04 -06:00
Travis Ralston
eccbac9ccf
Check if ACLs match before applying them
...
Fixes https://github.com/matrix-org/mjolnir/issues/9
2019-10-30 14:49:59 -06:00
Travis Ralston
4434b5440e
Upgrade matrix-bot-sdk to beta 9
2019-10-30 14:37:08 -06:00