{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/5919","repository_url":"https://api.github.com/repos/friendica/friendica","labels_url":"https://api.github.com/repos/friendica/friendica/issues/5919/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/5919/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/5919/events","html_url":"https://github.com/friendica/friendica/issues/5919","id":369917005,"node_id":"MDU6SXNzdWUzNjk5MTcwMDU=","number":5919,"title":"User account expiry feature","user":{"login":"AndyHee","id":28751375,"node_id":"MDQ6VXNlcjI4NzUxMzc1","avatar_url":"https://avatars3.githubusercontent.com/u/28751375?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyHee","html_url":"https://github.com/AndyHee","followers_url":"https://api.github.com/users/AndyHee/followers","following_url":"https://api.github.com/users/AndyHee/following{/other_user}","gists_url":"https://api.github.com/users/AndyHee/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyHee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyHee/subscriptions","organizations_url":"https://api.github.com/users/AndyHee/orgs","repos_url":"https://api.github.com/users/AndyHee/repos","events_url":"https://api.github.com/users/AndyHee/events{/privacy}","received_events_url":"https://api.github.com/users/AndyHee/received_events","type":"User","site_admin":false},"labels":[{"id":169360540,"node_id":"MDU6TGFiZWwxNjkzNjA1NDA=","url":"https://api.github.com/repos/friendica/friendica/labels/Needs%20More%20Info","name":"Needs More Info","color":"e5cf42","default":false},{"id":46563604,"node_id":"MDU6TGFiZWw0NjU2MzYwNA==","url":"https://api.github.com/repos/friendica/friendica/labels/New%20Feature","name":"New Feature","color":"ea9ab4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-14T16:11:23Z","updated_at":"2018-12-29T09:51:26Z","closed_at":null,"author_association":"NONE","body":"When deleting user accounts that seem abandoned (e.g. last login six month ago), I send the user an email telling them their account will be removed in 30 days. I also inform them how to avoid this.\r\n\r\nA month later I delete the account manually, depending whether they have logged on or not as instructed.\r\n\r\nIt would be nice to automate this process. Instead of deleting accounts immediately, there could be any option of setting when accounts will expire and then actually deleted. Expiration however should be conditional: i.e. the user has not logged on after having been emailed.\r\n\r\nHere the sample email, I send out:\r\n\r\nHello\r\n> Your Friendica account at [server name] is scheduled for deletion, as you have not logged in for more than six month.\r\n> \r\n> To prevent your account being permanently deleted, log in at https://[server] now. You can retrieve your password here: https://[server url]/lostpass\r\n> \r\n> If you don't take any action, your account will be permanently deleted in 30 days.\r\n> \r\n> Best regards,\r\n> \r\n> Administrator\r\n[server name]\r\n[contact email]\r\n[URL to admin on server]\r\n "},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/450480415","html_url":"https://github.com/friendica/friendica/issues/5919#issuecomment-450480415","issue_url":"https://api.github.com/repos/friendica/friendica/issues/5919","id":450480415,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQ4MDQxNQ==","user":{"login":"AndyHee","id":28751375,"node_id":"MDQ6VXNlcjI4NzUxMzc1","avatar_url":"https://avatars3.githubusercontent.com/u/28751375?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyHee","html_url":"https://github.com/AndyHee","followers_url":"https://api.github.com/users/AndyHee/followers","following_url":"https://api.github.com/users/AndyHee/following{/other_user}","gists_url":"https://api.github.com/users/AndyHee/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyHee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyHee/subscriptions","organizations_url":"https://api.github.com/users/AndyHee/orgs","repos_url":"https://api.github.com/users/AndyHee/repos","events_url":"https://api.github.com/users/AndyHee/events{/privacy}","received_events_url":"https://api.github.com/users/AndyHee/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T09:51:26Z","updated_at":"2018-12-29T09:51:26Z","author_association":"NONE","body":"This is mostly redundant since the permanent deletion time has been extended considerably."}}
{"actor":{"display_login":"AndyHee"}}