{"action":"created","comment":{"url":"https://api.github.com/repos/concrete5/concrete5/pulls/comments/173192340","pull_request_review_id":102336980,"id":173192340,"diff_hunk":"@@ -100,4 +100,36 @@ public function remove_tree_node()\n             Loader::helper('ajax')->sendError($this->error);\n         }\n     }\n+\n+    public function tree_edit()\n+    {\n+        $vs = Loader::helper('validation/strings');\n+\n+        if (!$vs->notempty($_REQUEST['treeName'])) {\n+            $this->error->add(t('You must specify a valid name for your tree.'));\n+        }\n+\n+        if (!$this->token->validate('tree_edit')) {\n+            $this->error->add($this->token->getErrorMessage());\n+        }\n+\n+        if ($this->error->has()) {\n+            return $this->view($_REQUEST['treeID']);","path":"concrete/controllers/single_page/dashboard/system/attributes/topics.php","position":54,"original_position":54,"commit_id":"786171ff542fa2f76f6fca1208c6a24003f41744","original_commit_id":"786171ff542fa2f76f6fca1208c6a24003f41744","user":{"login":"mlocati","id":928116,"avatar_url":"https://avatars3.githubusercontent.com/u/928116?v=4","gravatar_id":"","url":"https://api.github.com/users/mlocati","html_url":"https://github.com/mlocati","followers_url":"https://api.github.com/users/mlocati/followers","following_url":"https://api.github.com/users/mlocati/following{/other_user}","gists_url":"https://api.github.com/users/mlocati/gists{/gist_id}","starred_url":"https://api.github.com/users/mlocati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlocati/subscriptions","organizations_url":"https://api.github.com/users/mlocati/orgs","repos_url":"https://api.github.com/users/mlocati/repos","events_url":"https://api.github.com/users/mlocati/events{/privacy}","received_events_url":"https://api.github.com/users/mlocati/received_events","type":"User","site_admin":false},"body":"Here again, please avoid using `$_REQUEST`","created_at":"2018-03-08T15:29:41Z","updated_at":"2018-03-08T15:32:46Z","html_url":"https://github.com/concrete5/concrete5/pull/6507#discussion_r173192340","pull_request_url":"https://api.github.com/repos/concrete5/concrete5/pulls/6507","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/comments/173192340"},"html":{"href":"https://github.com/concrete5/concrete5/pull/6507#discussion_r173192340"},"pull_request":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/6507"}}},"pull_request":{"url":"https://api.github.com/repos/concrete5/concrete5/pulls/6507","id":173763707,"html_url":"https://github.com/concrete5/concrete5/pull/6507","diff_url":"https://github.com/concrete5/concrete5/pull/6507.diff","patch_url":"https://github.com/concrete5/concrete5/pull/6507.patch","issue_url":"https://api.github.com/repos/concrete5/concrete5/issues/6507","number":6507,"state":"open","locked":false,"title":"editable topic tree names","user":{"login":"gutigrewal","id":1950573,"avatar_url":"https://avatars1.githubusercontent.com/u/1950573?v=4","gravatar_id":"","url":"https://api.github.com/users/gutigrewal","html_url":"https://github.com/gutigrewal","followers_url":"https://api.github.com/users/gutigrewal/followers","following_url":"https://api.github.com/users/gutigrewal/following{/other_user}","gists_url":"https://api.github.com/users/gutigrewal/gists{/gist_id}","starred_url":"https://api.github.com/users/gutigrewal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gutigrewal/subscriptions","organizations_url":"https://api.github.com/users/gutigrewal/orgs","repos_url":"https://api.github.com/users/gutigrewal/repos","events_url":"https://api.github.com/users/gutigrewal/events{/privacy}","received_events_url":"https://api.github.com/users/gutigrewal/received_events","type":"User","site_admin":false},"body":"Fix for issue #6413 https://github.com/concrete5/concrete5/issues/6413","created_at":"2018-03-08T15:18:28Z","updated_at":"2018-03-08T15:32:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bfa0ed29d97e50a949ae1d464cc5866d91b68d5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/concrete5/concrete5/pulls/6507/commits","review_comments_url":"https://api.github.com/repos/concrete5/concrete5/pulls/6507/comments","review_comment_url":"https://api.github.com/repos/concrete5/concrete5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/6507/comments","statuses_url":"https://api.github.com/repos/concrete5/concrete5/statuses/786171ff542fa2f76f6fca1208c6a24003f41744","head":{"label":"gutigrewal:fix-6413","ref":"fix-6413","sha":"786171ff542fa2f76f6fca1208c6a24003f41744","user":{"login":"gutigrewal","id":1950573,"avatar_url":"https://avatars1.githubusercontent.com/u/1950573?v=4","gravatar_id":"","url":"https://api.github.com/users/gutigrewal","html_url":"https://github.com/gutigrewal","followers_url":"https://api.github.com/users/gutigrewal/followers","following_url":"https://api.github.com/users/gutigrewal/following{/other_user}","gists_url":"https://api.github.com/users/gutigrewal/gists{/gist_id}","starred_url":"https://api.github.com/users/gutigrewal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gutigrewal/subscriptions","organizations_url":"https://api.github.com/users/gutigrewal/orgs","repos_url":"https://api.github.com/users/gutigrewal/repos","events_url":"https://api.github.com/users/gutigrewal/events{/privacy}","received_events_url":"https://api.github.com/users/gutigrewal/received_events","type":"User","site_admin":false},"repo":{"id":124225890,"name":"concrete5","full_name":"gutigrewal/concrete5","owner":{"login":"gutigrewal","id":1950573,"avatar_url":"https://avatars1.githubusercontent.com/u/1950573?v=4","gravatar_id":"","url":"https://api.github.com/users/gutigrewal","html_url":"https://github.com/gutigrewal","followers_url":"https://api.github.com/users/gutigrewal/followers","following_url":"https://api.github.com/users/gutigrewal/following{/other_user}","gists_url":"https://api.github.com/users/gutigrewal/gists{/gist_id}","starred_url":"https://api.github.com/users/gutigrewal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gutigrewal/subscriptions","organizations_url":"https://api.github.com/users/gutigrewal/orgs","repos_url":"https://api.github.com/users/gutigrewal/repos","events_url":"https://api.github.com/users/gutigrewal/events{/privacy}","received_events_url":"https://api.github.com/users/gutigrewal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gutigrewal/concrete5","description":"Official repository for concrete5 development","fork":true,"url":"https://api.github.com/repos/gutigrewal/concrete5","forks_url":"https://api.github.com/repos/gutigrewal/concrete5/forks","keys_url":"https://api.github.com/repos/gutigrewal/concrete5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gutigrewal/concrete5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gutigrewal/concrete5/teams","hooks_url":"https://api.github.com/repos/gutigrewal/concrete5/hooks","issue_events_url":"https://api.github.com/repos/gutigrewal/concrete5/issues/events{/number}","events_url":"https://api.github.com/repos/gutigrewal/concrete5/events","assignees_url":"https://api.github.com/repos/gutigrewal/concrete5/assignees{/user}","branches_url":"https://api.github.com/repos/gutigrewal/concrete5/branches{/branch}","tags_url":"https://api.github.com/repos/gutigrewal/concrete5/tags","blobs_url":"https://api.github.com/repos/gutigrewal/concrete5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gutigrewal/concrete5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gutigrewal/concrete5/git/refs{/sha}","trees_url":"https://api.github.com/repos/gutigrewal/concrete5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gutigrewal/concrete5/statuses/{sha}","languages_url":"https://api.github.com/repos/gutigrewal/concrete5/languages","stargazers_url":"https://api.github.com/repos/gutigrewal/concrete5/stargazers","contributors_url":"https://api.github.com/repos/gutigrewal/concrete5/contributors","subscribers_url":"https://api.github.com/repos/gutigrewal/concrete5/subscribers","subscription_url":"https://api.github.com/repos/gutigrewal/concrete5/subscription","commits_url":"https://api.github.com/repos/gutigrewal/concrete5/commits{/sha}","git_commits_url":"https://api.github.com/repos/gutigrewal/concrete5/git/commits{/sha}","comments_url":"https://api.github.com/repos/gutigrewal/concrete5/comments{/number}","issue_comment_url":"https://api.github.com/repos/gutigrewal/concrete5/issues/comments{/number}","contents_url":"https://api.github.com/repos/gutigrewal/concrete5/contents/{+path}","compare_url":"https://api.github.com/repos/gutigrewal/concrete5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gutigrewal/concrete5/merges","archive_url":"https://api.github.com/repos/gutigrewal/concrete5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gutigrewal/concrete5/downloads","issues_url":"https://api.github.com/repos/gutigrewal/concrete5/issues{/number}","pulls_url":"https://api.github.com/repos/gutigrewal/concrete5/pulls{/number}","milestones_url":"https://api.github.com/repos/gutigrewal/concrete5/milestones{/number}","notifications_url":"https://api.github.com/repos/gutigrewal/concrete5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gutigrewal/concrete5/labels{/name}","releases_url":"https://api.github.com/repos/gutigrewal/concrete5/releases{/id}","deployments_url":"https://api.github.com/repos/gutigrewal/concrete5/deployments","created_at":"2018-03-07T11:25:50Z","updated_at":"2018-03-07T11:26:01Z","pushed_at":"2018-03-08T15:13:48Z","git_url":"git://github.com/gutigrewal/concrete5.git","ssh_url":"git@github.com:gutigrewal/concrete5.git","clone_url":"https://github.com/gutigrewal/concrete5.git","svn_url":"https://github.com/gutigrewal/concrete5","homepage":"https://www.concrete5.org","size":98563,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"concrete5:develop","ref":"develop","sha":"658dc94e3892544e581f264c467325384f3fc36a","user":{"login":"concrete5","id":657929,"avatar_url":"https://avatars3.githubusercontent.com/u/657929?v=4","gravatar_id":"","url":"https://api.github.com/users/concrete5","html_url":"https://github.com/concrete5","followers_url":"https://api.github.com/users/concrete5/followers","following_url":"https://api.github.com/users/concrete5/following{/other_user}","gists_url":"https://api.github.com/users/concrete5/gists{/gist_id}","starred_url":"https://api.github.com/users/concrete5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concrete5/subscriptions","organizations_url":"https://api.github.com/users/concrete5/orgs","repos_url":"https://api.github.com/users/concrete5/repos","events_url":"https://api.github.com/users/concrete5/events{/privacy}","received_events_url":"https://api.github.com/users/concrete5/received_events","type":"Organization","site_admin":false},"repo":{"id":19040482,"name":"concrete5","full_name":"concrete5/concrete5","owner":{"login":"concrete5","id":657929,"avatar_url":"https://avatars3.githubusercontent.com/u/657929?v=4","gravatar_id":"","url":"https://api.github.com/users/concrete5","html_url":"https://github.com/concrete5","followers_url":"https://api.github.com/users/concrete5/followers","following_url":"https://api.github.com/users/concrete5/following{/other_user}","gists_url":"https://api.github.com/users/concrete5/gists{/gist_id}","starred_url":"https://api.github.com/users/concrete5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concrete5/subscriptions","organizations_url":"https://api.github.com/users/concrete5/orgs","repos_url":"https://api.github.com/users/concrete5/repos","events_url":"https://api.github.com/users/concrete5/events{/privacy}","received_events_url":"https://api.github.com/users/concrete5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concrete5/concrete5","description":"Official repository for concrete5 development","fork":false,"url":"https://api.github.com/repos/concrete5/concrete5","forks_url":"https://api.github.com/repos/concrete5/concrete5/forks","keys_url":"https://api.github.com/repos/concrete5/concrete5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concrete5/concrete5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concrete5/concrete5/teams","hooks_url":"https://api.github.com/repos/concrete5/concrete5/hooks","issue_events_url":"https://api.github.com/repos/concrete5/concrete5/issues/events{/number}","events_url":"https://api.github.com/repos/concrete5/concrete5/events","assignees_url":"https://api.github.com/repos/concrete5/concrete5/assignees{/user}","branches_url":"https://api.github.com/repos/concrete5/concrete5/branches{/branch}","tags_url":"https://api.github.com/repos/concrete5/concrete5/tags","blobs_url":"https://api.github.com/repos/concrete5/concrete5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concrete5/concrete5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concrete5/concrete5/git/refs{/sha}","trees_url":"https://api.github.com/repos/concrete5/concrete5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concrete5/concrete5/statuses/{sha}","languages_url":"https://api.github.com/repos/concrete5/concrete5/languages","stargazers_url":"https://api.github.com/repos/concrete5/concrete5/stargazers","contributors_url":"https://api.github.com/repos/concrete5/concrete5/contributors","subscribers_url":"https://api.github.com/repos/concrete5/concrete5/subscribers","subscription_url":"https://api.github.com/repos/concrete5/concrete5/subscription","commits_url":"https://api.github.com/repos/concrete5/concrete5/commits{/sha}","git_commits_url":"https://api.github.com/repos/concrete5/concrete5/git/commits{/sha}","comments_url":"https://api.github.com/repos/concrete5/concrete5/comments{/number}","issue_comment_url":"https://api.github.com/repos/concrete5/concrete5/issues/comments{/number}","contents_url":"https://api.github.com/repos/concrete5/concrete5/contents/{+path}","compare_url":"https://api.github.com/repos/concrete5/concrete5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concrete5/concrete5/merges","archive_url":"https://api.github.com/repos/concrete5/concrete5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concrete5/concrete5/downloads","issues_url":"https://api.github.com/repos/concrete5/concrete5/issues{/number}","pulls_url":"https://api.github.com/repos/concrete5/concrete5/pulls{/number}","milestones_url":"https://api.github.com/repos/concrete5/concrete5/milestones{/number}","notifications_url":"https://api.github.com/repos/concrete5/concrete5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concrete5/concrete5/labels{/name}","releases_url":"https://api.github.com/repos/concrete5/concrete5/releases{/id}","deployments_url":"https://api.github.com/repos/concrete5/concrete5/deployments","created_at":"2014-04-22T18:12:28Z","updated_at":"2018-03-08T04:48:02Z","pushed_at":"2018-03-08T15:18:29Z","git_url":"git://github.com/concrete5/concrete5.git","ssh_url":"git@github.com:concrete5/concrete5.git","clone_url":"https://github.com/concrete5/concrete5.git","svn_url":"https://github.com/concrete5/concrete5","homepage":"https://www.concrete5.org","size":98571,"stargazers_count":434,"watchers_count":434,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":343,"mirror_url":null,"archived":false,"open_issues_count":589,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":343,"open_issues":589,"watchers":434,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/6507"},"html":{"href":"https://github.com/concrete5/concrete5/pull/6507"},"issue":{"href":"https://api.github.com/repos/concrete5/concrete5/issues/6507"},"comments":{"href":"https://api.github.com/repos/concrete5/concrete5/issues/6507/comments"},"review_comments":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/6507/comments"},"review_comment":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/6507/commits"},"statuses":{"href":"https://api.github.com/repos/concrete5/concrete5/statuses/786171ff542fa2f76f6fca1208c6a24003f41744"}},"author_association":"NONE"}}
{"actor":{"display_login":"mlocati"}}