diff options
| -rw-r--r-- | doc/snac.8 | 14 |
1 files changed, 9 insertions, 5 deletions
| @@ -269,6 +269,10 @@ The maximum number of entries (posts) to be returned in user RSS feeds and outbo | |||
| 269 | (default: 20). | 269 | (default: 20). |
| 270 | .It Ic max_attachments | 270 | .It Ic max_attachments |
| 271 | The maximum number of attachments per post (default: 4). | 271 | The maximum number of attachments per post (default: 4). |
| 272 | .It Ic max_poll_options | ||
| 273 | The maximum number of poll options in a poll (default: 8). | ||
| 274 | .It Ic max_poll_option_length | ||
| 275 | The maximum length of a single poll option (default: 60). | ||
| 272 | .It Ic enable_svg | 276 | .It Ic enable_svg |
| 273 | Since version 2.73, SVG image attachments are hidden by default; you can enable | 277 | Since version 2.73, SVG image attachments are hidden by default; you can enable |
| 274 | them by setting this value to true. | 278 | them by setting this value to true. |
| @@ -360,7 +364,7 @@ account creation, it will only get worse. | |||
| 360 | includes some (not very strong) tools for trying to survive the SPAM | 364 | includes some (not very strong) tools for trying to survive the SPAM |
| 361 | flood that will eventually happen. | 365 | flood that will eventually happen. |
| 362 | .Pp | 366 | .Pp |
| 363 | The | 367 | The |
| 364 | .Ic min_account_age | 368 | .Ic min_account_age |
| 365 | field in the main configuration file allows setting a minimum age (in | 369 | field in the main configuration file allows setting a minimum age (in |
| 366 | seconds) to consider too recently created accounts suspicious of being | 370 | seconds) to consider too recently created accounts suspicious of being |
| @@ -375,7 +379,7 @@ These weapons of mass destruction can be written into the | |||
| 375 | file in the server base directory, one per line; if this file exists, | 379 | file in the server base directory, one per line; if this file exists, |
| 376 | all posts' content will be matched (after being stripped of HTML tags) | 380 | all posts' content will be matched (after being stripped of HTML tags) |
| 377 | against these regexes, one by one, and any match will make the post to | 381 | against these regexes, one by one, and any match will make the post to |
| 378 | be rejected. Use lower case, the regex will be case insensitive by default. | 382 | be rejected. Use lower case, the regex will be case insensitive by default. |
| 379 | If you don't know about regular expressions, don't use this | 383 | If you don't know about regular expressions, don't use this |
| 380 | option (or learn about them inw some tutorial, there are gazillions of | 384 | option (or learn about them inw some tutorial, there are gazillions of |
| 381 | them out there), as you and your users may start missing posts. Also, | 385 | 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. | |||
| 455 | There is partial support for | 459 | There is partial support for |
| 456 | .Vt OrderedCollection | 460 | .Vt OrderedCollection |
| 457 | objects in the | 461 | objects in the |
| 458 | .Pa /outbox | 462 | .Pa /outbox |
| 459 | (with the last 20 entries of the local timeline shown). No pagination | 463 | (with the last 20 entries of the local timeline shown). No pagination |
| 460 | is supported. Intentionally, the | 464 | is supported. Intentionally, the |
| 461 | .Pa /followers | 465 | .Pa /followers |
| @@ -538,7 +542,7 @@ snac migrate $SNAC_BASEDIR origin | |||
| 538 | .Pp | 542 | .Pp |
| 539 | This process can be very long and unreliable; any destination server may be down, | 543 | This process can be very long and unreliable; any destination server may be down, |
| 540 | too busy, disconnected or gone. I recommend you to read the document I linked | 544 | too busy, disconnected or gone. I recommend you to read the document I linked |
| 541 | above to know about all the sorrows awaiting. | 545 | above to know about all the sorrows awaiting. |
| 542 | .Pp | 546 | .Pp |
| 543 | Also, please take note that the | 547 | Also, please take note that the |
| 544 | .Nm | 548 | .Nm |
| @@ -627,7 +631,7 @@ the command-line tool. See | |||
| 627 | Since version 2.67, a simple logic to avoid brute force attacks against user passwords | 631 | Since version 2.67, a simple logic to avoid brute force attacks against user passwords |
| 628 | has been implemented: if, from a given IP address, the number of failed logins reaches | 632 | has been implemented: if, from a given IP address, the number of failed logins reaches |
| 629 | a given threshold, further tries from that IP address are never successful until a timer | 633 | a given threshold, further tries from that IP address are never successful until a timer |
| 630 | expires. The maximum number of retries can be configured in the | 634 | expires. The maximum number of retries can be configured in the |
| 631 | .Pa server.json | 635 | .Pa server.json |
| 632 | file by setting the | 636 | file by setting the |
| 633 | .Ic badlogin_retries | 637 | .Ic badlogin_retries |