]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Improve emoji federation and mastodon api compliance
[friendica.git] / static / defaults.config.php
index 4562da898745192a49f0f7c790955c4bb7ad4dfc..b6e26cb59b035536f612fd8909ff70825b8022cd 100644 (file)
@@ -290,18 +290,14 @@ return [
                // restricts develop log writes to requests originating from this IP address.
                'dlogip' => '',
 
-               // emoji_activities (Boolean)
-               // Display received activities (like, dislike, reshare) as emojis
-               'emoji_activities' => false,
+               // legacy_activities (Boolean)
+               // Display received activities (like, dislike, reshare) as detailed list
+               'legacy_activities' => true,
 
                // expire-notify-priority (integer)
                // Priority for the expiry notification
                'expire-notify-priority' => Friendica\Core\Worker::PRIORITY_LOW,
 
-               // fetch_by_worker (Boolean)
-               // Fetch missing posts via a background process
-               'fetch_by_worker' => false,
-
                // fetch_featured_posts (Boolean)
                // Fetch featured posts from all contacts
                'fetch_featured_posts' => false,
@@ -524,7 +520,7 @@ return [
                'png_quality' => 8,
 
                // process_view (Boolean)
-               // Process the "View" activity that is used by Peertube. View activities are displayed, when "emoji_activities" are enabled.
+               // Process the "View" activity that is used by Peertube.
                'process_view' => false,
 
                // profiler (Boolean)
@@ -562,14 +558,18 @@ return [
                // Redistribute incoming activities via ActivityPub
                'redistribute_activities' => true,
 
-               // relay_deny_languages (Array)
-               // Array of languages (two digit format) that are rejected.
-               'relay_deny_languages' => [],
-
                // relay_deny_undetected_language (Boolean)
                // Deny undetected languages
                'relay_deny_undetected_language' => false,
 
+               // relay_language_quality (Float)
+               // Minimum value for the language detection quality for relay posts. The value must be between 0 and 1.
+               'relay_language_quality' => 0,
+
+               // relay_languages (Integer)
+               // Number of languages that are used per post to check for acceptable posts.
+               'relay_languages' => 10,
+
                // session_handler (database|cache|native)
                // Whether to use Cache to store session data or to use PHP native session storage.
                'session_handler' => 'database',
@@ -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,25 @@ return [
                // Wether the blocklist is publicly listed under /about (or in any later API)
                'public' => true,
        ],
+       'channel' => [
+               // engagement_hours (Integer)
+               // Maximum age of incoming posts for the engagement table, when the engagement post limit is 0 or hasn't been reached yet.
+               'engagement_hours' => 24,
+
+               // engagement_post_limit (Integer)
+               // NUmber of posts that are held in the engagement table
+               'engagement_post_limit' => 20000,
+
+               // 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,
+       ],
 ];