{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/liveblog/pulls/comments/29650954","id":29650954,"diff_hunk":"@@ -239,9 +242,25 @@ define([\n         api('users').getById(blog.original_creator).then(function(data) {\n             vm.original_creator = data;\n         });\n+        api('users').query().then(function(data) {\n+            vm.avUsers = data._items;","path":"client/app/scripts/liveblog-edit/module.js","position":22,"original_position":22,"commit_id":"3f8a4f8b3f2e3fd8ffe7740cfd3d8aa3ef876f49","original_commit_id":"3f8a4f8b3f2e3fd8ffe7740cfd3d8aa3ef876f49","user":{"login":"vied12","id":180617,"avatar_url":"https://avatars.githubusercontent.com/u/180617?v=3","gravatar_id":"","url":"https://api.github.com/users/vied12","html_url":"https://github.com/vied12","followers_url":"https://api.github.com/users/vied12/followers","following_url":"https://api.github.com/users/vied12/following{/other_user}","gists_url":"https://api.github.com/users/vied12/gists{/gist_id}","starred_url":"https://api.github.com/users/vied12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vied12/subscriptions","organizations_url":"https://api.github.com/users/vied12/orgs","repos_url":"https://api.github.com/users/vied12/repos","events_url":"https://api.github.com/users/vied12/events{/privacy}","received_events_url":"https://api.github.com/users/vied12/received_events","type":"User","site_admin":false},"body":"I'm not sure this is the right way to retrieve the users. Think if we have more than one page of result.\r\nI think we should use a field with auto completion making directly requests to the server","created_at":"2015-05-05T08:34:43Z","updated_at":"2015-05-05T08:34:43Z","html_url":"https://github.com/superdesk/liveblog/pull/70#discussion_r29650954","pull_request_url":"https://api.github.com/repos/superdesk/liveblog/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/comments/29650954"},"html":{"href":"https://github.com/superdesk/liveblog/pull/70#discussion_r29650954"},"pull_request":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/liveblog/pulls/70","id":34645307,"html_url":"https://github.com/superdesk/liveblog/pull/70","diff_url":"https://github.com/superdesk/liveblog/pull/70.diff","patch_url":"https://github.com/superdesk/liveblog/pull/70.patch","issue_url":"https://api.github.com/repos/superdesk/liveblog/issues/70","number":70,"state":"open","locked":false,"title":"Feature/change blog owner","user":{"login":"vladnicoara","id":4255557,"avatar_url":"https://avatars.githubusercontent.com/u/4255557?v=3","gravatar_id":"","url":"https://api.github.com/users/vladnicoara","html_url":"https://github.com/vladnicoara","followers_url":"https://api.github.com/users/vladnicoara/followers","following_url":"https://api.github.com/users/vladnicoara/following{/other_user}","gists_url":"https://api.github.com/users/vladnicoara/gists{/gist_id}","starred_url":"https://api.github.com/users/vladnicoara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladnicoara/subscriptions","organizations_url":"https://api.github.com/users/vladnicoara/orgs","repos_url":"https://api.github.com/users/vladnicoara/repos","events_url":"https://api.github.com/users/vladnicoara/events{/privacy}","received_events_url":"https://api.github.com/users/vladnicoara/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-04T15:10:57Z","updated_at":"2015-05-05T08:34:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8b0162f563518e8f1ecedab4850a43d836f0b8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/liveblog/pulls/70/commits","review_comments_url":"https://api.github.com/repos/superdesk/liveblog/pulls/70/comments","review_comment_url":"https://api.github.com/repos/superdesk/liveblog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/liveblog/issues/70/comments","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/3f8a4f8b3f2e3fd8ffe7740cfd3d8aa3ef876f49","head":{"label":"superdesk:Feature/change-blog-owner","ref":"Feature/change-blog-owner","sha":"3f8a4f8b3f2e3fd8ffe7740cfd3d8aa3ef876f49","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":30958944,"name":"liveblog","full_name":"superdesk/liveblog","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/liveblog","description":"Liveblog  https://liveblog.sd-test.sourcefabric.org/#/  ","fork":false,"url":"https://api.github.com/repos/superdesk/liveblog","forks_url":"https://api.github.com/repos/superdesk/liveblog/forks","keys_url":"https://api.github.com/repos/superdesk/liveblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/liveblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/liveblog/teams","hooks_url":"https://api.github.com/repos/superdesk/liveblog/hooks","issue_events_url":"https://api.github.com/repos/superdesk/liveblog/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/liveblog/events","assignees_url":"https://api.github.com/repos/superdesk/liveblog/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/liveblog/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/liveblog/tags","blobs_url":"https://api.github.com/repos/superdesk/liveblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/liveblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/liveblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/liveblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/liveblog/languages","stargazers_url":"https://api.github.com/repos/superdesk/liveblog/stargazers","contributors_url":"https://api.github.com/repos/superdesk/liveblog/contributors","subscribers_url":"https://api.github.com/repos/superdesk/liveblog/subscribers","subscription_url":"https://api.github.com/repos/superdesk/liveblog/subscription","commits_url":"https://api.github.com/repos/superdesk/liveblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/liveblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/liveblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/liveblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/liveblog/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/liveblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/liveblog/merges","archive_url":"https://api.github.com/repos/superdesk/liveblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/liveblog/downloads","issues_url":"https://api.github.com/repos/superdesk/liveblog/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/liveblog/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/liveblog/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/liveblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/liveblog/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/liveblog/releases{/id}","created_at":"2015-02-18T09:22:19Z","updated_at":"2015-05-05T08:26:40Z","pushed_at":"2015-05-05T08:26:42Z","git_url":"git://github.com/superdesk/liveblog.git","ssh_url":"git@github.com:superdesk/liveblog.git","clone_url":"https://github.com/superdesk/liveblog.git","svn_url":"https://github.com/superdesk/liveblog","homepage":null,"size":5134,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"15dcb31590085a52e29bc48a2ee38befb15aa1e8","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":30958944,"name":"liveblog","full_name":"superdesk/liveblog","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/liveblog","description":"Liveblog  https://liveblog.sd-test.sourcefabric.org/#/  ","fork":false,"url":"https://api.github.com/repos/superdesk/liveblog","forks_url":"https://api.github.com/repos/superdesk/liveblog/forks","keys_url":"https://api.github.com/repos/superdesk/liveblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/liveblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/liveblog/teams","hooks_url":"https://api.github.com/repos/superdesk/liveblog/hooks","issue_events_url":"https://api.github.com/repos/superdesk/liveblog/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/liveblog/events","assignees_url":"https://api.github.com/repos/superdesk/liveblog/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/liveblog/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/liveblog/tags","blobs_url":"https://api.github.com/repos/superdesk/liveblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/liveblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/liveblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/liveblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/liveblog/languages","stargazers_url":"https://api.github.com/repos/superdesk/liveblog/stargazers","contributors_url":"https://api.github.com/repos/superdesk/liveblog/contributors","subscribers_url":"https://api.github.com/repos/superdesk/liveblog/subscribers","subscription_url":"https://api.github.com/repos/superdesk/liveblog/subscription","commits_url":"https://api.github.com/repos/superdesk/liveblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/liveblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/liveblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/liveblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/liveblog/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/liveblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/liveblog/merges","archive_url":"https://api.github.com/repos/superdesk/liveblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/liveblog/downloads","issues_url":"https://api.github.com/repos/superdesk/liveblog/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/liveblog/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/liveblog/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/liveblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/liveblog/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/liveblog/releases{/id}","created_at":"2015-02-18T09:22:19Z","updated_at":"2015-05-05T08:26:40Z","pushed_at":"2015-05-05T08:26:42Z","git_url":"git://github.com/superdesk/liveblog.git","ssh_url":"git@github.com:superdesk/liveblog.git","clone_url":"https://github.com/superdesk/liveblog.git","svn_url":"https://github.com/superdesk/liveblog","homepage":null,"size":5134,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/70"},"html":{"href":"https://github.com/superdesk/liveblog/pull/70"},"issue":{"href":"https://api.github.com/repos/superdesk/liveblog/issues/70"},"comments":{"href":"https://api.github.com/repos/superdesk/liveblog/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/liveblog/statuses/3f8a4f8b3f2e3fd8ffe7740cfd3d8aa3ef876f49"}}}}