]> 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 75c349de5badcf0dbd152905a3a68d4d8c79e087..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',
@@ -798,13 +798,21 @@ return [
        ],
        'channel' => [
                // engagement_hours (Integer)
-               // Number of hours posts are held in the engagement table
+               // 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,