matrix-org / matrix-org/mjolnir

Improve status output to show ban list shortcodes and if a list is read only or not

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
445
Forks
75
Avg merge
2d 44m
Merged PRs (30d)
3

Description

Unless I am missing something (very possible) I can't see an easy way of listing the shortcodes that it is possible to use when creating a new rule.

I would be useful if there was a way of listing all the ban lists, which showed the short codes, and also indicated if that list is read only (i.e. one you don't control but have subscribed to) or read / write.

Would it make sense to extend the status command with this information? From a look around the `BanList` source, that doesn't seem to know if the list is read only or not, but presumably that wouldn't be that hard to add to that class?

Contributor guide

Open the contributing guide

Research direction

Start by reading the status command and the BanList source mentioned in the issue to trace how ban lists and rule shortcodes are currently represented. Done means status output lists every ban list, its shortcode, and whether it is read-only or read/write.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.