Move addon-specific config to config/addon.ini.php
[friendica-addons.git/.git] / public_server / README.md
1 Public Server
2 =============
3
4
5 Public Server is a Friendica addon which implements automatic account & post expiration so that a site may be used as a public test bed with reduced data retention.
6
7 This is a modified version of the testdrive addon, DO NOT ACTIVATE AT THE SAME TIME AS THE TESTDRIVE ADDON.
8
9     [public_server]
10         ; When an account is created on the site, it is given a hard expiration date of
11     expiredays = 30
12     ; Set the default days for posts to expire here
13     expireposts = 30
14     ; Remove users who have never logged in after nologin days
15     nologin = 30
16     ; Remove users who last logged in over flagusers days ago
17     flagusers = 146
18     ; For users who last logged in over flagposts days ago set post expiry days to flagpostsexpire
19     flagposts = 90
20     flagpostsexpire = 146
21
22 Set these in your config/addon.ini.php file. By default nothing is defined in case the addon is activated accidentally.
23 They can be ommitted or set to 0 to disable each option.
24 The default values are those used by friendica.eu, change these as desired.
25
26 The expiration date is updated when the user logs in.
27
28 An email warning will be sent out approximately five days before the expiration occurs.
29 Five days later the account is removed completely.