{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4","id":43505412,"html_url":"https://github.com/cv6/XenForo-hRollDice/pull/4","diff_url":"https://github.com/cv6/XenForo-hRollDice/pull/4.diff","patch_url":"https://github.com/cv6/XenForo-hRollDice/pull/4.patch","issue_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/4","number":4,"state":"closed","locked":false,"title":"Only add dice data in some cases.","user":{"login":"Xon","id":635541,"avatar_url":"https://avatars.githubusercontent.com/u/635541?v=3","gravatar_id":"","url":"https://api.github.com/users/Xon","html_url":"https://github.com/Xon","followers_url":"https://api.github.com/users/Xon/followers","following_url":"https://api.github.com/users/Xon/following{/other_user}","gists_url":"https://api.github.com/users/Xon/gists{/gist_id}","starred_url":"https://api.github.com/users/Xon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xon/subscriptions","organizations_url":"https://api.github.com/users/Xon/orgs","repos_url":"https://api.github.com/users/Xon/repos","events_url":"https://api.github.com/users/Xon/events{/privacy}","received_events_url":"https://api.github.com/users/Xon/received_events","type":"User","site_admin":false},"body":"preparePostJoinOptions should not blindly add columns as XenForo will expect the columns to just be xf_post.* when copying posts.\r\n\r\nIn the future, the XenForo_Model_Post::_copyPost can be extended to copy dice roll data, and then the XenForo_DataWriter_DiscussionMessage_Post::preSave() could filter out the roll_id field before the DataWriter validation kicks in.","created_at":"2015-08-27T11:17:28Z","updated_at":"2015-08-29T10:16:59Z","closed_at":"2015-08-29T10:16:59Z","merged_at":"2015-08-29T10:16:59Z","merge_commit_sha":"cf0f15d89838dd05e3d38fa4e122829c568c8ca6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/4/comments","statuses_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/statuses/a5406784652ae162873bd47147b785d48a4a6424","head":{"label":"Xon:copyNmove","ref":"copyNmove","sha":"a5406784652ae162873bd47147b785d48a4a6424","user":{"login":"Xon","id":635541,"avatar_url":"https://avatars.githubusercontent.com/u/635541?v=3","gravatar_id":"","url":"https://api.github.com/users/Xon","html_url":"https://github.com/Xon","followers_url":"https://api.github.com/users/Xon/followers","following_url":"https://api.github.com/users/Xon/following{/other_user}","gists_url":"https://api.github.com/users/Xon/gists{/gist_id}","starred_url":"https://api.github.com/users/Xon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xon/subscriptions","organizations_url":"https://api.github.com/users/Xon/orgs","repos_url":"https://api.github.com/users/Xon/repos","events_url":"https://api.github.com/users/Xon/events{/privacy}","received_events_url":"https://api.github.com/users/Xon/received_events","type":"User","site_admin":false},"repo":{"id":41255256,"name":"XenForo-hRollDice","full_name":"Xon/XenForo-hRollDice","owner":{"login":"Xon","id":635541,"avatar_url":"https://avatars.githubusercontent.com/u/635541?v=3","gravatar_id":"","url":"https://api.github.com/users/Xon","html_url":"https://github.com/Xon","followers_url":"https://api.github.com/users/Xon/followers","following_url":"https://api.github.com/users/Xon/following{/other_user}","gists_url":"https://api.github.com/users/Xon/gists{/gist_id}","starred_url":"https://api.github.com/users/Xon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xon/subscriptions","organizations_url":"https://api.github.com/users/Xon/orgs","repos_url":"https://api.github.com/users/Xon/repos","events_url":"https://api.github.com/users/Xon/events{/privacy}","received_events_url":"https://api.github.com/users/Xon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Xon/XenForo-hRollDice","description":"Roll Dice in your Forum Posts - for XenForo only","fork":true,"url":"https://api.github.com/repos/Xon/XenForo-hRollDice","forks_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/forks","keys_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/teams","hooks_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/hooks","issue_events_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/issues/events{/number}","events_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/events","assignees_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/assignees{/user}","branches_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/branches{/branch}","tags_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/tags","blobs_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/statuses/{sha}","languages_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/languages","stargazers_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/stargazers","contributors_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/contributors","subscribers_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/subscribers","subscription_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/subscription","commits_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/contents/{+path}","compare_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/merges","archive_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/downloads","issues_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/issues{/number}","pulls_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/pulls{/number}","milestones_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/milestones{/number}","notifications_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/labels{/name}","releases_url":"https://api.github.com/repos/Xon/XenForo-hRollDice/releases{/id}","created_at":"2015-08-23T15:34:52Z","updated_at":"2015-08-23T15:34:53Z","pushed_at":"2015-08-27T11:11:08Z","git_url":"git://github.com/Xon/XenForo-hRollDice.git","ssh_url":"git@github.com:Xon/XenForo-hRollDice.git","clone_url":"https://github.com/Xon/XenForo-hRollDice.git","svn_url":"https://github.com/Xon/XenForo-hRollDice","homepage":null,"size":0,"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":"master"}},"base":{"label":"cv6:master","ref":"master","sha":"15f7bf856b16c5e9d7a19443eee089c61edc77ff","user":{"login":"cv6","id":1529415,"avatar_url":"https://avatars.githubusercontent.com/u/1529415?v=3","gravatar_id":"","url":"https://api.github.com/users/cv6","html_url":"https://github.com/cv6","followers_url":"https://api.github.com/users/cv6/followers","following_url":"https://api.github.com/users/cv6/following{/other_user}","gists_url":"https://api.github.com/users/cv6/gists{/gist_id}","starred_url":"https://api.github.com/users/cv6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cv6/subscriptions","organizations_url":"https://api.github.com/users/cv6/orgs","repos_url":"https://api.github.com/users/cv6/repos","events_url":"https://api.github.com/users/cv6/events{/privacy}","received_events_url":"https://api.github.com/users/cv6/received_events","type":"User","site_admin":false},"repo":{"id":41252543,"name":"XenForo-hRollDice","full_name":"cv6/XenForo-hRollDice","owner":{"login":"cv6","id":1529415,"avatar_url":"https://avatars.githubusercontent.com/u/1529415?v=3","gravatar_id":"","url":"https://api.github.com/users/cv6","html_url":"https://github.com/cv6","followers_url":"https://api.github.com/users/cv6/followers","following_url":"https://api.github.com/users/cv6/following{/other_user}","gists_url":"https://api.github.com/users/cv6/gists{/gist_id}","starred_url":"https://api.github.com/users/cv6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cv6/subscriptions","organizations_url":"https://api.github.com/users/cv6/orgs","repos_url":"https://api.github.com/users/cv6/repos","events_url":"https://api.github.com/users/cv6/events{/privacy}","received_events_url":"https://api.github.com/users/cv6/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cv6/XenForo-hRollDice","description":"Roll Dice in your Forum Posts - for XenForo only","fork":false,"url":"https://api.github.com/repos/cv6/XenForo-hRollDice","forks_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/forks","keys_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/teams","hooks_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/hooks","issue_events_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/events{/number}","events_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/events","assignees_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/assignees{/user}","branches_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/branches{/branch}","tags_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/tags","blobs_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/git/refs{/sha}","trees_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/statuses/{sha}","languages_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/languages","stargazers_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/stargazers","contributors_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/contributors","subscribers_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/subscribers","subscription_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/subscription","commits_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/commits{/sha}","git_commits_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/git/commits{/sha}","comments_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/comments{/number}","issue_comment_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/comments{/number}","contents_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/contents/{+path}","compare_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/merges","archive_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/downloads","issues_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues{/number}","pulls_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls{/number}","milestones_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/milestones{/number}","notifications_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/labels{/name}","releases_url":"https://api.github.com/repos/cv6/XenForo-hRollDice/releases{/id}","created_at":"2015-08-23T14:20:00Z","updated_at":"2015-08-23T15:34:50Z","pushed_at":"2015-08-29T10:16:59Z","git_url":"git://github.com/cv6/XenForo-hRollDice.git","ssh_url":"git@github.com:cv6/XenForo-hRollDice.git","clone_url":"https://github.com/cv6/XenForo-hRollDice.git","svn_url":"https://github.com/cv6/XenForo-hRollDice","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4"},"html":{"href":"https://github.com/cv6/XenForo-hRollDice/pull/4"},"issue":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/4"},"comments":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cv6/XenForo-hRollDice/statuses/a5406784652ae162873bd47147b785d48a4a6424"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cv6","id":1529415,"avatar_url":"https://avatars.githubusercontent.com/u/1529415?v=3","gravatar_id":"","url":"https://api.github.com/users/cv6","html_url":"https://github.com/cv6","followers_url":"https://api.github.com/users/cv6/followers","following_url":"https://api.github.com/users/cv6/following{/other_user}","gists_url":"https://api.github.com/users/cv6/gists{/gist_id}","starred_url":"https://api.github.com/users/cv6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cv6/subscriptions","organizations_url":"https://api.github.com/users/cv6/orgs","repos_url":"https://api.github.com/users/cv6/repos","events_url":"https://api.github.com/users/cv6/events{/privacy}","received_events_url":"https://api.github.com/users/cv6/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":7,"changed_files":1}}