Commit Graph

206 Commits

Author SHA1 Message Date
David Teller
fa418d0441 Bot-side: Banning registration by ip, username, email 2021-04-15 14:52:27 +02:00
David Teller
47f996125c Spamcheck-side: Banning registration by ip, username, email 2021-04-15 14:52:21 +02:00
Travis Ralston
510e9b5fd2
Merge pull request #91 from matrix-org/yoric/dep
Bumping dependency y18n
2021-04-15 00:16:47 -06:00
David Teller
e66bb70ef9 FIXUP 2021-04-14 15:01:42 +02:00
David Teller
5c4cee8780 Bumping dependency y18n
There's a high severity CVE for y18n < 4.0.1.
2021-04-14 11:06:52 +02:00
Travis Ralston
9f1c02c73f v0.1.17 2021-02-05 14:10:49 -07:00
Travis Ralston
f8a836038e
Merge pull request #85 from matrix-org/jryans/ban-safety
Improve force handling
2021-02-05 10:10:33 -07:00
J. Ryan Stinnett
259cdd8c12 Improve force handling
This improves the force argument parsing to keep it from getting glued onto the
reason. It also adjusts tests for the new behaviour.
2021-02-05 17:03:36 +00:00
Travis Ralston
34590facf4
Merge pull request #84 from matrix-org/jryans/ban-safety
Add confirmation for wildcard bans
2021-02-05 09:10:26 -07:00
J. Ryan Stinnett
46192ac6f7 Add confirmation for wildcard bans
This adds a default enabled option to require confirmation for wildcard bans
(e.g. those containing `*` or `?`). Users will need to also add `--force` for
the commands to be accepted.
2021-02-05 16:09:11 +00:00
Travis Ralston
e4e5c5e72d
Merge pull request #56 from Alch-Emi/wordlist
Add a WordList protection
2020-11-04 12:19:40 -07:00
Travis Ralston
afe1c8f5a2
Update config/default.yaml 2020-11-04 12:19:32 -07:00
Travis Ralston
44a15f7851
Corrected whitespace in config.yml 2020-10-31 09:32:49 -04:00
Emi Tatsuo
50f2352001
Refactored to more verbose variable names; Updated copyright 2020-10-31 09:28:50 -04:00
Emi Tatsuo
4c0bbd845d
Removed default words from word list in favor of more neutral words 2020-10-31 09:23:18 -04:00
Travis Ralston
3bbea09bb3
Update moderators.md 2020-09-12 23:55:21 -06:00
Travis Ralston
bd84b0901e
Clarify potentially confusing wording in the readme 2020-09-12 23:54:11 -06:00
Travis Ralston
b217673231
Merge pull request #66 from matrix-org/dependabot/npm_and_yarn/yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-09-11 18:47:00 -06:00
dependabot[bot]
339475fcc9
Bump yargs-parser from 13.1.1 to 13.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 22:55:29 +00:00
Jason Robinson
8759489ab4
Merge pull request #61 from matrix-org/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-20 13:28:23 +03:00
dependabot[bot]
7d1fc1fe4d
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 09:14:24 +00:00
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