{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/121941385","pull_request_review_id":44011117,"id":121941385,"diff_hunk":"@@ -48,10 +48,12 @@ angular.module('OpenSlidesApp.core', [\n     'REALM',\n     'ProjectorID',\n     '$q',\n+    '$timeout',\n+    'operator',\n     'ErrorMessage',\n-    function (DS, REALM, ProjectorID, $q, ErrorMessage) {\n+    function (DS, REALM, ProjectorID, $q, $timeout, operator, ErrorMessage) {\n         var socket = null;\n-        var recInterval = null;\n+        var retryConnectCallbacks = [];","path":"openslides/core/static/js/core/base.js","position":11,"original_position":11,"commit_id":"eb83223515f4237507f9bb19e900949b463a7a99","original_commit_id":"eb83223515f4237507f9bb19e900949b463a7a99","user":{"login":"FinnStutzenstein","id":8439581,"avatar_url":"https://avatars3.githubusercontent.com/u/8439581?v=3","gravatar_id":"","url":"https://api.github.com/users/FinnStutzenstein","html_url":"https://github.com/FinnStutzenstein","followers_url":"https://api.github.com/users/FinnStutzenstein/followers","following_url":"https://api.github.com/users/FinnStutzenstein/following{/other_user}","gists_url":"https://api.github.com/users/FinnStutzenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/FinnStutzenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinnStutzenstein/subscriptions","organizations_url":"https://api.github.com/users/FinnStutzenstein/orgs","repos_url":"https://api.github.com/users/FinnStutzenstein/repos","events_url":"https://api.github.com/users/FinnStutzenstein/events{/privacy}","received_events_url":"https://api.github.com/users/FinnStutzenstein/received_events","type":"User","site_admin":false},"body":"But now we have the option ;). I need to hook into this from the `OpenSlides` factory, because I cannot use this factory as a dependency in `autoupdate`. This leads to circular dependencies.\r\nAnd if I make the option to register one ore more callbacks - this is not the point I think.","created_at":"2017-06-14T13:11:48Z","updated_at":"2017-06-14T13:11:48Z","html_url":"https://github.com/OpenSlides/OpenSlides/pull/3297#discussion_r121941385","pull_request_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297","_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/121941385"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/3297#discussion_r121941385"},"pull_request":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297","id":125530548,"html_url":"https://github.com/OpenSlides/OpenSlides/pull/3297","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/3297.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/3297.patch","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/3297","number":3297,"state":"open","locked":false,"title":"improved reconnect handling if the server was flushed (fixed #3295)","user":{"login":"FinnStutzenstein","id":8439581,"avatar_url":"https://avatars3.githubusercontent.com/u/8439581?v=3","gravatar_id":"","url":"https://api.github.com/users/FinnStutzenstein","html_url":"https://github.com/FinnStutzenstein","followers_url":"https://api.github.com/users/FinnStutzenstein/followers","following_url":"https://api.github.com/users/FinnStutzenstein/following{/other_user}","gists_url":"https://api.github.com/users/FinnStutzenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/FinnStutzenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinnStutzenstein/subscriptions","organizations_url":"https://api.github.com/users/FinnStutzenstein/orgs","repos_url":"https://api.github.com/users/FinnStutzenstein/repos","events_url":"https://api.github.com/users/FinnStutzenstein/events{/privacy}","received_events_url":"https://api.github.com/users/FinnStutzenstein/received_events","type":"User","site_admin":false},"body":"If you flush the cache and restart daphne, the user is now forced to relogin and the client does not try to reconnect with websockets.","created_at":"2017-06-14T07:47:21Z","updated_at":"2017-06-14T13:11:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef28922885f828e2d270479d459ad535db18774b","assignee":{"login":"ostcar","id":977937,"avatar_url":"https://avatars3.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"assignees":[{"login":"ostcar","id":977937,"avatar_url":"https://avatars3.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars0.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/3297/comments","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/eb83223515f4237507f9bb19e900949b463a7a99","head":{"label":"FinnStutzenstein:Issue3295","ref":"Issue3295","sha":"eb83223515f4237507f9bb19e900949b463a7a99","user":{"login":"FinnStutzenstein","id":8439581,"avatar_url":"https://avatars3.githubusercontent.com/u/8439581?v=3","gravatar_id":"","url":"https://api.github.com/users/FinnStutzenstein","html_url":"https://github.com/FinnStutzenstein","followers_url":"https://api.github.com/users/FinnStutzenstein/followers","following_url":"https://api.github.com/users/FinnStutzenstein/following{/other_user}","gists_url":"https://api.github.com/users/FinnStutzenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/FinnStutzenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinnStutzenstein/subscriptions","organizations_url":"https://api.github.com/users/FinnStutzenstein/orgs","repos_url":"https://api.github.com/users/FinnStutzenstein/repos","events_url":"https://api.github.com/users/FinnStutzenstein/events{/privacy}","received_events_url":"https://api.github.com/users/FinnStutzenstein/received_events","type":"User","site_admin":false},"repo":{"id":64663189,"name":"OpenSlides","full_name":"FinnStutzenstein/OpenSlides","owner":{"login":"FinnStutzenstein","id":8439581,"avatar_url":"https://avatars3.githubusercontent.com/u/8439581?v=3","gravatar_id":"","url":"https://api.github.com/users/FinnStutzenstein","html_url":"https://github.com/FinnStutzenstein","followers_url":"https://api.github.com/users/FinnStutzenstein/followers","following_url":"https://api.github.com/users/FinnStutzenstein/following{/other_user}","gists_url":"https://api.github.com/users/FinnStutzenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/FinnStutzenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinnStutzenstein/subscriptions","organizations_url":"https://api.github.com/users/FinnStutzenstein/orgs","repos_url":"https://api.github.com/users/FinnStutzenstein/repos","events_url":"https://api.github.com/users/FinnStutzenstein/events{/privacy}","received_events_url":"https://api.github.com/users/FinnStutzenstein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinnStutzenstein/OpenSlides","description":"Presentation and assembly system","fork":true,"url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides","forks_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/forks","keys_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/teams","hooks_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/events","assignees_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/tags","blobs_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/subscription","commits_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/merges","archive_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/downloads","issues_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/FinnStutzenstein/OpenSlides/deployments","created_at":"2016-08-01T11:58:39Z","updated_at":"2016-12-09T07:39:15Z","pushed_at":"2017-06-14T07:45:32Z","git_url":"git://github.com/FinnStutzenstein/OpenSlides.git","ssh_url":"git@github.com:FinnStutzenstein/OpenSlides.git","clone_url":"https://github.com/FinnStutzenstein/OpenSlides.git","svn_url":"https://github.com/FinnStutzenstein/OpenSlides","homepage":"http://openslides.org","size":40792,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"OpenSlides:master","ref":"master","sha":"7947f2ed3496536fe1da778e3d8b0fed25ee83a8","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars2.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":5250779,"name":"OpenSlides","full_name":"OpenSlides/OpenSlides","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars2.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/OpenSlides","description":"Presentation and assembly system","fork":false,"url":"https://api.github.com/repos/OpenSlides/OpenSlides","forks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/forks","keys_url":"https://api.github.com/repos/OpenSlides/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/OpenSlides/teams","hooks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/events","assignees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/tags","blobs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscription","commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/OpenSlides/merges","archive_url":"https://api.github.com/repos/OpenSlides/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/OpenSlides/downloads","issues_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/deployments","created_at":"2012-07-31T20:04:39Z","updated_at":"2017-05-31T13:21:29Z","pushed_at":"2017-06-14T07:47:21Z","git_url":"git://github.com/OpenSlides/OpenSlides.git","ssh_url":"git@github.com:OpenSlides/OpenSlides.git","clone_url":"https://github.com/OpenSlides/OpenSlides.git","svn_url":"https://github.com/OpenSlides/OpenSlides","homepage":"http://openslides.org","size":40752,"stargazers_count":150,"watchers_count":150,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":127,"forks":51,"open_issues":127,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/3297"},"issue":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/3297"},"comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/3297/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/3297/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/eb83223515f4237507f9bb19e900949b463a7a99"}}}}
{"actor":{"display_login":"FinnStutzenstein"}}