aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.115
-rw-r--r--doc/snac.818
-rw-r--r--doc/style.css6
3 files changed, 36 insertions, 3 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index cabd623..dbf63f4 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -110,6 +110,9 @@ URLs to RSS feeds of ActivityPub objects are also allowed
.It Blocked hashtags...
Enter here the list of hashtags you want to block, one
per line, with or without the # symbol.
+.It Muted words...
+Enter here a list of words to be silenced. If a post includes
+any of this words, it's hidden behind a dropdown.
.El
.Pp
The user setup dialog allows some user information to be
@@ -218,13 +221,20 @@ also private and cannot be liked nor boosted.
For each entry in the timeline, a set of reasonable actions
in the form of buttons will be shown. These can be:
.Bl -tag -offset indent
-.It Reply
+.It Reply...
Unveils a text area to write your intelligent and acute comment
to an uninformed fellow. This note is sent to the original
author as well as to your followers. The note can include
mentions in the @user@format; these people will also become
recipients of the message. If you reply to a boost or like,
you are really replying to the note, not to the admirer of it.
+.It Emoji react...
+Unveils a text area that allows a user to react with an emoji
+by typing its identifier, that should match one of the emojis
+defined in the
+.Pa emojis.json
+file. By now, only those emoji identifiers surrounded by colons
+can be used.
.It Like
Click this if you admire this post. The poster and your
followers will be informed.
@@ -405,6 +415,9 @@ Removes an existing list.
Adds an account (by its @name@host handle or actor URL) to a list.
.It Cm list_del Ar basedir Ar uid Ar name Ar actor_url
Deletes an actor (by its actor URL) from a list.
+.It Cm top_ten Ar basedir Ar uid Op N
+Returns the ids of the top ten (or top N) most popular posts (considering the
+sum of likes and boosts).
.El
.Ss Migrating an account to/from Mastodon
See
diff --git a/doc/snac.8 b/doc/snac.8
index a6d925d..d961ed2 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -294,6 +294,22 @@ The URL to a favicon. If it's not set, the default one is used instead.
The maximum number of days an instance is considered down after continuous failed
outgoing messages (default: 15). Anyway, whenever any incoming activity from a
failed instance is detected, this counter is reset for it.
+.It Ic vkey
+Public vapid key. Used for notification on some client.
+.It Ic disable_emojireact
+If set to true, all EmojiReact support (for input and output) is disabled.
+.It Ic strip_exif
+If set to true, EXIF and other metadata will be stripped from uploaded images (jpg, png, webp, heic, avif, tiff, gif, bmp) and videos (mp4, m4v, mov, webm, mkv, avi). This requires the
+.Nm mogrify
+(from ImageMagick) and
+.Nm ffmpeg
+tools to be installed. If
+.Nm snac
+cannot find or execute these tools at startup, it will refuse to run.
+.It Ic mogrify_path
+Overrides the default "mogrify" command name or path. Use this if the tool is not in the system PATH or has a different name.
+.It Ic ffmpeg_path
+Overrides the default "ffmpeg" command name or path. Use this if the tool is not in the system PATH or has a different name.
.El
.Pp
You must restart the server to make effective these changes.
@@ -405,7 +421,7 @@ objects, on input and output.
.It Vt EmojiReact
For
.Vt Note
-objects, on input.
+objects, on input and output.
.It Vt Announce
For
.Vt Note
diff --git a/doc/style.css b/doc/style.css
index 5289332..9c8764a 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -32,8 +32,12 @@ blockquote { font-style: italic; }
.snac-list-of-lists li { display: inline; border: 1px solid #a0a0a0; border-radius: 25px;
margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }
.snac-no-more-unseen-posts { border-top: 1px solid #a0a0a0; border-bottom: 1px solid #a0a0a0; padding: 0.5em 0; margin: 1em 0; }
-@media (prefers-color-scheme: dark) {
+.snac-reaction { padding:5px; padding-left: 10px; padding-right: 10px; display: inline-flex; margin-right: 5px; font-family: inherit; font-size: medium; height: 2.5rem; vertical-align:middle; align-items:center;}
+.snac-reaction-image { max-width: 100%; max-height: 100%; }
+.snac-reaction-div { border-left: darkgray; border-left-style: solid; margin-bottom: .3em; padding-left: .3em; border-left-width: 2px; }
+@media (prefers-color-scheme: dark) {
body, input, textarea { background-color: #000; color: #fff; }
a { color: #7799dd }
a:visited { color: #aa99dd }
}
+select { max-width: 40%; }