{"action":"closed","number":421,"pull_request":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421","id":177586718,"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","issue_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421","number":421,"state":"closed","locked":false,"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},"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.","created_at":"2018-03-26T22:38:10Z","updated_at":"2018-03-27T11:42:58Z","closed_at":"2018-03-27T11:42:58Z","merged_at":"2018-03-27T11:42:58Z","merge_commit_sha":"1869c87535d31a73a26c5d07718cdf94300cc332","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421/commits","review_comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421/comments","review_comment_url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421/comments","statuses_url":"https://api.github.com/repos/Chocobozzz/PeerTube/statuses/f7c4b85200254a2512cc2d3091b3b12757efba6e","head":{"label":"rigelk:show-user-quota","ref":"show-user-quota","sha":"f7c4b85200254a2512cc2d3091b3b12757efba6e","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},"repo":{"id":114056832,"name":"PeerTube","full_name":"rigelk/PeerTube","owner":{"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},"private":false,"html_url":"https://github.com/rigelk/PeerTube","description":"[personal draft space to contribute to PeerTube]","fork":true,"url":"https://api.github.com/repos/rigelk/PeerTube","forks_url":"https://api.github.com/repos/rigelk/PeerTube/forks","keys_url":"https://api.github.com/repos/rigelk/PeerTube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rigelk/PeerTube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rigelk/PeerTube/teams","hooks_url":"https://api.github.com/repos/rigelk/PeerTube/hooks","issue_events_url":"https://api.github.com/repos/rigelk/PeerTube/issues/events{/number}","events_url":"https://api.github.com/repos/rigelk/PeerTube/events","assignees_url":"https://api.github.com/repos/rigelk/PeerTube/assignees{/user}","branches_url":"https://api.github.com/repos/rigelk/PeerTube/branches{/branch}","tags_url":"https://api.github.com/repos/rigelk/PeerTube/tags","blobs_url":"https://api.github.com/repos/rigelk/PeerTube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rigelk/PeerTube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rigelk/PeerTube/git/refs{/sha}","trees_url":"https://api.github.com/repos/rigelk/PeerTube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rigelk/PeerTube/statuses/{sha}","languages_url":"https://api.github.com/repos/rigelk/PeerTube/languages","stargazers_url":"https://api.github.com/repos/rigelk/PeerTube/stargazers","contributors_url":"https://api.github.com/repos/rigelk/PeerTube/contributors","subscribers_url":"https://api.github.com/repos/rigelk/PeerTube/subscribers","subscription_url":"https://api.github.com/repos/rigelk/PeerTube/subscription","commits_url":"https://api.github.com/repos/rigelk/PeerTube/commits{/sha}","git_commits_url":"https://api.github.com/repos/rigelk/PeerTube/git/commits{/sha}","comments_url":"https://api.github.com/repos/rigelk/PeerTube/comments{/number}","issue_comment_url":"https://api.github.com/repos/rigelk/PeerTube/issues/comments{/number}","contents_url":"https://api.github.com/repos/rigelk/PeerTube/contents/{+path}","compare_url":"https://api.github.com/repos/rigelk/PeerTube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rigelk/PeerTube/merges","archive_url":"https://api.github.com/repos/rigelk/PeerTube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rigelk/PeerTube/downloads","issues_url":"https://api.github.com/repos/rigelk/PeerTube/issues{/number}","pulls_url":"https://api.github.com/repos/rigelk/PeerTube/pulls{/number}","milestones_url":"https://api.github.com/repos/rigelk/PeerTube/milestones{/number}","notifications_url":"https://api.github.com/repos/rigelk/PeerTube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rigelk/PeerTube/labels{/name}","releases_url":"https://api.github.com/repos/rigelk/PeerTube/releases{/id}","deployments_url":"https://api.github.com/repos/rigelk/PeerTube/deployments","created_at":"2017-12-13T01:12:14Z","updated_at":"2018-03-26T10:53:50Z","pushed_at":"2018-03-27T10:53:20Z","git_url":"git://github.com/rigelk/PeerTube.git","ssh_url":"git@github.com:rigelk/PeerTube.git","clone_url":"https://github.com/rigelk/PeerTube.git","svn_url":"https://github.com/rigelk/PeerTube","homepage":"","size":8593,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Chocobozzz:develop","ref":"develop","sha":"da99ccf2681bcbc172a96cf30e7b733948767faa","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},"repo":{"id":45213667,"name":"PeerTube","full_name":"Chocobozzz/PeerTube","owner":{"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},"private":false,"html_url":"https://github.com/Chocobozzz/PeerTube","description":"Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.","fork":false,"url":"https://api.github.com/repos/Chocobozzz/PeerTube","forks_url":"https://api.github.com/repos/Chocobozzz/PeerTube/forks","keys_url":"https://api.github.com/repos/Chocobozzz/PeerTube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chocobozzz/PeerTube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chocobozzz/PeerTube/teams","hooks_url":"https://api.github.com/repos/Chocobozzz/PeerTube/hooks","issue_events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/events{/number}","events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/events","assignees_url":"https://api.github.com/repos/Chocobozzz/PeerTube/assignees{/user}","branches_url":"https://api.github.com/repos/Chocobozzz/PeerTube/branches{/branch}","tags_url":"https://api.github.com/repos/Chocobozzz/PeerTube/tags","blobs_url":"https://api.github.com/repos/Chocobozzz/PeerTube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chocobozzz/PeerTube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chocobozzz/PeerTube/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chocobozzz/PeerTube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chocobozzz/PeerTube/statuses/{sha}","languages_url":"https://api.github.com/repos/Chocobozzz/PeerTube/languages","stargazers_url":"https://api.github.com/repos/Chocobozzz/PeerTube/stargazers","contributors_url":"https://api.github.com/repos/Chocobozzz/PeerTube/contributors","subscribers_url":"https://api.github.com/repos/Chocobozzz/PeerTube/subscribers","subscription_url":"https://api.github.com/repos/Chocobozzz/PeerTube/subscription","commits_url":"https://api.github.com/repos/Chocobozzz/PeerTube/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chocobozzz/PeerTube/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chocobozzz/PeerTube/contents/{+path}","compare_url":"https://api.github.com/repos/Chocobozzz/PeerTube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chocobozzz/PeerTube/merges","archive_url":"https://api.github.com/repos/Chocobozzz/PeerTube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chocobozzz/PeerTube/downloads","issues_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues{/number}","pulls_url":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls{/number}","milestones_url":"https://api.github.com/repos/Chocobozzz/PeerTube/milestones{/number}","notifications_url":"https://api.github.com/repos/Chocobozzz/PeerTube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chocobozzz/PeerTube/labels{/name}","releases_url":"https://api.github.com/repos/Chocobozzz/PeerTube/releases{/id}","deployments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/deployments","created_at":"2015-10-29T22:09:42Z","updated_at":"2018-03-27T11:41:33Z","pushed_at":"2018-03-27T11:42:58Z","git_url":"git://github.com/Chocobozzz/PeerTube.git","ssh_url":"git@github.com:Chocobozzz/PeerTube.git","clone_url":"https://github.com/Chocobozzz/PeerTube.git","svn_url":"https://github.com/Chocobozzz/PeerTube","homepage":"","size":8613,"stargazers_count":1757,"watchers_count":1757,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"archived":false,"open_issues_count":70,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":147,"open_issues":70,"watchers":1757,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421"},"html":{"href":"https://github.com/Chocobozzz/PeerTube/pull/421"},"issue":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421"},"comments":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/Chocobozzz/PeerTube/statuses/f7c4b85200254a2512cc2d3091b3b12757efba6e"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":24,"deletions":1,"changed_files":5}}
{"actor":{"display_login":"Chocobozzz"}}