{"action":"created","comment":{"url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/comments/115022081","pull_request_review_id":36530320,"id":115022081,"diff_hunk":"@@ -0,0 +1,96 @@\n+<?php\n+/**\n+ * Server module for HiPanel.\n+ *\n+ * @link      https://github.com/hiqdev/hipanel-module-server\n+ * @package   hipanel-module-server\n+ * @license   BSD-3-Clause\n+ * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)\n+ */\n+\n+namespace hipanel\\modules\\server\\widgets;\n+\n+use Yii;\n+use yii\\base\\Widget;\n+use yii\\helpers\\Html;\n+use hipanel\\widgets\\ModalButton;\n+use hipanel\\helpers\\ArrayHelper;\n+\n+class Wizzard extends Widget\n+{\n+    /**\n+     * @var ActiveRecord\n+     */\n+    public $model;\n+\n+    /** @var bool */\n+    public $wizzarded = null;","path":"src/widgets/Wizzard.php","position":27,"original_position":27,"commit_id":"bfbac33d8b3bb00a2d55987946a6f4c84b2d5fbb","original_commit_id":"bfbac33d8b3bb00a2d55987946a6f4c84b2d5fbb","user":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars1.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"body":"Булевые свойства принято называть с приставкой, которая будет на это указывать. Например `isWizzarded`","created_at":"2017-05-05T15:20:08Z","updated_at":"2017-05-05T15:23:00Z","html_url":"https://github.com/hiqdev/hipanel-module-server/pull/3#discussion_r115022081","pull_request_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/comments/115022081"},"html":{"href":"https://github.com/hiqdev/hipanel-module-server/pull/3#discussion_r115022081"},"pull_request":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3","id":119168318,"html_url":"https://github.com/hiqdev/hipanel-module-server/pull/3","diff_url":"https://github.com/hiqdev/hipanel-module-server/pull/3.diff","patch_url":"https://github.com/hiqdev/hipanel-module-server/pull/3.patch","issue_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/3","number":3,"state":"open","locked":false,"title":"Vnc only for svds","user":{"login":"bladeroot","id":10207103,"avatar_url":"https://avatars0.githubusercontent.com/u/10207103?v=3","gravatar_id":"","url":"https://api.github.com/users/bladeroot","html_url":"https://github.com/bladeroot","followers_url":"https://api.github.com/users/bladeroot/followers","following_url":"https://api.github.com/users/bladeroot/following{/other_user}","gists_url":"https://api.github.com/users/bladeroot/gists{/gist_id}","starred_url":"https://api.github.com/users/bladeroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bladeroot/subscriptions","organizations_url":"https://api.github.com/users/bladeroot/orgs","repos_url":"https://api.github.com/users/bladeroot/repos","events_url":"https://api.github.com/users/bladeroot/events{/privacy}","received_events_url":"https://api.github.com/users/bladeroot/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-05T12:48:31Z","updated_at":"2017-05-05T15:23:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da64eb6d55eccc98f9cbd265d999f6bf77d6c6db","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3/commits","review_comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3/comments","review_comment_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/3/comments","statuses_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/statuses/bfbac33d8b3bb00a2d55987946a6f4c84b2d5fbb","head":{"label":"bladeroot:vnc-only-for-svds","ref":"vnc-only-for-svds","sha":"bfbac33d8b3bb00a2d55987946a6f4c84b2d5fbb","user":{"login":"bladeroot","id":10207103,"avatar_url":"https://avatars0.githubusercontent.com/u/10207103?v=3","gravatar_id":"","url":"https://api.github.com/users/bladeroot","html_url":"https://github.com/bladeroot","followers_url":"https://api.github.com/users/bladeroot/followers","following_url":"https://api.github.com/users/bladeroot/following{/other_user}","gists_url":"https://api.github.com/users/bladeroot/gists{/gist_id}","starred_url":"https://api.github.com/users/bladeroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bladeroot/subscriptions","organizations_url":"https://api.github.com/users/bladeroot/orgs","repos_url":"https://api.github.com/users/bladeroot/repos","events_url":"https://api.github.com/users/bladeroot/events{/privacy}","received_events_url":"https://api.github.com/users/bladeroot/received_events","type":"User","site_admin":false},"repo":{"id":78072662,"name":"hipanel-module-server","full_name":"bladeroot/hipanel-module-server","owner":{"login":"bladeroot","id":10207103,"avatar_url":"https://avatars0.githubusercontent.com/u/10207103?v=3","gravatar_id":"","url":"https://api.github.com/users/bladeroot","html_url":"https://github.com/bladeroot","followers_url":"https://api.github.com/users/bladeroot/followers","following_url":"https://api.github.com/users/bladeroot/following{/other_user}","gists_url":"https://api.github.com/users/bladeroot/gists{/gist_id}","starred_url":"https://api.github.com/users/bladeroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bladeroot/subscriptions","organizations_url":"https://api.github.com/users/bladeroot/orgs","repos_url":"https://api.github.com/users/bladeroot/repos","events_url":"https://api.github.com/users/bladeroot/events{/privacy}","received_events_url":"https://api.github.com/users/bladeroot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bladeroot/hipanel-module-server","description":"Server Plugin for HiPanel","fork":true,"url":"https://api.github.com/repos/bladeroot/hipanel-module-server","forks_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/forks","keys_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/teams","hooks_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/hooks","issue_events_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/issues/events{/number}","events_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/events","assignees_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/assignees{/user}","branches_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/branches{/branch}","tags_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/tags","blobs_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/statuses/{sha}","languages_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/languages","stargazers_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/stargazers","contributors_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/contributors","subscribers_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/subscribers","subscription_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/subscription","commits_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/contents/{+path}","compare_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/merges","archive_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/downloads","issues_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/issues{/number}","pulls_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/pulls{/number}","milestones_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/milestones{/number}","notifications_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/labels{/name}","releases_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/releases{/id}","deployments_url":"https://api.github.com/repos/bladeroot/hipanel-module-server/deployments","created_at":"2017-01-05T02:47:49Z","updated_at":"2017-01-05T02:47:52Z","pushed_at":"2017-05-05T11:19:49Z","git_url":"git://github.com/bladeroot/hipanel-module-server.git","ssh_url":"git@github.com:bladeroot/hipanel-module-server.git","clone_url":"https://github.com/bladeroot/hipanel-module-server.git","svn_url":"https://github.com/bladeroot/hipanel-module-server","homepage":null,"size":372,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hiqdev:master","ref":"master","sha":"cd7e8b969af3d62ae2db72e4c515458ad83890e4","user":{"login":"hiqdev","id":9985538,"avatar_url":"https://avatars3.githubusercontent.com/u/9985538?v=3","gravatar_id":"","url":"https://api.github.com/users/hiqdev","html_url":"https://github.com/hiqdev","followers_url":"https://api.github.com/users/hiqdev/followers","following_url":"https://api.github.com/users/hiqdev/following{/other_user}","gists_url":"https://api.github.com/users/hiqdev/gists{/gist_id}","starred_url":"https://api.github.com/users/hiqdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiqdev/subscriptions","organizations_url":"https://api.github.com/users/hiqdev/orgs","repos_url":"https://api.github.com/users/hiqdev/repos","events_url":"https://api.github.com/users/hiqdev/events{/privacy}","received_events_url":"https://api.github.com/users/hiqdev/received_events","type":"Organization","site_admin":false},"repo":{"id":34394937,"name":"hipanel-module-server","full_name":"hiqdev/hipanel-module-server","owner":{"login":"hiqdev","id":9985538,"avatar_url":"https://avatars3.githubusercontent.com/u/9985538?v=3","gravatar_id":"","url":"https://api.github.com/users/hiqdev","html_url":"https://github.com/hiqdev","followers_url":"https://api.github.com/users/hiqdev/followers","following_url":"https://api.github.com/users/hiqdev/following{/other_user}","gists_url":"https://api.github.com/users/hiqdev/gists{/gist_id}","starred_url":"https://api.github.com/users/hiqdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiqdev/subscriptions","organizations_url":"https://api.github.com/users/hiqdev/orgs","repos_url":"https://api.github.com/users/hiqdev/repos","events_url":"https://api.github.com/users/hiqdev/events{/privacy}","received_events_url":"https://api.github.com/users/hiqdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hiqdev/hipanel-module-server","description":"Server Plugin for HiPanel","fork":false,"url":"https://api.github.com/repos/hiqdev/hipanel-module-server","forks_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/forks","keys_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/teams","hooks_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/hooks","issue_events_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/events{/number}","events_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/events","assignees_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/assignees{/user}","branches_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/branches{/branch}","tags_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/tags","blobs_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/statuses/{sha}","languages_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/languages","stargazers_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/stargazers","contributors_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/contributors","subscribers_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/subscribers","subscription_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/subscription","commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/contents/{+path}","compare_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/merges","archive_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/downloads","issues_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues{/number}","pulls_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls{/number}","milestones_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/milestones{/number}","notifications_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/labels{/name}","releases_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/releases{/id}","deployments_url":"https://api.github.com/repos/hiqdev/hipanel-module-server/deployments","created_at":"2015-04-22T14:24:28Z","updated_at":"2017-05-05T13:47:07Z","pushed_at":"2017-05-05T12:48:31Z","git_url":"git://github.com/hiqdev/hipanel-module-server.git","ssh_url":"git@github.com:hiqdev/hipanel-module-server.git","clone_url":"https://github.com/hiqdev/hipanel-module-server.git","svn_url":"https://github.com/hiqdev/hipanel-module-server","homepage":null,"size":348,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3"},"html":{"href":"https://github.com/hiqdev/hipanel-module-server/pull/3"},"issue":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/3"},"comments":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-server/statuses/bfbac33d8b3bb00a2d55987946a6f4c84b2d5fbb"}}}}
{"actor":{"display_login":"SilverFire"}}