From 3b818f557ae3c1073f1464fe0a7319a0e025ba86 Mon Sep 17 00:00:00 2001 From: Eirik Oeverby Date: Mon, 6 Jan 2025 20:03:00 +0100 Subject: Add short_description_raw option --- doc/snac.8 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/snac.8 b/doc/snac.8 index 3a4bfcf..db47ae5 100644 --- a/doc/snac.8 +++ b/doc/snac.8 @@ -205,6 +205,8 @@ The email address of the instance administrator (optional). The user name of the instance administrator (optional). .It Ic short_description A textual short description about the instance (optional). +.It Ic short_description_raw +Whether to interpret short_descript as raw string or convert to HTML (optional) .It Ic fastcgi If set to true, .Nm -- cgit v1.2.3 From 4528029dabb7d79cddefaa5677ae314e16ab51f4 Mon Sep 17 00:00:00 2001 From: Eirik Oeverby Date: Mon, 6 Jan 2025 20:03:28 +0100 Subject: Add short_description_raw option --- doc/snac.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/snac.8 b/doc/snac.8 index db47ae5..c44a891 100644 --- a/doc/snac.8 +++ b/doc/snac.8 @@ -206,7 +206,7 @@ The user name of the instance administrator (optional). .It Ic short_description A textual short description about the instance (optional). .It Ic short_description_raw -Whether to interpret short_descript as raw string or convert to HTML (optional) +Whether to interpret short_descript as raw string or convert to HTML (optional). .It Ic fastcgi If set to true, .Nm -- cgit v1.2.3 From bf07718f02081c88b48ea18c0bd38e49e971d398 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 28 Jan 2025 08:04:57 +0100 Subject: Added some default styling to CSS class snac-no-more-unseen-posts. --- doc/style.css | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/style.css b/doc/style.css index 13cef97..546cfb3 100644 --- a/doc/style.css +++ b/doc/style.css @@ -29,6 +29,7 @@ pre { overflow-x: scroll; } .snac-list-of-lists { padding-left: 0; } .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 #000; border-bottom: 1px solid #000; padding: 0.5em 0; margin: 1em 0; } @media (prefers-color-scheme: dark) { body, input, textarea { background-color: #000; color: #fff; } a { color: #7799dd } -- cgit v1.2.3 From ca9ff0538ef4e4bc6c23d1d30d83b0879c4d5351 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 28 Jan 2025 08:07:43 +0100 Subject: Some CSS tweaks. --- doc/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/style.css b/doc/style.css index 546cfb3..87c5598 100644 --- a/doc/style.css +++ b/doc/style.css @@ -29,7 +29,7 @@ pre { overflow-x: scroll; } .snac-list-of-lists { padding-left: 0; } .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 #000; border-bottom: 1px solid #000; padding: 0.5em 0; margin: 1em 0; } +.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) { body, input, textarea { background-color: #000; color: #fff; } a { color: #7799dd } -- cgit v1.2.3 From 317106fc69f8aeca023788f0e0f6768387a2cd2a Mon Sep 17 00:00:00 2001 From: default Date: Thu, 30 Jan 2025 16:32:37 +0100 Subject: Updated documentation. --- doc/snac.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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: .Ss Accepted HTML All HTML tags in entries are neutered except the following ones: .Bd -literal -a p br blockquote ul ol li cite small +a p br blockquote ul ol li cite small h2 h3 span i b u s pre code em strong hr img del .Ed .Pp -- cgit v1.2.3 From 35ce3d1ecb26f7fb76858f015312b69cb9817bfb Mon Sep 17 00:00:00 2001 From: default Date: Sat, 1 Feb 2025 08:21:05 +0100 Subject: Updated documentation. --- doc/snac.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/snac.1 b/doc/snac.1 index d33bccb..8cc032d 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -234,6 +234,8 @@ Purges old data from the timeline of all users. .It Cm adduser Ar basedir Op uid Adds a new user to the server. This is an interactive command; necessary information will be prompted for. +.It Cm deluser Ar basedir Ar uid +Deletes a user, unfollowing all accounts first. .It Cm resetpwd Ar basedir Ar uid Resets a user's password to a new, random one. .It Cm queue Ar basedir Ar uid -- cgit v1.2.3 From a3d4575d91680580c69855c6732c6fe8a4db5fef Mon Sep 17 00:00:00 2001 From: default Date: Sun, 2 Feb 2025 09:54:33 +0100 Subject: Updated documentation. --- doc/snac.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/snac.1 b/doc/snac.1 index 8cc032d..327e071 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -259,6 +259,9 @@ The rest of command line arguments are treated as media files to be attached to the post. .It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ... Like the previous one, but creates an "unlisted" (or "quiet public") post. +.It Cm note_mention Ar basedir Ar uid Ar text Op file file ... +Like the previous one, but creates a post only for accounts mentioned +in the post body. .It Cm block Ar basedir Ar instance_url Blocks a full instance, given its URL or domain name. All subsequent incoming activities with identifiers from that instance will be immediately -- cgit v1.2.3 From 8e1a2c5ff92d01789e02980f2e36c8808c8ea033 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 6 Feb 2025 09:04:36 +0100 Subject: Merged 53ad5cdf0371fc068fa03bf287fc94be. --- doc/snac.8 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/snac.8 b/doc/snac.8 index e9b33dd..aac9f70 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 give slow servers a chance to receive your messages, you can increase this value (but also take into account that processing the queue will take longer while waiting for these molasses to respond). +.It Ic def_timeline_entries +This is the default timeline entries shown in the web interface. .It Ic max_timeline_entries This is the maximum timeline entries shown in the web interface. .It Ic timeline_purge_days -- cgit v1.2.3 From 413862f404c65ef57f9d7da99b775c72c2da4e31 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 7 Feb 2025 09:29:33 +0100 Subject: Updated documentation. --- doc/snac.8 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/snac.8 b/doc/snac.8 index aac9f70..7e3213b 100644 --- a/doc/snac.8 +++ b/doc/snac.8 @@ -260,6 +260,8 @@ need at least a Linux kernel version 5.13.0. .It Ic max_public_entries The maximum number of entries (posts) to be returned in user RSS feeds and outboxes (default: 20). +.It Ic max_attachments +The maximum number of attachments per post (default: 4). .El .Pp You must restart the server to make effective these changes. -- cgit v1.2.3