]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Use activitites and remove unused config
[friendica.git] / static / defaults.config.php
index 14e6d6f0ed0bc637616b7c7c10fde488999a2978..f73a3300a15f696d8b936458154b39df7857b8a3 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,
@@ -238,7 +242,7 @@ return [
                'delete_sleeping_processes' => false,
 
                // delete-blocked-servers (Boolean)
-               // Delete blocked servers if possible.
+               // Delete blocked servers if there are no foreign key violations.
                'delete-blocked-servers' => false,
 
                // dice_profiler_threshold (Float)
@@ -291,7 +295,7 @@ return [
                'emoji_activities' => false,
 
                // 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)
@@ -306,10 +310,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?
@@ -337,6 +341,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,
@@ -520,7 +532,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
@@ -531,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)
@@ -621,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)
@@ -769,4 +781,28 @@ 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' => [
+               // 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,
+       ],
 ];