|
|
@@ -50,13 +50,11 @@ The following traditional ASCII emoticons or special strings are
|
|
|
converted to related emojis:
|
|
|
.Bd -literal
|
|
|
:-) :-D X-D ;-) B-) :-( :-* <3 :-/ 8-o
|
|
|
-%-) :_( :-| :facepalm: :shrug: :eyeroll:
|
|
|
-:beer: :beers: :munch: :thumb:
|
|
|
+%-) :_( :-| :facepalm: :shrug: :shrug2:
|
|
|
+:eyeroll: :beer: :beers: :munch: :thumb:
|
|
|
.Ed
|
|
|
.El
|
|
|
.Pp
|
|
|
-HTML tags are not filtered on input.
|
|
|
-.Pp
|
|
|
.Ss Accepted HTML
|
|
|
All HTML tags in entries are neutered except the following ones:
|
|
|
.Bd -literal
|
|
|
@@ -74,6 +72,10 @@ The base directory contains the following files and folders:
|
|
|
Server configuration.
|
|
|
.It Pa user/
|
|
|
Directory holding user subdirectories.
|
|
|
+.It Pa object/
|
|
|
+Directory holding the ActivityPub objects. Filenames are hashes of each
|
|
|
+message Id, stored in subdirectories starting with the first two letters
|
|
|
+of the hash.
|
|
|
.It Pa archive/
|
|
|
If this directory exists, all input and output messages are logged inside it,
|
|
|
including HTTP headers. Only useful for debugging. May grow to enormous sizes.
|
|
|
@@ -87,36 +89,31 @@ has the user id as name and contains the following subdirectories and files:
|
|
|
User configuration file.
|
|
|
.It Pa key.json
|
|
|
SHA-1 secret/public key PEM data.
|
|
|
-.It Pa actors/
|
|
|
-This subdirectory stores cached 'Person' ActivityPub messages as JSON files. Each
|
|
|
-file name is an MD5 hash of the actor URL.
|
|
|
-.It Pa timeline/
|
|
|
-This subdirectory stores the user's timeline. Everytime a valid message arrives,
|
|
|
-it's stored in this directory as a JSON object. The file name spec is: a Unix
|
|
|
-timestamp followed by a hyphen followed by an MD5 of the message Id. Additionally,
|
|
|
-metadata for each message parent and children is stored under the '_snac' field;
|
|
|
-parent messages with new children are renamed with an updated timestamp so that
|
|
|
-the more recently updated thread is shown at the top. This directory is presented
|
|
|
-in the web interface in reverse file name order up to a maximum, hardcoded limit.
|
|
|
-These files are purged when they are considered old (this time can be changed by
|
|
|
-tweaking the server configuration).
|
|
|
-.It Pa local/
|
|
|
-This subdirectory stores all activities generated by this user as hardlinks to
|
|
|
-their analogue entries in the
|
|
|
-.Pa timeline/
|
|
|
-subdirectory.
|
|
|
+.It Pa followers.idx
|
|
|
+This file contains the list of followers as a list of hashed object identifiers.
|
|
|
.It Pa followers/
|
|
|
-This subdirectory stores the 'Follow' ActivityPub message from each
|
|
|
-Fediverse user that is following this user as a JSON file. Each file name is
|
|
|
-an MD5 hash of the actor that is a follower of this user.
|
|
|
+This directory stores hard links to the actor objects in the object storage.
|
|
|
.It Pa following/
|
|
|
-This subdirectory stores the 'Follow' (not yet confirmed) or the 'Accept'
|
|
|
-(confirmed) ActivityPub message for each actor that is being followed. Each file
|
|
|
-name is an MD5 hash of the actor.
|
|
|
+This directory stores the users being followed as hard links to the 'Follow'
|
|
|
+or 'Accept' objects in the object storage. File names are the hashes of each
|
|
|
+actor Id.
|
|
|
+.It Pa private.idx
|
|
|
+This file contains the list of timeline entries as a list of hashed
|
|
|
+object identifiers.
|
|
|
+.It Pa private/
|
|
|
+This directory stores hard links to the timeline entries in the object storage.
|
|
|
+.It Pa public.idx
|
|
|
+This file contains the list of public timeline entries as a list of hashed
|
|
|
+object identifiers.
|
|
|
+.It Pa public/
|
|
|
+This directory stores hard links to the public timeline entries in the object
|
|
|
+storage.
|
|
|
.It Pa muted/
|
|
|
-This directory contains files which names are MD5 hashes of muted actors. The
|
|
|
+This directory contains files which names are hashes of muted actors. The
|
|
|
content is a line containing the actor URL.
|
|
|
Messages from these actors will be ignored on input and not shown in any timeline.
|
|
|
+.It Pa hidden/
|
|
|
+This directory contains references to the hidden timeline entries.
|
|
|
.It Pa queue/
|
|
|
This directory contains the output queue of messages generated by the user as
|
|
|
JSON files. File names contain timestamps that indicate when the message will
|
|
|
@@ -133,10 +130,6 @@ web interface.
|
|
|
.It Pa history/
|
|
|
This directory contains generated HTML files. They may be snapshots of the
|
|
|
local timeline in previous months or other cached data.
|
|
|
-.It Pa archive/
|
|
|
-This directory is no longer used in version 2.x and later. It can be deleted.
|
|
|
-.Nm
|
|
|
-is run with a debug level >= 1.
|
|
|
.El
|
|
|
.Sh SEE ALSO
|
|
|
.Xr snac 1 ,
|