{"action":"closed","number":6227,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227","id":82976167,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/6227","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/6227.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/6227.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/6227","number":6227,"state":"closed","locked":false,"title":"Update to getConfirmationCode to put in warning about deleting preprint","user":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"body":"<!-- Before submit your Pull Request, make sure you picked\r\n     the right branch:\r\n\r\n     - For hotfixes, select \"master\" as the target branch\r\n     - For new features, select \"develop\" as the target branch\r\n     - For release feature fixes, select the relevant release branch (release/X.Y.Z) as the target branch -->\r\n\r\n## Purpose\r\nOther node actions dealing with preprints have warnings when doing something destrictive to the preprint -- add a notice for deleting a project that represents a preprint as well\r\n\r\n![screen shot 2016-08-26 at 11 13 10 pm](https://cloud.githubusercontent.com/assets/801594/18024873/99178e02-6be3-11e6-8bbc-6e0e1f19fdae.png)\r\n\r\n<!-- Describe the purpose of your changes -->\r\n## Changes\r\n- add conditional message to delete confirmation dialog\r\n\r\n## Side effects\r\n-nope!\r\n\r\n## Ticket\r\nhttps://trello.com/c/w373G0FY/20-delete-project-modal-should-be-updated-for-preprints\r\n<!-- Link to JIRA ticket, if applicable e.g. https://openscience.atlassian.net/browse/OSF-1234 -->\r\n\r\n","created_at":"2016-08-27T03:22:24Z","updated_at":"2016-08-27T03:25:10Z","closed_at":"2016-08-27T03:25:10Z","merged_at":"2016-08-27T03:25:10Z","merge_commit_sha":"966f6c9552bab003a17c007bb84fbd88e0355b1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/6227/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/365e3428e6845527d371a92f7df8d362ec2c9ee9","head":{"label":"erinspace:feature/project_delete_warning","ref":"feature/project_delete_warning","sha":"365e3428e6845527d371a92f7df8d362ec2c9ee9","user":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"repo":{"id":27143923,"name":"osf.io","full_name":"erinspace/osf.io","owner":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erinspace/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/erinspace/osf.io","forks_url":"https://api.github.com/repos/erinspace/osf.io/forks","keys_url":"https://api.github.com/repos/erinspace/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erinspace/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erinspace/osf.io/teams","hooks_url":"https://api.github.com/repos/erinspace/osf.io/hooks","issue_events_url":"https://api.github.com/repos/erinspace/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/erinspace/osf.io/events","assignees_url":"https://api.github.com/repos/erinspace/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/erinspace/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/erinspace/osf.io/tags","blobs_url":"https://api.github.com/repos/erinspace/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erinspace/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erinspace/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/erinspace/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erinspace/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/erinspace/osf.io/languages","stargazers_url":"https://api.github.com/repos/erinspace/osf.io/stargazers","contributors_url":"https://api.github.com/repos/erinspace/osf.io/contributors","subscribers_url":"https://api.github.com/repos/erinspace/osf.io/subscribers","subscription_url":"https://api.github.com/repos/erinspace/osf.io/subscription","commits_url":"https://api.github.com/repos/erinspace/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/erinspace/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/erinspace/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/erinspace/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/erinspace/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/erinspace/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erinspace/osf.io/merges","archive_url":"https://api.github.com/repos/erinspace/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erinspace/osf.io/downloads","issues_url":"https://api.github.com/repos/erinspace/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/erinspace/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/erinspace/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/erinspace/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erinspace/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/erinspace/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/erinspace/osf.io/deployments","created_at":"2014-11-25T20:10:31Z","updated_at":"2016-07-28T16:18:47Z","pushed_at":"2016-08-27T03:17:38Z","git_url":"git://github.com/erinspace/osf.io.git","ssh_url":"git@github.com:erinspace/osf.io.git","clone_url":"https://github.com/erinspace/osf.io.git","svn_url":"https://github.com/erinspace/osf.io","homepage":"http://osf.io","size":134542,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:feature/ember-preprints","ref":"feature/ember-preprints","sha":"91668bacd190486f22cdf809a166c960e21533ed","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2016-08-24T12:45:07Z","pushed_at":"2016-08-27T03:25:10Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":267426,"stargazers_count":252,"watchers_count":252,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":198,"mirror_url":null,"open_issues_count":216,"forks":198,"open_issues":216,"watchers":252,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/6227"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/6227"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/6227/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/6227/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/365e3428e6845527d371a92f7df8d362ec2c9ee9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mfraezz","id":5659262,"avatar_url":"https://avatars.githubusercontent.com/u/5659262?v=3","gravatar_id":"","url":"https://api.github.com/users/mfraezz","html_url":"https://github.com/mfraezz","followers_url":"https://api.github.com/users/mfraezz/followers","following_url":"https://api.github.com/users/mfraezz/following{/other_user}","gists_url":"https://api.github.com/users/mfraezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfraezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfraezz/subscriptions","organizations_url":"https://api.github.com/users/mfraezz/orgs","repos_url":"https://api.github.com/users/mfraezz/repos","events_url":"https://api.github.com/users/mfraezz/events{/privacy}","received_events_url":"https://api.github.com/users/mfraezz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mfraezz"}}