{"action":"created","comment":{"url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/comments/133509181","pull_request_review_id":56698556,"id":133509181,"diff_hunk":"@@ -357,6 +357,33 @@ def get(self, request, enroll_key, chat_id=None):\n         )\n \n \n+class ChatNoJSInit(object):\n+    def get_or_init_chat(self, enroll_code, chat_id):","path":"mysite/chat/views.py","position":5,"original_position":5,"commit_id":"75663f7a0197eef25e3a7affe0c20ed8a6ca5fc9","original_commit_id":"75663f7a0197eef25e3a7affe0c20ed8a6ca5fc9","user":{"login":"rimikt","id":877401,"avatar_url":"https://avatars0.githubusercontent.com/u/877401?v=4","gravatar_id":"","url":"https://api.github.com/users/rimikt","html_url":"https://github.com/rimikt","followers_url":"https://api.github.com/users/rimikt/followers","following_url":"https://api.github.com/users/rimikt/following{/other_user}","gists_url":"https://api.github.com/users/rimikt/gists{/gist_id}","starred_url":"https://api.github.com/users/rimikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimikt/subscriptions","organizations_url":"https://api.github.com/users/rimikt/orgs","repos_url":"https://api.github.com/users/rimikt/repos","events_url":"https://api.github.com/users/rimikt/events{/privacy}","received_events_url":"https://api.github.com/users/rimikt/received_events","type":"User","site_admin":false},"body":"Same as above.","created_at":"2017-08-16T17:06:29Z","updated_at":"2017-08-16T17:10:34Z","html_url":"https://github.com/raccoongang/socraticqs2/pull/70#discussion_r133509181","pull_request_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/comments/133509181"},"html":{"href":"https://github.com/raccoongang/socraticqs2/pull/70#discussion_r133509181"},"pull_request":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70","id":136065018,"html_url":"https://github.com/raccoongang/socraticqs2/pull/70","diff_url":"https://github.com/raccoongang/socraticqs2/pull/70.diff","patch_url":"https://github.com/raccoongang/socraticqs2/pull/70.patch","issue_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/70","number":70,"state":"open","locked":false,"title":"fix(merge_issues): Fixes after merge - fixed AddUnitByChat","user":{"login":"alexbojko","id":370714,"avatar_url":"https://avatars2.githubusercontent.com/u/370714?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbojko","html_url":"https://github.com/alexbojko","followers_url":"https://api.github.com/users/alexbojko/followers","following_url":"https://api.github.com/users/alexbojko/following{/other_user}","gists_url":"https://api.github.com/users/alexbojko/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbojko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbojko/subscriptions","organizations_url":"https://api.github.com/users/alexbojko/orgs","repos_url":"https://api.github.com/users/alexbojko/repos","events_url":"https://api.github.com/users/alexbojko/events{/privacy}","received_events_url":"https://api.github.com/users/alexbojko/received_events","type":"User","site_admin":false},"body":"### [ISSUE] \r\nAfter merging branches add unit by chat functionality was broken\r\n\r\n### [SOLUTION]\r\nFixed AddUnitByChat - returned it to old flow (no chat JS init), added ChatNoJSInit view class to use it when we don't need JS init process.","created_at":"2017-08-16T16:12:51Z","updated_at":"2017-08-16T17:10:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a087532570342032d7094ed3e89b6e32035cb8f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70/commits","review_comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70/comments","review_comment_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/70/comments","statuses_url":"https://api.github.com/repos/raccoongang/socraticqs2/statuses/75663f7a0197eef25e3a7affe0c20ed8a6ca5fc9","head":{"label":"raccoongang:fix/cms_merge_issues","ref":"fix/cms_merge_issues","sha":"75663f7a0197eef25e3a7affe0c20ed8a6ca5fc9","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars0.githubusercontent.com/u/11388447?v=4","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":32084912,"name":"socraticqs2","full_name":"raccoongang/socraticqs2","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars0.githubusercontent.com/u/11388447?v=4","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/socraticqs2","description":"courselets.org web service implementation","fork":true,"url":"https://api.github.com/repos/raccoongang/socraticqs2","forks_url":"https://api.github.com/repos/raccoongang/socraticqs2/forks","keys_url":"https://api.github.com/repos/raccoongang/socraticqs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/socraticqs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/socraticqs2/teams","hooks_url":"https://api.github.com/repos/raccoongang/socraticqs2/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/socraticqs2/events","assignees_url":"https://api.github.com/repos/raccoongang/socraticqs2/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/socraticqs2/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/tags","blobs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/socraticqs2/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/socraticqs2/languages","stargazers_url":"https://api.github.com/repos/raccoongang/socraticqs2/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/socraticqs2/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscription","commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/socraticqs2/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/socraticqs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/socraticqs2/merges","archive_url":"https://api.github.com/repos/raccoongang/socraticqs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/socraticqs2/downloads","issues_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/socraticqs2/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/socraticqs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/socraticqs2/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/socraticqs2/releases{/id}","deployments_url":"https://api.github.com/repos/raccoongang/socraticqs2/deployments","created_at":"2015-03-12T15:34:25Z","updated_at":"2017-01-15T23:33:50Z","pushed_at":"2017-08-16T16:12:52Z","git_url":"git://github.com/raccoongang/socraticqs2.git","ssh_url":"git@github.com:raccoongang/socraticqs2.git","clone_url":"https://github.com/raccoongang/socraticqs2.git","svn_url":"https://github.com/raccoongang/socraticqs2","homepage":null,"size":5389,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"raccoongang:feature/cms","ref":"feature/cms","sha":"d429ccbd436caa1088ed5b05a1914ebaa78bafea","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars0.githubusercontent.com/u/11388447?v=4","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":32084912,"name":"socraticqs2","full_name":"raccoongang/socraticqs2","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars0.githubusercontent.com/u/11388447?v=4","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/socraticqs2","description":"courselets.org web service implementation","fork":true,"url":"https://api.github.com/repos/raccoongang/socraticqs2","forks_url":"https://api.github.com/repos/raccoongang/socraticqs2/forks","keys_url":"https://api.github.com/repos/raccoongang/socraticqs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/socraticqs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/socraticqs2/teams","hooks_url":"https://api.github.com/repos/raccoongang/socraticqs2/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/socraticqs2/events","assignees_url":"https://api.github.com/repos/raccoongang/socraticqs2/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/socraticqs2/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/tags","blobs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/socraticqs2/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/socraticqs2/languages","stargazers_url":"https://api.github.com/repos/raccoongang/socraticqs2/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/socraticqs2/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/socraticqs2/subscription","commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/socraticqs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/socraticqs2/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/socraticqs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/socraticqs2/merges","archive_url":"https://api.github.com/repos/raccoongang/socraticqs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/socraticqs2/downloads","issues_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/socraticqs2/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/socraticqs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/socraticqs2/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/socraticqs2/releases{/id}","deployments_url":"https://api.github.com/repos/raccoongang/socraticqs2/deployments","created_at":"2015-03-12T15:34:25Z","updated_at":"2017-01-15T23:33:50Z","pushed_at":"2017-08-16T16:12:52Z","git_url":"git://github.com/raccoongang/socraticqs2.git","ssh_url":"git@github.com:raccoongang/socraticqs2.git","clone_url":"https://github.com/raccoongang/socraticqs2.git","svn_url":"https://github.com/raccoongang/socraticqs2","homepage":null,"size":5389,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70"},"html":{"href":"https://github.com/raccoongang/socraticqs2/pull/70"},"issue":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/issues/70"},"comments":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/raccoongang/socraticqs2/statuses/75663f7a0197eef25e3a7affe0c20ed8a6ca5fc9"}}}}
{"actor":{"display_login":"rimikt"}}