]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Use activitites and remove unused config
[friendica.git] / static / defaults.config.php
index e8f44613ce2d0034f0df335f5338d440ba7e8daa..f73a3300a15f696d8b936458154b39df7857b8a3 100644 (file)
@@ -543,11 +543,11 @@ return [
                'pushpoll_frequency' => 3,
 
                // redis_host (String)
-               // Host name of the redis daemon.
+               // Host name or the path to the Unix domain socket of the Redis daemon.
                'redis_host' => '127.0.0.1',
 
-               // redis_port (String)
-               // Port number of the redis daemon.
+               // redis_port (Integer)
+               // Port number of the Redis daemon, should be -1 for unix domain socket
                'redis_port' => 6379,
 
                // redis_db (Integer)
@@ -783,7 +783,26 @@ return [
        ],
        'api' => [
                // mastodon_banner (String)
-               // Banner for Mastodon API
+               // Default banner image for Mastodon API, must be a relative path from the base Friendica folder
+               //
+               // Default picture credits:
+               // Author: Lostinlight <https://mastodon.xyz/@lightone>
+               // License: CC0 https://creativecommons.org/share-your-work/public-domain/cc0/
+               // Link to original work: https://gitlab.com/lostinlight/per_aspera_ad_astra/-/blob/master/friendica-404/friendica-promo-bubbles.jpg
                'mastodon_banner' => '/images/friendica-banner.jpg',
        ],
+       'blocklist' => [
+               // public (Boolean)
+               // Wether the blocklist is publicly listed under /about (or in any later API)
+               'public' => true,
+       ],
+       'channel' => [
+               // interaction_score_days (Integer)
+               // Number of days that are used to calculate the interaction score.
+               'interaction_score_days' => 30,
+
+               // engagement_hours (Integer)
+               // Number of hours posts are held in the engagement table
+               'engagement_hours' => 24,
+       ],
 ];