friendica-addons/testdrive
Tobias Diekershoff 71d9a42688 HU translation of various addons updated 2022-12-17 09:08:25 +01:00
..
config [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
lang HU translation of various addons updated 2022-12-17 09:08:25 +01:00
README.md [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
testdrive.php [various] Set config loaded from default values to SOURCE_STATIC 2022-11-20 12:44:53 -05:00

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

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

Set this in your config/testdrive.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.