{"action":"closed","number":4934,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934","id":32161725,"html_url":"https://github.com/HabitRPG/habitrpg/pull/4934","diff_url":"https://github.com/HabitRPG/habitrpg/pull/4934.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/4934.patch","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4934","number":4934,"state":"closed","locked":false,"title":"Single challenge view updated","user":{"login":"gisikw","id":10201,"avatar_url":"https://avatars.githubusercontent.com/u/10201?v=3","gravatar_id":"","url":"https://api.github.com/users/gisikw","html_url":"https://github.com/gisikw","followers_url":"https://api.github.com/users/gisikw/followers","following_url":"https://api.github.com/users/gisikw/following{/other_user}","gists_url":"https://api.github.com/users/gisikw/gists{/gist_id}","starred_url":"https://api.github.com/users/gisikw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisikw/subscriptions","organizations_url":"https://api.github.com/users/gisikw/orgs","repos_url":"https://api.github.com/users/gisikw/repos","events_url":"https://api.github.com/users/gisikw/events{/privacy}","received_events_url":"https://api.github.com/users/gisikw/received_events","type":"User","site_admin":false},"body":"* Manually pulled in changes from #3319  - add a \"Singleton\" challenge view.\r\n\r\n* Locked v2 API /challenges/:cid behind user auth (allows `_isMember` on that response, and probably closes a security hole).\r\n\r\n* Fix a minor issue where deleting a challenge from the singleton view wouldn't correctly transition back.\r\n\r\n* Set the \"list view\" for challenges to transition to singleton view on edit (allows us to use the fix from #4814)\r\n\r\n* Added in the fix from #4814.\r\n\r\nThis should satisfy both pull requests, and fixes the issues mentioned with the in-progress one :)","created_at":"2015-03-28T09:08:49Z","updated_at":"2015-04-06T07:39:04Z","closed_at":"2015-04-06T07:39:04Z","merged_at":"2015-04-06T07:39:03Z","merge_commit_sha":"de48fc8f442ea8a2f79f950efe60eaf95bd4aee8","assignee":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934/commits","review_comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934/comments","review_comment_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4934/comments","statuses_url":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/6cfdfc5225f15487474e7b9057a2483f28798340","head":{"label":"gisikw:single-challenge-view-updated","ref":"single-challenge-view-updated","sha":"6cfdfc5225f15487474e7b9057a2483f28798340","user":{"login":"gisikw","id":10201,"avatar_url":"https://avatars.githubusercontent.com/u/10201?v=3","gravatar_id":"","url":"https://api.github.com/users/gisikw","html_url":"https://github.com/gisikw","followers_url":"https://api.github.com/users/gisikw/followers","following_url":"https://api.github.com/users/gisikw/following{/other_user}","gists_url":"https://api.github.com/users/gisikw/gists{/gist_id}","starred_url":"https://api.github.com/users/gisikw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisikw/subscriptions","organizations_url":"https://api.github.com/users/gisikw/orgs","repos_url":"https://api.github.com/users/gisikw/repos","events_url":"https://api.github.com/users/gisikw/events{/privacy}","received_events_url":"https://api.github.com/users/gisikw/received_events","type":"User","site_admin":false},"repo":{"id":32420879,"name":"habitrpg","full_name":"gisikw/habitrpg","owner":{"login":"gisikw","id":10201,"avatar_url":"https://avatars.githubusercontent.com/u/10201?v=3","gravatar_id":"","url":"https://api.github.com/users/gisikw","html_url":"https://github.com/gisikw","followers_url":"https://api.github.com/users/gisikw/followers","following_url":"https://api.github.com/users/gisikw/following{/other_user}","gists_url":"https://api.github.com/users/gisikw/gists{/gist_id}","starred_url":"https://api.github.com/users/gisikw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisikw/subscriptions","organizations_url":"https://api.github.com/users/gisikw/orgs","repos_url":"https://api.github.com/users/gisikw/repos","events_url":"https://api.github.com/users/gisikw/events{/privacy}","received_events_url":"https://api.github.com/users/gisikw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gisikw/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":true,"url":"https://api.github.com/repos/gisikw/habitrpg","forks_url":"https://api.github.com/repos/gisikw/habitrpg/forks","keys_url":"https://api.github.com/repos/gisikw/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gisikw/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gisikw/habitrpg/teams","hooks_url":"https://api.github.com/repos/gisikw/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/gisikw/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/gisikw/habitrpg/events","assignees_url":"https://api.github.com/repos/gisikw/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/gisikw/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/gisikw/habitrpg/tags","blobs_url":"https://api.github.com/repos/gisikw/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gisikw/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gisikw/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/gisikw/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gisikw/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/gisikw/habitrpg/languages","stargazers_url":"https://api.github.com/repos/gisikw/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/gisikw/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/gisikw/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/gisikw/habitrpg/subscription","commits_url":"https://api.github.com/repos/gisikw/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/gisikw/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/gisikw/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/gisikw/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/gisikw/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/gisikw/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gisikw/habitrpg/merges","archive_url":"https://api.github.com/repos/gisikw/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gisikw/habitrpg/downloads","issues_url":"https://api.github.com/repos/gisikw/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/gisikw/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/gisikw/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/gisikw/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gisikw/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/gisikw/habitrpg/releases{/id}","created_at":"2015-03-17T21:16:21Z","updated_at":"2015-04-04T01:03:49Z","pushed_at":"2015-04-06T06:44:50Z","git_url":"git://github.com/gisikw/habitrpg.git","ssh_url":"git@github.com:gisikw/habitrpg.git","clone_url":"https://github.com/gisikw/habitrpg.git","svn_url":"https://github.com/gisikw/habitrpg","homepage":"habitrpg.com","size":164446,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"HabitRPG:develop","ref":"develop","sha":"934fd130427803e895fb752c5ebe47f9ab818ed5","user":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"name":"habitrpg","full_name":"HabitRPG/habitrpg","owner":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitrpg","forks_url":"https://api.github.com/repos/HabitRPG/habitrpg/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitrpg/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitrpg/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitrpg/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitrpg/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitrpg/releases{/id}","created_at":"2012-06-06T22:49:48Z","updated_at":"2015-04-06T05:35:55Z","pushed_at":"2015-04-06T07:39:03Z","git_url":"git://github.com/HabitRPG/habitrpg.git","ssh_url":"git@github.com:HabitRPG/habitrpg.git","clone_url":"https://github.com/HabitRPG/habitrpg.git","svn_url":"https://github.com/HabitRPG/habitrpg","homepage":"habitrpg.com","size":188353,"stargazers_count":2654,"watchers_count":2654,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1022,"mirror_url":null,"open_issues_count":673,"forks":1022,"open_issues":673,"watchers":2654,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934"},"html":{"href":"https://github.com/HabitRPG/habitrpg/pull/4934"},"issue":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4934"},"comments":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4934/comments"},"review_comments":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934/comments"},"review_comment":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4934/commits"},"statuses":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/6cfdfc5225f15487474e7b9057a2483f28798340"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"comments":18,"review_comments":0,"commits":7,"additions":71,"deletions":20,"changed_files":7}}