GitHub PullRequestReviewCommentEvent at 2014-10-20 15:23:30
Repository: AdvertsPluginBundle
Actor: ahilles107
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/comments/19091337","id":19091337,"diff_hunk":"@@ -348,6 +348,20 @@ public function uploadPhotoAction(Request $request)\n             }\n         }\n \n+        // allow only 1 photo to be uploaded\n+        $photosFromSession = $request->getSession()->get('announcement_photos', array());\n+        if (count($photosFromSession) > 0) {","path":"Controller/FrontController.php","position":6,"original_position":6,"commit_id":"cbc3114f93fc373fbe6f6b4118a34a43df2edf9b","original_commit_id":"cbc3114f93fc373fbe6f6b4118a34a43df2edf9b","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=2","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"body":"this must be configurable. ","created_at":"2014-10-20T15:23:30Z","updated_at":"2014-10-20T15:23:30Z","html_url":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14#discussion_r19091337","pull_request_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/comments/19091337"},"html":{"href":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14#discussion_r19091337"},"pull_request":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14","id":23021895,"html_url":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14","diff_url":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14.diff","patch_url":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14.patch","issue_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/14","number":14,"state":"open","locked":false,"title":"WOBS-3532 - Limit no of upload images to 1 for classifieds","user":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=2","gravatar_id":"","url":"https://api.github.com/users/takeit","html_url":"https://github.com/takeit","followers_url":"https://api.github.com/users/takeit/followers","following_url":"https://api.github.com/users/takeit/following{/other_user}","gists_url":"https://api.github.com/users/takeit/gists{/gist_id}","starred_url":"https://api.github.com/users/takeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takeit/subscriptions","organizations_url":"https://api.github.com/users/takeit/orgs","repos_url":"https://api.github.com/users/takeit/repos","events_url":"https://api.github.com/users/takeit/events{/privacy}","received_events_url":"https://api.github.com/users/takeit/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-20T15:18:36Z","updated_at":"2014-10-20T15:23:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd2ecaa2122192e951d2038e8073daedbcb4841f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/14/comments","statuses_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/statuses/cbc3114f93fc373fbe6f6b4118a34a43df2edf9b","head":{"label":"takeit:plurize","ref":"plurize","sha":"cbc3114f93fc373fbe6f6b4118a34a43df2edf9b","user":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=2","gravatar_id":"","url":"https://api.github.com/users/takeit","html_url":"https://github.com/takeit","followers_url":"https://api.github.com/users/takeit/followers","following_url":"https://api.github.com/users/takeit/following{/other_user}","gists_url":"https://api.github.com/users/takeit/gists{/gist_id}","starred_url":"https://api.github.com/users/takeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takeit/subscriptions","organizations_url":"https://api.github.com/users/takeit/orgs","repos_url":"https://api.github.com/users/takeit/repos","events_url":"https://api.github.com/users/takeit/events{/privacy}","received_events_url":"https://api.github.com/users/takeit/received_events","type":"User","site_admin":false},"repo":{"id":20263117,"name":"AdvertsPluginBundle","full_name":"takeit/AdvertsPluginBundle","owner":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=2","gravatar_id":"","url":"https://api.github.com/users/takeit","html_url":"https://github.com/takeit","followers_url":"https://api.github.com/users/takeit/followers","following_url":"https://api.github.com/users/takeit/following{/other_user}","gists_url":"https://api.github.com/users/takeit/gists{/gist_id}","starred_url":"https://api.github.com/users/takeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takeit/subscriptions","organizations_url":"https://api.github.com/users/takeit/orgs","repos_url":"https://api.github.com/users/takeit/repos","events_url":"https://api.github.com/users/takeit/events{/privacy}","received_events_url":"https://api.github.com/users/takeit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takeit/AdvertsPluginBundle","description":"Adverts Plugin Bundle","fork":true,"url":"https://api.github.com/repos/takeit/AdvertsPluginBundle","forks_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/forks","keys_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/teams","hooks_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/hooks","issue_events_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/issues/events{/number}","events_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/events","assignees_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/assignees{/user}","branches_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/branches{/branch}","tags_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/tags","blobs_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/languages","stargazers_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/stargazers","contributors_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/contributors","subscribers_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/subscribers","subscription_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/subscription","commits_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/contents/{+path}","compare_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/merges","archive_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/downloads","issues_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/issues{/number}","pulls_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/labels{/name}","releases_url":"https://api.github.com/repos/takeit/AdvertsPluginBundle/releases{/id}","created_at":"2014-05-28T15:42:13Z","updated_at":"2014-08-18T08:03:19Z","pushed_at":"2014-10-20T15:18:18Z","git_url":"git://github.com/takeit/AdvertsPluginBundle.git","ssh_url":"git@github.com:takeit/AdvertsPluginBundle.git","clone_url":"https://github.com/takeit/AdvertsPluginBundle.git","svn_url":"https://github.com/takeit/AdvertsPluginBundle","homepage":null,"size":1022,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ahilles107:master","ref":"master","sha":"10dd7454156fa849dd27b494f527c6f962555668","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=2","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"repo":{"id":9774822,"name":"AdvertsPluginBundle","full_name":"ahilles107/AdvertsPluginBundle","owner":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=2","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahilles107/AdvertsPluginBundle","description":"Adverts Plugin Bundle","fork":false,"url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle","forks_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/forks","keys_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/teams","hooks_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/hooks","issue_events_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/events","assignees_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/tags","blobs_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/languages","stargazers_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/stargazers","contributors_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/contributors","subscribers_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/subscribers","subscription_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/subscription","commits_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/merges","archive_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/downloads","issues_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/labels{/name}","releases_url":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/releases{/id}","created_at":"2013-04-30T16:17:53Z","updated_at":"2014-09-03T12:22:46Z","pushed_at":"2014-10-17T09:16:56Z","git_url":"git://github.com/ahilles107/AdvertsPluginBundle.git","ssh_url":"git@github.com:ahilles107/AdvertsPluginBundle.git","clone_url":"https://github.com/ahilles107/AdvertsPluginBundle.git","svn_url":"https://github.com/ahilles107/AdvertsPluginBundle","homepage":null,"size":1059,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14"},"html":{"href":"https://github.com/ahilles107/AdvertsPluginBundle/pull/14"},"issue":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/14"},"comments":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ahilles107/AdvertsPluginBundle/statuses/cbc3114f93fc373fbe6f6b4118a34a43df2edf9b"}}}}