{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/nodecg/nodecg/pulls/69","id":27143301,"html_url":"https://github.com/nodecg/nodecg/pull/69","diff_url":"https://github.com/nodecg/nodecg/pull/69.diff","patch_url":"https://github.com/nodecg/nodecg/pull/69.patch","issue_url":"https://api.github.com/repos/nodecg/nodecg/issues/69","number":69,"state":"closed","locked":false,"title":"Handle disconnects","user":{"login":"Langeh","id":873012,"avatar_url":"https://avatars.githubusercontent.com/u/873012?v=3","gravatar_id":"","url":"https://api.github.com/users/Langeh","html_url":"https://github.com/Langeh","followers_url":"https://api.github.com/users/Langeh/followers","following_url":"https://api.github.com/users/Langeh/following{/other_user}","gists_url":"https://api.github.com/users/Langeh/gists{/gist_id}","starred_url":"https://api.github.com/users/Langeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Langeh/subscriptions","organizations_url":"https://api.github.com/users/Langeh/orgs","repos_url":"https://api.github.com/users/Langeh/repos","events_url":"https://api.github.com/users/Langeh/events{/privacy}","received_events_url":"https://api.github.com/users/Langeh/received_events","type":"User","site_admin":false},"body":"Fixes #52\r\n\r\nDashboard now shows both an alert at the top of the page AND desktop notifications for disconnects and reconnects.\r\n\r\nViews will now re-declare all their synced variables upon reconnecting. This, combined with the better stability and reconnect logic of Socket.IO 1.2, should hopefully make view pages with syncedVars handle disconnects/restarts.","created_at":"2015-01-10T02:59:56Z","updated_at":"2015-01-10T03:09:25Z","closed_at":"2015-01-10T03:09:25Z","merged_at":"2015-01-10T03:09:25Z","merge_commit_sha":"bd58bcbc65509f88aa64c7cfd7906dff70a6427e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodecg/nodecg/pulls/69/commits","review_comments_url":"https://api.github.com/repos/nodecg/nodecg/pulls/69/comments","review_comment_url":"https://api.github.com/repos/nodecg/nodecg/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nodecg/nodecg/issues/69/comments","statuses_url":"https://api.github.com/repos/nodecg/nodecg/statuses/3a79d8c9caa08427217419be502a73f0f0e309cb","head":{"label":"nodecg:handle-disconnects","ref":"handle-disconnects","sha":"3a79d8c9caa08427217419be502a73f0f0e309cb","user":{"login":"nodecg","id":7779117,"avatar_url":"https://avatars.githubusercontent.com/u/7779117?v=3","gravatar_id":"","url":"https://api.github.com/users/nodecg","html_url":"https://github.com/nodecg","followers_url":"https://api.github.com/users/nodecg/followers","following_url":"https://api.github.com/users/nodecg/following{/other_user}","gists_url":"https://api.github.com/users/nodecg/gists{/gist_id}","starred_url":"https://api.github.com/users/nodecg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodecg/subscriptions","organizations_url":"https://api.github.com/users/nodecg/orgs","repos_url":"https://api.github.com/users/nodecg/repos","events_url":"https://api.github.com/users/nodecg/events{/privacy}","received_events_url":"https://api.github.com/users/nodecg/received_events","type":"Organization","site_admin":false},"repo":{"id":20268869,"name":"nodecg","full_name":"nodecg/nodecg","owner":{"login":"nodecg","id":7779117,"avatar_url":"https://avatars.githubusercontent.com/u/7779117?v=3","gravatar_id":"","url":"https://api.github.com/users/nodecg","html_url":"https://github.com/nodecg","followers_url":"https://api.github.com/users/nodecg/followers","following_url":"https://api.github.com/users/nodecg/following{/other_user}","gists_url":"https://api.github.com/users/nodecg/gists{/gist_id}","starred_url":"https://api.github.com/users/nodecg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodecg/subscriptions","organizations_url":"https://api.github.com/users/nodecg/orgs","repos_url":"https://api.github.com/users/nodecg/repos","events_url":"https://api.github.com/users/nodecg/events{/privacy}","received_events_url":"https://api.github.com/users/nodecg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodecg/nodecg","description":"A live graphics system using node.js","fork":false,"url":"https://api.github.com/repos/nodecg/nodecg","forks_url":"https://api.github.com/repos/nodecg/nodecg/forks","keys_url":"https://api.github.com/repos/nodecg/nodecg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodecg/nodecg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodecg/nodecg/teams","hooks_url":"https://api.github.com/repos/nodecg/nodecg/hooks","issue_events_url":"https://api.github.com/repos/nodecg/nodecg/issues/events{/number}","events_url":"https://api.github.com/repos/nodecg/nodecg/events","assignees_url":"https://api.github.com/repos/nodecg/nodecg/assignees{/user}","branches_url":"https://api.github.com/repos/nodecg/nodecg/branches{/branch}","tags_url":"https://api.github.com/repos/nodecg/nodecg/tags","blobs_url":"https://api.github.com/repos/nodecg/nodecg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodecg/nodecg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodecg/nodecg/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodecg/nodecg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodecg/nodecg/statuses/{sha}","languages_url":"https://api.github.com/repos/nodecg/nodecg/languages","stargazers_url":"https://api.github.com/repos/nodecg/nodecg/stargazers","contributors_url":"https://api.github.com/repos/nodecg/nodecg/contributors","subscribers_url":"https://api.github.com/repos/nodecg/nodecg/subscribers","subscription_url":"https://api.github.com/repos/nodecg/nodecg/subscription","commits_url":"https://api.github.com/repos/nodecg/nodecg/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodecg/nodecg/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodecg/nodecg/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodecg/nodecg/issues/comments/{number}","contents_url":"https://api.github.com/repos/nodecg/nodecg/contents/{+path}","compare_url":"https://api.github.com/repos/nodecg/nodecg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodecg/nodecg/merges","archive_url":"https://api.github.com/repos/nodecg/nodecg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodecg/nodecg/downloads","issues_url":"https://api.github.com/repos/nodecg/nodecg/issues{/number}","pulls_url":"https://api.github.com/repos/nodecg/nodecg/pulls{/number}","milestones_url":"https://api.github.com/repos/nodecg/nodecg/milestones{/number}","notifications_url":"https://api.github.com/repos/nodecg/nodecg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodecg/nodecg/labels{/name}","releases_url":"https://api.github.com/repos/nodecg/nodecg/releases{/id}","created_at":"2014-05-28T18:59:34Z","updated_at":"2015-01-09T19:06:39Z","pushed_at":"2015-01-10T03:09:25Z","git_url":"git://github.com/nodecg/nodecg.git","ssh_url":"git@github.com:nodecg/nodecg.git","clone_url":"https://github.com/nodecg/nodecg.git","svn_url":"https://github.com/nodecg/nodecg","homepage":"","size":1804,"stargazers_count":60,"watchers_count":60,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":13,"forks":13,"open_issues":13,"watchers":60,"default_branch":"master"}},"base":{"label":"nodecg:v0.4.0","ref":"v0.4.0","sha":"ead21aeb46be12fd7527e79ea0d5146bf8972f94","user":{"login":"nodecg","id":7779117,"avatar_url":"https://avatars.githubusercontent.com/u/7779117?v=3","gravatar_id":"","url":"https://api.github.com/users/nodecg","html_url":"https://github.com/nodecg","followers_url":"https://api.github.com/users/nodecg/followers","following_url":"https://api.github.com/users/nodecg/following{/other_user}","gists_url":"https://api.github.com/users/nodecg/gists{/gist_id}","starred_url":"https://api.github.com/users/nodecg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodecg/subscriptions","organizations_url":"https://api.github.com/users/nodecg/orgs","repos_url":"https://api.github.com/users/nodecg/repos","events_url":"https://api.github.com/users/nodecg/events{/privacy}","received_events_url":"https://api.github.com/users/nodecg/received_events","type":"Organization","site_admin":false},"repo":{"id":20268869,"name":"nodecg","full_name":"nodecg/nodecg","owner":{"login":"nodecg","id":7779117,"avatar_url":"https://avatars.githubusercontent.com/u/7779117?v=3","gravatar_id":"","url":"https://api.github.com/users/nodecg","html_url":"https://github.com/nodecg","followers_url":"https://api.github.com/users/nodecg/followers","following_url":"https://api.github.com/users/nodecg/following{/other_user}","gists_url":"https://api.github.com/users/nodecg/gists{/gist_id}","starred_url":"https://api.github.com/users/nodecg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodecg/subscriptions","organizations_url":"https://api.github.com/users/nodecg/orgs","repos_url":"https://api.github.com/users/nodecg/repos","events_url":"https://api.github.com/users/nodecg/events{/privacy}","received_events_url":"https://api.github.com/users/nodecg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodecg/nodecg","description":"A live graphics system using node.js","fork":false,"url":"https://api.github.com/repos/nodecg/nodecg","forks_url":"https://api.github.com/repos/nodecg/nodecg/forks","keys_url":"https://api.github.com/repos/nodecg/nodecg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodecg/nodecg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodecg/nodecg/teams","hooks_url":"https://api.github.com/repos/nodecg/nodecg/hooks","issue_events_url":"https://api.github.com/repos/nodecg/nodecg/issues/events{/number}","events_url":"https://api.github.com/repos/nodecg/nodecg/events","assignees_url":"https://api.github.com/repos/nodecg/nodecg/assignees{/user}","branches_url":"https://api.github.com/repos/nodecg/nodecg/branches{/branch}","tags_url":"https://api.github.com/repos/nodecg/nodecg/tags","blobs_url":"https://api.github.com/repos/nodecg/nodecg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodecg/nodecg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodecg/nodecg/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodecg/nodecg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodecg/nodecg/statuses/{sha}","languages_url":"https://api.github.com/repos/nodecg/nodecg/languages","stargazers_url":"https://api.github.com/repos/nodecg/nodecg/stargazers","contributors_url":"https://api.github.com/repos/nodecg/nodecg/contributors","subscribers_url":"https://api.github.com/repos/nodecg/nodecg/subscribers","subscription_url":"https://api.github.com/repos/nodecg/nodecg/subscription","commits_url":"https://api.github.com/repos/nodecg/nodecg/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodecg/nodecg/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodecg/nodecg/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodecg/nodecg/issues/comments/{number}","contents_url":"https://api.github.com/repos/nodecg/nodecg/contents/{+path}","compare_url":"https://api.github.com/repos/nodecg/nodecg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodecg/nodecg/merges","archive_url":"https://api.github.com/repos/nodecg/nodecg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodecg/nodecg/downloads","issues_url":"https://api.github.com/repos/nodecg/nodecg/issues{/number}","pulls_url":"https://api.github.com/repos/nodecg/nodecg/pulls{/number}","milestones_url":"https://api.github.com/repos/nodecg/nodecg/milestones{/number}","notifications_url":"https://api.github.com/repos/nodecg/nodecg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodecg/nodecg/labels{/name}","releases_url":"https://api.github.com/repos/nodecg/nodecg/releases{/id}","created_at":"2014-05-28T18:59:34Z","updated_at":"2015-01-09T19:06:39Z","pushed_at":"2015-01-10T03:09:25Z","git_url":"git://github.com/nodecg/nodecg.git","ssh_url":"git@github.com:nodecg/nodecg.git","clone_url":"https://github.com/nodecg/nodecg.git","svn_url":"https://github.com/nodecg/nodecg","homepage":"","size":1804,"stargazers_count":60,"watchers_count":60,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":13,"forks":13,"open_issues":13,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodecg/nodecg/pulls/69"},"html":{"href":"https://github.com/nodecg/nodecg/pull/69"},"issue":{"href":"https://api.github.com/repos/nodecg/nodecg/issues/69"},"comments":{"href":"https://api.github.com/repos/nodecg/nodecg/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/nodecg/nodecg/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/nodecg/nodecg/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nodecg/nodecg/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/nodecg/nodecg/statuses/3a79d8c9caa08427217419be502a73f0f0e309cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Langeh","id":873012,"avatar_url":"https://avatars.githubusercontent.com/u/873012?v=3","gravatar_id":"","url":"https://api.github.com/users/Langeh","html_url":"https://github.com/Langeh","followers_url":"https://api.github.com/users/Langeh/followers","following_url":"https://api.github.com/users/Langeh/following{/other_user}","gists_url":"https://api.github.com/users/Langeh/gists{/gist_id}","starred_url":"https://api.github.com/users/Langeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Langeh/subscriptions","organizations_url":"https://api.github.com/users/Langeh/orgs","repos_url":"https://api.github.com/users/Langeh/repos","events_url":"https://api.github.com/users/Langeh/events{/privacy}","received_events_url":"https://api.github.com/users/Langeh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":128,"deletions":32,"changed_files":10}}