Commit Graph

291 Commits

Author SHA1 Message Date
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
Travis Ralston
aecc6e4882 Support multiple ban lists 2019-10-08 17:57:03 +01:00
Travis Ralston
56bd7c9500 Update feature lists 2019-10-08 16:31:06 +01:00
Travis Ralston
9e4efad5fa Advertise docker image 2019-10-08 16:28:06 +01:00
Travis Ralston
afba792fa8 Upgrade matrix-bot-sdk
Fixes https://github.com/matrix-org/mjolnir/issues/1
2019-10-08 01:28:20 +01:00
Travis Ralston
49fd0ca3f6 Consider startup logging as verbose 2019-10-04 21:38:50 -06:00
Travis Ralston
d4171a36a2 Check permissions when power levels change in protected rooms 2019-10-04 21:36:19 -06:00
Travis Ralston
83e74af525 Add a command to perform permission checks 2019-10-04 21:26:38 -06:00
Travis Ralston
7bd23a17d9 Optionally perform permission checks on startup 2019-10-04 21:22:51 -06:00
Travis Ralston
383985c732 Correctly represent state in !mjolnir command 2019-10-04 21:22:18 -06:00
Travis Ralston
5e081e2246 Add an option to sync rooms on startup 2019-10-04 21:02:37 -06:00
Travis Ralston
e69f0e6940 Improve/change logging to management room 2019-10-04 20:59:30 -06:00
Travis Ralston
fff55abd67 Update feature list 2019-10-02 22:24:11 -06:00
Travis Ralston
739cda24aa Update feature list 2019-10-02 22:21:06 -06:00
Travis Ralston
517025b6c2 Support Pantalaimon for encryption support
Requires a special build of the bot-sdk and pantalaimon currently
2019-10-02 22:20:37 -06:00
Travis Ralston
a2595652b8 Update feature list 2019-09-27 20:10:03 -06:00
Travis Ralston
82ae8d7062 Rewrite ping-based commands to avoid space parsing problems 2019-09-27 20:07:16 -06:00
Travis Ralston
d89c21d41e Update features list 2019-09-27 20:05:01 -06:00
Travis Ralston
2170192e75 Update feature list 2019-09-27 20:03:14 -06:00
Travis Ralston
063bac77e5 Add a sync command 2019-09-27 20:02:03 -06:00
Travis Ralston
bd663f292d Update feature list 2019-09-27 20:01:54 -06:00
Travis Ralston
834abc97dd Apply user bans 2019-09-27 19:54:36 -06:00
Travis Ralston
149cbcfbd2 Remove unused function from ban lists 2019-09-27 19:54:07 -06:00
Travis Ralston
130e44abcf Remove ban on sight from phase 1
We can only do ban on sight because it's impossible to ban `@*:example.org` without knowing what `*` is.
2019-09-27 19:53:53 -06:00
Travis Ralston
f1f7424de9 Fix rules list not being closed 2019-09-27 19:53:24 -06:00
Travis Ralston
42d27e6921 Update feature list 2019-09-27 16:14:40 -06:00
Travis Ralston
149d6dfa2e Add a help command 2019-09-27 16:12:53 -06:00
Travis Ralston
4d16ff3e51 Actually reply to status commands 2019-09-27 16:05:55 -06:00
Travis Ralston
02288a3885 Respond to pings too 2019-09-27 16:04:08 -06:00
Travis Ralston
fa1ad260f1 Add a command to dump the rules the bot is using 2019-09-27 15:57:39 -06:00
Travis Ralston
39b59dbee1 Add commands for managing a personal ban list 2019-09-27 15:44:28 -06:00
Travis Ralston
41cc36e4c6 Refactor bot into its own class 2019-09-27 15:15:10 -06:00
Travis Ralston
3a567edc38 Add a config option to pick the protected rooms 2019-09-27 14:36:23 -06:00
Travis Ralston
d32ad18f3a Update server ACLs when they change 2019-09-27 14:26:57 -06:00
Travis Ralston
23c6c20768 Early ban list processing (parsing, specifically) 2019-09-27 13:57:36 -06:00
Travis Ralston
05e86a972b Fix tlsint 2019-09-27 13:54:34 -06:00
Travis Ralston
d6afd1a6b4 Early structures for ban lists 2019-09-25 21:13:23 -06:00
Travis Ralston
ed6f37be2b Absolute bare minimum for a bot 2019-09-25 20:13:20 -06:00
Travis Ralston
49be5b7711
Initial commit 2019-09-25 19:36:12 -06:00