]> git.mxchange.org Git - friendica.git/blobdiff - static/settings.config.php
Some more settings moved to the admin frontend
[friendica.git] / static / settings.config.php
index c1c7e7bc8879e5a767bb64107d6bac8e9b31c4b9..3c577bf2b7d77ca8386093c9ebe10be83969a9ae 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -48,21 +48,37 @@ return [
        ],
        'system' => [
                // account_abandon_days (Integer)
-               // Will not waste system resources polling external sites for abandonded accounts.
+               // Will not waste system resources polling external sites for abandoned accounts.
                // Enter 0 for no time limit.
                'account_abandon_days' => 0,
 
-               // addon (Comma-separated list)
-               // Manual list of addons which are enabled on this system.
-               'addon' => '',
-
                // add_missing_posts (boolean)
                // Checks for missing entries in "post", "post-thread" or "post-thread-user" and creates them
                'add_missing_posts' => false,
 
+               // adjust_poll_frequency (Boolean)
+               // Automatically detect and set the best feed poll frequency.
+               'adjust_poll_frequency' => false,
+
                // allowed_themes (Comma-separated list)
                // Themes users can change to in their settings.
-               'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
+               'allowed_themes' => 'frio,vier',
+
+               // archival_days (Integer)
+               // Number of days that we try to deliver content before we archive a contact.
+               'archival_days' => 32,
+
+               // 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>',
+
+               // blocked_tags (String)
+               // Comma separated list of hashtags that shouldn't be displayed in the trending tags
+               'blocked_tags' => '',
+
+               // 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).
@@ -92,6 +108,10 @@ return [
                // Enable/Disable Debugging (logging)
                'debugging' => false,
 
+               // decoupled_receiver (Boolean)
+               // Decouple incoming AP posts by doing the processing in the background.
+               'decoupled_receiver' => false,
+
                // default_timezone (String)
                // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
                // It only applies to timestamps for anonymous viewers.
@@ -110,15 +130,23 @@ 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_circle_counts (Boolean)
+               // Compute contact circle level when counting unseen network posts.
+               'compute_circle_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,
 
                // language (String)
-               // System default languague, inluding admin-created user default language.
+               // System default language, including admin-created user default language.
                // Two-letters ISO 639-1 code.
                'language' => 'en',
 
+               // local_search (Boolean)
+               // Blocks search for users who are not logged in to prevent crawlers from blocking your system.
+               'local_search' => false,
+
                // logfile (String)
                // The logfile for storing logs.
                // Can be a full path or a relative path to the Friendica home directory
@@ -136,6 +164,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,29 +176,61 @@ 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,
 
+               // min_poll_interval (Integer)
+               // minimal distance in minutes between two polls for a contact. Reasonable values are between 1 and 59.
+               'min_poll_interval' => 15,
+
                // no_regfullname (Boolean)
-               // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
+               // Allow users to register with a display name comporting fewer than two parts separated by spaces.
                'no_regfullname' => true,
 
+               // no_oembed_rich_content (Boolean)
+               // If enabled, allow OEmbed for all URLs. Disabled by default.
+               'no_oembed_rich_content' => true,
+
                // optimize_tables (Boolean)
                // Periodically (once an hour) run an "optimize table" command for cache tables
                'optimize_tables' => false,
 
+               // process_view (Boolean)
+               // Process the "View" activity that is used by Peertube.
+               'process_view' => 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' => '',
 
-               // relay_server (String)
-               // Address of the relay server where public posts should be send to.
-               'relay_server' => 'https://social-relay.isurf.ca',
+               // relay_deny_undetected_language (Boolean)
+               // Deny undetected languages
+               'relay_deny_undetected_language' => false,
+
+               // relay_languages (Integer)
+               // Number of languages that are used per post to check for acceptable posts.
+               'relay_languages' => 10,
+
+               // 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,
+
+               // 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 (Relay::SCOPE_NONE, Relay::SCOPE_TAGS or Relay::SCOPE_ALL)
+               // Defines the scope of accepted posts from the relay servers
+               'relay_scope' => '',
 
                // relay_server_tags (String)
                // Comma separated list of tags for the "tags" subscription.
@@ -176,12 +240,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' => '',
@@ -190,13 +248,62 @@ return [
                // System theme name.
                'theme' => 'frio',
 
+               // update_active_contacts (Boolean)
+               // When activated, only public contacts will be activated regularly that are used for example in items or tags.
+               'update_active_contacts' => false,
+
                // url (String)
                // The fully-qualified URL of this Friendica node.
                // Used by the worker in a non-HTTP execution environment.
                'url' => '',
+
+               // poco_discovery (Boolean)
+               // If enabled, the system will check for the existance of other contacts and servers
+               'poco_discovery' => false,
+
+               // poco_requery_days (Integer)
+               // Number of days after which a server is requeried for their contacts and servers it knows of.
+               'poco_requery_days' => 30,
+
+               // worker_defer_limit (Integer)
+               // Per default the systems tries delivering for 15 times before dropping it.
+               'worker_defer_limit' => 15,
+
+               // worker_load_cooldown (Integer)
+               // Maximum load that causes a cooldown before each worker function call.
+               'worker_load_cooldown' => 0,
+       ],
+
+       '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,
        ],
 
        // 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',
+       ],
 ];