{"action":"created","comment":{"url":"https://api.github.com/repos/abukurov/realt-cms/pulls/comments/23984347","id":23984347,"diff_hunk":"@@ -0,0 +1,39 @@\n+'use strict';\n+\n+var schemas = require('../components/schemas');\n+var Qs = require('qs');\n+var uuid = require('node-uuid');\n+\n+function render(res, data, activeSchema, id) {\n+  res.render('add', {\n+    title: 'Добавление',\n+    pageScript: 'add',\n+    data: data,\n+    schemas: schemas,\n+    activeSchema: activeSchema,\n+    id: id\n+  });\n+}\n+\n+module.exports.add = function (req, res,next) {","path":"app/controllers/addproduct.js","position":18,"original_position":18,"commit_id":"591f7fdf475d0ed647a19a35c8edeec802277a63","original_commit_id":"591f7fdf475d0ed647a19a35c8edeec802277a63","user":{"login":"abukurov","id":8199149,"avatar_url":"https://avatars.githubusercontent.com/u/8199149?v=3","gravatar_id":"","url":"https://api.github.com/users/abukurov","html_url":"https://github.com/abukurov","followers_url":"https://api.github.com/users/abukurov/followers","following_url":"https://api.github.com/users/abukurov/following{/other_user}","gists_url":"https://api.github.com/users/abukurov/gists{/gist_id}","starred_url":"https://api.github.com/users/abukurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukurov/subscriptions","organizations_url":"https://api.github.com/users/abukurov/orgs","repos_url":"https://api.github.com/users/abukurov/repos","events_url":"https://api.github.com/users/abukurov/events{/privacy}","received_events_url":"https://api.github.com/users/abukurov/received_events","type":"User","site_admin":false},"body":"do you run gulp lint?","created_at":"2015-02-03T06:00:19Z","updated_at":"2015-02-03T06:00:19Z","html_url":"https://github.com/abukurov/realt-cms/pull/7#discussion_r23984347","pull_request_url":"https://api.github.com/repos/abukurov/realt-cms/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/comments/23984347"},"html":{"href":"https://github.com/abukurov/realt-cms/pull/7#discussion_r23984347"},"pull_request":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/abukurov/realt-cms/pulls/7","id":28108974,"html_url":"https://github.com/abukurov/realt-cms/pull/7","diff_url":"https://github.com/abukurov/realt-cms/pull/7.diff","patch_url":"https://github.com/abukurov/realt-cms/pull/7.patch","issue_url":"https://api.github.com/repos/abukurov/realt-cms/issues/7","number":7,"state":"open","locked":false,"title":"Features/2","user":{"login":"Andrewslesarew","id":10230189,"avatar_url":"https://avatars.githubusercontent.com/u/10230189?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrewslesarew","html_url":"https://github.com/Andrewslesarew","followers_url":"https://api.github.com/users/Andrewslesarew/followers","following_url":"https://api.github.com/users/Andrewslesarew/following{/other_user}","gists_url":"https://api.github.com/users/Andrewslesarew/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrewslesarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrewslesarew/subscriptions","organizations_url":"https://api.github.com/users/Andrewslesarew/orgs","repos_url":"https://api.github.com/users/Andrewslesarew/repos","events_url":"https://api.github.com/users/Andrewslesarew/events{/privacy}","received_events_url":"https://api.github.com/users/Andrewslesarew/received_events","type":"User","site_admin":false},"body":"Добавлено редактирование","created_at":"2015-01-27T13:42:29Z","updated_at":"2015-02-03T06:00:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8190356454dfe1ed940dc1061ecefd16e6650c53","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/abukurov/realt-cms/pulls/7/commits","review_comments_url":"https://api.github.com/repos/abukurov/realt-cms/pulls/7/comments","review_comment_url":"https://api.github.com/repos/abukurov/realt-cms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/abukurov/realt-cms/issues/7/comments","statuses_url":"https://api.github.com/repos/abukurov/realt-cms/statuses/591f7fdf475d0ed647a19a35c8edeec802277a63","head":{"label":"abukurov:features/2","ref":"features/2","sha":"591f7fdf475d0ed647a19a35c8edeec802277a63","user":{"login":"abukurov","id":8199149,"avatar_url":"https://avatars.githubusercontent.com/u/8199149?v=3","gravatar_id":"","url":"https://api.github.com/users/abukurov","html_url":"https://github.com/abukurov","followers_url":"https://api.github.com/users/abukurov/followers","following_url":"https://api.github.com/users/abukurov/following{/other_user}","gists_url":"https://api.github.com/users/abukurov/gists{/gist_id}","starred_url":"https://api.github.com/users/abukurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukurov/subscriptions","organizations_url":"https://api.github.com/users/abukurov/orgs","repos_url":"https://api.github.com/users/abukurov/repos","events_url":"https://api.github.com/users/abukurov/events{/privacy}","received_events_url":"https://api.github.com/users/abukurov/received_events","type":"User","site_admin":false},"repo":{"id":28227313,"name":"realt-cms","full_name":"abukurov/realt-cms","owner":{"login":"abukurov","id":8199149,"avatar_url":"https://avatars.githubusercontent.com/u/8199149?v=3","gravatar_id":"","url":"https://api.github.com/users/abukurov","html_url":"https://github.com/abukurov","followers_url":"https://api.github.com/users/abukurov/followers","following_url":"https://api.github.com/users/abukurov/following{/other_user}","gists_url":"https://api.github.com/users/abukurov/gists{/gist_id}","starred_url":"https://api.github.com/users/abukurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukurov/subscriptions","organizations_url":"https://api.github.com/users/abukurov/orgs","repos_url":"https://api.github.com/users/abukurov/repos","events_url":"https://api.github.com/users/abukurov/events{/privacy}","received_events_url":"https://api.github.com/users/abukurov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abukurov/realt-cms","description":"","fork":false,"url":"https://api.github.com/repos/abukurov/realt-cms","forks_url":"https://api.github.com/repos/abukurov/realt-cms/forks","keys_url":"https://api.github.com/repos/abukurov/realt-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abukurov/realt-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abukurov/realt-cms/teams","hooks_url":"https://api.github.com/repos/abukurov/realt-cms/hooks","issue_events_url":"https://api.github.com/repos/abukurov/realt-cms/issues/events{/number}","events_url":"https://api.github.com/repos/abukurov/realt-cms/events","assignees_url":"https://api.github.com/repos/abukurov/realt-cms/assignees{/user}","branches_url":"https://api.github.com/repos/abukurov/realt-cms/branches{/branch}","tags_url":"https://api.github.com/repos/abukurov/realt-cms/tags","blobs_url":"https://api.github.com/repos/abukurov/realt-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abukurov/realt-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abukurov/realt-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/abukurov/realt-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abukurov/realt-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/abukurov/realt-cms/languages","stargazers_url":"https://api.github.com/repos/abukurov/realt-cms/stargazers","contributors_url":"https://api.github.com/repos/abukurov/realt-cms/contributors","subscribers_url":"https://api.github.com/repos/abukurov/realt-cms/subscribers","subscription_url":"https://api.github.com/repos/abukurov/realt-cms/subscription","commits_url":"https://api.github.com/repos/abukurov/realt-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/abukurov/realt-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/abukurov/realt-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/abukurov/realt-cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/abukurov/realt-cms/contents/{+path}","compare_url":"https://api.github.com/repos/abukurov/realt-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abukurov/realt-cms/merges","archive_url":"https://api.github.com/repos/abukurov/realt-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abukurov/realt-cms/downloads","issues_url":"https://api.github.com/repos/abukurov/realt-cms/issues{/number}","pulls_url":"https://api.github.com/repos/abukurov/realt-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/abukurov/realt-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/abukurov/realt-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abukurov/realt-cms/labels{/name}","releases_url":"https://api.github.com/repos/abukurov/realt-cms/releases{/id}","created_at":"2014-12-19T11:42:57Z","updated_at":"2015-01-15T12:12:47Z","pushed_at":"2015-01-29T08:33:11Z","git_url":"git://github.com/abukurov/realt-cms.git","ssh_url":"git@github.com:abukurov/realt-cms.git","clone_url":"https://github.com/abukurov/realt-cms.git","svn_url":"https://github.com/abukurov/realt-cms","homepage":null,"size":984,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"abukurov:master","ref":"master","sha":"ec26a974d0488448c8faa0378f9e5cf708090eb9","user":{"login":"abukurov","id":8199149,"avatar_url":"https://avatars.githubusercontent.com/u/8199149?v=3","gravatar_id":"","url":"https://api.github.com/users/abukurov","html_url":"https://github.com/abukurov","followers_url":"https://api.github.com/users/abukurov/followers","following_url":"https://api.github.com/users/abukurov/following{/other_user}","gists_url":"https://api.github.com/users/abukurov/gists{/gist_id}","starred_url":"https://api.github.com/users/abukurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukurov/subscriptions","organizations_url":"https://api.github.com/users/abukurov/orgs","repos_url":"https://api.github.com/users/abukurov/repos","events_url":"https://api.github.com/users/abukurov/events{/privacy}","received_events_url":"https://api.github.com/users/abukurov/received_events","type":"User","site_admin":false},"repo":{"id":28227313,"name":"realt-cms","full_name":"abukurov/realt-cms","owner":{"login":"abukurov","id":8199149,"avatar_url":"https://avatars.githubusercontent.com/u/8199149?v=3","gravatar_id":"","url":"https://api.github.com/users/abukurov","html_url":"https://github.com/abukurov","followers_url":"https://api.github.com/users/abukurov/followers","following_url":"https://api.github.com/users/abukurov/following{/other_user}","gists_url":"https://api.github.com/users/abukurov/gists{/gist_id}","starred_url":"https://api.github.com/users/abukurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukurov/subscriptions","organizations_url":"https://api.github.com/users/abukurov/orgs","repos_url":"https://api.github.com/users/abukurov/repos","events_url":"https://api.github.com/users/abukurov/events{/privacy}","received_events_url":"https://api.github.com/users/abukurov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abukurov/realt-cms","description":"","fork":false,"url":"https://api.github.com/repos/abukurov/realt-cms","forks_url":"https://api.github.com/repos/abukurov/realt-cms/forks","keys_url":"https://api.github.com/repos/abukurov/realt-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abukurov/realt-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abukurov/realt-cms/teams","hooks_url":"https://api.github.com/repos/abukurov/realt-cms/hooks","issue_events_url":"https://api.github.com/repos/abukurov/realt-cms/issues/events{/number}","events_url":"https://api.github.com/repos/abukurov/realt-cms/events","assignees_url":"https://api.github.com/repos/abukurov/realt-cms/assignees{/user}","branches_url":"https://api.github.com/repos/abukurov/realt-cms/branches{/branch}","tags_url":"https://api.github.com/repos/abukurov/realt-cms/tags","blobs_url":"https://api.github.com/repos/abukurov/realt-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abukurov/realt-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abukurov/realt-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/abukurov/realt-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abukurov/realt-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/abukurov/realt-cms/languages","stargazers_url":"https://api.github.com/repos/abukurov/realt-cms/stargazers","contributors_url":"https://api.github.com/repos/abukurov/realt-cms/contributors","subscribers_url":"https://api.github.com/repos/abukurov/realt-cms/subscribers","subscription_url":"https://api.github.com/repos/abukurov/realt-cms/subscription","commits_url":"https://api.github.com/repos/abukurov/realt-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/abukurov/realt-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/abukurov/realt-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/abukurov/realt-cms/issues/comments/{number}","contents_url":"https://api.github.com/repos/abukurov/realt-cms/contents/{+path}","compare_url":"https://api.github.com/repos/abukurov/realt-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abukurov/realt-cms/merges","archive_url":"https://api.github.com/repos/abukurov/realt-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abukurov/realt-cms/downloads","issues_url":"https://api.github.com/repos/abukurov/realt-cms/issues{/number}","pulls_url":"https://api.github.com/repos/abukurov/realt-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/abukurov/realt-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/abukurov/realt-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abukurov/realt-cms/labels{/name}","releases_url":"https://api.github.com/repos/abukurov/realt-cms/releases{/id}","created_at":"2014-12-19T11:42:57Z","updated_at":"2015-01-15T12:12:47Z","pushed_at":"2015-01-29T08:33:11Z","git_url":"git://github.com/abukurov/realt-cms.git","ssh_url":"git@github.com:abukurov/realt-cms.git","clone_url":"https://github.com/abukurov/realt-cms.git","svn_url":"https://github.com/abukurov/realt-cms","homepage":null,"size":984,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/7"},"html":{"href":"https://github.com/abukurov/realt-cms/pull/7"},"issue":{"href":"https://api.github.com/repos/abukurov/realt-cms/issues/7"},"comments":{"href":"https://api.github.com/repos/abukurov/realt-cms/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/abukurov/realt-cms/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/abukurov/realt-cms/statuses/591f7fdf475d0ed647a19a35c8edeec802277a63"}}}}