typos
[friendica.git/.git] / static / settings.config.php
1 <?php
2 /**
3  * @copyright Copyright (C) 2020, Friendica
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                 // allowed_themes (Comma-separated list)
60                 // Themes users can change to in their settings.
61                 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
62
63                 // curl_timeout (Integer)
64                 // Value is in seconds. Set to 0 for unlimited (not recommended).
65                 'curl_timeout' =>  60,
66
67                 // dbclean (Boolean)
68                 // Remove old remote items, orphaned database records and old content from some other helper tables.
69                 'dbclean' => false,
70
71                 // dbclean-expire-days (Integer)
72                 // When the database cleanup is enabled, this defines the days after which remote items will be deleted.
73                 // Own items, and marked or filed items are always kept. 0 disables this behaviour.
74                 'dbclean-expire-days' => 0,
75
76                 // dbclean-expire-unclaimed (Integer)
77                 // When the database cleanup is enabled, this defines the days after which unclaimed remote items
78                 // (mostly content from the relay) will be deleted. Default value is 90 days. Defaults to the general
79                 // lifespan value of remote items if set to 0.
80                 'dbclean-expire-unclaimed' => 90,
81
82                 // dbclean_expire_conversation (Integer)
83                 // The conversation data is used for ActivityPub and OStatus, as well as for debug purposes.
84                 // It should be safe to remove it after 14 days, default is 90 days.
85                 'dbclean_expire_conversation' => 90,
86
87                 // debugging (boolean)
88                 // Enable/Disable Debugging (logging)
89                 'debugging' => false,
90
91                 // default_timezone (String)
92                 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
93                 // It only applies to timestamps for anonymous viewers.
94                 'default_timezone' => 'UTC',
95
96                 // directory (String)
97                 // URL of the global directory.
98                 'directory' => 'https://dir.friendica.social',
99
100                 // explicit_content (Boolean)
101                 // Set this to announce that your node is used mostly for explicit content that might not be suited for minors.
102                 'explicit_content' => false,
103
104                 // forbidden_nicknames (Comma-separated list)
105                 // Prevents users from registering the specified nicknames on this node.
106                 // Default value comprises classic role names from RFC 2142.
107                 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
108
109                 // jpeg_quality (Integer)
110                 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
111                 'jpeg_quality' => 100,
112
113                 // language (String)
114                 // System default languague, inluding admin-created user default language.
115                 // Two-letters ISO 639-1 code.
116                 'language' => 'en',
117
118                 // logfile (String)
119                 // The logfile for storing logs.
120                 // Can be a full path or a relative path to the Friendica home directory
121                 'logfile' => 'log/friendica.log',
122
123                 // loglevel (String)
124                 // The loglevel for all logs.
125                 // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
126                 'loglevel' => 'notice',
127
128                 // max_image_length (Integer)
129                 // An alternate way of limiting picture upload sizes.
130                 // Specify the maximum pixel  length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
131                 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
132                 // If you don't want to set a maximum length, set to -1.
133                 'max_image_length' => -1,
134
135                 // maximagesize (Integer)
136                 // Maximum size in bytes of an uploaded photo.
137                 'maximagesize' => 800000,
138
139                 // maxloadavg (Integer)
140                 // Maximum system load before delivery and poll processes are deferred.
141                 'maxloadavg' => 20,
142
143                 // maxloadavg_frontend (Integer)
144                 // Maximum system load before the frontend quits service - default 50.
145                 'maxloadavg_frontend' => 50,
146
147                 // min_memory (Integer)
148                 // Minimal free memory in MB for the worker. Needs access to /proc/meminfo - default 0 (deactivated).
149                 'min_memory' => 0,
150
151                 // no_regfullname (Boolean)
152                 // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
153                 'no_regfullname' => true,
154
155                 // optimize_tables (Boolean)
156                 // Periodically (once an hour) run an "optimize table" command for cache tables
157                 'optimize_tables' => false,
158
159                 // relay_deny_tags (String)
160                 // Comma separated list of tags that are rejected.
161                 'relay_deny_tags' => '',
162
163                 // relay_server (String)
164                 // Address of the relay server where public posts should be send to.
165                 'relay_server' => 'https://social-relay.isurf.ca',
166
167                 // relay_server_tags (String)
168                 // Comma separated list of tags for the "tags" subscription.
169                 'relay_server_tags' => '',
170
171                 // relay_user_tags (Boolean)
172                 // If enabled, the tags from the saved searches will used for the "tags" subscription in addition to the "relay_server_tags".
173                 'relay_user_tags' => true,
174
175                 // rino_encrypt (Integer)
176                 // Server-to-server private message encryption (RINO).
177                 // Encryption will only be provided if this setting is set to a non zero value on both servers.
178                 // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
179                 'rino_encrypt' => 2,
180
181                 // temppath (String)
182                 // Custom temporary file directory
183                 'temppath' => '',
184
185                 // theme (String)
186                 // System theme name.
187                 'theme' => 'vier',
188
189                 // url (String)
190                 // The fully-qualified URL of this Friendica node.
191                 // Used by the worker in a non-HTTP execution environment.
192                 'url' => '',
193         ],
194
195         // Used in the admin settings to lock certain features
196         'featurelock' => [
197         ],
198 ];