{"action":"created","comment":{"url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/comments/37457604","id":37457604,"diff_hunk":"@@ -0,0 +1,23 @@\n+<?php\n+\n+/* @var $this yii\\web\\View */\n+/* @var $profile common\\models\\User */\n+\n+use yii\\helpers\\Html;\n+\n+$this->title = Yii::t('app', 'View Profile - {username}', ['username' => $profile->username]);\n+$this->params['breadcrumbs'][] = Yii::t('app', 'View Profile');\n+$this->params['breadcrumbs'][] = $this->title;\n+?>\n+<div class=\"profile-view\">\n+    <h1><?= Yii::t('app', 'View Profile') ?> : <?= $profile->username ?></h1>\n+\n+    <div class=\"row\">\n+        <div class=\"col-md-12\">\n+            <p><?= Yii::t('app', 'Email') ?>: <?= $profile->email ?> (<?= $profile->email_verified ? Yii::t('app', 'Verified') : Yii::t('app', 'Not verified') ?>)</p>","path":"frontend/views/profile/view.php","position":17,"original_position":17,"commit_id":"d8e087e8e4cf9dc20723ddc56dbd14466c5bc34c","original_commit_id":"d8e087e8e4cf9dc20723ddc56dbd14466c5bc34c","user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"body":"Забыли `Html::encode()`. XSS.","created_at":"2015-08-19T19:32:56Z","updated_at":"2015-08-19T19:32:56Z","html_url":"https://github.com/samdark/yiiframework-ru/pull/17#discussion_r37457604","pull_request_url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/comments/37457604"},"html":{"href":"https://github.com/samdark/yiiframework-ru/pull/17#discussion_r37457604"},"pull_request":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17","id":42845123,"html_url":"https://github.com/samdark/yiiframework-ru/pull/17","diff_url":"https://github.com/samdark/yiiframework-ru/pull/17.diff","patch_url":"https://github.com/samdark/yiiframework-ru/pull/17.patch","issue_url":"https://api.github.com/repos/samdark/yiiframework-ru/issues/17","number":17,"state":"open","locked":false,"title":"Профили пользователей. (Начальный вариант)","user":{"login":"lavrentiev","id":479593,"avatar_url":"https://avatars.githubusercontent.com/u/479593?v=3","gravatar_id":"","url":"https://api.github.com/users/lavrentiev","html_url":"https://github.com/lavrentiev","followers_url":"https://api.github.com/users/lavrentiev/followers","following_url":"https://api.github.com/users/lavrentiev/following{/other_user}","gists_url":"https://api.github.com/users/lavrentiev/gists{/gist_id}","starred_url":"https://api.github.com/users/lavrentiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavrentiev/subscriptions","organizations_url":"https://api.github.com/users/lavrentiev/orgs","repos_url":"https://api.github.com/users/lavrentiev/repos","events_url":"https://api.github.com/users/lavrentiev/events{/privacy}","received_events_url":"https://api.github.com/users/lavrentiev/received_events","type":"User","site_admin":false},"body":"Просмотр своего профиля\r\nРедактирование своего профиля и пароля\r\nПросмотр чужих профилей\r\nСписок пользователей\r\n\r\nи поправил опять меню, теперь текст не пропадает на белом фоне.","created_at":"2015-08-19T18:04:18Z","updated_at":"2015-08-19T19:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf0cb7a101c4181fac63ac7e9d4999e3e3a7451","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17/commits","review_comments_url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17/comments","review_comment_url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samdark/yiiframework-ru/issues/17/comments","statuses_url":"https://api.github.com/repos/samdark/yiiframework-ru/statuses/d8e087e8e4cf9dc20723ddc56dbd14466c5bc34c","head":{"label":"lavrentiev:development","ref":"development","sha":"d8e087e8e4cf9dc20723ddc56dbd14466c5bc34c","user":{"login":"lavrentiev","id":479593,"avatar_url":"https://avatars.githubusercontent.com/u/479593?v=3","gravatar_id":"","url":"https://api.github.com/users/lavrentiev","html_url":"https://github.com/lavrentiev","followers_url":"https://api.github.com/users/lavrentiev/followers","following_url":"https://api.github.com/users/lavrentiev/following{/other_user}","gists_url":"https://api.github.com/users/lavrentiev/gists{/gist_id}","starred_url":"https://api.github.com/users/lavrentiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavrentiev/subscriptions","organizations_url":"https://api.github.com/users/lavrentiev/orgs","repos_url":"https://api.github.com/users/lavrentiev/repos","events_url":"https://api.github.com/users/lavrentiev/events{/privacy}","received_events_url":"https://api.github.com/users/lavrentiev/received_events","type":"User","site_admin":false},"repo":{"id":41032097,"name":"yiiframework-ru","full_name":"lavrentiev/yiiframework-ru","owner":{"login":"lavrentiev","id":479593,"avatar_url":"https://avatars.githubusercontent.com/u/479593?v=3","gravatar_id":"","url":"https://api.github.com/users/lavrentiev","html_url":"https://github.com/lavrentiev","followers_url":"https://api.github.com/users/lavrentiev/followers","following_url":"https://api.github.com/users/lavrentiev/following{/other_user}","gists_url":"https://api.github.com/users/lavrentiev/gists{/gist_id}","starred_url":"https://api.github.com/users/lavrentiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavrentiev/subscriptions","organizations_url":"https://api.github.com/users/lavrentiev/orgs","repos_url":"https://api.github.com/users/lavrentiev/repos","events_url":"https://api.github.com/users/lavrentiev/events{/privacy}","received_events_url":"https://api.github.com/users/lavrentiev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lavrentiev/yiiframework-ru","description":"yiiframework.ru","fork":true,"url":"https://api.github.com/repos/lavrentiev/yiiframework-ru","forks_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/forks","keys_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/teams","hooks_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/hooks","issue_events_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/issues/events{/number}","events_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/events","assignees_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/assignees{/user}","branches_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/branches{/branch}","tags_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/tags","blobs_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/statuses/{sha}","languages_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/languages","stargazers_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/stargazers","contributors_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/contributors","subscribers_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/subscribers","subscription_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/subscription","commits_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/contents/{+path}","compare_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/merges","archive_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/downloads","issues_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/issues{/number}","pulls_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/pulls{/number}","milestones_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/milestones{/number}","notifications_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/labels{/name}","releases_url":"https://api.github.com/repos/lavrentiev/yiiframework-ru/releases{/id}","created_at":"2015-08-19T12:18:21Z","updated_at":"2015-08-19T12:18:22Z","pushed_at":"2015-08-19T17:58:20Z","git_url":"git://github.com/lavrentiev/yiiframework-ru.git","ssh_url":"git@github.com:lavrentiev/yiiframework-ru.git","clone_url":"https://github.com/lavrentiev/yiiframework-ru.git","svn_url":"https://github.com/lavrentiev/yiiframework-ru","homepage":"https://gitter.im/samdark/yiiframework-ru","size":133,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"development"}},"base":{"label":"samdark:development","ref":"development","sha":"cd65ac5453d7fd5da3ee47197832d02a6240bbe7","user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"repo":{"id":21160515,"name":"yiiframework-ru","full_name":"samdark/yiiframework-ru","owner":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samdark/yiiframework-ru","description":"yiiframework.ru","fork":false,"url":"https://api.github.com/repos/samdark/yiiframework-ru","forks_url":"https://api.github.com/repos/samdark/yiiframework-ru/forks","keys_url":"https://api.github.com/repos/samdark/yiiframework-ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samdark/yiiframework-ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samdark/yiiframework-ru/teams","hooks_url":"https://api.github.com/repos/samdark/yiiframework-ru/hooks","issue_events_url":"https://api.github.com/repos/samdark/yiiframework-ru/issues/events{/number}","events_url":"https://api.github.com/repos/samdark/yiiframework-ru/events","assignees_url":"https://api.github.com/repos/samdark/yiiframework-ru/assignees{/user}","branches_url":"https://api.github.com/repos/samdark/yiiframework-ru/branches{/branch}","tags_url":"https://api.github.com/repos/samdark/yiiframework-ru/tags","blobs_url":"https://api.github.com/repos/samdark/yiiframework-ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samdark/yiiframework-ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samdark/yiiframework-ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/samdark/yiiframework-ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samdark/yiiframework-ru/statuses/{sha}","languages_url":"https://api.github.com/repos/samdark/yiiframework-ru/languages","stargazers_url":"https://api.github.com/repos/samdark/yiiframework-ru/stargazers","contributors_url":"https://api.github.com/repos/samdark/yiiframework-ru/contributors","subscribers_url":"https://api.github.com/repos/samdark/yiiframework-ru/subscribers","subscription_url":"https://api.github.com/repos/samdark/yiiframework-ru/subscription","commits_url":"https://api.github.com/repos/samdark/yiiframework-ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/samdark/yiiframework-ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/samdark/yiiframework-ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/samdark/yiiframework-ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/samdark/yiiframework-ru/contents/{+path}","compare_url":"https://api.github.com/repos/samdark/yiiframework-ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samdark/yiiframework-ru/merges","archive_url":"https://api.github.com/repos/samdark/yiiframework-ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samdark/yiiframework-ru/downloads","issues_url":"https://api.github.com/repos/samdark/yiiframework-ru/issues{/number}","pulls_url":"https://api.github.com/repos/samdark/yiiframework-ru/pulls{/number}","milestones_url":"https://api.github.com/repos/samdark/yiiframework-ru/milestones{/number}","notifications_url":"https://api.github.com/repos/samdark/yiiframework-ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samdark/yiiframework-ru/labels{/name}","releases_url":"https://api.github.com/repos/samdark/yiiframework-ru/releases{/id}","created_at":"2014-06-24T10:16:53Z","updated_at":"2015-08-17T13:40:38Z","pushed_at":"2015-08-19T18:22:24Z","git_url":"git://github.com/samdark/yiiframework-ru.git","ssh_url":"git@github.com:samdark/yiiframework-ru.git","clone_url":"https://github.com/samdark/yiiframework-ru.git","svn_url":"https://github.com/samdark/yiiframework-ru","homepage":"https://gitter.im/samdark/yiiframework-ru","size":133,"stargazers_count":7,"watchers_count":7,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":7,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17"},"html":{"href":"https://github.com/samdark/yiiframework-ru/pull/17"},"issue":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/issues/17"},"comments":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/samdark/yiiframework-ru/statuses/d8e087e8e4cf9dc20723ddc56dbd14466c5bc34c"}}}}