]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Use full text search
[friendica.git] / static / defaults.config.php
index d0b8262ac76fbad76faa84d99c1f0439db2a5589..ceb60c41519b1957af7dd415c4e02c38e8ff17c4 100644 (file)
@@ -310,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?
@@ -543,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)
@@ -633,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)
@@ -781,4 +781,36 @@ 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)
+               // 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,
+       ],
 ];