Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep rules in a local file #71

Open
artemislena opened this issue Oct 9, 2020 · 0 comments
Open

Keep rules in a local file #71

artemislena opened this issue Oct 9, 2020 · 0 comments

Comments

@artemislena
Copy link

Is your feature request related to a problem? Please describe.
In #mjolnir:matrix.org, I was told the list was entirely based on a room. This leads to an issue - on servers where the admins don't want their storage to be completely filled up after a few months, there will be a max lifetime for events. Any rules older than that will just be forgotten once they drop out of RAM, that is, after a sync command or after a restart (and yes, the latter will be necessary if you don't want to miss out on kernel security updates and such).

Describe the solution you'd like
Just keep a file for each list somewhere in /data/ that contains all the rules. Could be JSON, YAML, TOML, SQL, plaintext…

Describe alternatives you've considered
The alternative is that spammers and trolls (as well as their sockpuppets with similar names, if wildcard bans are used) will be able to join other protected rooms where they hadn't joined back when the rule was still active.

Additional context
https://matrix.to/#/!WpbOWAblxueZXAAnjj:matrix.org/$ovbL-Aa7o8x1GdTyBsa0FS4vbc02GVdU0TQwswmJSe0?via=matrix.org&via=privacytools.io&via=vector.modular.im

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant