commit 2216ac4

green  ·  2026-01-24 23:05:03 +0000 UTC
parent cd96b83
poll-limits: added documentation to the man page
1 files changed,  +9, -5
+9, -5
 1@@ -269,6 +269,10 @@ The maximum number of entries (posts) to be returned in user RSS feeds and outbo
 2 (default: 20).
 3 .It Ic max_attachments
 4 The maximum number of attachments per post (default: 4).
 5+.It Ic max_poll_options
 6+The maximum number of poll options in a poll (default: 8).
 7+.It Ic max_poll_option_length
 8+The maximum length of a single poll option (default: 60).
 9 .It Ic enable_svg
10 Since version 2.73, SVG image attachments are hidden by default; you can enable
11 them by setting this value to true.
12@@ -360,7 +364,7 @@ account creation, it will only get worse.
13 includes some (not very strong) tools for trying to survive the SPAM
14 flood that will eventually happen.
15 .Pp
16-The 
17+The
18 .Ic min_account_age
19 field in the main configuration file allows setting a minimum age (in
20 seconds) to consider too recently created accounts suspicious of being
21@@ -375,7 +379,7 @@ These weapons of mass destruction can be written into the
22 file in the server base directory, one per line; if this file exists,
23 all posts' content will be matched (after being stripped of HTML tags)
24 against these regexes, one by one, and any match will make the post to
25-be rejected. Use lower case, the regex will be case insensitive by default. 
26+be rejected. Use lower case, the regex will be case insensitive by default.
27 If you don't know about regular expressions, don't use this
28 option (or learn about them inw some tutorial, there are gazillions of
29 them out there), as you and your users may start missing posts. Also,
30@@ -455,7 +459,7 @@ The rest of activities and objects are dropped on input.
31 There is partial support for
32 .Vt OrderedCollection
33 objects in the
34-.Pa /outbox 
35+.Pa /outbox
36 (with the last 20 entries of the local timeline shown). No pagination
37 is supported. Intentionally, the
38 .Pa /followers
39@@ -538,7 +542,7 @@ snac migrate $SNAC_BASEDIR origin
40 .Pp
41 This process can be very long and unreliable; any destination server may be down,
42 too busy, disconnected or gone. I recommend you to read the document I linked
43-above to know about all the sorrows awaiting. 
44+above to know about all the sorrows awaiting.
45 .Pp
46 Also, please take note that the
47 .Nm
48@@ -627,7 +631,7 @@ the command-line tool. See
49 Since version 2.67, a simple logic to avoid brute force attacks against user passwords
50 has been implemented: if, from a given IP address, the number of failed logins reaches
51 a given threshold, further tries from that IP address are never successful until a timer
52-expires. The maximum number of retries can be configured in the 
53+expires. The maximum number of retries can be configured in the
54 .Pa server.json
55 file by setting the
56 .Ic badlogin_retries