{"action":"opened","issue":{"url":"https://api.github.com/repos/Depado/goploader/issues/35","repository_url":"https://api.github.com/repos/Depado/goploader","labels_url":"https://api.github.com/repos/Depado/goploader/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Depado/goploader/issues/35/comments","events_url":"https://api.github.com/repos/Depado/goploader/issues/35/events","html_url":"https://github.com/Depado/goploader/issues/35","id":159787283,"number":35,"title":"Feature Request: lifetime restrictions in server config","user":{"login":"bioryb","id":19799725,"avatar_url":"https://avatars.githubusercontent.com/u/19799725?v=3","gravatar_id":"","url":"https://api.github.com/users/bioryb","html_url":"https://github.com/bioryb","followers_url":"https://api.github.com/users/bioryb/followers","following_url":"https://api.github.com/users/bioryb/following{/other_user}","gists_url":"https://api.github.com/users/bioryb/gists{/gist_id}","starred_url":"https://api.github.com/users/bioryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bioryb/subscriptions","organizations_url":"https://api.github.com/users/bioryb/orgs","repos_url":"https://api.github.com/users/bioryb/repos","events_url":"https://api.github.com/users/bioryb/events{/privacy}","received_events_url":"https://api.github.com/users/bioryb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-11T18:40:30Z","updated_at":"2016-06-11T18:40:30Z","closed_at":null,"body":"Hi once again :)\r\nIt would be nice - I think not only for my requirements - to set the lifetime more restrictive by the admin. So the admin could say maybe it is only allowed to set 1d and 1w . Maybe another admin would like to have that files are generally and only available for 1 day (1d).\r\nIf this could be set in the server config - that would really be cool. The client must not really be changed. If he selects a time that is not supported by the server, the file lifetime is set to default.\r\n\r\nFor the upload by the webui, I changed the template to only support 1w . That works, but not for the terminal client ;) (I do not know programing in go :-/ )\r\n\r\nThank you very much! "}}
{"actor":{"display_login":"bioryb"}}