snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 7a1751cd9d06100eea56b29f3828490efdbae1b3
parent 866dec0e8c1ee0189308dbe80bba4e3c387cac7f
Author: default <nobody@localhost>
Date:   Tue, 12 Mar 2024 10:21:47 +0100

Updated documentation.

Diffstat:
MRELEASE_NOTES.md | 2+-
Mdoc/snac.5 | 5+++++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md @@ -2,7 +2,7 @@ ## 2.50 -Posts can now be filtered out by content using regular expressions on a server level (these regexes are written in the `filter_reject.txt` file at the server base directory; see `snac(8)`). +Posts can now be filtered out by content using regular expressions on a server level (these regexes are written in the `filter_reject.txt` file at the server base directory; see `snac(5)` and `snac(8)`). Improved page position after hitting the `Hide` or `MUTE` buttons (for most cases). diff --git a/doc/snac.5 b/doc/snac.5 @@ -106,6 +106,11 @@ This file is served when the server base URL is requested from a web browser. Se for more information about the customization options. .It Pa public.idx This file contains the list of public posts from all users in the server. +.It Pa filter_reject.txt +This (optional) file contains a list of regular expressions, one per line, to be +applied to the content of all incoming posts; if any of them match, the post is +rejected. This brings the flexibility and destruction power of regular expressions +to your Fediverse experience. To be used wisely. .El .Pp Each user directory is a subdirectory of