You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
friendica-addons/testdrive
Hypolite Petovan 39c654da00
[various] Remove App dependency from hook functions
2 weeks ago
..
config [various] Remove config/addon.config.php in favor of per-addon configuration file 2 months ago
lang HU translation of various addons updated 1 month ago
README.md [various] Remove config/addon.config.php in favor of per-addon configuration file 2 months ago
testdrive.php [various] Remove App dependency from hook functions 2 weeks ago

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

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.