{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/65654587","id":65654587,"diff_hunk":"@@ -89,8 +89,15 @@ def get(self, username):\n             edited_exp_summary_dicts = (\n                 summary_services.get_displayable_exp_summary_dicts_matching_ids(\n                     user_contributions.edited_exploration_ids))\n+            ### function to determine whether current user is same as user on page ###","path":"core/controllers/profile.py","position":14,"original_position":18,"commit_id":"81de2ed31c4b6246f1e8dcbce591de85a852c40f","original_commit_id":"1227e8b40af97680ed950960d09cf058fee54c16","user":{"login":"p4rsec","id":15082726,"avatar_url":"https://avatars.githubusercontent.com/u/15082726?v=3","gravatar_id":"","url":"https://api.github.com/users/p4rsec","html_url":"https://github.com/p4rsec","followers_url":"https://api.github.com/users/p4rsec/followers","following_url":"https://api.github.com/users/p4rsec/following{/other_user}","gists_url":"https://api.github.com/users/p4rsec/gists{/gist_id}","starred_url":"https://api.github.com/users/p4rsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4rsec/subscriptions","organizations_url":"https://api.github.com/users/p4rsec/orgs","repos_url":"https://api.github.com/users/p4rsec/repos","events_url":"https://api.github.com/users/p4rsec/events{/privacy}","received_events_url":"https://api.github.com/users/p4rsec/received_events","type":"User","site_admin":false},"body":"Ah right. Would you like me to remove it? I was using that so I knew where I put the code and didn't scroll past it on accident\r\n","created_at":"2016-06-03T04:10:30Z","updated_at":"2016-06-03T04:10:30Z","html_url":"https://github.com/oppia/oppia/pull/1914#discussion_r65654587","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/1914","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/65654587"},"html":{"href":"https://github.com/oppia/oppia/pull/1914#discussion_r65654587"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1914"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/1914","id":71861734,"html_url":"https://github.com/oppia/oppia/pull/1914","diff_url":"https://github.com/oppia/oppia/pull/1914.diff","patch_url":"https://github.com/oppia/oppia/pull/1914.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/1914","number":1914,"state":"open","locked":false,"title":"Fix #1793: Set hyperlink to /preferences on profile image contingent on whether the profile page was the current user's or not.","user":{"login":"p4rsec","id":15082726,"avatar_url":"https://avatars.githubusercontent.com/u/15082726?v=3","gravatar_id":"","url":"https://api.github.com/users/p4rsec","html_url":"https://github.com/p4rsec","followers_url":"https://api.github.com/users/p4rsec/followers","following_url":"https://api.github.com/users/p4rsec/following{/other_user}","gists_url":"https://api.github.com/users/p4rsec/gists{/gist_id}","starred_url":"https://api.github.com/users/p4rsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4rsec/subscriptions","organizations_url":"https://api.github.com/users/p4rsec/orgs","repos_url":"https://api.github.com/users/p4rsec/repos","events_url":"https://api.github.com/users/p4rsec/events{/privacy}","received_events_url":"https://api.github.com/users/p4rsec/received_events","type":"User","site_admin":false},"body":"Added a set of `ng-if` statements to determine whether the profile page belonged to the current user or not; if it did, the profile image hyperlinks to `/preferences`, however if it does not, the profile picture contains no hyperlink.","created_at":"2016-05-30T07:19:07Z","updated_at":"2016-06-03T04:10:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f04ecf1a0d0c27795c316a6f813d86a144e0d3b8","assignee":{"login":"AllanYangZhou","id":8732147,"avatar_url":"https://avatars.githubusercontent.com/u/8732147?v=3","gravatar_id":"","url":"https://api.github.com/users/AllanYangZhou","html_url":"https://github.com/AllanYangZhou","followers_url":"https://api.github.com/users/AllanYangZhou/followers","following_url":"https://api.github.com/users/AllanYangZhou/following{/other_user}","gists_url":"https://api.github.com/users/AllanYangZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/AllanYangZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllanYangZhou/subscriptions","organizations_url":"https://api.github.com/users/AllanYangZhou/orgs","repos_url":"https://api.github.com/users/AllanYangZhou/repos","events_url":"https://api.github.com/users/AllanYangZhou/events{/privacy}","received_events_url":"https://api.github.com/users/AllanYangZhou/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/1914/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/1914/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/1914/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/81de2ed31c4b6246f1e8dcbce591de85a852c40f","head":{"label":"p4rsec:develop","ref":"develop","sha":"81de2ed31c4b6246f1e8dcbce591de85a852c40f","user":{"login":"p4rsec","id":15082726,"avatar_url":"https://avatars.githubusercontent.com/u/15082726?v=3","gravatar_id":"","url":"https://api.github.com/users/p4rsec","html_url":"https://github.com/p4rsec","followers_url":"https://api.github.com/users/p4rsec/followers","following_url":"https://api.github.com/users/p4rsec/following{/other_user}","gists_url":"https://api.github.com/users/p4rsec/gists{/gist_id}","starred_url":"https://api.github.com/users/p4rsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4rsec/subscriptions","organizations_url":"https://api.github.com/users/p4rsec/orgs","repos_url":"https://api.github.com/users/p4rsec/repos","events_url":"https://api.github.com/users/p4rsec/events{/privacy}","received_events_url":"https://api.github.com/users/p4rsec/received_events","type":"User","site_admin":false},"repo":{"id":58246403,"name":"oppia","full_name":"p4rsec/oppia","owner":{"login":"p4rsec","id":15082726,"avatar_url":"https://avatars.githubusercontent.com/u/15082726?v=3","gravatar_id":"","url":"https://api.github.com/users/p4rsec","html_url":"https://github.com/p4rsec","followers_url":"https://api.github.com/users/p4rsec/followers","following_url":"https://api.github.com/users/p4rsec/following{/other_user}","gists_url":"https://api.github.com/users/p4rsec/gists{/gist_id}","starred_url":"https://api.github.com/users/p4rsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4rsec/subscriptions","organizations_url":"https://api.github.com/users/p4rsec/orgs","repos_url":"https://api.github.com/users/p4rsec/repos","events_url":"https://api.github.com/users/p4rsec/events{/privacy}","received_events_url":"https://api.github.com/users/p4rsec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/p4rsec/oppia","description":"Tool for collaboratively building intelligent tutors.","fork":true,"url":"https://api.github.com/repos/p4rsec/oppia","forks_url":"https://api.github.com/repos/p4rsec/oppia/forks","keys_url":"https://api.github.com/repos/p4rsec/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4rsec/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4rsec/oppia/teams","hooks_url":"https://api.github.com/repos/p4rsec/oppia/hooks","issue_events_url":"https://api.github.com/repos/p4rsec/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/p4rsec/oppia/events","assignees_url":"https://api.github.com/repos/p4rsec/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/p4rsec/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/p4rsec/oppia/tags","blobs_url":"https://api.github.com/repos/p4rsec/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4rsec/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4rsec/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4rsec/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4rsec/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/p4rsec/oppia/languages","stargazers_url":"https://api.github.com/repos/p4rsec/oppia/stargazers","contributors_url":"https://api.github.com/repos/p4rsec/oppia/contributors","subscribers_url":"https://api.github.com/repos/p4rsec/oppia/subscribers","subscription_url":"https://api.github.com/repos/p4rsec/oppia/subscription","commits_url":"https://api.github.com/repos/p4rsec/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4rsec/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4rsec/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4rsec/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4rsec/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/p4rsec/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4rsec/oppia/merges","archive_url":"https://api.github.com/repos/p4rsec/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4rsec/oppia/downloads","issues_url":"https://api.github.com/repos/p4rsec/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/p4rsec/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/p4rsec/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/p4rsec/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4rsec/oppia/labels{/name}","releases_url":"https://api.github.com/repos/p4rsec/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/p4rsec/oppia/deployments","created_at":"2016-05-07T02:57:22Z","updated_at":"2016-05-07T02:57:26Z","pushed_at":"2016-06-03T04:06:58Z","git_url":"git://github.com/p4rsec/oppia.git","ssh_url":"git@github.com:p4rsec/oppia.git","clone_url":"https://github.com/p4rsec/oppia.git","svn_url":"https://github.com/p4rsec/oppia","homepage":"https://www.oppia.org","size":43943,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"oppia:develop","ref":"develop","sha":"bf0bac4385ac8d08706846207a054a99398d8ea1","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building intelligent tutors.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2016-06-01T09:48:41Z","pushed_at":"2016-06-03T04:06:59Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":80268,"stargazers_count":136,"watchers_count":136,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":229,"mirror_url":null,"open_issues_count":283,"forks":229,"open_issues":283,"watchers":136,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1914"},"html":{"href":"https://github.com/oppia/oppia/pull/1914"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/1914"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/1914/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1914/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1914/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/81de2ed31c4b6246f1e8dcbce591de85a852c40f"}}}}
{"actor":{"display_login":"p4rsec"}}