mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +02:00
Several settings can now be reached via the site settings
This commit is contained in:
parent
de807e6378
commit
46b1b66dbf
6 changed files with 286 additions and 234 deletions
|
@ -93,10 +93,6 @@ return [
|
|||
'php_path' => 'php',
|
||||
],
|
||||
'system' => [
|
||||
// adjust_poll_frequency (Boolean)
|
||||
// Automatically detect and set the best feed poll frequency.
|
||||
'adjust_poll_frequency' => false,
|
||||
|
||||
// allowed_link_protocols (Array)
|
||||
// Allowed protocols in links URLs, add at your own risk. http(s) is always allowed.
|
||||
'allowed_link_protocols' => ['ftp://', 'ftps://', 'mailto:', 'cid:', 'gopher://'],
|
||||
|
@ -138,7 +134,7 @@ return [
|
|||
|
||||
// big_emojis (Boolean)
|
||||
// Display "Emoji Only" posts in big.
|
||||
'big_emojis' => false,
|
||||
'big_emojis' => true,
|
||||
|
||||
// bulk_delivery (Boolean)
|
||||
// Delivers AP messages in a bulk (experimental)
|
||||
|
@ -168,10 +164,6 @@ return [
|
|||
// Whether to use Memcache, Memcached, Redis or APCu to store temporary cache.
|
||||
'cache_driver' => 'database',
|
||||
|
||||
// decoupled_receiver (Boolean)
|
||||
// Decouple incoming AP posts by doing the processing in the background.
|
||||
'decoupled_receiver' => false,
|
||||
|
||||
// distributed_cache_driver (database|memcache|memcached|redis)
|
||||
// Whether to use database, Memcache, Memcached or Redis as a distributed cache.
|
||||
'distributed_cache_driver' => 'database',
|
||||
|
@ -184,10 +176,6 @@ return [
|
|||
// Allow to switch the configuration adapter to improve performances at the cost of memory consumption.
|
||||
'config_adapter' => 'jit',
|
||||
|
||||
// curl_range_bytes (Integer)
|
||||
// Maximum number of bytes that should be fetched. Default is 0, which mean "no limit".
|
||||
'curl_range_bytes' => 0,
|
||||
|
||||
// crawl_permit_period (Integer)
|
||||
// Period in seconds between allowed searches when the number of free searches is reached and "permit_crawling" is activated.
|
||||
'crawl_permit_period' => 60,
|
||||
|
@ -372,13 +360,9 @@ return [
|
|||
// Used in conjunction with "block_public".
|
||||
'local_block' => false,
|
||||
|
||||
// local_search (Boolean)
|
||||
// Blocks search for users who are not logged in to prevent crawlers from blocking your system.
|
||||
'local_search' => false,
|
||||
|
||||
// local_tags (Boolean)
|
||||
// If activated, all hashtags will point to the local server.
|
||||
'local_tags' => false,
|
||||
'local_tags' => true,
|
||||
|
||||
// lock_driver (semaphore|database|memcache|memcached|redis|apcu)
|
||||
// Whether to use semaphores, the database, Memcache, Memcached, Redis or APCu to handle locks.
|
||||
|
@ -636,10 +620,6 @@ return [
|
|||
// Transmit pending events upon accepted contact request for groups
|
||||
'transmit_pending_events' => false,
|
||||
|
||||
// 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,
|
||||
|
||||
// username_min_length (Integer)
|
||||
// The minimum character length a username can be.
|
||||
// This length is checked once the username has been trimmed and multiple spaces have been collapsed into one.
|
||||
|
@ -677,10 +657,6 @@ return [
|
|||
// List of minutes for the jobs per minute (JPM) calculation
|
||||
'worker_jpm_range' => '1, 10, 60',
|
||||
|
||||
// worker_load_cooldown (Integer)
|
||||
// Maximum load that causes a cooldown before each worker function call.
|
||||
'worker_load_cooldown' => 0,
|
||||
|
||||
// worker_load_exponent (Integer)
|
||||
// Default 3, which allows only 25% of the maximum worker queues when server load reaches around 37% of maximum load.
|
||||
// For a linear response where 25% of worker queues are allowed at 75% of maximum load, set this to 1.
|
||||
|
|
|
@ -56,6 +56,10 @@ return [
|
|||
// 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,vier',
|
||||
|
@ -96,6 +100,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.
|
||||
|
@ -127,6 +135,10 @@ return [
|
|||
// 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
|
||||
|
@ -208,6 +220,10 @@ 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.
|
||||
|
@ -220,6 +236,10 @@ return [
|
|||
// 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_load_cooldown (Integer)
|
||||
// Maximum load that causes a cooldown before each worker function call.
|
||||
'worker_load_cooldown' => 0,
|
||||
],
|
||||
|
||||
// Used in the admin settings to lock certain features
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue