aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreen <dandelions@disroot.org>2026-01-25 00:30:38 +0100
committergreen <dandelions@disroot.org>2026-01-25 00:30:38 +0100
commita14cf4a7dbbf6ee90ef8ff4974e7fe9a023d6e48 (patch)
treea8fb29437a82de7afb581dc14650d7c41514343a
parent2216ac4662eed9235eadcafcfbf83928750abb67 (diff)
poll-limits: revert accidentally commited changes
-rw-r--r--doc/snac.810
-rw-r--r--html.c3
2 files changed, 5 insertions, 8 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index 760d54c..b5ec33c 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -364,7 +364,7 @@ account creation, it will only get worse.
includes some (not very strong) tools for trying to survive the SPAM
flood that will eventually happen.
.Pp
-The
+The
.Ic min_account_age
field in the main configuration file allows setting a minimum age (in
seconds) to consider too recently created accounts suspicious of being
@@ -379,7 +379,7 @@ These weapons of mass destruction can be written into the
file in the server base directory, one per line; if this file exists,
all posts' content will be matched (after being stripped of HTML tags)
against these regexes, one by one, and any match will make the post to
-be rejected. Use lower case, the regex will be case insensitive by default.
+be rejected. Use lower case, the regex will be case insensitive by default.
If you don't know about regular expressions, don't use this
option (or learn about them inw some tutorial, there are gazillions of
them out there), as you and your users may start missing posts. Also,
@@ -459,7 +459,7 @@ The rest of activities and objects are dropped on input.
There is partial support for
.Vt OrderedCollection
objects in the
-.Pa /outbox
+.Pa /outbox
(with the last 20 entries of the local timeline shown). No pagination
is supported. Intentionally, the
.Pa /followers
@@ -542,7 +542,7 @@ snac migrate $SNAC_BASEDIR origin
.Pp
This process can be very long and unreliable; any destination server may be down,
too busy, disconnected or gone. I recommend you to read the document I linked
-above to know about all the sorrows awaiting.
+above to know about all the sorrows awaiting.
.Pp
Also, please take note that the
.Nm
@@ -631,7 +631,7 @@ the command-line tool. See
Since version 2.67, a simple logic to avoid brute force attacks against user passwords
has been implemented: if, from a given IP address, the number of failed logins reaches
a given threshold, further tries from that IP address are never successful until a timer
-expires. The maximum number of retries can be configured in the
+expires. The maximum number of retries can be configured in the
.Pa server.json
file by setting the
.Ic badlogin_retries
diff --git a/html.c b/html.c
index 77ffda9..0ee4d71 100644
--- a/html.c
+++ b/html.c
@@ -3213,7 +3213,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
xs_html *add_hashtags = xs_html_tag("ul",
xs_html_attr("class", "snac-more-hashtags"));
- // todo: wafrn hashtags
xs_list_foreach(tags, tag) {
const char *type = xs_dict_get(tag, "type");
@@ -3864,8 +3863,6 @@ xs_html *html_people_list(snac *user, xs_list *list, const char *header, const c
xs_free(xs_html_render(snac_metadata));
}
- // todo: add metadata from "attachemnt"->"PropertyValue"
-
/* buttons */
xs *btn_form_action = xs_fmt("%s/admin/action", user->actor);