{"action":"created","comment":{"url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/comments/64694395","id":64694395,"diff_hunk":"@@ -184,13 +186,24 @@ utils.factory('api', ['req', 'constants', function(req, constants) {\n             req.delete(url, success, err);\n         },\n         getFilteredArticles: function(params, success, err) {\n-            var url = constants.BASE_SERVER_URL + 'resources/find';\n+\t\tvar key = $localStorage.get(\"leaderAPIKey\");\n+\t\t\tconsole.log(key);\n+            var url = constants.BASE_SERVER_URL + 'resources/find?LeaderAPIKey=' + key;","path":"www/js/utils.js","position":34,"original_position":34,"commit_id":"960c56e26158cfa38d39b026fe7f109f09581fc5","original_commit_id":"960c56e26158cfa38d39b026fe7f109f09581fc5","user":{"login":"alope107","id":9411388,"avatar_url":"https://avatars.githubusercontent.com/u/9411388?v=3","gravatar_id":"","url":"https://api.github.com/users/alope107","html_url":"https://github.com/alope107","followers_url":"https://api.github.com/users/alope107/followers","following_url":"https://api.github.com/users/alope107/following{/other_user}","gists_url":"https://api.github.com/users/alope107/gists{/gist_id}","starred_url":"https://api.github.com/users/alope107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alope107/subscriptions","organizations_url":"https://api.github.com/users/alope107/orgs","repos_url":"https://api.github.com/users/alope107/repos","events_url":"https://api.github.com/users/alope107/events{/privacy}","received_events_url":"https://api.github.com/users/alope107/received_events","type":"User","site_admin":false},"body":"This still works, the server just ignores the bad (empty) key","created_at":"2016-05-26T05:49:09Z","updated_at":"2016-05-26T05:49:09Z","html_url":"https://github.com/MysteryCRU/CRUapp/pull/156#discussion_r64694395","pull_request_url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/comments/64694395"},"html":{"href":"https://github.com/MysteryCRU/CRUapp/pull/156#discussion_r64694395"},"pull_request":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156","id":71481283,"html_url":"https://github.com/MysteryCRU/CRUapp/pull/156","diff_url":"https://github.com/MysteryCRU/CRUapp/pull/156.diff","patch_url":"https://github.com/MysteryCRU/CRUapp/pull/156.patch","issue_url":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/156","number":156,"state":"open","locked":false,"title":"added cgl auth","user":{"login":"alope107","id":9411388,"avatar_url":"https://avatars.githubusercontent.com/u/9411388?v=3","gravatar_id":"","url":"https://api.github.com/users/alope107","html_url":"https://github.com/alope107","followers_url":"https://api.github.com/users/alope107/followers","following_url":"https://api.github.com/users/alope107/following{/other_user}","gists_url":"https://api.github.com/users/alope107/gists{/gist_id}","starred_url":"https://api.github.com/users/alope107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alope107/subscriptions","organizations_url":"https://api.github.com/users/alope107/orgs","repos_url":"https://api.github.com/users/alope107/repos","events_url":"https://api.github.com/users/alope107/events{/privacy}","received_events_url":"https://api.github.com/users/alope107/received_events","type":"User","site_admin":false},"body":"Added basic support for CGL authentication.\r\n\r\nDue to a bug in the server code, I switched the server endpoint to an instance of the server with my hotfixes applied. You can find this code on our aws instance under the authtest directory. I will talk to Ian tomorrow about getting these fixes merged into the official server.\r\n\r\nI recognize that the current location of the cgl auth code is suboptimal. This will be addressed in a future refactoring PR.","created_at":"2016-05-25T23:53:26Z","updated_at":"2016-05-26T05:49:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"088baf3da36cba8c27b5e9e457fd3ba8d036ccda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156/commits","review_comments_url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156/comments","review_comment_url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/156/comments","statuses_url":"https://api.github.com/repos/MysteryCRU/CRUapp/statuses/960c56e26158cfa38d39b026fe7f109f09581fc5","head":{"label":"alope107:master","ref":"master","sha":"960c56e26158cfa38d39b026fe7f109f09581fc5","user":{"login":"alope107","id":9411388,"avatar_url":"https://avatars.githubusercontent.com/u/9411388?v=3","gravatar_id":"","url":"https://api.github.com/users/alope107","html_url":"https://github.com/alope107","followers_url":"https://api.github.com/users/alope107/followers","following_url":"https://api.github.com/users/alope107/following{/other_user}","gists_url":"https://api.github.com/users/alope107/gists{/gist_id}","starred_url":"https://api.github.com/users/alope107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alope107/subscriptions","organizations_url":"https://api.github.com/users/alope107/orgs","repos_url":"https://api.github.com/users/alope107/repos","events_url":"https://api.github.com/users/alope107/events{/privacy}","received_events_url":"https://api.github.com/users/alope107/received_events","type":"User","site_admin":false},"repo":{"id":45714717,"name":"CRUapp","full_name":"alope107/CRUapp","owner":{"login":"alope107","id":9411388,"avatar_url":"https://avatars.githubusercontent.com/u/9411388?v=3","gravatar_id":"","url":"https://api.github.com/users/alope107","html_url":"https://github.com/alope107","followers_url":"https://api.github.com/users/alope107/followers","following_url":"https://api.github.com/users/alope107/following{/other_user}","gists_url":"https://api.github.com/users/alope107/gists{/gist_id}","starred_url":"https://api.github.com/users/alope107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alope107/subscriptions","organizations_url":"https://api.github.com/users/alope107/orgs","repos_url":"https://api.github.com/users/alope107/repos","events_url":"https://api.github.com/users/alope107/events{/privacy}","received_events_url":"https://api.github.com/users/alope107/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alope107/CRUapp","description":"","fork":true,"url":"https://api.github.com/repos/alope107/CRUapp","forks_url":"https://api.github.com/repos/alope107/CRUapp/forks","keys_url":"https://api.github.com/repos/alope107/CRUapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alope107/CRUapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alope107/CRUapp/teams","hooks_url":"https://api.github.com/repos/alope107/CRUapp/hooks","issue_events_url":"https://api.github.com/repos/alope107/CRUapp/issues/events{/number}","events_url":"https://api.github.com/repos/alope107/CRUapp/events","assignees_url":"https://api.github.com/repos/alope107/CRUapp/assignees{/user}","branches_url":"https://api.github.com/repos/alope107/CRUapp/branches{/branch}","tags_url":"https://api.github.com/repos/alope107/CRUapp/tags","blobs_url":"https://api.github.com/repos/alope107/CRUapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alope107/CRUapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alope107/CRUapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/alope107/CRUapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alope107/CRUapp/statuses/{sha}","languages_url":"https://api.github.com/repos/alope107/CRUapp/languages","stargazers_url":"https://api.github.com/repos/alope107/CRUapp/stargazers","contributors_url":"https://api.github.com/repos/alope107/CRUapp/contributors","subscribers_url":"https://api.github.com/repos/alope107/CRUapp/subscribers","subscription_url":"https://api.github.com/repos/alope107/CRUapp/subscription","commits_url":"https://api.github.com/repos/alope107/CRUapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/alope107/CRUapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/alope107/CRUapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/alope107/CRUapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/alope107/CRUapp/contents/{+path}","compare_url":"https://api.github.com/repos/alope107/CRUapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alope107/CRUapp/merges","archive_url":"https://api.github.com/repos/alope107/CRUapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alope107/CRUapp/downloads","issues_url":"https://api.github.com/repos/alope107/CRUapp/issues{/number}","pulls_url":"https://api.github.com/repos/alope107/CRUapp/pulls{/number}","milestones_url":"https://api.github.com/repos/alope107/CRUapp/milestones{/number}","notifications_url":"https://api.github.com/repos/alope107/CRUapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alope107/CRUapp/labels{/name}","releases_url":"https://api.github.com/repos/alope107/CRUapp/releases{/id}","deployments_url":"https://api.github.com/repos/alope107/CRUapp/deployments","created_at":"2015-11-06T23:58:02Z","updated_at":"2016-01-14T21:13:22Z","pushed_at":"2016-05-25T23:48:56Z","git_url":"git://github.com/alope107/CRUapp.git","ssh_url":"git@github.com:alope107/CRUapp.git","clone_url":"https://github.com/alope107/CRUapp.git","svn_url":"https://github.com/alope107/CRUapp","homepage":null,"size":7222,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"MysteryCRU:master","ref":"master","sha":"6dfeb124454e9f8f705db5fe95c208ecb26d1d51","user":{"login":"MysteryCRU","id":15573371,"avatar_url":"https://avatars.githubusercontent.com/u/15573371?v=3","gravatar_id":"","url":"https://api.github.com/users/MysteryCRU","html_url":"https://github.com/MysteryCRU","followers_url":"https://api.github.com/users/MysteryCRU/followers","following_url":"https://api.github.com/users/MysteryCRU/following{/other_user}","gists_url":"https://api.github.com/users/MysteryCRU/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteryCRU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteryCRU/subscriptions","organizations_url":"https://api.github.com/users/MysteryCRU/orgs","repos_url":"https://api.github.com/users/MysteryCRU/repos","events_url":"https://api.github.com/users/MysteryCRU/events{/privacy}","received_events_url":"https://api.github.com/users/MysteryCRU/received_events","type":"Organization","site_admin":false},"repo":{"id":45354077,"name":"CRUapp","full_name":"MysteryCRU/CRUapp","owner":{"login":"MysteryCRU","id":15573371,"avatar_url":"https://avatars.githubusercontent.com/u/15573371?v=3","gravatar_id":"","url":"https://api.github.com/users/MysteryCRU","html_url":"https://github.com/MysteryCRU","followers_url":"https://api.github.com/users/MysteryCRU/followers","following_url":"https://api.github.com/users/MysteryCRU/following{/other_user}","gists_url":"https://api.github.com/users/MysteryCRU/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteryCRU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteryCRU/subscriptions","organizations_url":"https://api.github.com/users/MysteryCRU/orgs","repos_url":"https://api.github.com/users/MysteryCRU/repos","events_url":"https://api.github.com/users/MysteryCRU/events{/privacy}","received_events_url":"https://api.github.com/users/MysteryCRU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MysteryCRU/CRUapp","description":"","fork":false,"url":"https://api.github.com/repos/MysteryCRU/CRUapp","forks_url":"https://api.github.com/repos/MysteryCRU/CRUapp/forks","keys_url":"https://api.github.com/repos/MysteryCRU/CRUapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MysteryCRU/CRUapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MysteryCRU/CRUapp/teams","hooks_url":"https://api.github.com/repos/MysteryCRU/CRUapp/hooks","issue_events_url":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/events{/number}","events_url":"https://api.github.com/repos/MysteryCRU/CRUapp/events","assignees_url":"https://api.github.com/repos/MysteryCRU/CRUapp/assignees{/user}","branches_url":"https://api.github.com/repos/MysteryCRU/CRUapp/branches{/branch}","tags_url":"https://api.github.com/repos/MysteryCRU/CRUapp/tags","blobs_url":"https://api.github.com/repos/MysteryCRU/CRUapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MysteryCRU/CRUapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MysteryCRU/CRUapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/MysteryCRU/CRUapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MysteryCRU/CRUapp/statuses/{sha}","languages_url":"https://api.github.com/repos/MysteryCRU/CRUapp/languages","stargazers_url":"https://api.github.com/repos/MysteryCRU/CRUapp/stargazers","contributors_url":"https://api.github.com/repos/MysteryCRU/CRUapp/contributors","subscribers_url":"https://api.github.com/repos/MysteryCRU/CRUapp/subscribers","subscription_url":"https://api.github.com/repos/MysteryCRU/CRUapp/subscription","commits_url":"https://api.github.com/repos/MysteryCRU/CRUapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/MysteryCRU/CRUapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/MysteryCRU/CRUapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/MysteryCRU/CRUapp/contents/{+path}","compare_url":"https://api.github.com/repos/MysteryCRU/CRUapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MysteryCRU/CRUapp/merges","archive_url":"https://api.github.com/repos/MysteryCRU/CRUapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MysteryCRU/CRUapp/downloads","issues_url":"https://api.github.com/repos/MysteryCRU/CRUapp/issues{/number}","pulls_url":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls{/number}","milestones_url":"https://api.github.com/repos/MysteryCRU/CRUapp/milestones{/number}","notifications_url":"https://api.github.com/repos/MysteryCRU/CRUapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MysteryCRU/CRUapp/labels{/name}","releases_url":"https://api.github.com/repos/MysteryCRU/CRUapp/releases{/id}","deployments_url":"https://api.github.com/repos/MysteryCRU/CRUapp/deployments","created_at":"2015-11-01T19:24:25Z","updated_at":"2016-01-14T21:58:31Z","pushed_at":"2016-05-25T23:53:27Z","git_url":"git://github.com/MysteryCRU/CRUapp.git","ssh_url":"git@github.com:MysteryCRU/CRUapp.git","clone_url":"https://github.com/MysteryCRU/CRUapp.git","svn_url":"https://github.com/MysteryCRU/CRUapp","homepage":null,"size":7240,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156"},"html":{"href":"https://github.com/MysteryCRU/CRUapp/pull/156"},"issue":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/156"},"comments":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/MysteryCRU/CRUapp/statuses/960c56e26158cfa38d39b026fe7f109f09581fc5"}}}}
{"actor":{"display_login":"alope107"}}