{"action":"created","comment":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/comments/71358036","id":71358036,"diff_hunk":"@@ -590,6 +584,7 @@ qq.UploadHandlerController = function(o, namespace) {\n     };\n \n     qq.extend(this, {\n+        connectionManager: connectionManager,","path":"client/js/upload-handler/upload.handler.controller.js","position":45,"original_position":17,"commit_id":"5a48c154c08cb865adbe70d57836f8c80be3e277","original_commit_id":"5a48c154c08cb865adbe70d57836f8c80be3e277","user":{"login":"Erazihel","id":3669588,"avatar_url":"https://avatars.githubusercontent.com/u/3669588?v=3","gravatar_id":"","url":"https://api.github.com/users/Erazihel","html_url":"https://github.com/Erazihel","followers_url":"https://api.github.com/users/Erazihel/followers","following_url":"https://api.github.com/users/Erazihel/following{/other_user}","gists_url":"https://api.github.com/users/Erazihel/gists{/gist_id}","starred_url":"https://api.github.com/users/Erazihel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erazihel/subscriptions","organizations_url":"https://api.github.com/users/Erazihel/orgs","repos_url":"https://api.github.com/users/Erazihel/repos","events_url":"https://api.github.com/users/Erazihel/events{/privacy}","received_events_url":"https://api.github.com/users/Erazihel/received_events","type":"User","site_admin":false},"body":"Yup, my bad. Fixing it right now","created_at":"2016-07-19T15:09:32Z","updated_at":"2016-07-19T15:09:32Z","html_url":"https://github.com/FineUploader/fine-uploader/pull/1585#discussion_r71358036","pull_request_url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585","_links":{"self":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/comments/71358036"},"html":{"href":"https://github.com/FineUploader/fine-uploader/pull/1585#discussion_r71358036"},"pull_request":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585"}}},"pull_request":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585","id":73594539,"html_url":"https://github.com/FineUploader/fine-uploader/pull/1585","diff_url":"https://github.com/FineUploader/fine-uploader/pull/1585.diff","patch_url":"https://github.com/FineUploader/fine-uploader/pull/1585.patch","issue_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1585","number":1585,"state":"open","locked":false,"title":"Feature/1195 Allow pause of upload queue","user":{"login":"Erazihel","id":3669588,"avatar_url":"https://avatars.githubusercontent.com/u/3669588?v=3","gravatar_id":"","url":"https://api.github.com/users/Erazihel","html_url":"https://github.com/Erazihel","followers_url":"https://api.github.com/users/Erazihel/followers","following_url":"https://api.github.com/users/Erazihel/following{/other_user}","gists_url":"https://api.github.com/users/Erazihel/gists{/gist_id}","starred_url":"https://api.github.com/users/Erazihel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erazihel/subscriptions","organizations_url":"https://api.github.com/users/Erazihel/orgs","repos_url":"https://api.github.com/users/Erazihel/repos","events_url":"https://api.github.com/users/Erazihel/events{/privacy}","received_events_url":"https://api.github.com/users/Erazihel/received_events","type":"User","site_admin":false},"body":"## Brief description of the changes\r\nAdd 2 methods in the API to pause and unpause the upload queue. These methods will set/unset a flag that is checked during the file upload. If set to true, the upload won't be triggered and the file will be added to the storedFiles.\r\n\r\nThis feature is required in our current project. We are generating thumbnails by adding photos to the traditional FineUploader queue. The thumbnails are then uploaded by a S3 FineUploader, and the photos using the traditional one. Thing is, we need to upload the thumbnails in priority, and thus pause the traditional upload queue (because of the browser limitation) that will be unpaused once all the thumbnails are sent.\r\n\r\n## What browsers and operating systems have you tested these changes on?\r\nThese changes have been tested on Chrome 51.0.2704.84 (64-bit) on OS X El Capitan 10.11.2\r\n\r\n## Are all automated tests passing?\r\nYes\r\n\r\n\r\n## Is this pull request against develop or some other non-master branch? [REQUIRED]\r\nThis pull request is against develop\r\n","created_at":"2016-06-13T15:25:05Z","updated_at":"2016-07-19T15:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82d287985cf0ea71fcc000a620f35e7722a76394","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/73","html_url":"https://github.com/FineUploader/fine-uploader/milestones/5.11.0","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/73/labels","id":1785394,"number":73,"title":"5.11.0","description":null,"creator":{"login":"rnicholus","id":593312,"avatar_url":"https://avatars.githubusercontent.com/u/593312?v=3","gravatar_id":"","url":"https://api.github.com/users/rnicholus","html_url":"https://github.com/rnicholus","followers_url":"https://api.github.com/users/rnicholus/followers","following_url":"https://api.github.com/users/rnicholus/following{/other_user}","gists_url":"https://api.github.com/users/rnicholus/gists{/gist_id}","starred_url":"https://api.github.com/users/rnicholus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnicholus/subscriptions","organizations_url":"https://api.github.com/users/rnicholus/orgs","repos_url":"https://api.github.com/users/rnicholus/repos","events_url":"https://api.github.com/users/rnicholus/events{/privacy}","received_events_url":"https://api.github.com/users/rnicholus/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2016-05-24T17:19:28Z","updated_at":"2016-07-11T14:06:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585/commits","review_comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585/comments","review_comment_url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1585/comments","statuses_url":"https://api.github.com/repos/FineUploader/fine-uploader/statuses/5a48c154c08cb865adbe70d57836f8c80be3e277","head":{"label":"Erazihel:feature/1195-pause-upload","ref":"feature/1195-pause-upload","sha":"5a48c154c08cb865adbe70d57836f8c80be3e277","user":{"login":"Erazihel","id":3669588,"avatar_url":"https://avatars.githubusercontent.com/u/3669588?v=3","gravatar_id":"","url":"https://api.github.com/users/Erazihel","html_url":"https://github.com/Erazihel","followers_url":"https://api.github.com/users/Erazihel/followers","following_url":"https://api.github.com/users/Erazihel/following{/other_user}","gists_url":"https://api.github.com/users/Erazihel/gists{/gist_id}","starred_url":"https://api.github.com/users/Erazihel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erazihel/subscriptions","organizations_url":"https://api.github.com/users/Erazihel/orgs","repos_url":"https://api.github.com/users/Erazihel/repos","events_url":"https://api.github.com/users/Erazihel/events{/privacy}","received_events_url":"https://api.github.com/users/Erazihel/received_events","type":"User","site_admin":false},"repo":{"id":61041923,"name":"fine-uploader","full_name":"Erazihel/fine-uploader","owner":{"login":"Erazihel","id":3669588,"avatar_url":"https://avatars.githubusercontent.com/u/3669588?v=3","gravatar_id":"","url":"https://api.github.com/users/Erazihel","html_url":"https://github.com/Erazihel","followers_url":"https://api.github.com/users/Erazihel/followers","following_url":"https://api.github.com/users/Erazihel/following{/other_user}","gists_url":"https://api.github.com/users/Erazihel/gists{/gist_id}","starred_url":"https://api.github.com/users/Erazihel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erazihel/subscriptions","organizations_url":"https://api.github.com/users/Erazihel/orgs","repos_url":"https://api.github.com/users/Erazihel/repos","events_url":"https://api.github.com/users/Erazihel/events{/privacy}","received_events_url":"https://api.github.com/users/Erazihel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Erazihel/fine-uploader","description":"Multiple file upload plugin with progress-bar, drag-and-drop, direct-to-S3 & Azure uploading, client-side image scaling, preview generation, form support, chunking, auto-resume, and tons of other features.","fork":true,"url":"https://api.github.com/repos/Erazihel/fine-uploader","forks_url":"https://api.github.com/repos/Erazihel/fine-uploader/forks","keys_url":"https://api.github.com/repos/Erazihel/fine-uploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Erazihel/fine-uploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Erazihel/fine-uploader/teams","hooks_url":"https://api.github.com/repos/Erazihel/fine-uploader/hooks","issue_events_url":"https://api.github.com/repos/Erazihel/fine-uploader/issues/events{/number}","events_url":"https://api.github.com/repos/Erazihel/fine-uploader/events","assignees_url":"https://api.github.com/repos/Erazihel/fine-uploader/assignees{/user}","branches_url":"https://api.github.com/repos/Erazihel/fine-uploader/branches{/branch}","tags_url":"https://api.github.com/repos/Erazihel/fine-uploader/tags","blobs_url":"https://api.github.com/repos/Erazihel/fine-uploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Erazihel/fine-uploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Erazihel/fine-uploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/Erazihel/fine-uploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Erazihel/fine-uploader/statuses/{sha}","languages_url":"https://api.github.com/repos/Erazihel/fine-uploader/languages","stargazers_url":"https://api.github.com/repos/Erazihel/fine-uploader/stargazers","contributors_url":"https://api.github.com/repos/Erazihel/fine-uploader/contributors","subscribers_url":"https://api.github.com/repos/Erazihel/fine-uploader/subscribers","subscription_url":"https://api.github.com/repos/Erazihel/fine-uploader/subscription","commits_url":"https://api.github.com/repos/Erazihel/fine-uploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/Erazihel/fine-uploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/Erazihel/fine-uploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/Erazihel/fine-uploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/Erazihel/fine-uploader/contents/{+path}","compare_url":"https://api.github.com/repos/Erazihel/fine-uploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Erazihel/fine-uploader/merges","archive_url":"https://api.github.com/repos/Erazihel/fine-uploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Erazihel/fine-uploader/downloads","issues_url":"https://api.github.com/repos/Erazihel/fine-uploader/issues{/number}","pulls_url":"https://api.github.com/repos/Erazihel/fine-uploader/pulls{/number}","milestones_url":"https://api.github.com/repos/Erazihel/fine-uploader/milestones{/number}","notifications_url":"https://api.github.com/repos/Erazihel/fine-uploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Erazihel/fine-uploader/labels{/name}","releases_url":"https://api.github.com/repos/Erazihel/fine-uploader/releases{/id}","deployments_url":"https://api.github.com/repos/Erazihel/fine-uploader/deployments","created_at":"2016-06-13T14:14:25Z","updated_at":"2016-06-13T14:14:27Z","pushed_at":"2016-07-19T14:33:56Z","git_url":"git://github.com/Erazihel/fine-uploader.git","ssh_url":"git@github.com:Erazihel/fine-uploader.git","clone_url":"https://github.com/Erazihel/fine-uploader.git","svn_url":"https://github.com/Erazihel/fine-uploader","homepage":"http://fineuploader.com","size":42396,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"FineUploader:develop","ref":"develop","sha":"dc95f9a7cce19baff9b2ba73ea7c944797d98355","user":{"login":"FineUploader","id":8892709,"avatar_url":"https://avatars.githubusercontent.com/u/8892709?v=3","gravatar_id":"","url":"https://api.github.com/users/FineUploader","html_url":"https://github.com/FineUploader","followers_url":"https://api.github.com/users/FineUploader/followers","following_url":"https://api.github.com/users/FineUploader/following{/other_user}","gists_url":"https://api.github.com/users/FineUploader/gists{/gist_id}","starred_url":"https://api.github.com/users/FineUploader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FineUploader/subscriptions","organizations_url":"https://api.github.com/users/FineUploader/orgs","repos_url":"https://api.github.com/users/FineUploader/repos","events_url":"https://api.github.com/users/FineUploader/events{/privacy}","received_events_url":"https://api.github.com/users/FineUploader/received_events","type":"Organization","site_admin":false},"repo":{"id":728994,"name":"fine-uploader","full_name":"FineUploader/fine-uploader","owner":{"login":"FineUploader","id":8892709,"avatar_url":"https://avatars.githubusercontent.com/u/8892709?v=3","gravatar_id":"","url":"https://api.github.com/users/FineUploader","html_url":"https://github.com/FineUploader","followers_url":"https://api.github.com/users/FineUploader/followers","following_url":"https://api.github.com/users/FineUploader/following{/other_user}","gists_url":"https://api.github.com/users/FineUploader/gists{/gist_id}","starred_url":"https://api.github.com/users/FineUploader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FineUploader/subscriptions","organizations_url":"https://api.github.com/users/FineUploader/orgs","repos_url":"https://api.github.com/users/FineUploader/repos","events_url":"https://api.github.com/users/FineUploader/events{/privacy}","received_events_url":"https://api.github.com/users/FineUploader/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FineUploader/fine-uploader","description":"Multiple file upload plugin with progress-bar, drag-and-drop, direct-to-S3 & Azure uploading, client-side image scaling, preview generation, form support, chunking, auto-resume, and tons of other features.","fork":false,"url":"https://api.github.com/repos/FineUploader/fine-uploader","forks_url":"https://api.github.com/repos/FineUploader/fine-uploader/forks","keys_url":"https://api.github.com/repos/FineUploader/fine-uploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FineUploader/fine-uploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FineUploader/fine-uploader/teams","hooks_url":"https://api.github.com/repos/FineUploader/fine-uploader/hooks","issue_events_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/events{/number}","events_url":"https://api.github.com/repos/FineUploader/fine-uploader/events","assignees_url":"https://api.github.com/repos/FineUploader/fine-uploader/assignees{/user}","branches_url":"https://api.github.com/repos/FineUploader/fine-uploader/branches{/branch}","tags_url":"https://api.github.com/repos/FineUploader/fine-uploader/tags","blobs_url":"https://api.github.com/repos/FineUploader/fine-uploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FineUploader/fine-uploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FineUploader/fine-uploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/FineUploader/fine-uploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FineUploader/fine-uploader/statuses/{sha}","languages_url":"https://api.github.com/repos/FineUploader/fine-uploader/languages","stargazers_url":"https://api.github.com/repos/FineUploader/fine-uploader/stargazers","contributors_url":"https://api.github.com/repos/FineUploader/fine-uploader/contributors","subscribers_url":"https://api.github.com/repos/FineUploader/fine-uploader/subscribers","subscription_url":"https://api.github.com/repos/FineUploader/fine-uploader/subscription","commits_url":"https://api.github.com/repos/FineUploader/fine-uploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/FineUploader/fine-uploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/FineUploader/fine-uploader/contents/{+path}","compare_url":"https://api.github.com/repos/FineUploader/fine-uploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FineUploader/fine-uploader/merges","archive_url":"https://api.github.com/repos/FineUploader/fine-uploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FineUploader/fine-uploader/downloads","issues_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues{/number}","pulls_url":"https://api.github.com/repos/FineUploader/fine-uploader/pulls{/number}","milestones_url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones{/number}","notifications_url":"https://api.github.com/repos/FineUploader/fine-uploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/labels{/name}","releases_url":"https://api.github.com/repos/FineUploader/fine-uploader/releases{/id}","deployments_url":"https://api.github.com/repos/FineUploader/fine-uploader/deployments","created_at":"2010-06-19T07:36:13Z","updated_at":"2016-07-19T15:04:21Z","pushed_at":"2016-07-19T14:33:58Z","git_url":"git://github.com/FineUploader/fine-uploader.git","ssh_url":"git@github.com:FineUploader/fine-uploader.git","clone_url":"https://github.com/FineUploader/fine-uploader.git","svn_url":"https://github.com/FineUploader/fine-uploader","homepage":"http://fineuploader.com","size":47076,"stargazers_count":6093,"watchers_count":6093,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1451,"mirror_url":null,"open_issues_count":109,"forks":1451,"open_issues":109,"watchers":6093,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585"},"html":{"href":"https://github.com/FineUploader/fine-uploader/pull/1585"},"issue":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1585"},"comments":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1585/comments"},"review_comments":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585/comments"},"review_comment":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/pulls/1585/commits"},"statuses":{"href":"https://api.github.com/repos/FineUploader/fine-uploader/statuses/5a48c154c08cb865adbe70d57836f8c80be3e277"}}}}
{"actor":{"display_login":"Erazihel"}}