Parcourir la source

poll-limits: revert accidentally commited changes

green il y a 6 mois
Parent
commit
a14cf4a7db
2 fichiers modifiés avec 5 ajouts et 8 suppressions
  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
 includes some (not very strong) tools for trying to survive the SPAM
 flood that will eventually happen.
 flood that will eventually happen.
 .Pp
 .Pp
-The
+The 
 .Ic min_account_age
 .Ic min_account_age
 field in the main configuration file allows setting a minimum age (in
 field in the main configuration file allows setting a minimum age (in
 seconds) to consider too recently created accounts suspicious of being
 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,
 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)
 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
 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
 If you don't know about regular expressions, don't use this
 option (or learn about them inw some tutorial, there are gazillions of
 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,
 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
 There is partial support for
 .Vt OrderedCollection
 .Vt OrderedCollection
 objects in the
 objects in the
-.Pa /outbox
+.Pa /outbox 
 (with the last 20 entries of the local timeline shown). No pagination
 (with the last 20 entries of the local timeline shown). No pagination
 is supported. Intentionally, the
 is supported. Intentionally, the
 .Pa /followers
 .Pa /followers
@@ -542,7 +542,7 @@ snac migrate $SNAC_BASEDIR origin
 .Pp
 .Pp
 This process can be very long and unreliable; any destination server may be down,
 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
 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
 .Pp
 Also, please take note that the
 Also, please take note that the
 .Nm
 .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
 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
 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
 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
 .Pa server.json
 file by setting the
 file by setting the
 .Ic badlogin_retries
 .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 *add_hashtags = xs_html_tag("ul",
             xs_html_attr("class", "snac-more-hashtags"));
             xs_html_attr("class", "snac-more-hashtags"));
 
 
-        // todo: wafrn hashtags
         xs_list_foreach(tags, tag) {
         xs_list_foreach(tags, tag) {
             const char *type = xs_dict_get(tag, "type");
             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));
                 xs_free(xs_html_render(snac_metadata));
             }
             }
 
 
-            // todo: add metadata from "attachemnt"->"PropertyValue"
-
             /* buttons */
             /* buttons */
             xs *btn_form_action = xs_fmt("%s/admin/action", user->actor);
             xs *btn_form_action = xs_fmt("%s/admin/action", user->actor);