{"action":"opened","number":74,"pull_request":{"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74","id":55557992,"html_url":"https://github.com/FirehoseCommunity/DEFCON/pull/74","diff_url":"https://github.com/FirehoseCommunity/DEFCON/pull/74.diff","patch_url":"https://github.com/FirehoseCommunity/DEFCON/pull/74.patch","issue_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/74","number":74,"state":"open","locked":false,"title":"Add type ahead search on admin users index page","user":{"login":"jeffgerlach","id":13844570,"avatar_url":"https://avatars.githubusercontent.com/u/13844570?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffgerlach","html_url":"https://github.com/jeffgerlach","followers_url":"https://api.github.com/users/jeffgerlach/followers","following_url":"https://api.github.com/users/jeffgerlach/following{/other_user}","gists_url":"https://api.github.com/users/jeffgerlach/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffgerlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffgerlach/subscriptions","organizations_url":"https://api.github.com/users/jeffgerlach/orgs","repos_url":"https://api.github.com/users/jeffgerlach/repos","events_url":"https://api.github.com/users/jeffgerlach/events{/privacy}","received_events_url":"https://api.github.com/users/jeffgerlach/received_events","type":"User","site_admin":false},"body":"Add jquery autocomplete to implement type ahead search on the admin index page. Can click on results in list to go to their admin page. Add user search class method. Add json response in admin user controller. Add tests to cover this feature in the model and controller.\r\n\r\nCurrently doesn't actually return/list search results on the page (just in a drop-down box that lets you click on results) - in fact hitting enter on the search box doesn't do anything (didn't see that mentioned in issue #56 so I left it out), but shouldn't be hard to add that functionality in if it's wanted. Also added some styling for the search elements so we can change that if desired.\r\n\r\n<img width=\"1347\" alt=\"screen shot 2016-01-09 at 9 57 30 pm\" src=\"https://cloud.githubusercontent.com/assets/13844570/12220077/055c7fe6-b71c-11e5-899d-4edd3ec05f9c.png\">\r\n\r\n<img width=\"1245\" alt=\"screen shot 2016-01-09 at 9 57 04 pm\" src=\"https://cloud.githubusercontent.com/assets/13844570/12220080/0bdeb474-b71c-11e5-8d55-f2c1ed061004.png\">\r\n","created_at":"2016-01-10T04:58:27Z","updated_at":"2016-01-10T04:58:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74/commits","review_comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74/comments","review_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/74/comments","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/aaacb236f3b23fa1cd96a663eac644ea70891b80","head":{"label":"FirehoseCommunity:jg/admin_typeahead_search","ref":"jg/admin_typeahead_search","sha":"aaacb236f3b23fa1cd96a663eac644ea70891b80","user":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":46517858,"name":"DEFCON","full_name":"FirehoseCommunity/DEFCON","owner":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseCommunity/DEFCON","description":"","fork":false,"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON","forks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/forks","keys_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/teams","hooks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/hooks","issue_events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/events","assignees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/tags","blobs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/languages","stargazers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/stargazers","contributors_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contributors","subscribers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscribers","subscription_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscription","commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/merges","archive_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/downloads","issues_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/releases{/id}","created_at":"2015-11-19T20:18:27Z","updated_at":"2016-01-08T00:03:36Z","pushed_at":"2016-01-10T04:52:10Z","git_url":"git://github.com/FirehoseCommunity/DEFCON.git","ssh_url":"git@github.com:FirehoseCommunity/DEFCON.git","clone_url":"https://github.com/FirehoseCommunity/DEFCON.git","svn_url":"https://github.com/FirehoseCommunity/DEFCON","homepage":null,"size":16993,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":19,"forks":1,"open_issues":19,"watchers":2,"default_branch":"master"}},"base":{"label":"FirehoseCommunity:master","ref":"master","sha":"24813c8e481bcc8525a3a4d6bf1444dd7ccb6196","user":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":46517858,"name":"DEFCON","full_name":"FirehoseCommunity/DEFCON","owner":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseCommunity/DEFCON","description":"","fork":false,"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON","forks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/forks","keys_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/teams","hooks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/hooks","issue_events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/events","assignees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/tags","blobs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/languages","stargazers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/stargazers","contributors_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contributors","subscribers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscribers","subscription_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscription","commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/merges","archive_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/downloads","issues_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/releases{/id}","created_at":"2015-11-19T20:18:27Z","updated_at":"2016-01-08T00:03:36Z","pushed_at":"2016-01-10T04:52:10Z","git_url":"git://github.com/FirehoseCommunity/DEFCON.git","ssh_url":"git@github.com:FirehoseCommunity/DEFCON.git","clone_url":"https://github.com/FirehoseCommunity/DEFCON.git","svn_url":"https://github.com/FirehoseCommunity/DEFCON","homepage":null,"size":16993,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":19,"forks":1,"open_issues":19,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74"},"html":{"href":"https://github.com/FirehoseCommunity/DEFCON/pull/74"},"issue":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/74"},"comments":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/aaacb236f3b23fa1cd96a663eac644ea70891b80"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":215,"deletions":2,"changed_files":12}}