Commit Graph

488 Commits

Author SHA1 Message Date
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
Travis Ralston
12a3d6255d Add a moderator's guide to Mjolnir
Fixes https://github.com/matrix-org/mjolnir/issues/6
2019-10-28 20:20:47 -06:00
Travis Ralston
40ad7f0df3 Update for new Spam Checker API 2019-10-28 14:55:32 -06:00
Travis Ralston
d313fad561 Update feature state 2019-10-25 21:06:31 -06:00
Travis Ralston
187a76a3e8 Add logic for Mjolnir antispam module 2019-10-25 20:59:19 -06:00
Travis Ralston
cc0ab174b3 Base structure for an antispam module 2019-10-25 13:32:05 -06:00
Travis Ralston
354caa96c0 Appease the linter 2019-10-23 13:25:32 -06:00
Travis Ralston
f9b3a8cd41 v0.1.0 2019-10-18 16:39:50 +01:00
Travis Ralston
751006dbd0 Lower version number to make npm happy 2019-10-18 16:39:40 +01:00
Travis Ralston
bb6d457f98 Fix timeline filter 2019-10-18 16:38:27 +01:00
Travis Ralston
5cd89d5c4e Fix handling of state events 2019-10-18 16:38:19 +01:00
Travis Ralston
2ea3bdccb3 Fix messaging for bans 2019-10-18 16:38:07 +01:00
Travis Ralston
5409f4916a Add a way to actually unban people 2019-10-10 12:37:42 +01:00
Travis Ralston
8fbd918431 Add a rule import command 2019-10-10 11:30:52 +01:00
Travis Ralston
78b73153b7 Add a redact command 2019-10-09 15:53:37 +01:00
Travis Ralston
28f739a3a2 Ignore events sent by Mjolnir itself 2019-10-09 15:00:56 +01:00
Travis Ralston
adec9f58a6 Add a no-op mode 2019-10-09 14:51:30 +01:00
Travis Ralston
7501e3123a Don't double report success for !mjolnir sync 2019-10-09 14:46:14 +01:00
Travis Ralston
cb20aefea3 Appease the linter 2019-10-09 11:29:01 +01:00
Travis Ralston
49468c5aab Fix command processing for recent refactorings 2019-10-08 21:06:54 +01:00
Travis Ralston
05ab8f60c6 Add watch and unwatch commands 2019-10-08 20:58:31 +01:00
Travis Ralston
1f449a9fc1 Move list watching into Mjolnir class 2019-10-08 18:25:57 +01:00
Travis Ralston
9056634124 Don't mention updates for rooms we don't protect 2019-10-08 17:58:37 +01:00