{"action":"closed","number":2697,"pull_request":{"url":"https://api.github.com/repos/sulu/sulu/pulls/2697","id":79194263,"html_url":"https://github.com/sulu/sulu/pull/2697","diff_url":"https://github.com/sulu/sulu/pull/2697.diff","patch_url":"https://github.com/sulu/sulu/pull/2697.patch","issue_url":"https://api.github.com/repos/sulu/sulu/issues/2697","number":2697,"state":"closed","locked":false,"title":"deindex page after unpublishing","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"| Q | A\r\n| --- | ---\r\n| Bug fix? | yes\r\n| New feature? | no\r\n| BC breaks? | no\r\n| Deprecations? | no\r\n| Fixed tickets | none\r\n| Related issues/PRs | none\r\n| License | MIT\r\n| Documentation PR | none\r\n\r\n#### What's in this PR?\r\n\r\nThis PR deindexes the page after it has been unpublished. In addition to that it adds a confirm overlay after a click on the unpublish button.\r\n\r\n#### Why?\r\n\r\nBecause the search index on the website was not updated when a page was unpublished.","created_at":"2016-07-28T13:21:14Z","updated_at":"2016-07-28T13:45:41Z","closed_at":"2016-07-28T13:45:40Z","merged_at":"2016-07-28T13:45:40Z","merge_commit_sha":"164a0b1de7f193818d17880b879034d9ef2accf3","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sulu/sulu/milestones/16","html_url":"https://github.com/sulu/sulu/milestones/Release%201.3","labels_url":"https://api.github.com/repos/sulu/sulu/milestones/16/labels","id":1447256,"number":16,"title":"Release 1.3","description":"","creator":{"login":"chirimoya","id":627313,"avatar_url":"https://avatars.githubusercontent.com/u/627313?v=3","gravatar_id":"","url":"https://api.github.com/users/chirimoya","html_url":"https://github.com/chirimoya","followers_url":"https://api.github.com/users/chirimoya/followers","following_url":"https://api.github.com/users/chirimoya/following{/other_user}","gists_url":"https://api.github.com/users/chirimoya/gists{/gist_id}","starred_url":"https://api.github.com/users/chirimoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirimoya/subscriptions","organizations_url":"https://api.github.com/users/chirimoya/orgs","repos_url":"https://api.github.com/users/chirimoya/repos","events_url":"https://api.github.com/users/chirimoya/events{/privacy}","received_events_url":"https://api.github.com/users/chirimoya/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":92,"state":"open","created_at":"2015-12-07T09:55:53Z","updated_at":"2016-07-28T13:45:41Z","due_on":"2016-07-13T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/sulu/sulu/pulls/2697/commits","review_comments_url":"https://api.github.com/repos/sulu/sulu/pulls/2697/comments","review_comment_url":"https://api.github.com/repos/sulu/sulu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu/sulu/issues/2697/comments","statuses_url":"https://api.github.com/repos/sulu/sulu/statuses/9c5caeb77fd568cc9612ec7e3cb1f669464e832b","head":{"label":"danrot:bugfix/deindex-unpublished-document","ref":"bugfix/deindex-unpublished-document","sha":"9c5caeb77fd568cc9612ec7e3cb1f669464e832b","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"repo":{"id":52616950,"name":"sulu","full_name":"danrot/sulu","owner":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danrot/sulu","description":"Sulu core bundles & components","fork":true,"url":"https://api.github.com/repos/danrot/sulu","forks_url":"https://api.github.com/repos/danrot/sulu/forks","keys_url":"https://api.github.com/repos/danrot/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danrot/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danrot/sulu/teams","hooks_url":"https://api.github.com/repos/danrot/sulu/hooks","issue_events_url":"https://api.github.com/repos/danrot/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/danrot/sulu/events","assignees_url":"https://api.github.com/repos/danrot/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/danrot/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/danrot/sulu/tags","blobs_url":"https://api.github.com/repos/danrot/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danrot/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danrot/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/danrot/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danrot/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/danrot/sulu/languages","stargazers_url":"https://api.github.com/repos/danrot/sulu/stargazers","contributors_url":"https://api.github.com/repos/danrot/sulu/contributors","subscribers_url":"https://api.github.com/repos/danrot/sulu/subscribers","subscription_url":"https://api.github.com/repos/danrot/sulu/subscription","commits_url":"https://api.github.com/repos/danrot/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/danrot/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/danrot/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/danrot/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/danrot/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/danrot/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danrot/sulu/merges","archive_url":"https://api.github.com/repos/danrot/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danrot/sulu/downloads","issues_url":"https://api.github.com/repos/danrot/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/danrot/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/danrot/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/danrot/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danrot/sulu/labels{/name}","releases_url":"https://api.github.com/repos/danrot/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/danrot/sulu/deployments","created_at":"2016-02-26T16:22:17Z","updated_at":"2016-02-26T16:22:24Z","pushed_at":"2016-07-28T13:44:50Z","git_url":"git://github.com/danrot/sulu.git","ssh_url":"git@github.com:danrot/sulu.git","clone_url":"https://github.com/danrot/sulu.git","svn_url":"https://github.com/danrot/sulu","homepage":"sulu.io","size":76801,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"sulu:develop","ref":"develop","sha":"5563e5fb6fe2801fd45c400e56205d00766b12de","user":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"repo":{"id":13678015,"name":"sulu","full_name":"sulu/sulu","owner":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu/sulu","description":"Sulu core bundles & components","fork":false,"url":"https://api.github.com/repos/sulu/sulu","forks_url":"https://api.github.com/repos/sulu/sulu/forks","keys_url":"https://api.github.com/repos/sulu/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu/sulu/teams","hooks_url":"https://api.github.com/repos/sulu/sulu/hooks","issue_events_url":"https://api.github.com/repos/sulu/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/sulu/sulu/events","assignees_url":"https://api.github.com/repos/sulu/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/sulu/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/sulu/sulu/tags","blobs_url":"https://api.github.com/repos/sulu/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu/sulu/languages","stargazers_url":"https://api.github.com/repos/sulu/sulu/stargazers","contributors_url":"https://api.github.com/repos/sulu/sulu/contributors","subscribers_url":"https://api.github.com/repos/sulu/sulu/subscribers","subscription_url":"https://api.github.com/repos/sulu/sulu/subscription","commits_url":"https://api.github.com/repos/sulu/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/sulu/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu/sulu/merges","archive_url":"https://api.github.com/repos/sulu/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu/sulu/downloads","issues_url":"https://api.github.com/repos/sulu/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/sulu/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu/sulu/labels{/name}","releases_url":"https://api.github.com/repos/sulu/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/sulu/sulu/deployments","created_at":"2013-10-18T12:57:02Z","updated_at":"2016-07-28T13:35:22Z","pushed_at":"2016-07-28T13:45:41Z","git_url":"git://github.com/sulu/sulu.git","ssh_url":"git@github.com:sulu/sulu.git","clone_url":"https://github.com/sulu/sulu.git","svn_url":"https://github.com/sulu/sulu","homepage":"sulu.io","size":87640,"stargazers_count":136,"watchers_count":136,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":444,"forks":52,"open_issues":444,"watchers":136,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu/sulu/pulls/2697"},"html":{"href":"https://github.com/sulu/sulu/pull/2697"},"issue":{"href":"https://api.github.com/repos/sulu/sulu/issues/2697"},"comments":{"href":"https://api.github.com/repos/sulu/sulu/issues/2697/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu/sulu/pulls/2697/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu/sulu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu/sulu/pulls/2697/commits"},"statuses":{"href":"https://api.github.com/repos/sulu/sulu/statuses/9c5caeb77fd568cc9612ec7e3cb1f669464e832b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chirimoya","id":627313,"avatar_url":"https://avatars.githubusercontent.com/u/627313?v=3","gravatar_id":"","url":"https://api.github.com/users/chirimoya","html_url":"https://github.com/chirimoya","followers_url":"https://api.github.com/users/chirimoya/followers","following_url":"https://api.github.com/users/chirimoya/following{/other_user}","gists_url":"https://api.github.com/users/chirimoya/gists{/gist_id}","starred_url":"https://api.github.com/users/chirimoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirimoya/subscriptions","organizations_url":"https://api.github.com/users/chirimoya/orgs","repos_url":"https://api.github.com/users/chirimoya/repos","events_url":"https://api.github.com/users/chirimoya/events{/privacy}","received_events_url":"https://api.github.com/users/chirimoya/received_events","type":"User","site_admin":false},"comments":0,"review_comments":3,"commits":1,"additions":132,"deletions":38,"changed_files":8}}
{"actor":{"display_login":"chirimoya"}}