]> git.mxchange.org Git - friendica.git/blob - doc/Settings.md
Merge remote-tracking branch 'refs/remotes/origin/develop' into improvement/frio...
[friendica.git] / doc / Settings.md
1 # Settings
2
3 * [Home](help)
4
5 If you are the admin of a Friendica node, you have access to the so called **Admin Panel** where you can configure your Friendica node.
6
7 On the front page of the admin panel you will see a summary of information about your node.
8 These information include the amount of messages currently being processed in the queues.
9 The first number is the number of messages being actively sent.
10 This number should decrease quickly.
11 The second is the messages which could for various reasons not being delivered.
12 They will be resend later.
13 You can have a quick glance into that second queus in the "Inspect Queue" section of the admin panel.
14 If you have activated the background workers, there is a third number representing the count of jobs queued for the workers.
15 These worker tasks are prioritised and are done accordingly.
16
17 Then you get an overview of the accounts on your node, which can be moderated in the "Users" section of the panel.
18 As well as an overview of the currently active addons
19 The list is linked, so you can have quick access to the plugin settings.
20 And finally you are informed about the version of Friendica you have installed.
21 If you contact the devs with a bug or problem, please also mention the version of your node.
22
23 The admin panel is seperated into subsections accessible from the side bar of the panel.
24
25 ## Site
26
27 This section of the admin panel contains the main configuration of your Friendica node.
28 It is separated into several sub-section beginning with the basic settings at the top, advancing towards the bottom of the page.
29
30 Most configuration options have a help text in the admin panel.
31 Therefore this document does not yet cover all the options
32
33 ### Basic Settings
34
35 #### Banner/Logo
36
37 Set the content for the site banner.
38 The default logo is the Friendica logo and name.
39 You may wish to provide HTML/CSS to style and/or position this content, as it may not be themed by default.
40
41 #### Language
42
43 This option will set the default language for the node.
44 It is used as fall back setting should Friendica fail to recognize the visitors preferences and can be overwritten by user settings.
45
46 The Friendica community offers some translations.
47 Some more compleate then others.
48 See [this help page](/help/translations) for more information about the translation process.
49
50 #### System Theme
51
52 Choose a theme to be the default system theme.
53 This can be over-ridden by user profiles.
54 Default theme is "duepunto zero" at the moment.
55
56 You may also want to set a special theme for mobile interfaces.
57 Which may or may not be neccessary depending of the mobile friendlyness of the desktop theme you have chosen.
58 The `vier` theme for instance is mobile friendly.
59
60 ### Registration
61
62 #### Check Full Names
63
64 You may find a lot of spammers trying to register on your site.
65 During testing we discovered that since these registrations were automatic, the "Full Name" field was often set to just an account name with no space between first and last name.
66 If you would like to support people with only one name as their full name, you may change this setting to true.
67 Default is false.
68
69 #### OpenID
70
71 By default, OpenID may be used for both registration and logins.
72 If you do not wish to make OpenID facilities available on your system (at all), set 'no_openid' to true.
73 Default is false.
74
75 #### Multiple Registrations
76
77 The ability to create "Pages" requires a person to register more than once.
78 Your site configuration can block registration (or require approval to register).
79 By default, logged in users can register additional accounts for use as pages.
80 These will still require approval if the registration policy is set to *require approval*
81 You may prohibit logged in users from creating additional accounts by setting *block multible registrations* to true.
82 Default is false.
83
84 ### File upload
85
86 #### Maximum Image Size
87
88 Maximum size in bytes of uploaded images.
89 The default is set to 0, which means no limits.
90
91 ### Policies
92
93 #### Global Directory
94
95 This configures the URL to update the global directory, and is supplied in the default configuration.
96 The undocumented part is that if this is not set, the global directory is completely unavailable to the application.
97 This allows a private community to be completely isolated from the global network.
98
99 #### Force Publish
100
101 By default, each user can choose on their Settings page whether or not to have their profile published in the site directory.
102 This setting forces all profiles on this site to be listed in the site directory and there is no option provided to the user to change it.
103 Default is false.
104
105 #### Block Public
106
107 Set to true to block public access to all otherwise public personal pages on this site unless you are currently logged in.
108 This blocks the viewing of profiles, friends, photos, the site directory and search pages to unauthorised persons.
109 A side effect is that entries from this site will not appear in the global directory.
110 We recommend specifically disabling that also (setting is described elsewhere on this page).
111 Note: this is specifically for sites that desire to be "standalone" and do not wish to be connected to any other Friendica sites.
112 Unauthorised persons will also not be able to request friendship with site members.
113 Default is false.
114 Available in version 2.2 or greater.
115
116 #### Allowed Friend Domains
117
118 Comma separated list of domains which are allowed to establish friendships with this site.
119 Wildcards are accepted.
120 (Wildcard support on Windows platforms requires PHP5.3).
121 By default, any (valid) domain may establish friendships with this site.
122
123 This is useful if you want to setup a closed network for educational groups, cooperations and similar communities that don't want to commuicate with the rest of the network.
124
125 #### Allowed Email Domains
126
127 Comma separated list of domains which are allowed in email addresses for registrations to this site.
128 This can lockout those who are not part of this organisation from registering here.
129 Wildcards are accepted.
130 (Wildcard support on Windows platforms requires PHP5.3).
131 By default, any (valid) email address is allowed in registrations.
132
133 #### Allow Users to set remote_self
134
135 If you enable the `Allow Users to set remote_self` users can select Atom feeds from their contact list being their *remote self* in die advanced contact settings.
136 Which means that postings by the remote self are automatically reposted by Friendica in their names.
137
138 As admin of the node you can also set this flag directly in the database.
139 Before doing so, you should be sure you know what you do and have a backup of the database.
140
141 ### Advanced
142
143 #### Proxy Configuration Settings
144
145 If your site uses a proxy to connect to the internet, you may use these settings to communicate with the outside world.
146 The outside world still needs to be able to see your website, or this will not be very useful.
147
148 #### Network Timeout
149
150 How long to wait on a network communication before timing out.
151 Value is in seconds.
152 Default is 60 seconds.
153 Set to 0 for unlimited (not recommended).
154
155 #### Verify SSL Certitificates
156
157 By default Friendica allows SSL communication between websites that have "self-signed" SSL certificates.
158 For the widest compatibility with browsers and other networks we do not recommend using self-signed certificates, but we will not prevent you from using them.
159 SSL encrypts all the data transmitted between sites (and to your browser).
160 This allows you to have completely encrypted communications, and also protect your login session from hijacking.
161 Self-signed certificates can be generated for free, without paying top-dollar for a website SSL certificate.
162 However these aren't looked upon favourably in the security community because they can be subject to so-called "man-in-the-middle" attacks.
163 If you wish, you can turn on strict certificate checking.
164 This will mean you cannot connect (at all) to self-signed SSL sites.
165
166 ### Auto Discovered Contact Directory
167
168 ### Performance
169
170 ### Worker
171
172 ### Relocate
173
174 ## Users
175
176 This section of the panel let the admin control the users registered on the node.
177
178 If you have selected "Requires approval" for the *Register policy* in the general nodes configuration, new registrations will be listed at the top of the page.
179 There the admin can then approve or disapprove the request.
180
181 Below the new registration block the current accounts on the Friendica node are listed.
182 You can sort the user list by name, email, registration date, date of last login, date of last posting and the account type.
183 Here the admin can also block/unblock users from accessing the node or delete the accounts entirely.
184
185 In the last section of the page admins can create new accounts on the node.
186 The password for the new account will be send by email to the choosen email address.
187
188 ## Plugins
189
190 This page is for selecting and configuration of extensions for Friendica which have to be placed into the `/addon` subdirectory of your Friendica installation.
191 You are presented with a long list of available addons.
192 The name of each addon is linked to a separate page for that addon which offers more informations and configuration possibilities.
193 Also shown is the version of the addon and an indicator if the addon is currently active or not.
194
195 When you update your node and the addons they may have to be reloaded.
196 To simplify this process there is a button at the top of the page to reload all active plugins.
197
198 ## Themes
199
200 The Themes section of the admin panel works similar to the Plugins section but let you control the themes on your Friendica node.
201 Each theme has a dedicated suppage showing the current status, some information about the theme and a screen-shot of the Friendica interface using the theme.
202 Should the theme offer special settings, admins can set a global default value here.
203
204 You can activate and deactivate themes on their dedicated sub-pages thus making them available for the users of the node.
205 To select a default theme for the Friendica node, see the *Site* section of the admin panel.
206
207 ## Additional Features
208
209 There are several optional features in Friendica like the *dislike* button.
210 In this section of the admin panel you can select a default setting for your node and eventually fix it, so users cannot change the setting anymore.
211
212 ## DB Updates
213
214 Should the database structure of Friendica change, it will apply the changes automatically.
215 In case you are suspecious that the update might not have worked, you can use this section of the admin panel to check the situation.
216
217 ## Inspect Queue
218
219 In the admin panel summary there are two numbers for the message queues.
220 The second number represents messages which could not be delivered and are queued for later retry.
221 If this number goes sky-rocking you might ask yourself which receopiant is not receiving.
222
223 Behind the inspect queue section of the admin panel you will find a list of the messages that could not be delivered.
224 The listing is sorted by the receipiant name so identifying potential broken communication lines should be simple.
225 These lines might be broken for various reasons.
226 The receiving end might be off-line, there might be a high system load and so on.
227
228 Don't panic!
229 Friendica will not queue messages for all time but will sort out *dead* nodes automatically after a while and remove messages from the queue then.
230
231 ## Federation Statistics
232
233 The federation statistics page gives you a short summery of the nodes/servers/pods of the decentralized social network federation your node knows.
234 These numbers are not compleate and only contain nodes from networks Friendica federates directly with.
235
236 ## Plugin Features
237
238 Some of the addons you can install for your Friendica node have settings which have to be set by the admin.
239 All those addons will be listed in this area of the admin panels side bar with their names.
240
241 ## Logs
242
243 The log section of the admin panel is seperated into two pages.
244 On the first, following the "log" link, you can configure how much Friendica shall log.
245 And on the second you can read the log.
246
247 You should not place your logs into any directory that is accessible from the web.
248 If you have to, and you are using the default configuration from Apache, you should choose a name for the logfile ending in ``.log`` or ``.out``.
249 Should you use another web server, please make sure that you have the correct accessrules in place so that your log files are not accessible.
250
251 There are five different log levels: Normal, Trace, Debug, Data and All.
252 Specifying different verbosities of information and data written out to the log file.
253 Normally you should not need to log at all.
254 The *DEBUG* level will show a good deal of information about system activity but will not include detailed data.
255 In the *ALL* level Friendica will log everything to the file.
256 But due to the volume of information we recommend only enabling this when you are tracking down a specific problem.
257
258 **The amount of data can grow the filesize of the logfile quickly**.
259 You should set up some kind of [log rotation](https://en.wikipedia.org/wiki/Log_rotation) to keep the log file from growing too big.
260
261 **Known Issues**: The filename ``friendica.log`` can cause problems depending on your server configuration (see [issue 2209](https://github.com/friendica/friendica/issues/2209)).
262
263 By default PHP warnings and error messages are supressed.
264 If you want to enable those, you have to activate them in the ``.htconfig.php`` file.
265 Use the following settings to redirect PHP errors to a file.
266
267 Config:
268
269         error_reporting(E_ERROR | E_WARNING | E_PARSE );
270         ini_set('error_log','php.out');
271         ini_set('log_errors','1');
272         ini_set('display_errors', '0');
273
274 This will put all PHP errors in the file php.out (which must be writeable by the webserver).
275 Undeclared variables are occasionally referenced in the program and therefore we do not recommend using `E_NOTICE` or `E_ALL`.
276 The vast majority of issues reported at these levels are completely harmless.
277 Please report to the developers any errors you encounter in the logs using the recommended settings above.
278 They generally indicate issues which need to be resolved.
279
280 If you encounter a blank (white) page when using the application, view the PHP logs - as this almost always indicates an error has occurred.
281
282 ## Diagnostics
283
284 In this section of the admin panel you find two tools to investigate what Friendica sees for certain ressources.
285 These tools can help to clarify communication problems.
286
287 For the *probe address* Friendica will display information for the address provided.
288
289 With the second tool *check webfinger* you can request information about the thing identified by a webfinger (`someone@example.com`).
290
291 # Exceptions to the rule
292
293 There are four exceptions to the rule, that all the config will be read from the data base.
294 These are the data base settings, the admin account settings, the path of PHP and information about an eventual installation of the node in a sub-directory of the (sub)domain.
295
296 ## DB Settings
297
298 With the following settings, you specify the data base server, the username and passwort for Friendica and the database to use.
299
300     $db_host = 'your.db.host';
301     $db_user = 'db_username';
302     $db_pass = 'db_password';
303     $db_data = 'database_name';
304
305 ## Admin users
306
307 You can set one, or more, accounts to be *Admin*.
308 By default this will be the one account you create during the installation process.
309 But you can expand the list of email addresses by any used email address you want.
310 Registration of new accounts with a listed email address is not possible.
311
312     $a->config['admin_email'] = 'you@example.com, buddy@example.com';
313
314 ## PHP Path
315
316 Some of Friendicas processes are running in the background.
317 For this you need to specify the path to the PHP binary to be used.
318
319     $a->config['php_path'] = '{{$phpath}}';
320
321 ## Subdirectory configuration
322
323 It is possible to install Friendica into a subdirectory of your webserver.
324 We strongly discurage you from doing so, as this will break federation to other networks (e.g. Diaspora, GNU Socia, Hubzilla)
325 Say you have a subdirectory for tests and put Friendica into a further subdirectory, the config would be:
326
327     $a->path = 'tests/friendica';
328
329 ## Other exceptions
330
331 Furthermore there are some experimental settings, you can read-up in the [Config values that can only be set in .htconfig.php](help/htconfig) section of the documentation.
332