]> git.mxchange.org Git - friendica.git/blobdiff - static/settings.config.php
Reduce the amount of "UpdateContact" worker calls
[friendica.git] / static / settings.config.php
index e8c6d09f81eef735e58f6304b9c09c75d4b483f9..4cebd0955b0b147daa0a2ad9f82b4f38327c3ecf 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -62,7 +62,15 @@ return [
 
                // allowed_themes (Comma-separated list)
                // Themes users can change to in their settings.
-               'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
+               'allowed_themes' => 'frio,vier',
+
+               // banner (HTML string)
+               // HTML snippet of the top navigation banner. Not supported by frio.
+               'banner' => '<a href="https://friendi.ca"><img id="logo-img" width="32" height="32" src="images/friendica.svg" alt="logo" /></a><span id="logo-text"><a href="https://friendi.ca">Friendica</a></span>',
+
+               // cache_contact_avatar (Boolean)
+               // Cache versions of the contact avatars. Uses a lot of storage space
+               'cache_contact_avatar' => true,
 
                // curl_timeout (Integer)
                // Value is in seconds. Set to 0 for unlimited (not recommended).
@@ -110,6 +118,10 @@ return [
                // Default value comprises classic role names from RFC 2142.
                'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
 
+               // compute_group_counts (Boolean)
+               // Compute contact group level when counting unseen network posts.
+               'compute_group_counts' => true,
+
                // jpeg_quality (Integer)
                // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
                'jpeg_quality' => 100,
@@ -136,6 +148,10 @@ return [
                // If you don't want to set a maximum length, set to -1.
                'max_image_length' => -1,
 
+               // max_receivers (Integer)
+               // The maximum number of displayed receivers of posts
+               'max_receivers' => 10,
+
                // maximagesize (Integer)
                // Maximum size in bytes of an uploaded photo.
                'maximagesize' => 800000,
@@ -144,10 +160,6 @@ return [
                // Maximum system load before delivery and poll processes are deferred.
                'maxloadavg' => 20,
 
-               // maxloadavg_frontend (Integer)
-               // Maximum system load before the frontend quits service - default 50.
-               'maxloadavg_frontend' => 50,
-
                // min_memory (Integer)
                // Minimal free memory in MB for the worker. Needs access to /proc/meminfo - default 0 (deactivated).
                'min_memory' => 0,
@@ -160,17 +172,25 @@ return [
                // Periodically (once an hour) run an "optimize table" command for cache tables
                'optimize_tables' => false,
 
+               // register_notification (Boolean)
+               // Send a notification mail to the admin for each new registration.
+               'register_notification' => true,
+
                // relay_deny_tags (String)
                // Comma separated list of tags that are rejected.
                'relay_deny_tags' => '',
 
+               // proxify_content (Boolean)
+               // Use the proxy functionality for fetching external content
+               'proxify_content' => true,
+
                // relay_directly (Boolean)
                // Directly transmit content to relay subscribers without using a relay server
                'relay_directly' => false,
 
-               // relay_scope (SR_SCOPE_NONE, SR_SCOPE_TAGS or SR_SCOPE_ALL)
+               // relay_scope (Relay::SCOPE_NONE, Relay::SCOPE_TAGS or Relay::SCOPE_ALL)
                // Defines the scope of accepted posts from the relay servers
-               'relay_scope' => SR_SCOPE_NONE,
+               'relay_scope' => '',
 
                // relay_server_tags (String)
                // Comma separated list of tags for the "tags" subscription.
@@ -180,12 +200,6 @@ return [
                // If enabled, the tags from the saved searches will used for the "tags" subscription in addition to the "relay_server_tags".
                'relay_user_tags' => true,
 
-               // rino_encrypt (Integer)
-               // Server-to-server private message encryption (RINO).
-               // Encryption will only be provided if this setting is set to a non zero value on both servers.
-               // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
-               'rino_encrypt' => 2,
-
                // temppath (String)
                // Custom temporary file directory
                'temppath' => '',
@@ -203,4 +217,11 @@ return [
        // Used in the admin settings to lock certain features
        'featurelock' => [
        ],
+
+       // Storage backend configuration
+       'storage' => [
+               // name (String)
+               // The name of the current used backend (default is Database)
+               'name' => 'Database',
+       ],
 ];