{"action":"opened","number":8829,"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829","id":29687761,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/8829","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8829.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8829.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8829","number":8829,"state":"open","locked":false,"title":"[bugfix] Merge request diff view behaviour fix","user":{"login":"SSPkrolik","id":372353,"avatar_url":"https://avatars.githubusercontent.com/u/372353?v=3","gravatar_id":"","url":"https://api.github.com/users/SSPkrolik","html_url":"https://github.com/SSPkrolik","followers_url":"https://api.github.com/users/SSPkrolik/followers","following_url":"https://api.github.com/users/SSPkrolik/following{/other_user}","gists_url":"https://api.github.com/users/SSPkrolik/gists{/gist_id}","starred_url":"https://api.github.com/users/SSPkrolik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SSPkrolik/subscriptions","organizations_url":"https://api.github.com/users/SSPkrolik/orgs","repos_url":"https://api.github.com/users/SSPkrolik/repos","events_url":"https://api.github.com/users/SSPkrolik/events{/privacy}","received_events_url":"https://api.github.com/users/SSPkrolik/received_events","type":"User","site_admin":false},"body":"Fixed 'back button' bug in merge request view.\r\n\r\nSteps to reproduce:\r\n1) Open merge request view page at a URL like this: http://localhost:3000/gitlab-org/gitlab-test/merge_requests/3/diffs on \"Discussion\" tab\r\n2) Click on 'Changes' tab\r\n3) Click 'View file @ rev-number' button\r\n4) Click 'BACK' browser button\r\n\r\nExpected result:\r\nUser moves back to the diff page\r\n\r\nActual result:\r\nUser is moved to the diff page which is shown as a plain json diff document, because browser has cached the last AJAX-call of `loadDiff` coffee-script method.","created_at":"2015-02-20T11:07:36Z","updated_at":"2015-02-20T11:07:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8829/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/51b234cfb6582650f362cf2339d0f8b0b5a10345","head":{"label":"ZeoAlliance:merge_request_diff_view_fix","ref":"merge_request_diff_view_fix","sha":"51b234cfb6582650f362cf2339d0f8b0b5a10345","user":{"login":"ZeoAlliance","id":7923032,"avatar_url":"https://avatars.githubusercontent.com/u/7923032?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeoAlliance","html_url":"https://github.com/ZeoAlliance","followers_url":"https://api.github.com/users/ZeoAlliance/followers","following_url":"https://api.github.com/users/ZeoAlliance/following{/other_user}","gists_url":"https://api.github.com/users/ZeoAlliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeoAlliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeoAlliance/subscriptions","organizations_url":"https://api.github.com/users/ZeoAlliance/orgs","repos_url":"https://api.github.com/users/ZeoAlliance/repos","events_url":"https://api.github.com/users/ZeoAlliance/events{/privacy}","received_events_url":"https://api.github.com/users/ZeoAlliance/received_events","type":"Organization","site_admin":false},"repo":{"id":28449775,"name":"gitlabhq","full_name":"ZeoAlliance/gitlabhq","owner":{"login":"ZeoAlliance","id":7923032,"avatar_url":"https://avatars.githubusercontent.com/u/7923032?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeoAlliance","html_url":"https://github.com/ZeoAlliance","followers_url":"https://api.github.com/users/ZeoAlliance/followers","following_url":"https://api.github.com/users/ZeoAlliance/following{/other_user}","gists_url":"https://api.github.com/users/ZeoAlliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeoAlliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeoAlliance/subscriptions","organizations_url":"https://api.github.com/users/ZeoAlliance/orgs","repos_url":"https://api.github.com/users/ZeoAlliance/repos","events_url":"https://api.github.com/users/ZeoAlliance/events{/privacy}","received_events_url":"https://api.github.com/users/ZeoAlliance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeoAlliance/gitlabhq","description":"Open source software to collaborate on code. Follow us on twitter @gitlabhq","fork":true,"url":"https://api.github.com/repos/ZeoAlliance/gitlabhq","forks_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/forks","keys_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/teams","hooks_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/events","assignees_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/tags","blobs_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/subscription","commits_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/merges","archive_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/downloads","issues_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/ZeoAlliance/gitlabhq/releases{/id}","created_at":"2014-12-24T13:29:42Z","updated_at":"2015-01-23T12:19:57Z","pushed_at":"2015-02-20T11:03:54Z","git_url":"git://github.com/ZeoAlliance/gitlabhq.git","ssh_url":"git@github.com:ZeoAlliance/gitlabhq.git","clone_url":"https://github.com/ZeoAlliance/gitlabhq.git","svn_url":"https://github.com/ZeoAlliance/gitlabhq","homepage":"https://about.gitlab.com/","size":87479,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"gitlabhq:master","ref":"master","sha":"56404451082d11ce937ee4f0a1964581f17750ef","user":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"repo":{"id":2500088,"name":"gitlabhq","full_name":"gitlabhq/gitlabhq","owner":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitlabhq/gitlabhq","description":"Open source software to collaborate on code","fork":false,"url":"https://api.github.com/repos/gitlabhq/gitlabhq","forks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/forks","keys_url":"https://api.github.com/repos/gitlabhq/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitlabhq/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitlabhq/gitlabhq/teams","hooks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/events","assignees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/gitlabhq/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/tags","blobs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/gitlabhq/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscription","commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/gitlabhq/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitlabhq/gitlabhq/merges","archive_url":"https://api.github.com/repos/gitlabhq/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitlabhq/gitlabhq/downloads","issues_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/gitlabhq/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/gitlabhq/gitlabhq/releases{/id}","created_at":"2011-10-02T16:25:27Z","updated_at":"2015-02-20T10:57:59Z","pushed_at":"2015-02-20T10:16:52Z","git_url":"git://github.com/gitlabhq/gitlabhq.git","ssh_url":"git@github.com:gitlabhq/gitlabhq.git","clone_url":"https://github.com/gitlabhq/gitlabhq.git","svn_url":"https://github.com/gitlabhq/gitlabhq","homepage":"https://about.gitlab.com/","size":149109,"stargazers_count":14916,"watchers_count":14916,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3915,"mirror_url":null,"open_issues_count":756,"forks":3915,"open_issues":756,"watchers":14916,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8829"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8829"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8829/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8829/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/51b234cfb6582650f362cf2339d0f8b0b5a10345"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":1,"changed_files":1}}