]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Add smarty3 dirs config
[friendica.git] / static / defaults.config.php
index 619ac3c2bd388be5bb99ae3f1c166fda5499511e..70b0af78105b424816bfc3b9a9b5a70fd037fc86 100644 (file)
@@ -164,10 +164,18 @@ 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',
 
+               // fetch_parents (Boolean)
+               // Fetch missing parent posts
+               'fetch_parents' => true,
+
                // config_adapter (jit|preload)
                // Allow to switch the configuration adapter to improve performances at the cost of memory consumption.
                'config_adapter' => 'jit',
@@ -278,6 +286,14 @@ return [
                // Priority for the expirary notification 
                'expire-notify-priority' => PRIORITY_LOW,
 
+               // fetch_by_worker (Boolean)
+               // Fetch missing posts via a background process
+               'fetch_by_worker' => false,
+
+               // fetch_featured_posts (Boolean)
+               // Fetch featured posts from all contacts
+               'fetch_featured_posts' => false,
+
                // free_crawls (Integer)
                // Number of "free" searches when system => permit_crawling is enabled.
                'free_crawls' => 10,
@@ -416,6 +432,10 @@ return [
                // Maximum number of concurrent database processes for foreground tasks.
                'max_processes_frontend' => 20,
 
+               // max_recursion_depth (Integer)
+               // Maximum recursion depth when fetching posts until the job is delegated to a worker task or finished.
+               'max_recursion_depth' => 50,
+
                // maximagesize (Integer)
                // Maximum size in bytes of an uploaded photo.
                'maximagesize' => 800000,
@@ -632,6 +652,17 @@ return [
                // Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout
                'xrd_timeout' => 20,
        ],
+       'proxy' => [
+               // forwarded_for_headers (String)
+               // A comma separated list of all allowed header values to retrieve the real client IP
+               // The headers are evaluated in order.
+               'forwarded_for_headers' => 'HTTP_X_FORWARDED_FOR',
+
+               // trusted_proxies (String)
+               // A comma separated list of all trusted proxies, which will get skipped during client IP retrieval
+               // IP ranges and CIDR notations are allowed
+               'trusted_proxies' => '',
+       ],
        'experimental' => [
                // exp_themes (Boolean)
                // Show experimental themes in user settings.
@@ -655,8 +686,25 @@ return [
                // Logs every call to /inbox as a JSON file in Friendica's temporary directory
                'ap_inbox_log' => false,
 
+               // ap_inbox_store_untrusted (Boolean)
+               // Store untrusted content in the inbox entries
+               'ap_inbox_store_untrusted' => 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,
-       ]
+
+               // ap_log_unknown (Boolean)
+               // Logs every unknown ActivityPub activity
+               'ap_log_unknown' => false,
+
+               // ap_log_failure (Boolean)
+               // Logs every ActivityPub activity that couldn't be compacted
+               'ap_log_failure' => false,
+       ],
+       'smarty3' => [
+               // config_dir (String)
+               // Base working directory for the templating engine, must be writeable by the webserver user
+               'config_dir' => 'view/smarty3',
+       ],
 ];