Просмотр исходного кода

poll-limits: revert accidentally commited changes

green 6 месяцев назад
Родитель
Сommit
a14cf4a7db
2 измененных файлов с 5 добавлено и 8 удалено
  1. 5 5
      doc/snac.8
  2. 0 3
      html.c

+ 5 - 5
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

+ 0 - 3
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);