{"action":"created","comment":{"url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/comments/165642512","pull_request_review_id":93617943,"id":165642512,"diff_hunk":"@@ -40,6 +40,26 @@ class ControllerHelper {\n             window.open(`data:text/plain;${charSet},${dataString}`);\n         }\n     }\n+\n+    /**\n+     * copies given message to clipboard\n+     * @param {string} messageToCopy, message to copy to clipboard\n+     * @return {any} error if copy failed, empty string otherwise\n+     */\n+    copyToClipboard (messageToCopy) {\n+        try {\n+            const dummy = document.createElement(\"input\");\n+            document.body.appendChild(dummy);\n+            dummy.setAttribute(\"id\", \"dummy_id\");\n+            dummy.setAttribute(\"value\", messageToCopy);\n+            dummy.select();\n+            document.execCommand(\"copy\");\n+            document.body.removeChild(dummy);","path":"client/app/helper/controller-helper.service.js","position":18,"original_position":18,"commit_id":"d5afdb844b97943d1d2047574ffbaf485a78ea99","original_commit_id":"c409676affd77e81408485a710eb897c213433cf","user":{"login":"Mboulianne","id":18729439,"avatar_url":"https://avatars2.githubusercontent.com/u/18729439?v=4","gravatar_id":"","url":"https://api.github.com/users/Mboulianne","html_url":"https://github.com/Mboulianne","followers_url":"https://api.github.com/users/Mboulianne/followers","following_url":"https://api.github.com/users/Mboulianne/following{/other_user}","gists_url":"https://api.github.com/users/Mboulianne/gists{/gist_id}","starred_url":"https://api.github.com/users/Mboulianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mboulianne/subscriptions","organizations_url":"https://api.github.com/users/Mboulianne/orgs","repos_url":"https://api.github.com/users/Mboulianne/repos","events_url":"https://api.github.com/users/Mboulianne/events{/privacy}","received_events_url":"https://api.github.com/users/Mboulianne/received_events","type":"User","site_admin":false},"body":"Ok could you leave a note to test it on IE / Edge / Safari when you send your JIRA to QA please?","created_at":"2018-02-02T13:22:15Z","updated_at":"2018-02-02T13:22:15Z","html_url":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471#discussion_r165642512","pull_request_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/comments/165642512"},"html":{"href":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471#discussion_r165642512"},"pull_request":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471"}},"in_reply_to_id":165355300},"pull_request":{"url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471","id":166524395,"html_url":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471","diff_url":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471.diff","patch_url":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471.patch","issue_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/471","number":471,"state":"open","locked":false,"title":"added streams live follow UI","user":{"login":"radireddy","id":11884306,"avatar_url":"https://avatars0.githubusercontent.com/u/11884306?v=4","gravatar_id":"","url":"https://api.github.com/users/radireddy","html_url":"https://github.com/radireddy","followers_url":"https://api.github.com/users/radireddy/followers","following_url":"https://api.github.com/users/radireddy/following{/other_user}","gists_url":"https://api.github.com/users/radireddy/gists{/gist_id}","starred_url":"https://api.github.com/users/radireddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radireddy/subscriptions","organizations_url":"https://api.github.com/users/radireddy/orgs","repos_url":"https://api.github.com/users/radireddy/repos","events_url":"https://api.github.com/users/radireddy/events{/privacy}","received_events_url":"https://api.github.com/users/radireddy/received_events","type":"User","site_admin":false},"body":"### Requirements\r\n\r\n* Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.\r\n* All new code requires tests to ensure against regressions\r\n\r\n## Title of the Pull Requests \r\n\r\nAdded Logs Live Follow UI into Manager Cloud\r\n\r\n\r\n### Description of the Change\r\n\r\n1. Added Live follow UI which shows live logs\r\n2. Option to test live logs with Gelf, LTSV and RFC command lines\r\n3. Option to open and close connection to websocket\r\n4. Option to copy websocket URL\r\n5. Option to download ldp client\r\n\r\n### Benefits\r\n\r\nOVH Manager Users will be able to view live log feeds for streams\r\n\r\n### Possible Drawbacks\r\n\r\nnone\r\n\r\n### Applicable Issues\r\n\r\nhttps://interne.ovh.net/projects/browse/UML-15\r\n","created_at":"2018-02-01T12:31:31Z","updated_at":"2018-02-02T13:22:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"631c5ac0caeb5cbfb6ac3ed94f9145f5fa494c56","assignee":null,"assignees":[],"requested_reviewers":[{"login":"neolitec","id":433017,"avatar_url":"https://avatars2.githubusercontent.com/u/433017?v=4","gravatar_id":"","url":"https://api.github.com/users/neolitec","html_url":"https://github.com/neolitec","followers_url":"https://api.github.com/users/neolitec/followers","following_url":"https://api.github.com/users/neolitec/following{/other_user}","gists_url":"https://api.github.com/users/neolitec/gists{/gist_id}","starred_url":"https://api.github.com/users/neolitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolitec/subscriptions","organizations_url":"https://api.github.com/users/neolitec/orgs","repos_url":"https://api.github.com/users/neolitec/repos","events_url":"https://api.github.com/users/neolitec/events{/privacy}","received_events_url":"https://api.github.com/users/neolitec/received_events","type":"User","site_admin":false},{"login":"Netnix","id":4923537,"avatar_url":"https://avatars3.githubusercontent.com/u/4923537?v=4","gravatar_id":"","url":"https://api.github.com/users/Netnix","html_url":"https://github.com/Netnix","followers_url":"https://api.github.com/users/Netnix/followers","following_url":"https://api.github.com/users/Netnix/following{/other_user}","gists_url":"https://api.github.com/users/Netnix/gists{/gist_id}","starred_url":"https://api.github.com/users/Netnix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Netnix/subscriptions","organizations_url":"https://api.github.com/users/Netnix/orgs","repos_url":"https://api.github.com/users/Netnix/repos","events_url":"https://api.github.com/users/Netnix/events{/privacy}","received_events_url":"https://api.github.com/users/Netnix/received_events","type":"User","site_admin":false},{"login":"whispyy","id":6684065,"avatar_url":"https://avatars0.githubusercontent.com/u/6684065?v=4","gravatar_id":"","url":"https://api.github.com/users/whispyy","html_url":"https://github.com/whispyy","followers_url":"https://api.github.com/users/whispyy/followers","following_url":"https://api.github.com/users/whispyy/following{/other_user}","gists_url":"https://api.github.com/users/whispyy/gists{/gist_id}","starred_url":"https://api.github.com/users/whispyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whispyy/subscriptions","organizations_url":"https://api.github.com/users/whispyy/orgs","repos_url":"https://api.github.com/users/whispyy/repos","events_url":"https://api.github.com/users/whispyy/events{/privacy}","received_events_url":"https://api.github.com/users/whispyy/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471/commits","review_comments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471/comments","review_comment_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/471/comments","statuses_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/statuses/d5afdb844b97943d1d2047574ffbaf485a78ea99","head":{"label":"ovh-ux:feature/logs-streams","ref":"feature/logs-streams","sha":"d5afdb844b97943d1d2047574ffbaf485a78ea99","user":{"login":"ovh-ux","id":26575234,"avatar_url":"https://avatars2.githubusercontent.com/u/26575234?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh-ux","html_url":"https://github.com/ovh-ux","followers_url":"https://api.github.com/users/ovh-ux/followers","following_url":"https://api.github.com/users/ovh-ux/following{/other_user}","gists_url":"https://api.github.com/users/ovh-ux/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh-ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh-ux/subscriptions","organizations_url":"https://api.github.com/users/ovh-ux/orgs","repos_url":"https://api.github.com/users/ovh-ux/repos","events_url":"https://api.github.com/users/ovh-ux/events{/privacy}","received_events_url":"https://api.github.com/users/ovh-ux/received_events","type":"Organization","site_admin":false},"repo":{"id":97452959,"name":"ovh-manager-cloud","full_name":"ovh-ux/ovh-manager-cloud","owner":{"login":"ovh-ux","id":26575234,"avatar_url":"https://avatars2.githubusercontent.com/u/26575234?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh-ux","html_url":"https://github.com/ovh-ux","followers_url":"https://api.github.com/users/ovh-ux/followers","following_url":"https://api.github.com/users/ovh-ux/following{/other_user}","gists_url":"https://api.github.com/users/ovh-ux/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh-ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh-ux/subscriptions","organizations_url":"https://api.github.com/users/ovh-ux/orgs","repos_url":"https://api.github.com/users/ovh-ux/repos","events_url":"https://api.github.com/users/ovh-ux/events{/privacy}","received_events_url":"https://api.github.com/users/ovh-ux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovh-ux/ovh-manager-cloud","description":"OVH Control Panel Cloud UI - Official Repository","fork":false,"url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud","forks_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/forks","keys_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/teams","hooks_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/hooks","issue_events_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/events","assignees_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/tags","blobs_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/languages","stargazers_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/stargazers","contributors_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/contributors","subscribers_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/subscribers","subscription_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/subscription","commits_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/merges","archive_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/downloads","issues_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/labels{/name}","releases_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/deployments","created_at":"2017-07-17T08:26:52Z","updated_at":"2018-02-01T03:01:05Z","pushed_at":"2018-02-02T12:55:52Z","git_url":"git://github.com/ovh-ux/ovh-manager-cloud.git","ssh_url":"git@github.com:ovh-ux/ovh-manager-cloud.git","clone_url":"https://github.com/ovh-ux/ovh-manager-cloud.git","svn_url":"https://github.com/ovh-ux/ovh-manager-cloud","homepage":null,"size":8900,"stargazers_count":50,"watchers_count":50,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":11,"open_issues":11,"watchers":50,"default_branch":"master"}},"base":{"label":"ovh-ux:feature/logs","ref":"feature/logs","sha":"d121f034c2b3be2fe66199d0942cdb22a39fa6bd","user":{"login":"ovh-ux","id":26575234,"avatar_url":"https://avatars2.githubusercontent.com/u/26575234?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh-ux","html_url":"https://github.com/ovh-ux","followers_url":"https://api.github.com/users/ovh-ux/followers","following_url":"https://api.github.com/users/ovh-ux/following{/other_user}","gists_url":"https://api.github.com/users/ovh-ux/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh-ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh-ux/subscriptions","organizations_url":"https://api.github.com/users/ovh-ux/orgs","repos_url":"https://api.github.com/users/ovh-ux/repos","events_url":"https://api.github.com/users/ovh-ux/events{/privacy}","received_events_url":"https://api.github.com/users/ovh-ux/received_events","type":"Organization","site_admin":false},"repo":{"id":97452959,"name":"ovh-manager-cloud","full_name":"ovh-ux/ovh-manager-cloud","owner":{"login":"ovh-ux","id":26575234,"avatar_url":"https://avatars2.githubusercontent.com/u/26575234?v=4","gravatar_id":"","url":"https://api.github.com/users/ovh-ux","html_url":"https://github.com/ovh-ux","followers_url":"https://api.github.com/users/ovh-ux/followers","following_url":"https://api.github.com/users/ovh-ux/following{/other_user}","gists_url":"https://api.github.com/users/ovh-ux/gists{/gist_id}","starred_url":"https://api.github.com/users/ovh-ux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovh-ux/subscriptions","organizations_url":"https://api.github.com/users/ovh-ux/orgs","repos_url":"https://api.github.com/users/ovh-ux/repos","events_url":"https://api.github.com/users/ovh-ux/events{/privacy}","received_events_url":"https://api.github.com/users/ovh-ux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovh-ux/ovh-manager-cloud","description":"OVH Control Panel Cloud UI - Official Repository","fork":false,"url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud","forks_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/forks","keys_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/teams","hooks_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/hooks","issue_events_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/events","assignees_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/tags","blobs_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/languages","stargazers_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/stargazers","contributors_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/contributors","subscribers_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/subscribers","subscription_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/subscription","commits_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/merges","archive_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/downloads","issues_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/labels{/name}","releases_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/deployments","created_at":"2017-07-17T08:26:52Z","updated_at":"2018-02-01T03:01:05Z","pushed_at":"2018-02-02T12:55:52Z","git_url":"git://github.com/ovh-ux/ovh-manager-cloud.git","ssh_url":"git@github.com:ovh-ux/ovh-manager-cloud.git","clone_url":"https://github.com/ovh-ux/ovh-manager-cloud.git","svn_url":"https://github.com/ovh-ux/ovh-manager-cloud","homepage":null,"size":8900,"stargazers_count":50,"watchers_count":50,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":11,"open_issues":11,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471"},"html":{"href":"https://github.com/ovh-ux/ovh-manager-cloud/pull/471"},"issue":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/471"},"comments":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471/comments"},"review_comment":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/pulls/471/commits"},"statuses":{"href":"https://api.github.com/repos/ovh-ux/ovh-manager-cloud/statuses/d5afdb844b97943d1d2047574ffbaf485a78ea99"}},"author_association":"NONE"}}
{"actor":{"display_login":"Mboulianne"}}