]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Frio: Improved display of disabled activities
[friendica.git] / static / defaults.config.php
index 90886347e5349263bace4ffa0c72efb563aa831f..b6e26cb59b035536f612fd8909ff70825b8022cd 100644 (file)
@@ -106,7 +106,7 @@ return [
                'always_show_preview' => false,
 
                // ap_always_bcc (Boolean)
-               // Adresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
+               // Addresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
                'ap_always_bcc' => false,
 
                // archival_days (Integer)
@@ -132,6 +132,10 @@ return [
                // The value has to start with the scheme and end with a "/"
                'avatar_cache_url' => '',
 
+               // basicauth (Boolean)
+               // Controls if login via BasicAuth is possible (default is true)
+               'basicauth' => true,
+
                // big_emojis (Boolean)
                // Display "Emoji Only" posts in big.
                'big_emojis' => false,
@@ -237,6 +241,10 @@ return [
                // Periodically delete waiting database processes.
                'delete_sleeping_processes' => false,
 
+               // delete-blocked-servers (Boolean)
+               // Delete blocked servers if there are no foreign key violations.
+               'delete-blocked-servers' => false,
+
                // dice_profiler_threshold (Float)
                // For profiling Dice class creation (0 = disabled, >0 = seconds threshold for profiling)
                'dice_profiler_threshold' => 0.5,
@@ -282,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 expirary notification
+               // 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,
@@ -302,10 +306,10 @@ return [
                // Number of "free" searches when system => permit_crawling is enabled.
                'free_crawls' => 10,
 
-               // groupedit_image_limit (Integer)
-               // Number of contacts at which the group editor should switch from display the profile pictures of the contacts to only display the names.
+               // circle_edit_image_limit (Integer)
+               // Number of contacts at which the circle editor should switch from display the profile pictures of the contacts to only display the names.
                // This can alternatively be set on a per-account basis in the pconfig table.
-               'groupedit_image_limit' => 400,
+               'circle_edit_image_limit' => 400,
 
                // gserver_update_limit (Integer)
                // How many servers should be checked at a time?
@@ -333,6 +337,14 @@ return [
                // Resolve IPV4 addresses only. Don't resolve to IPV6.
                'ipv4_resolve' => false,
 
+               // ini_max_execution_time (False|Integer)
+               // Set the number of seconds a script is allowed to run. Default unlimited for Friendica, false to use the system value.
+               'ini_max_execution_time' => 0,
+
+               // ini_pcre_backtrack_limit (False|Integer)
+               // This has to be quite large to deal with embedded private photos. False to use the system value.
+               'ini_pcre_backtrack_limit' => 500000,
+
                // invitation_only (Boolean)
                // If set true registration is only possible after a current member of the node has sent an invitation.
                'invitation_only' => false,
@@ -508,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)
@@ -516,7 +528,7 @@ return [
                'profiler' => false,
 
                // pushpoll_frequency (Integer)
-               // Frequency of contact poll for subhub contact using the DFRM or OStatus network.
+               // Frequency of contact poll for subhub contact using the DFRN or OStatus network.
                // Available values:
                // - 5 = every month
                // - 4 = every week
@@ -527,11 +539,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)
@@ -546,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',
@@ -617,7 +633,7 @@ return [
                'throttle_limit_month' => 0,
 
                // transmit_pending_events (Boolean)
-               // Transmit pending events upon accepted contact request for forums
+               // Transmit pending events upon accepted contact request for groups
                'transmit_pending_events' => false,
 
                // update_active_contacts (Boolean)
@@ -765,4 +781,40 @@ return [
                // By default the template cache is stored in several subdirectories.
                'use_sub_dirs' => true,
        ],
+       'api' => [
+               // mastodon_banner (String)
+               // 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' => [
+               // 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,
+       ],
 ];