{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/214294641","pull_request_review_id":151320152,"id":214294641,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDI5NDY0MQ==","diff_hunk":"@@ -305,7 +305,9 @@ public function engine($params)\n         $url_params['module'] = Tools::getValue('module');\n         $url_params['id_employee'] = $id_employee;\n         $url_params['id_lang'] = $id_lang;\n-        $drawer = 'drawer.php?' . http_build_query(array_map('Tools::safeOutput', $url_params), '', '&');\n+        $url_params['ajax'] = 1;\n+        $url_params['action'] = 'graphDraw';\n+        $drawer = Context::getContext()->link->getAdminLink('AdminStats') . '&' . http_build_query(array_map('Tools::safeOutput', $url_params), '', '&');","path":"classes/module/ModuleGraph.php","position":7,"original_position":7,"commit_id":"a7824d1fe134196ca728ad38c5519d7e24487a69","original_commit_id":"a7824d1fe134196ca728ad38c5519d7e24487a69","user":{"login":"matks","id":3830050,"node_id":"MDQ6VXNlcjM4MzAwNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/3830050?v=4","gravatar_id":"","url":"https://api.github.com/users/matks","html_url":"https://github.com/matks","followers_url":"https://api.github.com/users/matks/followers","following_url":"https://api.github.com/users/matks/following{/other_user}","gists_url":"https://api.github.com/users/matks/gists{/gist_id}","starred_url":"https://api.github.com/users/matks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matks/subscriptions","organizations_url":"https://api.github.com/users/matks/orgs","repos_url":"https://api.github.com/users/matks/repos","events_url":"https://api.github.com/users/matks/events{/privacy}","received_events_url":"https://api.github.com/users/matks/received_events","type":"User","site_admin":false},"body":"\"Line too long\"\r\n- GoT","created_at":"2018-08-31T09:26:38Z","updated_at":"2018-08-31T09:26:38Z","html_url":"https://github.com/PrestaShop/PrestaShop/pull/10131#discussion_r214294641","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/214294641"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/10131#discussion_r214294641"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131","id":210758509,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzU4NTA5","html_url":"https://github.com/PrestaShop/PrestaShop/pull/10131","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/10131.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/10131.patch","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/10131","number":10131,"state":"open","locked":false,"title":"Admin endpoints cleanup","user":{"login":"Quetzacoalt91","id":6768917,"node_id":"MDQ6VXNlcjY3Njg5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6768917?v=4","gravatar_id":"","url":"https://api.github.com/users/Quetzacoalt91","html_url":"https://github.com/Quetzacoalt91","followers_url":"https://api.github.com/users/Quetzacoalt91/followers","following_url":"https://api.github.com/users/Quetzacoalt91/following{/other_user}","gists_url":"https://api.github.com/users/Quetzacoalt91/gists{/gist_id}","starred_url":"https://api.github.com/users/Quetzacoalt91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quetzacoalt91/subscriptions","organizations_url":"https://api.github.com/users/Quetzacoalt91/orgs","repos_url":"https://api.github.com/users/Quetzacoalt91/repos","events_url":"https://api.github.com/users/Quetzacoalt91/events{/privacy}","received_events_url":"https://api.github.com/users/Quetzacoalt91/received_events","type":"User","site_admin":false},"body":":warning: Assets not generated\r\n\r\n| Questions     | Answers\r\n| ------------- | -------------------------------------------------------\r\n| Branch?       | develop\r\n| Description?  | This PR provides a controller-equivalent method to the different request made outside the `index.php` files\r\n| Type?         | new feature\r\n| Category?     | CO\r\n| BC breaks?    | Yes, entrypoints now require a token to be provided.\r\n| Deprecations? | Yes, all entrypoints expect `index.php` will be deprecated.\r\n| Fixed ticket? | https://github.com/PrestaShop/PrestaShop/issues/10063\r\n| How to test?  | All request must pass on the new and old URLs, and the URLs used should all target a `index.php` file.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/prestashop/prestashop/10131)\n<!-- Reviewable:end -->\n","created_at":"2018-08-24T14:33:05Z","updated_at":"2018-08-31T09:26:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42bc3cf1fdf72cf6434c9c35ffb63ee7b4c78656","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":982530767,"node_id":"MDU6TGFiZWw5ODI1MzA3Njc=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Feature","name":"Feature","color":"d4c5f9","default":false},{"id":904910825,"node_id":"MDU6TGFiZWw5MDQ5MTA4MjU=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/develop","name":"develop","color":"6270ea","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/10131/comments","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/a7824d1fe134196ca728ad38c5519d7e24487a69","head":{"label":"Quetzacoalt91:endpoint-cleanup","ref":"endpoint-cleanup","sha":"a7824d1fe134196ca728ad38c5519d7e24487a69","user":{"login":"Quetzacoalt91","id":6768917,"node_id":"MDQ6VXNlcjY3Njg5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6768917?v=4","gravatar_id":"","url":"https://api.github.com/users/Quetzacoalt91","html_url":"https://github.com/Quetzacoalt91","followers_url":"https://api.github.com/users/Quetzacoalt91/followers","following_url":"https://api.github.com/users/Quetzacoalt91/following{/other_user}","gists_url":"https://api.github.com/users/Quetzacoalt91/gists{/gist_id}","starred_url":"https://api.github.com/users/Quetzacoalt91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quetzacoalt91/subscriptions","organizations_url":"https://api.github.com/users/Quetzacoalt91/orgs","repos_url":"https://api.github.com/users/Quetzacoalt91/repos","events_url":"https://api.github.com/users/Quetzacoalt91/events{/privacy}","received_events_url":"https://api.github.com/users/Quetzacoalt91/received_events","type":"User","site_admin":false},"repo":{"id":34853736,"node_id":"MDEwOlJlcG9zaXRvcnkzNDg1MzczNg==","name":"PrestaShop","full_name":"Quetzacoalt91/PrestaShop","owner":{"login":"Quetzacoalt91","id":6768917,"node_id":"MDQ6VXNlcjY3Njg5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6768917?v=4","gravatar_id":"","url":"https://api.github.com/users/Quetzacoalt91","html_url":"https://github.com/Quetzacoalt91","followers_url":"https://api.github.com/users/Quetzacoalt91/followers","following_url":"https://api.github.com/users/Quetzacoalt91/following{/other_user}","gists_url":"https://api.github.com/users/Quetzacoalt91/gists{/gist_id}","starred_url":"https://api.github.com/users/Quetzacoalt91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quetzacoalt91/subscriptions","organizations_url":"https://api.github.com/users/Quetzacoalt91/orgs","repos_url":"https://api.github.com/users/Quetzacoalt91/repos","events_url":"https://api.github.com/users/Quetzacoalt91/events{/privacy}","received_events_url":"https://api.github.com/users/Quetzacoalt91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Quetzacoalt91/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open-source e-commerce solution.","fork":true,"url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop","forks_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/forks","keys_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/teams","hooks_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/events","assignees_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/tags","blobs_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/subscription","commits_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/merges","archive_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/downloads","issues_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/Quetzacoalt91/PrestaShop/deployments","created_at":"2015-04-30T12:40:13Z","updated_at":"2016-05-18T15:15:04Z","pushed_at":"2018-08-31T08:11:18Z","git_url":"git://github.com/Quetzacoalt91/PrestaShop.git","ssh_url":"git@github.com:Quetzacoalt91/PrestaShop.git","clone_url":"https://github.com/Quetzacoalt91/PrestaShop.git","svn_url":"https://github.com/Quetzacoalt91/PrestaShop","homepage":"http://www.prestashop.com/","size":338856,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PrestaShop:develop","ref":"develop","sha":"6dae0203a4719c6c0ec5ba34e55f879825e2bd4d","user":{"login":"PrestaShop","id":2815696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTU2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/2815696?v=4","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"repo":{"id":6763587,"node_id":"MDEwOlJlcG9zaXRvcnk2NzYzNTg3","name":"PrestaShop","full_name":"PrestaShop/PrestaShop","owner":{"login":"PrestaShop","id":2815696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTU2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/2815696?v=4","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrestaShop/PrestaShop","description":"PrestaShop offers a fully scalable open source ecommerce solution.","fork":false,"url":"https://api.github.com/repos/PrestaShop/PrestaShop","forks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/forks","keys_url":"https://api.github.com/repos/PrestaShop/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/PrestaShop/teams","hooks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/events","assignees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/tags","blobs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscription","commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/PrestaShop/merges","archive_url":"https://api.github.com/repos/PrestaShop/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/PrestaShop/downloads","issues_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/deployments","created_at":"2012-11-19T16:41:31Z","updated_at":"2018-08-31T08:20:41Z","pushed_at":"2018-08-31T09:02:29Z","git_url":"git://github.com/PrestaShop/PrestaShop.git","ssh_url":"git@github.com:PrestaShop/PrestaShop.git","clone_url":"https://github.com/PrestaShop/PrestaShop.git","svn_url":"https://github.com/PrestaShop/PrestaShop","homepage":"http://www.prestashop.com/","size":360588,"stargazers_count":3153,"watchers_count":3153,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2875,"mirror_url":null,"archived":false,"open_issues_count":975,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2875,"open_issues":975,"watchers":3153,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/10131"},"issue":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/10131"},"comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/10131/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/10131/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/a7824d1fe134196ca728ad38c5519d7e24487a69"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"matks"}}