{"action":"closed","number":283,"pull_request":{"url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283","id":138918961,"html_url":"https://github.com/BathHacked/energy-sparks/pull/283","diff_url":"https://github.com/BathHacked/energy-sparks/pull/283.diff","patch_url":"https://github.com/BathHacked/energy-sparks/pull/283.patch","issue_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/283","number":283,"state":"closed","locked":false,"title":"New badges","user":{"login":"ldodds","id":109082,"avatar_url":"https://avatars3.githubusercontent.com/u/109082?v=4","gravatar_id":"","url":"https://api.github.com/users/ldodds","html_url":"https://github.com/ldodds","followers_url":"https://api.github.com/users/ldodds/followers","following_url":"https://api.github.com/users/ldodds/following{/other_user}","gists_url":"https://api.github.com/users/ldodds/gists{/gist_id}","starred_url":"https://api.github.com/users/ldodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldodds/subscriptions","organizations_url":"https://api.github.com/users/ldodds/orgs","repos_url":"https://api.github.com/users/ldodds/repos","events_url":"https://api.github.com/users/ldodds/events{/privacy}","received_events_url":"https://api.github.com/users/ldodds/received_events","type":"User","site_admin":false},"body":"Closes #260 \r\nCloses #254 \r\n\r\nImplements the revised logic and badges specified here:\r\nhttps://docs.google.com/spreadsheets/d/17u5tHIZ55Qm_z_sLzZi_2md-jCkS1Y2FPXzoh8RVfT0/edit#gid=0\r\n\r\nAll activity related badges are now temporary so should be revoked if a user deletes or updates an activity.\r\n\r\n<!---\r\n@huboard:{\"order\":253.075907590253,\"milestone_order\":283,\"custom_state\":\"\"}\n-->\r\n","created_at":"2017-09-01T15:39:55Z","updated_at":"2017-09-01T15:46:52Z","closed_at":"2017-09-01T15:46:52Z","merged_at":"2017-09-01T15:46:51Z","merge_commit_sha":"cc5c28dda934244012100fbabbbad6400495ef8e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283/commits","review_comments_url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283/comments","review_comment_url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/283/comments","statuses_url":"https://api.github.com/repos/BathHacked/energy-sparks/statuses/d536fde797358831e86ebd11c007565b3384856b","head":{"label":"BathHacked:new-badges","ref":"new-badges","sha":"d536fde797358831e86ebd11c007565b3384856b","user":{"login":"BathHacked","id":8505756,"avatar_url":"https://avatars3.githubusercontent.com/u/8505756?v=4","gravatar_id":"","url":"https://api.github.com/users/BathHacked","html_url":"https://github.com/BathHacked","followers_url":"https://api.github.com/users/BathHacked/followers","following_url":"https://api.github.com/users/BathHacked/following{/other_user}","gists_url":"https://api.github.com/users/BathHacked/gists{/gist_id}","starred_url":"https://api.github.com/users/BathHacked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BathHacked/subscriptions","organizations_url":"https://api.github.com/users/BathHacked/orgs","repos_url":"https://api.github.com/users/BathHacked/repos","events_url":"https://api.github.com/users/BathHacked/events{/privacy}","received_events_url":"https://api.github.com/users/BathHacked/received_events","type":"Organization","site_admin":false},"repo":{"id":65835847,"name":"energy-sparks","full_name":"BathHacked/energy-sparks","owner":{"login":"BathHacked","id":8505756,"avatar_url":"https://avatars3.githubusercontent.com/u/8505756?v=4","gravatar_id":"","url":"https://api.github.com/users/BathHacked","html_url":"https://github.com/BathHacked","followers_url":"https://api.github.com/users/BathHacked/followers","following_url":"https://api.github.com/users/BathHacked/following{/other_user}","gists_url":"https://api.github.com/users/BathHacked/gists{/gist_id}","starred_url":"https://api.github.com/users/BathHacked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BathHacked/subscriptions","organizations_url":"https://api.github.com/users/BathHacked/orgs","repos_url":"https://api.github.com/users/BathHacked/repos","events_url":"https://api.github.com/users/BathHacked/events{/privacy}","received_events_url":"https://api.github.com/users/BathHacked/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BathHacked/energy-sparks","description":"Source for the EnergySparks website","fork":false,"url":"https://api.github.com/repos/BathHacked/energy-sparks","forks_url":"https://api.github.com/repos/BathHacked/energy-sparks/forks","keys_url":"https://api.github.com/repos/BathHacked/energy-sparks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BathHacked/energy-sparks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BathHacked/energy-sparks/teams","hooks_url":"https://api.github.com/repos/BathHacked/energy-sparks/hooks","issue_events_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/events{/number}","events_url":"https://api.github.com/repos/BathHacked/energy-sparks/events","assignees_url":"https://api.github.com/repos/BathHacked/energy-sparks/assignees{/user}","branches_url":"https://api.github.com/repos/BathHacked/energy-sparks/branches{/branch}","tags_url":"https://api.github.com/repos/BathHacked/energy-sparks/tags","blobs_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/refs{/sha}","trees_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BathHacked/energy-sparks/statuses/{sha}","languages_url":"https://api.github.com/repos/BathHacked/energy-sparks/languages","stargazers_url":"https://api.github.com/repos/BathHacked/energy-sparks/stargazers","contributors_url":"https://api.github.com/repos/BathHacked/energy-sparks/contributors","subscribers_url":"https://api.github.com/repos/BathHacked/energy-sparks/subscribers","subscription_url":"https://api.github.com/repos/BathHacked/energy-sparks/subscription","commits_url":"https://api.github.com/repos/BathHacked/energy-sparks/commits{/sha}","git_commits_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/commits{/sha}","comments_url":"https://api.github.com/repos/BathHacked/energy-sparks/comments{/number}","issue_comment_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/comments{/number}","contents_url":"https://api.github.com/repos/BathHacked/energy-sparks/contents/{+path}","compare_url":"https://api.github.com/repos/BathHacked/energy-sparks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BathHacked/energy-sparks/merges","archive_url":"https://api.github.com/repos/BathHacked/energy-sparks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BathHacked/energy-sparks/downloads","issues_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues{/number}","pulls_url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls{/number}","milestones_url":"https://api.github.com/repos/BathHacked/energy-sparks/milestones{/number}","notifications_url":"https://api.github.com/repos/BathHacked/energy-sparks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BathHacked/energy-sparks/labels{/name}","releases_url":"https://api.github.com/repos/BathHacked/energy-sparks/releases{/id}","deployments_url":"https://api.github.com/repos/BathHacked/energy-sparks/deployments","created_at":"2016-08-16T16:26:52Z","updated_at":"2017-02-03T17:38:56Z","pushed_at":"2017-09-01T15:46:51Z","git_url":"git://github.com/BathHacked/energy-sparks.git","ssh_url":"git@github.com:BathHacked/energy-sparks.git","clone_url":"https://github.com/BathHacked/energy-sparks.git","svn_url":"https://github.com/BathHacked/energy-sparks","homepage":"http://www.energysparks.uk","size":1647,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":5,"default_branch":"master"}},"base":{"label":"BathHacked:master","ref":"master","sha":"f605bb82c0e3ffa57996f9371e4e8a007bf1ca9b","user":{"login":"BathHacked","id":8505756,"avatar_url":"https://avatars3.githubusercontent.com/u/8505756?v=4","gravatar_id":"","url":"https://api.github.com/users/BathHacked","html_url":"https://github.com/BathHacked","followers_url":"https://api.github.com/users/BathHacked/followers","following_url":"https://api.github.com/users/BathHacked/following{/other_user}","gists_url":"https://api.github.com/users/BathHacked/gists{/gist_id}","starred_url":"https://api.github.com/users/BathHacked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BathHacked/subscriptions","organizations_url":"https://api.github.com/users/BathHacked/orgs","repos_url":"https://api.github.com/users/BathHacked/repos","events_url":"https://api.github.com/users/BathHacked/events{/privacy}","received_events_url":"https://api.github.com/users/BathHacked/received_events","type":"Organization","site_admin":false},"repo":{"id":65835847,"name":"energy-sparks","full_name":"BathHacked/energy-sparks","owner":{"login":"BathHacked","id":8505756,"avatar_url":"https://avatars3.githubusercontent.com/u/8505756?v=4","gravatar_id":"","url":"https://api.github.com/users/BathHacked","html_url":"https://github.com/BathHacked","followers_url":"https://api.github.com/users/BathHacked/followers","following_url":"https://api.github.com/users/BathHacked/following{/other_user}","gists_url":"https://api.github.com/users/BathHacked/gists{/gist_id}","starred_url":"https://api.github.com/users/BathHacked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BathHacked/subscriptions","organizations_url":"https://api.github.com/users/BathHacked/orgs","repos_url":"https://api.github.com/users/BathHacked/repos","events_url":"https://api.github.com/users/BathHacked/events{/privacy}","received_events_url":"https://api.github.com/users/BathHacked/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BathHacked/energy-sparks","description":"Source for the EnergySparks website","fork":false,"url":"https://api.github.com/repos/BathHacked/energy-sparks","forks_url":"https://api.github.com/repos/BathHacked/energy-sparks/forks","keys_url":"https://api.github.com/repos/BathHacked/energy-sparks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BathHacked/energy-sparks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BathHacked/energy-sparks/teams","hooks_url":"https://api.github.com/repos/BathHacked/energy-sparks/hooks","issue_events_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/events{/number}","events_url":"https://api.github.com/repos/BathHacked/energy-sparks/events","assignees_url":"https://api.github.com/repos/BathHacked/energy-sparks/assignees{/user}","branches_url":"https://api.github.com/repos/BathHacked/energy-sparks/branches{/branch}","tags_url":"https://api.github.com/repos/BathHacked/energy-sparks/tags","blobs_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/refs{/sha}","trees_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BathHacked/energy-sparks/statuses/{sha}","languages_url":"https://api.github.com/repos/BathHacked/energy-sparks/languages","stargazers_url":"https://api.github.com/repos/BathHacked/energy-sparks/stargazers","contributors_url":"https://api.github.com/repos/BathHacked/energy-sparks/contributors","subscribers_url":"https://api.github.com/repos/BathHacked/energy-sparks/subscribers","subscription_url":"https://api.github.com/repos/BathHacked/energy-sparks/subscription","commits_url":"https://api.github.com/repos/BathHacked/energy-sparks/commits{/sha}","git_commits_url":"https://api.github.com/repos/BathHacked/energy-sparks/git/commits{/sha}","comments_url":"https://api.github.com/repos/BathHacked/energy-sparks/comments{/number}","issue_comment_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues/comments{/number}","contents_url":"https://api.github.com/repos/BathHacked/energy-sparks/contents/{+path}","compare_url":"https://api.github.com/repos/BathHacked/energy-sparks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BathHacked/energy-sparks/merges","archive_url":"https://api.github.com/repos/BathHacked/energy-sparks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BathHacked/energy-sparks/downloads","issues_url":"https://api.github.com/repos/BathHacked/energy-sparks/issues{/number}","pulls_url":"https://api.github.com/repos/BathHacked/energy-sparks/pulls{/number}","milestones_url":"https://api.github.com/repos/BathHacked/energy-sparks/milestones{/number}","notifications_url":"https://api.github.com/repos/BathHacked/energy-sparks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BathHacked/energy-sparks/labels{/name}","releases_url":"https://api.github.com/repos/BathHacked/energy-sparks/releases{/id}","deployments_url":"https://api.github.com/repos/BathHacked/energy-sparks/deployments","created_at":"2016-08-16T16:26:52Z","updated_at":"2017-02-03T17:38:56Z","pushed_at":"2017-09-01T15:46:51Z","git_url":"git://github.com/BathHacked/energy-sparks.git","ssh_url":"git@github.com:BathHacked/energy-sparks.git","clone_url":"https://github.com/BathHacked/energy-sparks.git","svn_url":"https://github.com/BathHacked/energy-sparks","homepage":"http://www.energysparks.uk","size":1647,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":29,"forks":0,"open_issues":29,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283"},"html":{"href":"https://github.com/BathHacked/energy-sparks/pull/283"},"issue":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/issues/283"},"comments":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/issues/283/comments"},"review_comments":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283/comments"},"review_comment":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/pulls/283/commits"},"statuses":{"href":"https://api.github.com/repos/BathHacked/energy-sparks/statuses/d536fde797358831e86ebd11c007565b3384856b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ldodds","id":109082,"avatar_url":"https://avatars3.githubusercontent.com/u/109082?v=4","gravatar_id":"","url":"https://api.github.com/users/ldodds","html_url":"https://github.com/ldodds","followers_url":"https://api.github.com/users/ldodds/followers","following_url":"https://api.github.com/users/ldodds/following{/other_user}","gists_url":"https://api.github.com/users/ldodds/gists{/gist_id}","starred_url":"https://api.github.com/users/ldodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldodds/subscriptions","organizations_url":"https://api.github.com/users/ldodds/orgs","repos_url":"https://api.github.com/users/ldodds/repos","events_url":"https://api.github.com/users/ldodds/events{/privacy}","received_events_url":"https://api.github.com/users/ldodds/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":801,"deletions":437,"changed_files":20}}
{"actor":{"display_login":"ldodds"}}