X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdefaults.config.php;h=d0725aa9bcdb2418f498ef9b2dc7e4a919d31436;hb=2b41229a6ab8641e27c31326320d35079c3db2f4;hp=dcda564c2a14d1a33f1a7f1489905e5f4c96641b;hpb=e07a17daf64c4c7e9d457ea2b6c8fe2de8cbdc2d;p=friendica.git diff --git a/static/defaults.config.php b/static/defaults.config.php index dcda564c2a..d0725aa9bc 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -1,12 +1,28 @@ . + * + * This file declares the default values for the base config of Friendica. * * These configuration values aren't accessible from the admin settings page and custom values must be set in config/local.config.php * * Please don't edit this file directly as its content may change in the upcoming versions. + * */ return [ @@ -52,13 +68,17 @@ return [ ], 'system' => [ // allowed_link_protocols (Array) - // Allowed protocols in links URLs, add at your own risk. http is always allowed. - 'allowed_link_protocols' => ['ftp', 'ftps', 'mailto', 'cid', 'gopher'], + // Allowed protocols in links URLs, add at your own risk. http(s) is always allowed. + 'allowed_link_protocols' => ['ftp://', 'ftps://', 'mailto:', 'cid:', 'gopher://'], // always_show_preview (Boolean) // Only show small preview pictures. 'always_show_preview' => false, + // ap_always_bcc (Boolean) + // Adresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance. + 'ap_always_bcc' => false, + // archival_days (Integer) // Number of days that we try to deliver content before we archive a contact. 'archival_days' => 32, @@ -189,6 +209,11 @@ return [ // For development only. Disables the item cache. 'ignore_cache' => false, + // insecure_imap (Boolean) + // If enabled, users are allowed to connect to their IMAP servers unencrypted. + // For security reasons this is disabled by default. + 'insecure_imap' => false, + // instances_social_key (String) // Key to the API of https://instances.social which retrieves data about mastodon servers. // See https://instances.social/api/token to get an API key. @@ -202,6 +227,15 @@ return [ // If set true registration is only possible after a current member of the node has send an invitation. 'invitation_only' => false, + // itemspage_network (Integer) + // default number of items per page in stream pages (network, community, profile/contact statuses, search) + 'itemspage_network' => 40, + + // itemspage_network_mobile (Integer) + // default number of items per page in stream pages (network, community, profile/contact statuses, search) + // on detected mobile devices + 'itemspage_network_mobile' => 20, + // like_no_comment (Boolean) // Don't update the "commented" value of an item when it is liked. 'like_no_comment' => false, @@ -239,6 +273,10 @@ return [ // Maximum number of queue items for a single contact before subsequent messages are discarded. 'max_contact_queue' => 500, + // max_feed_items (Integer) + // Maximum number of feed items that are fetched and processed. For unlimited items set to 0. + 'max_feed_items' => 20, + // max_image_length (Integer) // An alternate way of limiting picture upload sizes. // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side). @@ -288,10 +326,6 @@ return [ // Don't show smilies. 'no_smilies' => false, - // no_view_full_size (Boolean) - // Don't add the link "View full size" under a resized image. - 'no_view_full_size' => false, - // optimize_items (Boolean) // Triggers an SQL command to optimize the item table before expiring items. 'optimize_items' => false, @@ -369,6 +403,14 @@ return [ // When the global community page is enabled, use this option to display a hint above the stream, that this is a collection of all public top-level postings that arrive on your node. 'show_global_community_hint' => false, + // show_received (Boolean) + // Show the receive data along with the post creation date + 'show_received' => true, + + // show_received_seconds (Integer) + // Display the received date when the difference between received and created is higher than this. + 'show_received_seconds' => 500, + // show_unsupported_addons (Boolean) // Show all addons including the unsupported ones. 'show_unsupported_addons' => false, @@ -458,6 +500,10 @@ return [ // Logs every call to /inbox as a JSON file in Friendica's temporary directory 'ap_inbox_log' => false, + // show_direction (Boolean) + // Display if a post had been fetched or had been pushed towards our server + 'show_direction' => false, + // total_ap_delivery (Boolean) // Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols 'total_ap_delivery' => false,