// 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,
// 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?
'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 means disabled
+ // 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 means disabled
+ // 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)
'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)
'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)
// 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',
'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)
// 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,
+ ],
];