GitHub PullRequestReviewCommentEvent at 2014-09-29 09:37:18
Repository: openproject
Actor: slawa85
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject/pulls/comments/18144702","id":18144702,"diff_hunk":"@@ -39,12 +39,16 @@ def copy\n     target_project_name = params[:project][:name]\n     @copy_project = Project.new\n     @copy_project.safe_attributes = params[:project]\n-\n     if @copy_project.valid?\n+      modules = if params[:project][:enabled_module_names].nil?\n+                  params[:enabled_modules]\n+                else\n+                  params[:project][:enabled_module_names]\n+                end","path":"app/controllers/copy_projects_controller.rb","position":null,"original_position":10,"commit_id":"d67ab233902cb36c1ee2927cd2516224cbc08d6c","original_commit_id":"073ce8d2372abdef9cc82c3752893d9f2aeb7f22","user":{"login":"slawa85","id":4988386,"avatar_url":"https://avatars.githubusercontent.com/u/4988386?v=2","gravatar_id":"","url":"https://api.github.com/users/slawa85","html_url":"https://github.com/slawa85","followers_url":"https://api.github.com/users/slawa85/followers","following_url":"https://api.github.com/users/slawa85/following{/other_user}","gists_url":"https://api.github.com/users/slawa85/gists{/gist_id}","starred_url":"https://api.github.com/users/slawa85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawa85/subscriptions","organizations_url":"https://api.github.com/users/slawa85/orgs","repos_url":"https://api.github.com/users/slawa85/repos","events_url":"https://api.github.com/users/slawa85/events{/privacy}","received_events_url":"https://api.github.com/users/slawa85/received_events","type":"User","site_admin":false},"body":"Thanks for the hint. Done","created_at":"2014-09-29T09:37:18Z","updated_at":"2014-09-29T09:37:18Z","html_url":"https://github.com/opf/openproject/pull/1956#discussion_r18144702","pull_request_url":"https://api.github.com/repos/opf/openproject/pulls/1956","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/18144702"},"html":{"href":"https://github.com/opf/openproject/pull/1956#discussion_r18144702"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject/pulls/1956"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/1956","id":21783997,"html_url":"https://github.com/opf/openproject/pull/1956","diff_url":"https://github.com/opf/openproject/pull/1956.diff","patch_url":"https://github.com/opf/openproject/pull/1956.patch","issue_url":"https://api.github.com/repos/opf/openproject/issues/1956","number":1956,"state":"open","locked":false,"title":"Meets #11256: All modules deactivated when only work package tracking is selected","user":{"login":"slawa85","id":4988386,"avatar_url":"https://avatars.githubusercontent.com/u/4988386?v=2","gravatar_id":"","url":"https://api.github.com/users/slawa85","html_url":"https://github.com/slawa85","followers_url":"https://api.github.com/users/slawa85/followers","following_url":"https://api.github.com/users/slawa85/following{/other_user}","gists_url":"https://api.github.com/users/slawa85/gists{/gist_id}","starred_url":"https://api.github.com/users/slawa85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawa85/subscriptions","organizations_url":"https://api.github.com/users/slawa85/orgs","repos_url":"https://api.github.com/users/slawa85/repos","events_url":"https://api.github.com/users/slawa85/events{/privacy}","received_events_url":"https://api.github.com/users/slawa85/received_events","type":"User","site_admin":false},"body":"[``* `#11256` All modules deactivated when only work package tracking is selected``](https://www.openproject.org/work_packages/11256)","created_at":"2014-09-25T13:53:39Z","updated_at":"2014-09-29T09:37:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d068f9bc0006569cbbfa8b421c94d3ddf2c0ef6c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opf/openproject/pulls/1956/commits","review_comments_url":"https://api.github.com/repos/opf/openproject/pulls/1956/comments","review_comment_url":"https://api.github.com/repos/opf/openproject/pulls/comments/{number}","comments_url":"https://api.github.com/repos/opf/openproject/issues/1956/comments","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/d67ab233902cb36c1ee2927cd2516224cbc08d6c","head":{"label":"netfighter:feature/11256-modules-deactivated-when-work-package-tracking-selected","ref":"feature/11256-modules-deactivated-when-work-package-tracking-selected","sha":"d67ab233902cb36c1ee2927cd2516224cbc08d6c","user":{"login":"netfighter","id":71667,"avatar_url":"https://avatars.githubusercontent.com/u/71667?v=2","gravatar_id":"","url":"https://api.github.com/users/netfighter","html_url":"https://github.com/netfighter","followers_url":"https://api.github.com/users/netfighter/followers","following_url":"https://api.github.com/users/netfighter/following{/other_user}","gists_url":"https://api.github.com/users/netfighter/gists{/gist_id}","starred_url":"https://api.github.com/users/netfighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netfighter/subscriptions","organizations_url":"https://api.github.com/users/netfighter/orgs","repos_url":"https://api.github.com/users/netfighter/repos","events_url":"https://api.github.com/users/netfighter/events{/privacy}","received_events_url":"https://api.github.com/users/netfighter/received_events","type":"User","site_admin":false},"repo":{"id":17441157,"name":"openproject","full_name":"netfighter/openproject","owner":{"login":"netfighter","id":71667,"avatar_url":"https://avatars.githubusercontent.com/u/71667?v=2","gravatar_id":"","url":"https://api.github.com/users/netfighter","html_url":"https://github.com/netfighter","followers_url":"https://api.github.com/users/netfighter/followers","following_url":"https://api.github.com/users/netfighter/following{/other_user}","gists_url":"https://api.github.com/users/netfighter/gists{/gist_id}","starred_url":"https://api.github.com/users/netfighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netfighter/subscriptions","organizations_url":"https://api.github.com/users/netfighter/orgs","repos_url":"https://api.github.com/users/netfighter/repos","events_url":"https://api.github.com/users/netfighter/events{/privacy}","received_events_url":"https://api.github.com/users/netfighter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/netfighter/openproject","description":"OpenProject is a web based project management system built on Ruby on Rails","fork":true,"url":"https://api.github.com/repos/netfighter/openproject","forks_url":"https://api.github.com/repos/netfighter/openproject/forks","keys_url":"https://api.github.com/repos/netfighter/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netfighter/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netfighter/openproject/teams","hooks_url":"https://api.github.com/repos/netfighter/openproject/hooks","issue_events_url":"https://api.github.com/repos/netfighter/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/netfighter/openproject/events","assignees_url":"https://api.github.com/repos/netfighter/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/netfighter/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/netfighter/openproject/tags","blobs_url":"https://api.github.com/repos/netfighter/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netfighter/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netfighter/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/netfighter/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netfighter/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/netfighter/openproject/languages","stargazers_url":"https://api.github.com/repos/netfighter/openproject/stargazers","contributors_url":"https://api.github.com/repos/netfighter/openproject/contributors","subscribers_url":"https://api.github.com/repos/netfighter/openproject/subscribers","subscription_url":"https://api.github.com/repos/netfighter/openproject/subscription","commits_url":"https://api.github.com/repos/netfighter/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/netfighter/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/netfighter/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/netfighter/openproject/issues/comments/{number}","contents_url":"https://api.github.com/repos/netfighter/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/netfighter/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netfighter/openproject/merges","archive_url":"https://api.github.com/repos/netfighter/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netfighter/openproject/downloads","issues_url":"https://api.github.com/repos/netfighter/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/netfighter/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/netfighter/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/netfighter/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netfighter/openproject/labels{/name}","releases_url":"https://api.github.com/repos/netfighter/openproject/releases{/id}","created_at":"2014-03-05T13:17:40Z","updated_at":"2014-06-20T08:51:31Z","pushed_at":"2014-09-29T09:34:49Z","git_url":"git://github.com/netfighter/openproject.git","ssh_url":"git@github.com:netfighter/openproject.git","clone_url":"https://github.com/netfighter/openproject.git","svn_url":"https://github.com/netfighter/openproject","homepage":"https://openproject.org","size":55755,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"opf:dev","ref":"dev","sha":"5c01019eeb075b3ac18d065a34a6c630e083c715","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=2","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=2","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments/{number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2014-09-29T06:15:24Z","pushed_at":"2014-09-29T09:22:18Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":175839,"stargazers_count":342,"watchers_count":342,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":177,"mirror_url":null,"open_issues_count":41,"forks":177,"open_issues":41,"watchers":342,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/1956"},"html":{"href":"https://github.com/opf/openproject/pull/1956"},"issue":{"href":"https://api.github.com/repos/opf/openproject/issues/1956"},"comments":{"href":"https://api.github.com/repos/opf/openproject/issues/1956/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject/pulls/1956/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject/pulls/1956/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject/statuses/d67ab233902cb36c1ee2927cd2516224cbc08d6c"}}}}