3 * @copyright Copyright (C) 2010-2023, the Friendica project
5 * @license GNU AGPL version 3 or any later version
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as
9 * published by the Free Software Foundation, either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Affero General Public License for more details.
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 * This file declares the default values for the base config of Friendica.
22 * These configuration values aren't accessible from the admin settings page and custom values must be set in config/local.config.php
24 * Please don't edit this file directly as its content may change in the upcoming versions.
31 // Hostname or IP address of the database server.
32 // Can contain the port number with the syntax "hostname:port".
36 // Port of the database server.
37 // Can be used instead of adding a port number to the hostname
41 // Socket of the database server.
42 // Can be used instead of adding a socket location to the hostname
46 // Database username. Please don't use "root".
50 // Database user password. Please don't use empty passwords.
58 // Database connection charset. Changing this value will likely corrupt special characters.
59 'charset' => 'utf8mb4',
61 // pdo_emulate_prepares (Boolean)
62 // If enabled, the builtin emulation for prepared statements is used.
63 // This can be used as a workaround for the database error "Prepared statement needs to be re-prepared".
64 'pdo_emulate_prepares' => true,
66 // disable_pdo (Boolean)
67 // PDO is used by default (if available). Otherwise, MySQLi will be used.
68 'disable_pdo' => false,
70 // persistent (Boolean)
71 // This controls if the system should use persistent connections or not.
72 // Persistent connections increase the performance.
73 // On the other hand the number of open connections are higher,
74 // this will most likely increase the system load.
75 'persistent' => false,
78 // admin_email (Comma-separated list)
79 // In order to perform system administration via the admin panel,
80 // this must precisely match the email address of the person logged in.
83 // admin_nickname (String)
84 // Nickname of the main admin user, used if there are more than one admin user defined in config => admin_email.
85 'admin_nickname' => '',
87 // max_import_size (Integer)
88 // Maximum body size of DFRN and Mail messages in characters. 0 is unlimited.
89 'max_import_size' => 200000,
92 // Location of PHP command line processor.
96 // allowed_link_protocols (Array)
97 // Allowed protocols in links URLs, add at your own risk. http(s) is always allowed.
98 'allowed_link_protocols' => ['ftp://', 'ftps://', 'mailto:', 'cid:', 'gopher://'],
100 // always_show_preview (Boolean)
101 // Only show small preview pictures.
102 'always_show_preview' => false,
104 // ap_always_bcc (Boolean)
105 // Addresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
106 'ap_always_bcc' => false,
108 // archival_days (Integer)
109 // Number of days that we try to deliver content before we archive a contact.
110 'archival_days' => 32,
112 // auth_cookie_lifetime (Integer)
113 // Number of days that should pass without any activity before a user who
114 // chose "Remember me" when logging in is considered logged out.
115 'auth_cookie_lifetime' => 7,
117 // avatar_cache (Boolean)
118 // Cache avatar pictures as files (experimental)
119 'avatar_cache' => false,
121 // avatar_cache_path (String)
122 // File path to the avatar cache. Default is /(your basepath)/avatar/
123 // The value has to be an absolute path and has to end with a "/"
124 'avatar_cache_path' => '',
126 // avatar_cache_url (String)
127 // Base URL of the avatar cache. Default is http(s)://(your hostname)/avatar/
128 // The value has to start with the scheme and end with a "/"
129 'avatar_cache_url' => '',
131 // basicauth (Boolean)
132 // Controls if login via BasicAuth is possible (default is true)
135 // big_emojis (Boolean)
136 // Display "Emoji Only" posts in big.
137 'big_emojis' => true,
139 // bulk_delivery (Boolean)
140 // Delivers AP messages in a bulk (experimental)
141 'bulk_delivery' => false,
143 // block_local_dir (Boolean)
144 // Deny public access to the local user directory.
145 'block_local_dir' => false,
147 // blocked_tags (String)
148 // Comma separated list of hashtags that shouldn't be displayed in the trending tags
149 'blocked_tags' => '',
151 // community_no_sharer (Boolean)
152 // Don't display sharing accounts on the global community
153 'community_no_sharer' => false,
155 // contact_update_limit (Integer)
156 // How many contacts should be checked at a time?
157 'contact_update_limit' => 100,
159 // cron_interval (Integer)
160 // Minimal period in minutes between two calls of the "Cron" worker job.
161 'cron_interval' => 5,
163 // cache_driver (database|memcache|memcached|redis|apcu)
164 // Whether to use Memcache, Memcached, Redis or APCu to store temporary cache.
165 'cache_driver' => 'database',
167 // distributed_cache_driver (database|memcache|memcached|redis)
168 // Whether to use database, Memcache, Memcached or Redis as a distributed cache.
169 'distributed_cache_driver' => 'database',
171 // fetch_parents (Boolean)
172 // Fetch missing parent posts
173 'fetch_parents' => true,
175 // config_adapter (jit|preload)
176 // Allow to switch the configuration adapter to improve performances at the cost of memory consumption.
177 'config_adapter' => 'jit',
179 // crawl_permit_period (Integer)
180 // Period in seconds between allowed searches when the number of free searches is reached and "permit_crawling" is activated.
181 'crawl_permit_period' => 60,
184 // Name of a logfile to log slow database queries.
187 // db_log_index (Path)
188 // Name of a logfile to log queries with bad indexes.
189 'db_log_index' => '',
191 // db_log_index_watch (Comma-separated list)
192 // Watchlist of indexes to watch.
193 'db_log_index_watch' => '',
195 // db_log_index_denylist (Comma-separated list)
196 // Deny list of indexes that shouldn't be watched.
197 'db_log_index_denylist' => '',
199 // db_loglimit (Integer)
200 // If a database call lasts longer than this value in seconds it is logged.
201 // Inactive if system => db_log is empty.
204 // db_loglimit_index (Integer)
205 // Number of index rows needed to be logged for indexes on the watchlist. 0 to disable.
206 'db_loglimit_index' => 0,
208 // db_loglimit_index_high (Integer)
209 // Number of index rows to be logged anyway (for any index). 0 to disable.
210 'db_loglimit_index_high' => 0,
212 // dbclean_expire_conversation (Integer)
213 // When DBClean is enabled, any entry in the conversation table will be deleted after this many days.
214 // This data is used for ActivityPub, so it shouldn't be lower than the average duration of a discussion.
215 'dbclean_expire_conversation' => 90,
217 // dbclean-expire-limit (Integer)
218 // This defines the number of items that are to be deleted in a single call.
219 // Reduce this value when you are getting lock issues.
220 // A value of 0 disables the deletion process.
221 'dbclean-expire-limit' => 1000,
223 // daemon_watchdog (Boolean)
224 // Enable regular checking if the daemon is running.
225 // If it is not running and hadn't been terminated normally, it will be started automatically.
226 'daemon_watchdog' => false,
228 // delete_sleeping_processes (Boolean)
229 // Periodically delete waiting database processes.
230 'delete_sleeping_processes' => false,
232 // delete-blocked-servers (Boolean)
233 // Delete blocked servers if there are no foreign key violations.
234 'delete-blocked-servers' => false,
236 // dice_profiler_threshold (Float)
237 // For profiling Dice class creation (0 = disabled, >0 = seconds threshold for profiling)
238 'dice_profiler_threshold' => 0.5,
240 // diaspora_test (Boolean)
241 // For development only. Disables the message transfer.
242 'diaspora_test' => false,
244 // disable_email_validation (Boolean)
245 // Disables the check if a mail address is in a valid format and can be resolved via DNS.
246 'disable_email_validation' => false,
248 // disable_implicit_mentions (Boolean) since 2019.03
249 // Implicit mentions are mentions in the body of replies that are redundant in a thread-enabled system like Friendica.
250 // This config key disables the gathering of implicit mentions in incoming and outgoing posts.
251 // Also disables the default automatic removal of implicit mentions from the body of incoming posts.
252 // Also disables the default automatic addition of implicit mentions in the body of outgoing posts.
253 // Disabling implicit mentions also affects the "explicit_mentions" additional feature by limiting it
254 // to the replied-to post author mention in the comment boxes.
255 'disable_implicit_mentions' => false,
257 // disable_url_validation (Boolean)
258 // Disables the DNS lookup of a URL.
259 'disable_url_validation' => false,
261 // disable_password_exposed (Boolean)
262 // Disable the exposition check against the remote haveibeenpwned API on password change.
263 'disable_password_exposed' => false,
265 // disable_polling (Boolean)
266 // Disable the polling of DFRN and OStatus contacts through onepoll.php.
267 'disable_polling' => false,
269 // display_resharer (Boolean)
270 // Display the first resharer as icon and text on a reshared item.
271 'display_resharer' => false,
274 // location of the developer log file.
278 // restricts develop log writes to requests originating from this IP address.
281 // legacy_activities (Boolean)
282 // Display received activities (like, dislike, reshare) as detailed list
283 'legacy_activities' => true,
285 // expire-notify-priority (integer)
286 // Priority for the expiry notification
287 'expire-notify-priority' => Friendica\Core\Worker::PRIORITY_LOW,
289 // fetch_featured_posts (Boolean)
290 // Fetch featured posts from all contacts
291 'fetch_featured_posts' => false,
293 // free_crawls (Integer)
294 // Number of "free" searches when system => permit_crawling is enabled.
297 // circle_edit_image_limit (Integer)
298 // Number of contacts at which the circle editor should switch from display the profile pictures of the contacts to only display the names.
299 // This can alternatively be set on a per-account basis in the pconfig table.
300 'circle_edit_image_limit' => 400,
302 // gserver_update_limit (Integer)
303 // How many servers should be checked at a time?
304 'gserver_update_limit' => 100,
307 // Enables the sending of HTTP Strict Transport Security headers.
310 // ignore_cache (Boolean)
311 // For development only. Disables the item cache.
312 'ignore_cache' => false,
314 // insecure_imap (Boolean)
315 // If enabled, users are allowed to connect to their IMAP servers unencrypted.
316 // For security reasons this is disabled by default.
317 'insecure_imap' => false,
319 // instances_social_key (String)
320 // Key to the API of https://instances.social which retrieves data about mastodon servers.
321 // See https://instances.social/api/token to get an API key.
322 'instances_social_key' => '',
324 // ipv4_resolve (Boolean)
325 // Resolve IPV4 addresses only. Don't resolve to IPV6.
326 'ipv4_resolve' => false,
328 // ini_max_execution_time (False|Integer)
329 // Set the number of seconds a script is allowed to run. Default unlimited for Friendica, false to use the system value.
330 'ini_max_execution_time' => 0,
332 // ini_pcre_backtrack_limit (False|Integer)
333 // This has to be quite large to deal with embedded private photos. False to use the system value.
334 'ini_pcre_backtrack_limit' => 500000,
336 // invitation_only (Boolean)
337 // If set true registration is only possible after a current member of the node has sent an invitation.
338 'invitation_only' => false,
340 // itemspage_network (Integer)
341 // default number of items per page in stream pages (network, community, profile/contact statuses, search)
342 'itemspage_network' => 40,
344 // itemspage_network_mobile (Integer)
345 // default number of items per page in stream pages (network, community, profile/contact statuses, search)
346 // on detected mobile devices
347 'itemspage_network_mobile' => 20,
349 // jpeg_quality (Integer)
351 // Lower numbers save space at cost of image detail
352 // where n is between 1 and 100, and with very poor results below about 50
353 'jpeg_quality' => 100,
355 // like_no_comment (Boolean)
356 // Don't update the "commented" value of an item when it is liked.
357 'like_no_comment' => false,
359 // local_block (Boolean)
360 // Used in conjunction with "block_public".
361 'local_block' => false,
363 // local_tags (Boolean)
364 // If activated, all hashtags will point to the local server.
365 'local_tags' => true,
367 // lock_driver (semaphore|database|memcache|memcached|redis|apcu)
368 // Whether to use semaphores, the database, Memcache, Memcached, Redis or APCu to handle locks.
369 // Default is auto detection which tries semaphores first, then falls back to the cache driver.
372 // logger_config (String)
373 // Sets the logging adapter of Friendica globally (monolog, syslog, stream)
374 'logger_config' => 'stream',
376 // syslog flags (Integer)
377 // Sets the syslog flags in case 'logger_config' is set to 'syslog'
378 'syslog_flags' => LOG_CONS | LOG_PID | LOG_ODELAY,
380 // syslog flags (Integer)
381 // Sets the syslog facility in case 'logger_config' is set to 'syslog'
382 'syslog_facility' => LOG_USER,
384 // maintenance_start (String)
385 // Start of the window for the daily maintenance cron call.
386 // The system timezone is used when no timezone is defined here.
387 'maintenance_start' => '01:00 +00:00',
389 // maintenance_end (String)
390 // End of the window for the daily maintenance cron call
391 // The system timezone is used when no timezone is defined here.
392 'maintenance_end' => '03:00 +00:00',
394 // max_batch_queue (Integer)
395 // Maximum number of batched queue items for a single contact before subsequent messages are discarded.
396 'max_batch_queue' => 1000,
398 // max_connections (Integer)
399 // The maximum number of database connections which can be in use before the worker process is deferred to its next interval.
400 // When the system can't detect the maximum numbers of connection then this value can be used. Use 0 for auto-detection.
401 'max_connections' => 0,
403 // max_connections_level (Integer 0-100)
404 // The maximum percentage of connections that are allowed to let the worker start.
405 'max_connections_level' => 75,
407 // max_contact_queue (Integer)
408 // Maximum number of queue items for a single contact before subsequent messages are discarded.
409 'max_contact_queue' => 500,
411 // max_csv_file_size (Integer)
412 // When uploading a CSV with account addresses to follow
413 // in the user settings, this controls the maximum file
414 // size of the upload file.
415 'max_csv_file_size' => 30720,
417 // max_feed_items (Integer)
418 // Maximum number of feed items that are fetched and processed. For unlimited items set to 0.
419 'max_feed_items' => 20,
421 // max_image_length (Integer)
422 // An alternate way of limiting picture upload sizes.
423 // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
424 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
425 // If you don't want to set a maximum length, set to -1.
426 'max_image_length' => -1,
428 // max_likers (Integer)
429 // Maximum number of "people who like (or don't like) this" that we will list by name
432 // max_processes_backend (Integer)
433 // Maximum number of concurrent database processes for background tasks.
434 'max_processes_backend' => 5,
436 // max_processes_frontend (Integer)
437 // Maximum number of concurrent database processes for foreground tasks.
438 'max_processes_frontend' => 20,
440 // max_recursion_depth (Integer)
441 // Maximum recursion depth when fetching posts until the job is delegated to a worker task or finished.
442 'max_recursion_depth' => 50,
444 // maximagesize (Integer)
445 // Maximum size in bytes of an uploaded photo.
446 'maximagesize' => 800000,
448 // memcache_host (String)
449 // Host name of the memcache daemon.
450 'memcache_host' => '127.0.0.1',
452 // memcache_port (Integer)
453 // Port number of the memcache daemon.
454 'memcache_port' => 11211,
456 // memcached_hosts (Array)
457 // Array of Memcached servers info [host, port(, weight)], see Memcached::addServers.
458 'memcached_hosts' => [
459 ['127.0.0.1', '11211'],
462 // min_poll_interval (Integer)
463 // minimal distance in minutes between two polls for a contact. Reasonable values are between 1 and 59.
464 'min_poll_interval' => 15,
466 // minimum_posting_interval (Integer)
467 // Minimum interval between two feed posts per user
468 'minimum_posting_interval' => 0,
470 // no_count (Boolean)
471 // Don't do count calculations (currently only when showing photo albums).
474 // no_oembed (Boolean)
475 // Don't use OEmbed to fetch more information about a link.
476 'no_oembed' => false,
478 // no_redirect_list (Array)
479 // List of domains where HTTP redirects should be ignored.
480 'no_redirect_list' => [],
482 // no_smilies (Boolean)
483 // Don't show smilies.
484 'no_smilies' => false,
486 // optimize_all_tables (Boolean)
487 // Optimizes all tables instead of only tables like workerqueue or the cache
488 'optimize_all_tables' => false,
490 // paranoia (Boolean)
491 // Log out users if their IP address changed.
494 // permit_crawling (Boolean)
495 // Restricts the search for not logged-in users to one search per minute.
496 'permit_crawling' => false,
499 // Daemon pid file path. For example: pidfile = /path/to/daemon.pid
502 // png_quality (Integer)
503 // Sets the ImageMagick compression level for PNG images. Values range from 0 (uncompressed) to 9 (most compressed).
506 // process_view (Boolean)
507 // Process the "View" activity that is used by Peertube.
508 'process_view' => false,
510 // profiler (Boolean)
511 // Enable internal timings to help optimize code. Needed for "rendertime" addon.
514 // pushpoll_frequency (Integer)
515 // Frequency of contact poll for subhub contact using the DFRN or OStatus network.
522 // - 0 = every minute
523 'pushpoll_frequency' => 3,
525 // redis_host (String)
526 // Host name or the path to the Unix domain socket of the Redis daemon.
527 'redis_host' => '127.0.0.1',
529 // redis_port (Integer)
530 // Port number of the Redis daemon, should be -1 for unix domain socket
531 'redis_port' => 6379,
533 // redis_db (Integer)
534 // The sub-database of redis (0 - 15 possible sub-databases)
537 // redis_password (String)
538 // The authentication password for the redis database
539 'redis_password' => null,
541 // redistribute_activities (Boolean)
542 // Redistribute incoming activities via ActivityPub
543 'redistribute_activities' => true,
545 // relay_deny_undetected_language (Boolean)
546 // Deny undetected languages
547 'relay_deny_undetected_language' => false,
549 // relay_language_quality (Float)
550 // Minimum value for the language detection quality for relay posts. The value must be between 0 and 1.
551 'relay_language_quality' => 0,
553 // relay_languages (Integer)
554 // Number of languages that are used per post to check for acceptable posts.
555 'relay_languages' => 10,
557 // session_handler (database|cache|native)
558 // Whether to use Cache to store session data or to use PHP native session storage.
559 'session_handler' => 'database',
561 // remote_avatar_lookup (Boolean)
562 // Perform an avatar lookup via the activated services for remote contacts
563 'remote_avatar_lookup' => false,
565 // remove_multiplicated_lines (Boolean)
566 // If enabled, multiple linefeeds in items are stripped to a single one.
567 'remove_multiplicated_lines' => false,
569 // runtime_ignore (Array)
570 // List of ignored commands for the runtime logging.
571 'runtime_ignore' => [],
573 // runtime_loglimit (Integer)
574 // The runtime is logged, When the program execution time is higher than this value.
575 'runtime_loglimit' => 0,
577 // sendmail_params (Boolean)
578 // Normal sendmail command parameters will be added when the PHP mail() function is called for sending e-mails.
579 // This ensures the Sender Email address setting is applied to the message envelope rather than the host's default address.
580 // Set to false if your non-sendmail agent is incompatible, or to restore old behavior of using the host address.
581 'sendmail_params' => true,
583 // set_creation_date (Boolean)
584 // When enabled, the user can enter a creation date when composing a post.
585 'set_creation_date' => false,
587 // show_global_community_hint (Boolean)
588 // When the global community page is enabled, use this option to display a hint above the stream, that this is a collection of all public top-level postings that arrive at your node.
589 'show_global_community_hint' => false,
591 // show_received (Boolean)
592 // Show the received date along with the post creation date
593 'show_received' => true,
595 // show_received_seconds (Integer)
596 // Display the received date when the difference between received and created is higher than this.
597 'show_received_seconds' => 500,
599 // show_unsupported_addons (Boolean)
600 // Show all addons including the unsupported ones.
601 'show_unsupported_addons' => false,
603 // show_unsupported_themes (Boolean)
604 // Show all themes including the unsupported ones.
605 'show_unsupported_themes' => false,
607 // throttle_limit_day (Integer)
608 // Maximum number of posts that a user can send per day with the API. 0 to disable daily throttling.
609 'throttle_limit_day' => 0,
611 // throttle_limit_week (Integer)
612 // Maximum number of posts that a user can send per week with the API. 0 to disable weekly throttling.
613 'throttle_limit_week' => 0,
615 // throttle_limit_month (Integer)
616 // Maximum number of posts that a user can send per month with the API. 0 to disable monthly throttling.
617 'throttle_limit_month' => 0,
619 // transmit_pending_events (Boolean)
620 // Transmit pending events upon accepted contact request for groups
621 'transmit_pending_events' => false,
623 // username_min_length (Integer)
624 // The minimum character length a username can be.
625 // This length is checked once the username has been trimmed and multiple spaces have been collapsed into one.
626 // Minimum for this config value is 1. Maximum is 64 as the resulting profile URL mustn't be longer than 255 chars.
627 'username_min_length' => 3,
629 // username_max_length (Integer)
630 // The maximum character length a username can be.
631 // This length is checked once the username has been trimmed and multiple spaces have been collapsed into one.
632 // Minimum for this config value is 1. Maximum is 64 as the resulting profile URL mustn't be longer than 255 chars.
633 'username_max_length' => 48,
635 // worker_cooldown (Float)
636 // Cooldown period in seconds before each worker function call.
637 'worker_cooldown' => 0,
639 // worker_debug (Boolean)
640 // If enabled, it prints out the number of running processes split by priority.
641 'worker_debug' => false,
643 // worker_fetch_limit (Integer)
644 // Number of worker tasks that are fetched in a single query.
645 'worker_fetch_limit' => 1,
647 // worker_fork (Boolean)
648 // Experimental setting. Use pcntl_fork to spawn a new worker process.
649 // Does not work when "worker_multiple_fetch" is enabled (Needs more testing)
650 'worker_fork' => false,
652 // worker_jpm (Boolean)
653 // If enabled, it prints out the jobs per minute.
654 'worker_jpm' => false,
656 // worker_jpm_range (String)
657 // List of minutes for the jobs per minute (JPM) calculation
658 'worker_jpm_range' => '1, 10, 60',
660 // worker_load_exponent (Integer)
661 // Default 3, which allows only 25% of the maximum worker queues when server load reaches around 37% of maximum load.
662 // For a linear response where 25% of worker queues are allowed at 75% of maximum load, set this to 1.
663 // Setting 0 would allow maximum worker queues at all times, which is not recommended.
664 'worker_load_exponent' => 3,
666 // worker_max_duration (Array)
667 // Maximum runtime per priority. Worker processes that exceed this runtime will be terminated.
668 'worker_max_duration' => [
669 Friendica\Core\Worker::PRIORITY_CRITICAL => 720,
670 Friendica\Core\Worker::PRIORITY_HIGH => 10,
671 Friendica\Core\Worker::PRIORITY_MEDIUM => 60,
672 Friendica\Core\Worker::PRIORITY_LOW => 180,
673 Friendica\Core\Worker::PRIORITY_NEGLIGIBLE => 720
676 // worker_processes_cooldown (Integer)
677 // Maximum number per processes that causes a cooldown before each worker function call.
678 'worker_processes_cooldown' => 0,
680 // worker_multiple_fetch (Boolean)
681 // When activated, the worker fetches jobs for multiple workers (not only for itself).
682 // This is an experimental setting without knowing the performance impact.
683 // Does not work when "worker_fork" is enabled (Needs more testing)
684 'worker_multiple_fetch' => false,
686 // worker_defer_limit (Integer)
687 // Per default the systems tries delivering for 15 times before dropping it.
688 'worker_defer_limit' => 15,
690 // xrd_timeout (Integer)
691 // Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout
695 // forwarded_for_headers (String)
696 // A comma separated list of all allowed header values to retrieve the real client IP
697 // The headers are evaluated in order.
698 'forwarded_for_headers' => 'HTTP_X_FORWARDED_FOR',
700 // trusted_proxies (String)
701 // A comma separated list of all trusted proxies, which will get skipped during client IP retrieval
702 // IP ranges and CIDR notations are allowed
703 'trusted_proxies' => '',
706 // exp_themes (Boolean)
707 // Show experimental themes in user settings.
708 'exp_themes' => false,
711 // hide_eventlist (Boolean)
712 // Don't show the birthdays and events on the profile and network page.
713 'hide_eventlist' => false,
717 // Enable debug level for the jabber account synchronisation.
720 // Must be writable by the ejabberd process. if set then it will prevent the running of multiple processes.
724 // native_photos (Boolean)
725 // If enabled, photos to Diaspora will be transmitted via the "photo" element instead of embedding them to the body.
726 // This is some visual improvement over the embedding but comes with the cost of losing accessibility.
727 // Is is disabled by default until Diaspora eventually will work on issue https://github.com/diaspora/diaspora/issues/8297
728 'native_photos' => false,
731 // ap_inbox_log (Boolean)
732 // Logs every call to /inbox as a JSON file in Friendica's temporary directory
733 'ap_inbox_log' => false,
735 // ap_inbox_store_untrusted (Boolean)
736 // Store untrusted content in the inbox entries
737 'ap_inbox_store_untrusted' => false,
739 // ap_log_unknown (Boolean)
740 // Logs every unknown ActivityPub activity
741 'ap_log_unknown' => false,
743 // ap_log_failure (Boolean)
744 // Logs every ActivityPub activity that couldn't be compacted
745 'ap_log_failure' => false,
747 // store_source (Boolean)
748 // Store the source of any post that arrived
749 'store_source' => false,
752 // config_dir (String)
753 // Base working directory for the templating engine, must be writeable by the webserver user
754 'config_dir' => 'view/smarty3',
756 // use_sub_dirs (Boolean)
757 // By default the template cache is stored in several subdirectories.
758 'use_sub_dirs' => true,
761 // mastodon_banner (String)
762 // Default banner image for Mastodon API, must be a relative path from the base Friendica folder
764 // Default picture credits:
765 // Author: Lostinlight <https://mastodon.xyz/@lightone>
766 // License: CC0 https://creativecommons.org/share-your-work/public-domain/cc0/
767 // Link to original work: https://gitlab.com/lostinlight/per_aspera_ad_astra/-/blob/master/friendica-404/friendica-promo-bubbles.jpg
768 'mastodon_banner' => '/images/friendica-banner.jpg',
772 // Wether the blocklist is publicly listed under /about (or in any later API)
776 // engagement_hours (Integer)
777 // Maximum age of incoming posts for the engagement table, when the engagement post limit is 0 or hasn't been reached yet.
778 'engagement_hours' => 24,
780 // engagement_post_limit (Integer)
781 // NUmber of posts that are held in the engagement table
782 'engagement_post_limit' => 20000,
784 // interaction_score_days (Integer)
785 // Number of days that are used to calculate the interaction score.
786 'interaction_score_days' => 30,
788 // max_posts_per_author (Integer)
789 // Maixmum number of posts per page by author
790 'max_posts_per_author' => 2,
792 // sharer_interaction_days (Integer)
793 // Number of days of the last interaction that are used to define which sharers are used for the "sharers of sharers" channel.
794 'sharer_interaction_days' => 90,