{"action":"opened","number":71,"pull_request":{"url":"https://api.github.com/repos/agdsn/pycroft/pulls/71","id":96601361,"html_url":"https://github.com/agdsn/pycroft/pull/71","diff_url":"https://github.com/agdsn/pycroft/pull/71.diff","patch_url":"https://github.com/agdsn/pycroft/pull/71.patch","issue_url":"https://api.github.com/repos/agdsn/pycroft/issues/71","number":71,"state":"open","locked":false,"title":"Traffic","user":{"login":"mueslo","id":847751,"avatar_url":"https://avatars.githubusercontent.com/u/847751?v=3","gravatar_id":"","url":"https://api.github.com/users/mueslo","html_url":"https://github.com/mueslo","followers_url":"https://api.github.com/users/mueslo/followers","following_url":"https://api.github.com/users/mueslo/following{/other_user}","gists_url":"https://api.github.com/users/mueslo/gists{/gist_id}","starred_url":"https://api.github.com/users/mueslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mueslo/subscriptions","organizations_url":"https://api.github.com/users/mueslo/orgs","repos_url":"https://api.github.com/users/mueslo/repos","events_url":"https://api.github.com/users/mueslo/events{/privacy}","received_events_url":"https://api.github.com/users/mueslo/received_events","type":"User","site_admin":false},"body":"Change traffic model to a model based on three parts:\r\n  * `TrafficBalance` which contains the balance of the user at some timestamp\r\n  * `TrafficVolume` which contains timestamped traffic usage events\r\n  * `TrafficCredit` which contains timestamped traffic credit events\r\n\r\nReplace highcharts traffic chart with a custom d3.js one\r\n![trafficgraph](https://cloud.githubusercontent.com/assets/847751/20900679/8363f6a4-bb2f-11e6-8951-5c7a857cf327.gif)\r\n","created_at":"2016-12-05T20:17:26Z","updated_at":"2016-12-05T20:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/agdsn/pycroft/pulls/71/commits","review_comments_url":"https://api.github.com/repos/agdsn/pycroft/pulls/71/comments","review_comment_url":"https://api.github.com/repos/agdsn/pycroft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agdsn/pycroft/issues/71/comments","statuses_url":"https://api.github.com/repos/agdsn/pycroft/statuses/27eefc408b53e982a471f18d572c63af403d1674","head":{"label":"agdsn:traffic","ref":"traffic","sha":"27eefc408b53e982a471f18d572c63af403d1674","user":{"login":"agdsn","id":7594277,"avatar_url":"https://avatars.githubusercontent.com/u/7594277?v=3","gravatar_id":"","url":"https://api.github.com/users/agdsn","html_url":"https://github.com/agdsn","followers_url":"https://api.github.com/users/agdsn/followers","following_url":"https://api.github.com/users/agdsn/following{/other_user}","gists_url":"https://api.github.com/users/agdsn/gists{/gist_id}","starred_url":"https://api.github.com/users/agdsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdsn/subscriptions","organizations_url":"https://api.github.com/users/agdsn/orgs","repos_url":"https://api.github.com/users/agdsn/repos","events_url":"https://api.github.com/users/agdsn/events{/privacy}","received_events_url":"https://api.github.com/users/agdsn/received_events","type":"Organization","site_admin":false},"repo":{"id":56711411,"name":"pycroft","full_name":"agdsn/pycroft","owner":{"login":"agdsn","id":7594277,"avatar_url":"https://avatars.githubusercontent.com/u/7594277?v=3","gravatar_id":"","url":"https://api.github.com/users/agdsn","html_url":"https://github.com/agdsn","followers_url":"https://api.github.com/users/agdsn/followers","following_url":"https://api.github.com/users/agdsn/following{/other_user}","gists_url":"https://api.github.com/users/agdsn/gists{/gist_id}","starred_url":"https://api.github.com/users/agdsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdsn/subscriptions","organizations_url":"https://api.github.com/users/agdsn/orgs","repos_url":"https://api.github.com/users/agdsn/repos","events_url":"https://api.github.com/users/agdsn/events{/privacy}","received_events_url":"https://api.github.com/users/agdsn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agdsn/pycroft","description":"The new AG DSN management system","fork":false,"url":"https://api.github.com/repos/agdsn/pycroft","forks_url":"https://api.github.com/repos/agdsn/pycroft/forks","keys_url":"https://api.github.com/repos/agdsn/pycroft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agdsn/pycroft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agdsn/pycroft/teams","hooks_url":"https://api.github.com/repos/agdsn/pycroft/hooks","issue_events_url":"https://api.github.com/repos/agdsn/pycroft/issues/events{/number}","events_url":"https://api.github.com/repos/agdsn/pycroft/events","assignees_url":"https://api.github.com/repos/agdsn/pycroft/assignees{/user}","branches_url":"https://api.github.com/repos/agdsn/pycroft/branches{/branch}","tags_url":"https://api.github.com/repos/agdsn/pycroft/tags","blobs_url":"https://api.github.com/repos/agdsn/pycroft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agdsn/pycroft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agdsn/pycroft/git/refs{/sha}","trees_url":"https://api.github.com/repos/agdsn/pycroft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agdsn/pycroft/statuses/{sha}","languages_url":"https://api.github.com/repos/agdsn/pycroft/languages","stargazers_url":"https://api.github.com/repos/agdsn/pycroft/stargazers","contributors_url":"https://api.github.com/repos/agdsn/pycroft/contributors","subscribers_url":"https://api.github.com/repos/agdsn/pycroft/subscribers","subscription_url":"https://api.github.com/repos/agdsn/pycroft/subscription","commits_url":"https://api.github.com/repos/agdsn/pycroft/commits{/sha}","git_commits_url":"https://api.github.com/repos/agdsn/pycroft/git/commits{/sha}","comments_url":"https://api.github.com/repos/agdsn/pycroft/comments{/number}","issue_comment_url":"https://api.github.com/repos/agdsn/pycroft/issues/comments{/number}","contents_url":"https://api.github.com/repos/agdsn/pycroft/contents/{+path}","compare_url":"https://api.github.com/repos/agdsn/pycroft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agdsn/pycroft/merges","archive_url":"https://api.github.com/repos/agdsn/pycroft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agdsn/pycroft/downloads","issues_url":"https://api.github.com/repos/agdsn/pycroft/issues{/number}","pulls_url":"https://api.github.com/repos/agdsn/pycroft/pulls{/number}","milestones_url":"https://api.github.com/repos/agdsn/pycroft/milestones{/number}","notifications_url":"https://api.github.com/repos/agdsn/pycroft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agdsn/pycroft/labels{/name}","releases_url":"https://api.github.com/repos/agdsn/pycroft/releases{/id}","deployments_url":"https://api.github.com/repos/agdsn/pycroft/deployments","created_at":"2016-04-20T18:36:36Z","updated_at":"2016-11-02T19:50:02Z","pushed_at":"2016-12-05T20:10:21Z","git_url":"git://github.com/agdsn/pycroft.git","ssh_url":"git@github.com:agdsn/pycroft.git","clone_url":"https://github.com/agdsn/pycroft.git","svn_url":"https://github.com/agdsn/pycroft","homepage":null,"size":5995,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":58,"forks":2,"open_issues":58,"watchers":4,"default_branch":"develop"}},"base":{"label":"agdsn:develop","ref":"develop","sha":"a0afd8e0926e0e469f3f06931237bc033cfe0043","user":{"login":"agdsn","id":7594277,"avatar_url":"https://avatars.githubusercontent.com/u/7594277?v=3","gravatar_id":"","url":"https://api.github.com/users/agdsn","html_url":"https://github.com/agdsn","followers_url":"https://api.github.com/users/agdsn/followers","following_url":"https://api.github.com/users/agdsn/following{/other_user}","gists_url":"https://api.github.com/users/agdsn/gists{/gist_id}","starred_url":"https://api.github.com/users/agdsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdsn/subscriptions","organizations_url":"https://api.github.com/users/agdsn/orgs","repos_url":"https://api.github.com/users/agdsn/repos","events_url":"https://api.github.com/users/agdsn/events{/privacy}","received_events_url":"https://api.github.com/users/agdsn/received_events","type":"Organization","site_admin":false},"repo":{"id":56711411,"name":"pycroft","full_name":"agdsn/pycroft","owner":{"login":"agdsn","id":7594277,"avatar_url":"https://avatars.githubusercontent.com/u/7594277?v=3","gravatar_id":"","url":"https://api.github.com/users/agdsn","html_url":"https://github.com/agdsn","followers_url":"https://api.github.com/users/agdsn/followers","following_url":"https://api.github.com/users/agdsn/following{/other_user}","gists_url":"https://api.github.com/users/agdsn/gists{/gist_id}","starred_url":"https://api.github.com/users/agdsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdsn/subscriptions","organizations_url":"https://api.github.com/users/agdsn/orgs","repos_url":"https://api.github.com/users/agdsn/repos","events_url":"https://api.github.com/users/agdsn/events{/privacy}","received_events_url":"https://api.github.com/users/agdsn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agdsn/pycroft","description":"The new AG DSN management system","fork":false,"url":"https://api.github.com/repos/agdsn/pycroft","forks_url":"https://api.github.com/repos/agdsn/pycroft/forks","keys_url":"https://api.github.com/repos/agdsn/pycroft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agdsn/pycroft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agdsn/pycroft/teams","hooks_url":"https://api.github.com/repos/agdsn/pycroft/hooks","issue_events_url":"https://api.github.com/repos/agdsn/pycroft/issues/events{/number}","events_url":"https://api.github.com/repos/agdsn/pycroft/events","assignees_url":"https://api.github.com/repos/agdsn/pycroft/assignees{/user}","branches_url":"https://api.github.com/repos/agdsn/pycroft/branches{/branch}","tags_url":"https://api.github.com/repos/agdsn/pycroft/tags","blobs_url":"https://api.github.com/repos/agdsn/pycroft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agdsn/pycroft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agdsn/pycroft/git/refs{/sha}","trees_url":"https://api.github.com/repos/agdsn/pycroft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agdsn/pycroft/statuses/{sha}","languages_url":"https://api.github.com/repos/agdsn/pycroft/languages","stargazers_url":"https://api.github.com/repos/agdsn/pycroft/stargazers","contributors_url":"https://api.github.com/repos/agdsn/pycroft/contributors","subscribers_url":"https://api.github.com/repos/agdsn/pycroft/subscribers","subscription_url":"https://api.github.com/repos/agdsn/pycroft/subscription","commits_url":"https://api.github.com/repos/agdsn/pycroft/commits{/sha}","git_commits_url":"https://api.github.com/repos/agdsn/pycroft/git/commits{/sha}","comments_url":"https://api.github.com/repos/agdsn/pycroft/comments{/number}","issue_comment_url":"https://api.github.com/repos/agdsn/pycroft/issues/comments{/number}","contents_url":"https://api.github.com/repos/agdsn/pycroft/contents/{+path}","compare_url":"https://api.github.com/repos/agdsn/pycroft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agdsn/pycroft/merges","archive_url":"https://api.github.com/repos/agdsn/pycroft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agdsn/pycroft/downloads","issues_url":"https://api.github.com/repos/agdsn/pycroft/issues{/number}","pulls_url":"https://api.github.com/repos/agdsn/pycroft/pulls{/number}","milestones_url":"https://api.github.com/repos/agdsn/pycroft/milestones{/number}","notifications_url":"https://api.github.com/repos/agdsn/pycroft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agdsn/pycroft/labels{/name}","releases_url":"https://api.github.com/repos/agdsn/pycroft/releases{/id}","deployments_url":"https://api.github.com/repos/agdsn/pycroft/deployments","created_at":"2016-04-20T18:36:36Z","updated_at":"2016-11-02T19:50:02Z","pushed_at":"2016-12-05T20:10:21Z","git_url":"git://github.com/agdsn/pycroft.git","ssh_url":"git@github.com:agdsn/pycroft.git","clone_url":"https://github.com/agdsn/pycroft.git","svn_url":"https://github.com/agdsn/pycroft","homepage":null,"size":5995,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":58,"forks":2,"open_issues":58,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/agdsn/pycroft/pulls/71"},"html":{"href":"https://github.com/agdsn/pycroft/pull/71"},"issue":{"href":"https://api.github.com/repos/agdsn/pycroft/issues/71"},"comments":{"href":"https://api.github.com/repos/agdsn/pycroft/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/agdsn/pycroft/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/agdsn/pycroft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agdsn/pycroft/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/agdsn/pycroft/statuses/27eefc408b53e982a471f18d572c63af403d1674"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":691,"deletions":291,"changed_files":28}}
{"actor":{"display_login":"mueslo"}}