]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Use full text search
[friendica.git] / static / defaults.config.php
index 4562da898745192a49f0f7c790955c4bb7ad4dfc..ceb60c41519b1957af7dd415c4e02c38e8ff17c4 100644 (file)
@@ -783,7 +783,12 @@ 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' => [
@@ -791,4 +796,21 @@ return [
                // Wether the blocklist is publicly listed under /about (or in any later API)
                'public' => true,
        ],
+       'channel' => [
+               // engagement_hours (Integer)
+               // Number of hours posts are held in the engagement table
+               'engagement_hours' => 24,
+
+               // interaction_score_days (Integer)
+               // Number of days that are used to calculate the interaction score.
+               'interaction_score_days' => 30,
+
+               // max_posts_per_author (Integer)
+               // Maixmum number of posts per page by author
+               'max_posts_per_author' => 2,
+
+               // sharer_interaction_days (Integer)
+               // Number of days of the last interaction that are used to define which sharers are used for the "sharers of sharers" channel.
+               'sharer_interaction_days' => 90,
+       ],
 ];