]> git.mxchange.org Git - friendica.git/blob - static/settings.config.php
Merge pull request #11267 from MrPetovan/task/11264-mastodon-api-version
[friendica.git] / static / settings.config.php
1 <?php
2 /**
3  * @copyright Copyright (C) 2010-2022, the Friendica project
4  *
5  * @license GNU AGPL version 3 or any later version
6  *
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.
11  *
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.
16  *
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/>.
19  *
20  * This file declares the default values for the admin settings of Friendica.
21  *
22  * These values will be overridden by the admin settings page.
23  *
24  * Please don't edit this file directly as its content may change in the upcoming versions.
25  *
26  */
27
28 return [
29         'config' => [
30                 // info (String)
31                 // Plaintext description of this node, used in the /friendica module.
32                 'info' => '',
33
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,
40
41                 // register_text (String)
42                 // Will be displayed prominently on the registration page.
43                 'register_text' => '',
44
45                 // sitename (String)
46                 // Displayed server name.
47                 'sitename' => 'Friendica Social Network',
48         ],
49         'system' => [
50                 // account_abandon_days (Integer)
51                 // Will not waste system resources polling external sites for abandonded accounts.
52                 // Enter 0 for no time limit.
53                 'account_abandon_days' => 0,
54
55                 // addon (Comma-separated list)
56                 // Manual list of addons which are enabled on this system.
57                 'addon' => '',
58
59                 // add_missing_posts (boolean)
60                 // Checks for missing entries in "post", "post-thread" or "post-thread-user" and creates them
61                 'add_missing_posts' => false,
62
63                 // allowed_themes (Comma-separated list)
64                 // Themes users can change to in their settings.
65                 'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
66
67                 // cache_contact_avatar (Boolean)
68                 // Cache versions of the contact avatars. Uses a lot of storage space
69                 'cache_contact_avatar' => true,
70
71                 // curl_timeout (Integer)
72                 // Value is in seconds. Set to 0 for unlimited (not recommended).
73                 'curl_timeout' =>  60,
74
75                 // dbclean (Boolean)
76                 // Remove old remote items, orphaned database records and old content from some other helper tables.
77                 'dbclean' => false,
78
79                 // dbclean-expire-days (Integer)
80                 // When the database cleanup is enabled, this defines the days after which remote items will be deleted.
81                 // Own items, and marked or filed items are always kept. 0 disables this behaviour.
82                 'dbclean-expire-days' => 0,
83
84                 // dbclean-expire-unclaimed (Integer)
85                 // When the database cleanup is enabled, this defines the days after which unclaimed remote items
86                 // (mostly content from the relay) will be deleted. Default value is 90 days. Defaults to the general
87                 // lifespan value of remote items if set to 0.
88                 'dbclean-expire-unclaimed' => 90,
89
90                 // dbclean_expire_conversation (Integer)
91                 // The conversation data is used for ActivityPub and OStatus, as well as for debug purposes.
92                 // It should be safe to remove it after 14 days, default is 90 days.
93                 'dbclean_expire_conversation' => 90,
94
95                 // debugging (boolean)
96                 // Enable/Disable Debugging (logging)
97                 'debugging' => false,
98
99                 // default_timezone (String)
100                 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
101                 // It only applies to timestamps for anonymous viewers.
102                 'default_timezone' => 'UTC',
103
104                 // directory (String)
105                 // URL of the global directory.
106                 'directory' => 'https://dir.friendica.social',
107
108                 // explicit_content (Boolean)
109                 // Set this to announce that your node is used mostly for explicit content that might not be suited for minors.
110                 'explicit_content' => false,
111
112                 // forbidden_nicknames (Comma-separated list)
113                 // Prevents users from registering the specified nicknames on this node.
114                 // Default value comprises classic role names from RFC 2142.
115                 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
116
117                 // jpeg_quality (Integer)
118                 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
119                 'jpeg_quality' => 100,
120
121                 // language (String)
122                 // System default languague, inluding admin-created user default language.
123                 // Two-letters ISO 639-1 code.
124                 'language' => 'en',
125
126                 // logfile (String)
127                 // The logfile for storing logs.
128                 // Can be a full path or a relative path to the Friendica home directory
129                 'logfile' => 'log/friendica.log',
130
131                 // loglevel (String)
132                 // The loglevel for all logs.
133                 // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
134                 'loglevel' => 'notice',
135
136                 // max_image_length (Integer)
137                 // An alternate way of limiting picture upload sizes.
138                 // Specify the maximum pixel  length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
139                 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
140                 // If you don't want to set a maximum length, set to -1.
141                 'max_image_length' => -1,
142
143                 // max_receivers (Integer)
144                 // The maximum number of displayed receivers of posts
145                 'max_receivers' => 10,
146
147                 // maximagesize (Integer)
148                 // Maximum size in bytes of an uploaded photo.
149                 'maximagesize' => 800000,
150
151                 // maxloadavg (Integer)
152                 // Maximum system load before delivery and poll processes are deferred.
153                 'maxloadavg' => 20,
154
155                 // min_memory (Integer)
156                 // Minimal free memory in MB for the worker. Needs access to /proc/meminfo - default 0 (deactivated).
157                 'min_memory' => 0,
158
159                 // no_regfullname (Boolean)
160                 // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
161                 'no_regfullname' => true,
162
163                 // optimize_tables (Boolean)
164                 // Periodically (once an hour) run an "optimize table" command for cache tables
165                 'optimize_tables' => false,
166
167                 // relay_deny_tags (String)
168                 // Comma separated list of tags that are rejected.
169                 'relay_deny_tags' => '',
170
171                 // proxify_content (Boolean)
172                 // Use the proxy functionality for fetching external content
173                 'proxify_content' => true,
174
175                 // relay_directly (Boolean)
176                 // Directly transmit content to relay subscribers without using a relay server
177                 'relay_directly' => false,
178
179                 // relay_scope (Relay::SCOPE_NONE, Relay::SCOPE_TAGS or Relay::SCOPE_ALL)
180                 // Defines the scope of accepted posts from the relay servers
181                 'relay_scope' => '',
182
183                 // relay_server_tags (String)
184                 // Comma separated list of tags for the "tags" subscription.
185                 'relay_server_tags' => '',
186
187                 // relay_user_tags (Boolean)
188                 // If enabled, the tags from the saved searches will used for the "tags" subscription in addition to the "relay_server_tags".
189                 'relay_user_tags' => true,
190
191                 // temppath (String)
192                 // Custom temporary file directory
193                 'temppath' => '',
194
195                 // theme (String)
196                 // System theme name.
197                 'theme' => 'frio',
198
199                 // url (String)
200                 // The fully-qualified URL of this Friendica node.
201                 // Used by the worker in a non-HTTP execution environment.
202                 'url' => '',
203         ],
204
205         // Used in the admin settings to lock certain features
206         'featurelock' => [
207         ],
208
209         // Storage backend configuration
210         'storage' => [
211                 // name (String)
212                 // The name of the current used backend (default is Database)
213                 'name' => 'Database',
214         ],
215 ];