aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreen <dandelions@disroot.org>2026-01-25 00:05:03 +0100
committergreen <dandelions@disroot.org>2026-01-25 00:05:03 +0100
commit2216ac4662eed9235eadcafcfbf83928750abb67 (patch)
treed37e5e3840f46feda09d6999dda72b4fa29f2bfe
parentcd96b83828a852bdf4f4311900501eba8c3972ca (diff)
poll-limits: added documentation to the man page
-rw-r--r--doc/snac.814
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index d961ed2..760d54c 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -269,6 +269,10 @@ The maximum number of entries (posts) to be returned in user RSS feeds and outbo
(default: 20).
.It Ic max_attachments
The maximum number of attachments per post (default: 4).
+.It Ic max_poll_options
+The maximum number of poll options in a poll (default: 8).
+.It Ic max_poll_option_length
+The maximum length of a single poll option (default: 60).
.It Ic enable_svg
Since version 2.73, SVG image attachments are hidden by default; you can enable
them by setting this value to true.
@@ -360,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
@@ -375,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,
@@ -455,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
@@ -538,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
@@ -627,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