Commit Graph

435 Commits

Author SHA1 Message Date
Emi Tatsuo
6fa93e3bae
Corrected description of WordList to be time-independant 2020-06-21 16:26:51 -04:00
Emi Simpson
1e47be497b
Fix lint
Signed-off-by: Emi Simpson <emi@alchemi.dev>
2020-06-21 15:21:50 -04:00
Emi Simpson
c2fbf0934a
Added configuration for wordlist protection 2020-06-21 15:18:34 -04:00
Emi Simpson
bccb18225b
Added unconfigurable wordlist protection 2020-06-21 13:56:11 -04:00
Travis Ralston
84c4ba830c v0.1.16 2020-06-12 08:16:13 -06:00
Travis Ralston
635f9ba03f Prioritize bans over redactions, and queue redactions faster
This could do with some cleanup, particularly around the part where it uses a callback.
2020-06-12 08:15:48 -06:00
Travis Ralston
4751b093a5 Add Healthz support 2020-06-12 08:03:08 -06:00
Travis Ralston
39f243dcce v0.1.15 2020-05-11 21:42:27 -06:00
Travis Ralston
47dfdf5b33 Upgrade packages 2020-05-11 21:38:20 -06:00
Travis Ralston
7ee66a03dd Trim command arguments too for accessory spaces 2020-05-11 21:36:53 -06:00
Travis Ralston
7cb34f99b9 Appease the linter 2020-05-11 21:36:05 -06:00
Travis Ralston
013cac1365 Fix remaining getRoomAlias calls 2020-05-11 21:35:37 -06:00
Travis Ralston
45a8f2899b Fully remove ban list server support 2020-05-11 21:33:28 -06:00
Travis Ralston
46bc6a1a0f Bump bot-sdk version to handle published aliases better 2020-05-11 21:31:47 -06:00
Travis Ralston
9e18a6dfff Add additional safety around room alias resolution for pills
Just fall back to not caring if we have to.
2020-05-11 21:30:22 -06:00
Travis Ralston
7fa025f678 Remove ban list server support
This will take the shape of something else eventually.
2020-05-11 21:11:24 -06:00
Travis Ralston
cdc8170a8f Fix assumption that an error message will be present 2020-05-05 18:36:24 -06:00
Travis Ralston
7f185eced3 Appease the linter 2020-04-15 09:22:03 -06:00
Travis Ralston
6195acb092 Appease the linter 2020-04-15 09:21:23 -06:00
Travis Ralston
6dd59120a7 Revert "Disable ban list server for release"
This reverts commit 1a8edd54f7.
2020-04-15 08:14:24 -06:00
Travis Ralston
2156beeda2 v0.1.14 2020-04-15 08:14:00 -06:00
Travis Ralston
1a8edd54f7 Disable ban list server for release 2020-04-15 08:13:57 -06:00
Travis Ralston
232a6e2bb9 Use room aliases in permission errors too 2020-04-15 08:12:42 -06:00
Travis Ralston
a8d03ffea7 Add a kick command 2020-04-15 08:12:42 -06:00
Travis Ralston
f6a856ed4a Resolve room aliases in messages
Fixes https://github.com/matrix-org/mjolnir/issues/47
2020-04-15 08:12:42 -06:00
Travis Ralston
6f80a17558 Improve redaction handling 2020-04-14 16:49:20 -06:00
Travis Ralston
954a0e1561 Merge remote-tracking branch 'origin/master' 2020-04-14 16:17:10 -06:00
Travis Ralston
f897f8eb47 Update packages 2020-04-14 16:17:05 -06:00
David Baker
9812eef7f4
Update moderators.md 2020-04-03 18:13:37 +01:00
David Baker
26b5ae301c
Update moderators.md 2020-04-03 18:10:28 +01:00
Travis Ralston
06398967c5 Revert "Disable ban list server for release"
This reverts commit ea6c9bd7df.
2020-03-05 15:42:45 -07:00
Travis Ralston
91afabcac7 v0.1.13 2020-03-05 15:40:31 -07:00
Travis Ralston
ea6c9bd7df Disable ban list server for release 2020-03-05 15:39:34 -07:00
Travis Ralston
ecc7674422 Add optional reporting of invites that won't be accepted 2020-03-05 15:38:09 -07:00
Travis Ralston
7314df7379 Re-work invite settings to better support practical use cases 2020-03-05 15:29:30 -07:00
Travis Ralston
f5763803d9 Add a command to resolve a room alias to a room ID 2020-02-21 09:58:22 -07:00
Travis Ralston
3dd4274b3b Add alias add/remove commands
Fixes https://github.com/matrix-org/mjolnir/issues/42
2020-02-20 13:30:48 -07:00
Travis Ralston
39903ee298 Don't explode if we fail to leave protected rooms when de-protecting 2020-02-19 15:52:41 -07:00
Travis Ralston
ba7ea90fcb Don't cause panic if the bot can't protect a ban list it didn't create
This only affects users with `protectAllJoinedRooms` enabled, as the bot can't possibly protect ban lists it did not create itself.
2020-02-18 17:06:27 -07:00
Travis Ralston
697ada6592 Make the bot less concerned about the format of commands
Fixes https://github.com/matrix-org/mjolnir/issues/39
2020-02-18 13:46:31 -07:00
Travis Ralston
e424f03ef2 Support redacting an individual event 2020-02-16 14:00:40 -07:00
Travis Ralston
1a591b4dcf Revert "Disable ban list server for release"
This reverts commit 3e303219a6.
2020-02-13 23:06:12 -07:00
Travis Ralston
f0476ccc80 v0.1.12 2020-02-13 23:05:42 -07:00
Travis Ralston
3e303219a6 Disable ban list server for release 2020-02-13 23:04:57 -07:00
Travis Ralston
790d1f2ff0 Update matrix-bot-sdk 2020-02-13 14:23:10 -07:00
Travis Ralston
1cc4faccee Improve general documentation for the bot
Fixes https://github.com/matrix-org/mjolnir/issues/26
Fixes https://github.com/matrix-org/mjolnir/issues/23
2020-02-13 14:15:45 -07:00
Travis Ralston
f67029bcde Steal contributing guidelines from Synapse
Removing all the Synapse bits

Fixes https://github.com/matrix-org/mjolnir/issues/24
2020-02-13 14:01:42 -07:00
Travis Ralston
dea6f8cbf1 Add a command to shut down a room
Fixes https://github.com/matrix-org/mjolnir/issues/21
2020-02-13 13:56:03 -07:00
Travis Ralston
8465a1ed78 Specify a default ban reason
Fixes https://github.com/matrix-org/mjolnir/issues/20
2020-02-13 13:50:17 -07:00
Travis Ralston
90cc3d01b4 Add text next to protections emoji
Fixes https://github.com/matrix-org/mjolnir/issues/16
2020-02-13 13:48:10 -07:00