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 admin settings of Friendica.
22 * These values will be overridden by the admin settings page.
24 * Please don't edit this file directly as its content may change in the upcoming versions.
31 // Plaintext description of this node, used in the /friendica module.
34 // register_policy (Constant)
35 // Your choices are OPEN, APPROVE, or CLOSED.
36 // Be certain to create your own personal account before setting CLOSED.
37 // APPROVE requires you set system.admin_email to the email address of an
38 // already registered person who can authorize and/or approve/deny the request.
39 'register_policy' => \Friendica\Module\Register::CLOSED,
41 // register_text (String)
42 // Will be displayed prominently on the registration page.
43 'register_text' => '',
46 // Displayed server name.
47 'sitename' => 'Friendica Social Network',
50 // account_abandon_days (Integer)
51 // Will not waste system resources polling external sites for abandoned accounts.
52 // Enter 0 for no time limit.
53 'account_abandon_days' => 0,
55 // add_missing_posts (boolean)
56 // Checks for missing entries in "post", "post-thread" or "post-thread-user" and creates them
57 'add_missing_posts' => false,
59 // adjust_poll_frequency (Boolean)
60 // Automatically detect and set the best feed poll frequency.
61 'adjust_poll_frequency' => false,
63 // allowed_themes (Comma-separated list)
64 // Themes users can change to in their settings.
65 'allowed_themes' => 'frio,vier',
67 // banner (HTML string)
68 // HTML snippet of the top navigation banner. Not supported by frio.
69 '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>',
71 // cache_contact_avatar (Boolean)
72 // Cache versions of the contact avatars. Uses a lot of storage space
73 'cache_contact_avatar' => true,
75 // curl_timeout (Integer)
76 // Value is in seconds. Set to 0 for unlimited (not recommended).
80 // Remove old remote items, orphaned database records and old content from some other helper tables.
83 // dbclean-expire-days (Integer)
84 // When the database cleanup is enabled, this defines the days after which remote items will be deleted.
85 // Own items, and marked or filed items are always kept. 0 disables this behaviour.
86 'dbclean-expire-days' => 0,
88 // dbclean-expire-unclaimed (Integer)
89 // When the database cleanup is enabled, this defines the days after which unclaimed remote items
90 // (mostly content from the relay) will be deleted. Default value is 90 days. Defaults to the general
91 // lifespan value of remote items if set to 0.
92 'dbclean-expire-unclaimed' => 90,
94 // dbclean_expire_conversation (Integer)
95 // The conversation data is used for ActivityPub and OStatus, as well as for debug purposes.
96 // It should be safe to remove it after 14 days, default is 90 days.
97 'dbclean_expire_conversation' => 90,
99 // debugging (boolean)
100 // Enable/Disable Debugging (logging)
101 'debugging' => false,
103 // decoupled_receiver (Boolean)
104 // Decouple incoming AP posts by doing the processing in the background.
105 'decoupled_receiver' => false,
107 // default_timezone (String)
108 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
109 // It only applies to timestamps for anonymous viewers.
110 'default_timezone' => 'UTC',
112 // directory (String)
113 // URL of the global directory.
114 'directory' => 'https://dir.friendica.social',
116 // explicit_content (Boolean)
117 // Set this to announce that your node is used mostly for explicit content that might not be suited for minors.
118 'explicit_content' => false,
120 // forbidden_nicknames (Comma-separated list)
121 // Prevents users from registering the specified nicknames on this node.
122 // Default value comprises classic role names from RFC 2142.
123 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
125 // compute_circle_counts (Boolean)
126 // Compute contact circle level when counting unseen network posts.
127 'compute_circle_counts' => true,
129 // jpeg_quality (Integer)
130 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
131 'jpeg_quality' => 100,
134 // System default language, including admin-created user default language.
135 // Two-letters ISO 639-1 code.
138 // local_search (Boolean)
139 // Blocks search for users who are not logged in to prevent crawlers from blocking your system.
140 'local_search' => false,
143 // The logfile for storing logs.
144 // Can be a full path or a relative path to the Friendica home directory
145 'logfile' => 'log/friendica.log',
148 // The loglevel for all logs.
149 // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
150 'loglevel' => 'notice',
152 // max_image_length (Integer)
153 // An alternate way of limiting picture upload sizes.
154 // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
155 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
156 // If you don't want to set a maximum length, set to -1.
157 'max_image_length' => -1,
159 // max_receivers (Integer)
160 // The maximum number of displayed receivers of posts
161 'max_receivers' => 10,
163 // maximagesize (Integer)
164 // Maximum size in bytes of an uploaded photo.
165 'maximagesize' => 800000,
167 // maxloadavg (Integer)
168 // Maximum system load before delivery and poll processes are deferred.
171 // min_memory (Integer)
172 // Minimal free memory in MB for the worker. Needs access to /proc/meminfo - default 0 (deactivated).
175 // no_regfullname (Boolean)
176 // Allow users to register with a display name comporting fewer than two parts separated by spaces.
177 'no_regfullname' => true,
179 // no_oembed_rich_content (Boolean)
180 // If enabled, allow OEmbed for all URLs. Disabled by default.
181 'no_oembed_rich_content' => true,
183 // optimize_tables (Boolean)
184 // Periodically (once an hour) run an "optimize table" command for cache tables
185 'optimize_tables' => false,
187 // register_notification (Boolean)
188 // Send a notification mail to the admin for each new registration.
189 'register_notification' => true,
191 // relay_deny_tags (String)
192 // Comma separated list of tags that are rejected.
193 'relay_deny_tags' => '',
195 // proxify_content (Boolean)
196 // Use the proxy functionality for fetching external content
197 'proxify_content' => true,
199 // relay_directly (Boolean)
200 // Directly transmit content to relay subscribers without using a relay server
201 'relay_directly' => false,
203 // relay_scope (Relay::SCOPE_NONE, Relay::SCOPE_TAGS or Relay::SCOPE_ALL)
204 // Defines the scope of accepted posts from the relay servers
207 // relay_server_tags (String)
208 // Comma separated list of tags for the "tags" subscription.
209 'relay_server_tags' => '',
211 // relay_user_tags (Boolean)
212 // If enabled, the tags from the saved searches will used for the "tags" subscription in addition to the "relay_server_tags".
213 'relay_user_tags' => true,
216 // Custom temporary file directory
220 // System theme name.
223 // update_active_contacts (Boolean)
224 // When activated, only public contacts will be activated regularly that are used for example in items or tags.
225 'update_active_contacts' => false,
228 // The fully-qualified URL of this Friendica node.
229 // Used by the worker in a non-HTTP execution environment.
232 // poco_discovery (Boolean)
233 // If enabled, the system will check for the existance of other contacts and servers
234 'poco_discovery' => false,
236 // poco_requery_days (Integer)
237 // Number of days after which a server is requeried for their contacts and servers it knows of.
238 'poco_requery_days' => 30,
240 // worker_load_cooldown (Integer)
241 // Maximum load that causes a cooldown before each worker function call.
242 'worker_load_cooldown' => 0,
245 // Used in the admin settings to lock certain features
249 // Storage backend configuration
252 // The name of the current used backend (default is Database)
253 'name' => 'Database',