{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/web-publisher/pulls/comments/76959008","id":76959008,"diff_hunk":"@@ -43,6 +43,16 @@ class ArticleFactory implements ArticleFactoryInterface\n     private $contentRelativePath;\n \n     /**\n+     * @var array\n+     */\n+    private $allowedTypes = [","path":"src/SWP/Bundle/ContentBundle/Factory/ArticleFactory.php","position":6,"original_position":6,"commit_id":"8fe35e3ae88e5123432b4112c3cb36719e4115f4","original_commit_id":"d87365d3057ee5382a7b4b30f7c110b9e240ef83","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","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":"maybe const?\r\n```\r\nconst ALLOWED_TYPES = [\r\n    ItemInterface::TYPE_PICTURE,\r\n    ItemInterface::TYPE_FILE,\r\n    ItemInterface::TYPE_TEXT,\r\n    ItemInterface::TYPE_COMPOSITE,\r\n];\r\n```\r\n","created_at":"2016-08-31T10:01:04Z","updated_at":"2016-08-31T10:01:04Z","html_url":"https://github.com/superdesk/web-publisher/pull/123#discussion_r76959008","pull_request_url":"https://api.github.com/repos/superdesk/web-publisher/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/comments/76959008"},"html":{"href":"https://github.com/superdesk/web-publisher/pull/123#discussion_r76959008"},"pull_request":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/web-publisher/pulls/123","id":83421156,"html_url":"https://github.com/superdesk/web-publisher/pull/123","diff_url":"https://github.com/superdesk/web-publisher/pull/123.diff","patch_url":"https://github.com/superdesk/web-publisher/pull/123.patch","issue_url":"https://api.github.com/repos/superdesk/web-publisher/issues/123","number":123,"state":"open","locked":false,"title":"[ContentBundle][Bridge] Article's body is not pre-filled","user":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=3","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":"| 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| Tests pass?               | yes\r\n| Changelog update required | yes\r\n| Fixed tickets             | [SWP-263](https://dev.sourcefabric.org/browse/SWP-263)\r\n| License                   | AGPLv3\r\n\r\n","created_at":"2016-08-31T09:51:28Z","updated_at":"2016-08-31T10:01:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e8a1f3ab29ac1605d3256c4e6082de2d1bad55f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/web-publisher/pulls/123/commits","review_comments_url":"https://api.github.com/repos/superdesk/web-publisher/pulls/123/comments","review_comment_url":"https://api.github.com/repos/superdesk/web-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/web-publisher/issues/123/comments","statuses_url":"https://api.github.com/repos/superdesk/web-publisher/statuses/8fe35e3ae88e5123432b4112c3cb36719e4115f4","head":{"label":"takeit:swp-263","ref":"swp-263","sha":"8fe35e3ae88e5123432b4112c3cb36719e4115f4","user":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=3","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":36218538,"name":"web-renderer","full_name":"takeit/web-renderer","owner":{"login":"takeit","id":562536,"avatar_url":"https://avatars.githubusercontent.com/u/562536?v=3","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/web-renderer","description":"Superdesk Web renderer","fork":true,"url":"https://api.github.com/repos/takeit/web-renderer","forks_url":"https://api.github.com/repos/takeit/web-renderer/forks","keys_url":"https://api.github.com/repos/takeit/web-renderer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takeit/web-renderer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takeit/web-renderer/teams","hooks_url":"https://api.github.com/repos/takeit/web-renderer/hooks","issue_events_url":"https://api.github.com/repos/takeit/web-renderer/issues/events{/number}","events_url":"https://api.github.com/repos/takeit/web-renderer/events","assignees_url":"https://api.github.com/repos/takeit/web-renderer/assignees{/user}","branches_url":"https://api.github.com/repos/takeit/web-renderer/branches{/branch}","tags_url":"https://api.github.com/repos/takeit/web-renderer/tags","blobs_url":"https://api.github.com/repos/takeit/web-renderer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takeit/web-renderer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takeit/web-renderer/git/refs{/sha}","trees_url":"https://api.github.com/repos/takeit/web-renderer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takeit/web-renderer/statuses/{sha}","languages_url":"https://api.github.com/repos/takeit/web-renderer/languages","stargazers_url":"https://api.github.com/repos/takeit/web-renderer/stargazers","contributors_url":"https://api.github.com/repos/takeit/web-renderer/contributors","subscribers_url":"https://api.github.com/repos/takeit/web-renderer/subscribers","subscription_url":"https://api.github.com/repos/takeit/web-renderer/subscription","commits_url":"https://api.github.com/repos/takeit/web-renderer/commits{/sha}","git_commits_url":"https://api.github.com/repos/takeit/web-renderer/git/commits{/sha}","comments_url":"https://api.github.com/repos/takeit/web-renderer/comments{/number}","issue_comment_url":"https://api.github.com/repos/takeit/web-renderer/issues/comments{/number}","contents_url":"https://api.github.com/repos/takeit/web-renderer/contents/{+path}","compare_url":"https://api.github.com/repos/takeit/web-renderer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takeit/web-renderer/merges","archive_url":"https://api.github.com/repos/takeit/web-renderer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takeit/web-renderer/downloads","issues_url":"https://api.github.com/repos/takeit/web-renderer/issues{/number}","pulls_url":"https://api.github.com/repos/takeit/web-renderer/pulls{/number}","milestones_url":"https://api.github.com/repos/takeit/web-renderer/milestones{/number}","notifications_url":"https://api.github.com/repos/takeit/web-renderer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takeit/web-renderer/labels{/name}","releases_url":"https://api.github.com/repos/takeit/web-renderer/releases{/id}","deployments_url":"https://api.github.com/repos/takeit/web-renderer/deployments","created_at":"2015-05-25T08:08:52Z","updated_at":"2016-02-11T10:08:35Z","pushed_at":"2016-08-31T09:58:52Z","git_url":"git://github.com/takeit/web-renderer.git","ssh_url":"git@github.com:takeit/web-renderer.git","clone_url":"https://github.com/takeit/web-renderer.git","svn_url":"https://github.com/takeit/web-renderer","homepage":null,"size":1985,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"9bdb100905c0b364cf6370c5ae8246c03dec9d8b","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":36218357,"name":"web-publisher","full_name":"superdesk/web-publisher","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/web-publisher","description":"Superdesk Web Publisher - the next generation publishing platform for journalists and newsrooms.","fork":false,"url":"https://api.github.com/repos/superdesk/web-publisher","forks_url":"https://api.github.com/repos/superdesk/web-publisher/forks","keys_url":"https://api.github.com/repos/superdesk/web-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/web-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/web-publisher/teams","hooks_url":"https://api.github.com/repos/superdesk/web-publisher/hooks","issue_events_url":"https://api.github.com/repos/superdesk/web-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/web-publisher/events","assignees_url":"https://api.github.com/repos/superdesk/web-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/web-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/web-publisher/tags","blobs_url":"https://api.github.com/repos/superdesk/web-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/web-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/web-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/web-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/web-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/web-publisher/languages","stargazers_url":"https://api.github.com/repos/superdesk/web-publisher/stargazers","contributors_url":"https://api.github.com/repos/superdesk/web-publisher/contributors","subscribers_url":"https://api.github.com/repos/superdesk/web-publisher/subscribers","subscription_url":"https://api.github.com/repos/superdesk/web-publisher/subscription","commits_url":"https://api.github.com/repos/superdesk/web-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/web-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/web-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/web-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/web-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/web-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/web-publisher/merges","archive_url":"https://api.github.com/repos/superdesk/web-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/web-publisher/downloads","issues_url":"https://api.github.com/repos/superdesk/web-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/web-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/web-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/web-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/web-publisher/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/web-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/superdesk/web-publisher/deployments","created_at":"2015-05-25T08:04:59Z","updated_at":"2016-07-01T01:41:29Z","pushed_at":"2016-08-31T09:59:08Z","git_url":"git://github.com/superdesk/web-publisher.git","ssh_url":"git@github.com:superdesk/web-publisher.git","clone_url":"https://github.com/superdesk/web-publisher.git","svn_url":"https://github.com/superdesk/web-publisher","homepage":"","size":4876,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":8,"forks":11,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/123"},"html":{"href":"https://github.com/superdesk/web-publisher/pull/123"},"issue":{"href":"https://api.github.com/repos/superdesk/web-publisher/issues/123"},"comments":{"href":"https://api.github.com/repos/superdesk/web-publisher/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/web-publisher/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/web-publisher/statuses/8fe35e3ae88e5123432b4112c3cb36719e4115f4"}}}}
{"actor":{"display_login":"ahilles107"}}