summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.15
-rw-r--r--doc/snac.52
-rw-r--r--doc/snac.86
-rw-r--r--doc/style.css1
4 files changed, 13 insertions, 1 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index d33bccb..327e071 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -234,6 +234,8 @@ Purges old data from the timeline of all users.
234.It Cm adduser Ar basedir Op uid 234.It Cm adduser Ar basedir Op uid
235Adds a new user to the server. This is an interactive command; 235Adds a new user to the server. This is an interactive command;
236necessary information will be prompted for. 236necessary information will be prompted for.
237.It Cm deluser Ar basedir Ar uid
238Deletes a user, unfollowing all accounts first.
237.It Cm resetpwd Ar basedir Ar uid 239.It Cm resetpwd Ar basedir Ar uid
238Resets a user's password to a new, random one. 240Resets a user's password to a new, random one.
239.It Cm queue Ar basedir Ar uid 241.It Cm queue Ar basedir Ar uid
@@ -257,6 +259,9 @@ The rest of command line arguments are treated as media files to be
257attached to the post. 259attached to the post.
258.It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ... 260.It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ...
259Like the previous one, but creates an "unlisted" (or "quiet public") post. 261Like the previous one, but creates an "unlisted" (or "quiet public") post.
262.It Cm note_mention Ar basedir Ar uid Ar text Op file file ...
263Like the previous one, but creates a post only for accounts mentioned
264in the post body.
260.It Cm block Ar basedir Ar instance_url 265.It Cm block Ar basedir Ar instance_url
261Blocks a full instance, given its URL or domain name. All subsequent 266Blocks a full instance, given its URL or domain name. All subsequent
262incoming activities with identifiers from that instance will be immediately 267incoming activities with identifiers from that instance will be immediately
diff --git a/doc/snac.5 b/doc/snac.5
index 3550995..d873908 100644
--- a/doc/snac.5
+++ b/doc/snac.5
@@ -78,7 +78,7 @@ converted to related emojis:
78.Ss Accepted HTML 78.Ss Accepted HTML
79All HTML tags in entries are neutered except the following ones: 79All HTML tags in entries are neutered except the following ones:
80.Bd -literal 80.Bd -literal
81a p br blockquote ul ol li cite small 81a p br blockquote ul ol li cite small h2 h3
82span i b u s pre code em strong hr img del 82span i b u s pre code em strong hr img del
83.Ed 83.Ed
84.Pp 84.Pp
diff --git a/doc/snac.8 b/doc/snac.8
index e228495..7e3213b 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -154,6 +154,8 @@ to those servers that went timeout in the previous retry. If you want to
154give slow servers a chance to receive your messages, you can increase this 154give slow servers a chance to receive your messages, you can increase this
155value (but also take into account that processing the queue will take longer 155value (but also take into account that processing the queue will take longer
156while waiting for these molasses to respond). 156while waiting for these molasses to respond).
157.It Ic def_timeline_entries
158This is the default timeline entries shown in the web interface.
157.It Ic max_timeline_entries 159.It Ic max_timeline_entries
158This is the maximum timeline entries shown in the web interface. 160This is the maximum timeline entries shown in the web interface.
159.It Ic timeline_purge_days 161.It Ic timeline_purge_days
@@ -205,6 +207,8 @@ The email address of the instance administrator (optional).
205The user name of the instance administrator (optional). 207The user name of the instance administrator (optional).
206.It Ic short_description 208.It Ic short_description
207A textual short description about the instance (optional). 209A textual short description about the instance (optional).
210.It Ic short_description_raw
211Whether to interpret short_descript as raw string or convert to HTML (optional).
208.It Ic fastcgi 212.It Ic fastcgi
209If set to true, 213If set to true,
210.Nm 214.Nm
@@ -256,6 +260,8 @@ need at least a Linux kernel version 5.13.0.
256.It Ic max_public_entries 260.It Ic max_public_entries
257The maximum number of entries (posts) to be returned in user RSS feeds and outboxes 261The maximum number of entries (posts) to be returned in user RSS feeds and outboxes
258(default: 20). 262(default: 20).
263.It Ic max_attachments
264The maximum number of attachments per post (default: 4).
259.El 265.El
260.Pp 266.Pp
261You must restart the server to make effective these changes. 267You must restart the server to make effective these changes.
diff --git a/doc/style.css b/doc/style.css
index 13cef97..87c5598 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -29,6 +29,7 @@ pre { overflow-x: scroll; }
29.snac-list-of-lists { padding-left: 0; } 29.snac-list-of-lists { padding-left: 0; }
30.snac-list-of-lists li { display: inline; border: 1px solid #a0a0a0; border-radius: 25px; 30.snac-list-of-lists li { display: inline; border: 1px solid #a0a0a0; border-radius: 25px;
31 margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; } 31 margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }
32.snac-no-more-unseen-posts { border-top: 1px solid #a0a0a0; border-bottom: 1px solid #a0a0a0; padding: 0.5em 0; margin: 1em 0; }
32@media (prefers-color-scheme: dark) { 33@media (prefers-color-scheme: dark) {
33 body, input, textarea { background-color: #000; color: #fff; } 34 body, input, textarea { background-color: #000; color: #fff; }
34 a { color: #7799dd } 35 a { color: #7799dd }