From 8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef Mon Sep 17 00:00:00 2001 From: alyx Date: Sat, 1 Jun 2024 12:23:50 -0400 Subject: moderation details in readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 37f19ee..2b7c91b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,23 @@ Additionally, your webserver must have write access to the database, otherwise t There are no security risks to your database file being publically accessible, as it only contains the same info the page will display. This may change in a future release. +## Moderation + +There is currently no in-built way to delete guestbook entries, however, it is trivial with most database formats. +I do plan to add moderation tools in a future update. + +In CSV or JSONL, open the database file in a text editor, and delete the line containing the given message. +The file is stored in the same order that the entries are shown on the page, so for the 3rd entry, delete line 3. + +In JSON, delete the JSON array entry which corresponds to the entry's index on the page. +If you are unfamilliar with the syntax of JSON, [here's an explainer](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON). + +In sqlite3, you will need to use a tool for inspecting the database. +There are a number of GUI and CLI tools for doing this, but the methodology is much the same as above once you have access to the database contents. + +Currently the builtin captcha is the only form of spam deterrant. +An IP-based cooldown timer is planned. + ## Contact Me I can be reached at [`alyx@aleteoryx.me`](mailto:alyx@aleteoryx.me) via e-mail, and [`@admin@mk.aleteoryx.me`](https://mk.aleteoryx.me/@admin) on the fediverse. -- cgit v1.2.3-54-g00ecf