friendica-addons/testdrive
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:46 +01:00
..
config [testdrive] Update config file style/name 2018-11-25 02:16:20 -05:00
lang NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
README.md [testdrive] Update config file style/name 2018-11-25 02:16:20 -05:00
testdrive.php Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00

README.md

TestDrive

Testdrive is a Friendica addon which implements automatic account expiration so that a site may be used as a public test bed.

When an account is created on the site, it is given a hard expiration date of

'testdrive' => [
	'expiredays' => 30,
],

Set this in your config/addon.config.php file to allow a 30 day test drive period. By default no expiration period is defined in case the addon is activated accidentally.

There is no opportunity to extend an expired account using this addon. Expiration is final. Other addons may be created which charge for service and extend the expiration as long as a balance is maintained. This addon is purely for creating a limited use test site.

An email warning will be sent out approximately five days before the expiration occurs. Once it occurs logins and many system functions are disabled. Five days later the account is removed completely.