commit a14cf4a

green  ·  2026-01-24 23:30:38 +0000 UTC
parent 2216ac4
poll-limits: revert accidentally commited changes
2 files changed,  +5, -8
M html.c
+5, -5
 1@@ -364,7 +364,7 @@ account creation, it will only get worse.
 2 includes some (not very strong) tools for trying to survive the SPAM
 3 flood that will eventually happen.
 4 .Pp
 5-The
 6+The 
 7 .Ic min_account_age
 8 field in the main configuration file allows setting a minimum age (in
 9 seconds) to consider too recently created accounts suspicious of being
10@@ -379,7 +379,7 @@ These weapons of mass destruction can be written into the
11 file in the server base directory, one per line; if this file exists,
12 all posts' content will be matched (after being stripped of HTML tags)
13 against these regexes, one by one, and any match will make the post to
14-be rejected. Use lower case, the regex will be case insensitive by default.
15+be rejected. Use lower case, the regex will be case insensitive by default. 
16 If you don't know about regular expressions, don't use this
17 option (or learn about them inw some tutorial, there are gazillions of
18 them out there), as you and your users may start missing posts. Also,
19@@ -459,7 +459,7 @@ The rest of activities and objects are dropped on input.
20 There is partial support for
21 .Vt OrderedCollection
22 objects in the
23-.Pa /outbox
24+.Pa /outbox 
25 (with the last 20 entries of the local timeline shown). No pagination
26 is supported. Intentionally, the
27 .Pa /followers
28@@ -542,7 +542,7 @@ snac migrate $SNAC_BASEDIR origin
29 .Pp
30 This process can be very long and unreliable; any destination server may be down,
31 too busy, disconnected or gone. I recommend you to read the document I linked
32-above to know about all the sorrows awaiting.
33+above to know about all the sorrows awaiting. 
34 .Pp
35 Also, please take note that the
36 .Nm
37@@ -631,7 +631,7 @@ the command-line tool. See
38 Since version 2.67, a simple logic to avoid brute force attacks against user passwords
39 has been implemented: if, from a given IP address, the number of failed logins reaches
40 a given threshold, further tries from that IP address are never successful until a timer
41-expires. The maximum number of retries can be configured in the
42+expires. The maximum number of retries can be configured in the 
43 .Pa server.json
44 file by setting the
45 .Ic badlogin_retries
M html.c
+0, -3
 1@@ -3213,7 +3213,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
 2         xs_html *add_hashtags = xs_html_tag("ul",
 3             xs_html_attr("class", "snac-more-hashtags"));
 4 
 5-        // todo: wafrn hashtags
 6         xs_list_foreach(tags, tag) {
 7             const char *type = xs_dict_get(tag, "type");
 8 
 9@@ -3864,8 +3863,6 @@ xs_html *html_people_list(snac *user, xs_list *list, const char *header, const c
10                 xs_free(xs_html_render(snac_metadata));
11             }
12 
13-            // todo: add metadata from "attachemnt"->"PropertyValue"
14-
15             /* buttons */
16             xs *btn_form_action = xs_fmt("%s/admin/action", user->actor);
17