{"action":"created","issue":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421","repository_url":"https://api.github.com/repos/Chocobozzz/PeerTube","labels_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421/comments","events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421/events","html_url":"https://github.com/Chocobozzz/PeerTube/pull/421","id":308759759,"number":421,"title":"show quota in stats, display quota on the about page, fixes #405","user":{"login":"rigelk","id":6329880,"avatar_url":"https://avatars0.githubusercontent.com/u/6329880?v=4","gravatar_id":"","url":"https://api.github.com/users/rigelk","html_url":"https://github.com/rigelk","followers_url":"https://api.github.com/users/rigelk/followers","following_url":"https://api.github.com/users/rigelk/following{/other_user}","gists_url":"https://api.github.com/users/rigelk/gists{/gist_id}","starred_url":"https://api.github.com/users/rigelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigelk/subscriptions","organizations_url":"https://api.github.com/users/rigelk/orgs","repos_url":"https://api.github.com/users/rigelk/repos","events_url":"https://api.github.com/users/rigelk/events{/privacy}","received_events_url":"https://api.github.com/users/rigelk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T22:38:10Z","updated_at":"2018-03-27T06:57:19Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421","html_url":"https://github.com/Chocobozzz/PeerTube/pull/421","diff_url":"https://github.com/Chocobozzz/PeerTube/pull/421.diff","patch_url":"https://github.com/Chocobozzz/PeerTube/pull/421.patch"},"body":"As outlined by @Aldarone, the quota is one of the deciding factors when choosing an instance, and we should make it easy to spot.\r\n\r\nFor now I placed it in the about page as suggested (admittedly the wording could be improved…):\r\n\r\n\r\n![showing quota on the about page](https://user-images.githubusercontent.com/6329880/37936619-7ee496a8-3156-11e8-8c0a-8dda88996011.png)\r\n\r\nIt conveniently pulls data from the `API/server/stats` route, which now exposes the video quota defined in the config. This way, servers publicly disclose their baseline quota for potential newcomers to know."},"comment":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/comments/376417826","html_url":"https://github.com/Chocobozzz/PeerTube/pull/421#issuecomment-376417826","issue_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421","id":376417826,"user":{"login":"Chocobozzz","id":5180488,"avatar_url":"https://avatars0.githubusercontent.com/u/5180488?v=4","gravatar_id":"","url":"https://api.github.com/users/Chocobozzz","html_url":"https://github.com/Chocobozzz","followers_url":"https://api.github.com/users/Chocobozzz/followers","following_url":"https://api.github.com/users/Chocobozzz/following{/other_user}","gists_url":"https://api.github.com/users/Chocobozzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Chocobozzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chocobozzz/subscriptions","organizations_url":"https://api.github.com/users/Chocobozzz/orgs","repos_url":"https://api.github.com/users/Chocobozzz/repos","events_url":"https://api.github.com/users/Chocobozzz/events{/privacy}","received_events_url":"https://api.github.com/users/Chocobozzz/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T06:57:19Z","updated_at":"2018-03-27T06:57:19Z","author_association":"OWNER","body":"It would be better to put the quota in the `ServerConfig` model."}}
{"actor":{"display_login":"Chocobozzz"}}