<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
// 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,
+
// allowed_themes (Comma-separated list)
// Themes users can change to in their settings.
- 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
+ 'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
+
+ // 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).
+ 'curl_timeout' => 60,
+
+ // dbclean (Boolean)
+ // Remove old remote items, orphaned database records and old content from some other helper tables.
+ 'dbclean' => false,
+
+ // dbclean-expire-days (Integer)
+ // When the database cleanup is enabled, this defines the days after which remote items will be deleted.
+ // Own items, and marked or filed items are always kept. 0 disables this behaviour.
+ 'dbclean-expire-days' => 0,
+
+ // dbclean-expire-unclaimed (Integer)
+ // When the database cleanup is enabled, this defines the days after which unclaimed remote items
+ // (mostly content from the relay) will be deleted. Default value is 90 days. Defaults to the general
+ // lifespan value of remote items if set to 0.
+ 'dbclean-expire-unclaimed' => 90,
+
+ // dbclean_expire_conversation (Integer)
+ // The conversation data is used for ActivityPub and OStatus, as well as for debug purposes.
+ // It should be safe to remove it after 14 days, default is 90 days.
+ 'dbclean_expire_conversation' => 90,
// debugging (boolean)
// Enable/Disable Debugging (logging)
// URL of the global directory.
'directory' => 'https://dir.friendica.social',
+ // explicit_content (Boolean)
+ // Set this to announce that your node is used mostly for explicit content that might not be suited for minors.
+ 'explicit_content' => false,
+
// forbidden_nicknames (Comma-separated list)
// Prevents users from registering the specified nicknames on this node.
// Default value comprises classic role names from RFC 2142.
// Maximum size in bytes of an uploaded photo.
'maximagesize' => 800000,
+ // maxloadavg (Integer)
+ // Maximum system load before delivery and poll processes are deferred.
+ 'maxloadavg' => 20,
+
+ // min_memory (Integer)
+ // Minimal free memory in MB for the worker. Needs access to /proc/meminfo - default 0 (deactivated).
+ 'min_memory' => 0,
+
// 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).
'no_regfullname' => true,
- // optimize_max_tablesize (Integer)
- // Maximum table size (in MB) for the automatic optimization.
- // -1 to disable automatic optimization.
- // 0 to use internal default (100MB)
- 'optimize_max_tablesize' => -1,
+ // optimize_tables (Boolean)
+ // Periodically (once an hour) run an "optimize table" command for cache tables
+ 'optimize_tables' => false,
- // maxloadavg (Integer)
- // Maximum system load before delivery and poll processes are deferred.
- 'maxloadavg' => 20,
+ // 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,
- // 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,
+ // 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.
+ 'relay_server_tags' => '',
+
+ // relay_user_tags (Boolean)
+ // 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,
// temppath (String)
// Custom temporary file directory
// theme (String)
// System theme name.
- 'theme' => 'vier',
+ 'theme' => 'frio',
// url (String)
// The fully-qualified URL of this Friendica node.
// Used by the worker in a non-HTTP execution environment.
'url' => '',
-
- // max_csv_file_size (Integer)
- // When uploading a CSV with account addresses to follow
- // in the user settings, this controls the maximum file
- // size of the upload file.
- 'max_csv_file_size' => 30720,
-
- // optimize_tables (Boolean)
- // Periodically (once an hour) run an "optimize table" command for cache tables
- 'optimize_tables' => false,
-
- // display_resharer (Boolean)
- // Display the first resharer as icon and text on a reshared item.
- 'display_resharer' => false,
],
// 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',
+ ],
];