{"action":"created","comment":{"url":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments/74661382","id":74661382,"diff_hunk":"@@ -66,6 +66,15 @@\n \n   add_index \"orangelight_call_numbers\", [\"sort\"], name: \"index_orangelight_call_numbers_on_sort\", using: :btree\n \n+  create_table \"orangelight_name_titles\", force: :cascade do |t|\n+    t.text    \"label\"\n+    t.integer \"count\"\n+    t.text    \"sort\"\n+    t.string  \"dir\"\n+  end\n+\n+  add_index \"orangelight_name_titles\", [\"sort\"], name: \"index_orangelight_name_titles_on_sort\", using: :btree\n+","path":"db/schema.rb","position":35,"original_position":35,"commit_id":"6f5e5b2e19055a9fbafd97cd1591a95eb1ef63e2","original_commit_id":"6f5e5b2e19055a9fbafd97cd1591a95eb1ef63e2","user":{"login":"tampakis","id":4650153,"avatar_url":"https://avatars.githubusercontent.com/u/4650153?v=3","gravatar_id":"","url":"https://api.github.com/users/tampakis","html_url":"https://github.com/tampakis","followers_url":"https://api.github.com/users/tampakis/followers","following_url":"https://api.github.com/users/tampakis/following{/other_user}","gists_url":"https://api.github.com/users/tampakis/gists{/gist_id}","starred_url":"https://api.github.com/users/tampakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tampakis/subscriptions","organizations_url":"https://api.github.com/users/tampakis/orgs","repos_url":"https://api.github.com/users/tampakis/repos","events_url":"https://api.github.com/users/tampakis/events{/privacy}","received_events_url":"https://api.github.com/users/tampakis/received_events","type":"User","site_admin":false},"body":"Oh good catch!","created_at":"2016-08-12T21:13:45Z","updated_at":"2016-08-12T21:13:45Z","html_url":"https://github.com/pulibrary/orangelight/pull/659#discussion_r74661382","pull_request_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/659","_links":{"self":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments/74661382"},"html":{"href":"https://github.com/pulibrary/orangelight/pull/659#discussion_r74661382"},"pull_request":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/659"}}},"pull_request":{"url":"https://api.github.com/repos/pulibrary/orangelight/pulls/659","id":81159499,"html_url":"https://github.com/pulibrary/orangelight/pull/659","diff_url":"https://github.com/pulibrary/orangelight/pull/659.diff","patch_url":"https://github.com/pulibrary/orangelight/pull/659.patch","issue_url":"https://api.github.com/repos/pulibrary/orangelight/issues/659","number":659,"state":"open","locked":false,"title":"Barcode login","user":{"login":"tampakis","id":4650153,"avatar_url":"https://avatars.githubusercontent.com/u/4650153?v=3","gravatar_id":"","url":"https://api.github.com/users/tampakis","html_url":"https://github.com/tampakis","followers_url":"https://api.github.com/users/tampakis/followers","following_url":"https://api.github.com/users/tampakis/following{/other_user}","gists_url":"https://api.github.com/users/tampakis/gists{/gist_id}","starred_url":"https://api.github.com/users/tampakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tampakis/subscriptions","organizations_url":"https://api.github.com/users/tampakis/orgs","repos_url":"https://api.github.com/users/tampakis/repos","events_url":"https://api.github.com/users/tampakis/events{/privacy}","received_events_url":"https://api.github.com/users/tampakis/received_events","type":"User","site_admin":false},"body":" - Adds omniauth \"strategy\" for barcode login. Allows users without a valid net id (guest patrons) to login to check their account.\r\n - Relaxed the requirement for emails to be unique (in theory we can now let users set a preferred email address).\r\n - Users logging out from CAS get redirected to Princeton CAS logout page, but Barcode users get redirected to catalog home page\r\n - Users with a valid net id that try logging in via barcode get redirected to cas instead","created_at":"2016-08-12T18:09:09Z","updated_at":"2016-08-12T21:13:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9ed1210c62b140d61c345f0a80bf90bd6752f95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/659/commits","review_comments_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/659/comments","review_comment_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/issues/659/comments","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/6f5e5b2e19055a9fbafd97cd1591a95eb1ef63e2","head":{"label":"pulibrary:barcode_login","ref":"barcode_login","sha":"6f5e5b2e19055a9fbafd97cd1591a95eb1ef63e2","user":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":21954918,"name":"orangelight","full_name":"pulibrary/orangelight","owner":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulibrary/orangelight","description":"PUL Blacklight Project","fork":false,"url":"https://api.github.com/repos/pulibrary/orangelight","forks_url":"https://api.github.com/repos/pulibrary/orangelight/forks","keys_url":"https://api.github.com/repos/pulibrary/orangelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulibrary/orangelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulibrary/orangelight/teams","hooks_url":"https://api.github.com/repos/pulibrary/orangelight/hooks","issue_events_url":"https://api.github.com/repos/pulibrary/orangelight/issues/events{/number}","events_url":"https://api.github.com/repos/pulibrary/orangelight/events","assignees_url":"https://api.github.com/repos/pulibrary/orangelight/assignees{/user}","branches_url":"https://api.github.com/repos/pulibrary/orangelight/branches{/branch}","tags_url":"https://api.github.com/repos/pulibrary/orangelight/tags","blobs_url":"https://api.github.com/repos/pulibrary/orangelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulibrary/orangelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulibrary/orangelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulibrary/orangelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/{sha}","languages_url":"https://api.github.com/repos/pulibrary/orangelight/languages","stargazers_url":"https://api.github.com/repos/pulibrary/orangelight/stargazers","contributors_url":"https://api.github.com/repos/pulibrary/orangelight/contributors","subscribers_url":"https://api.github.com/repos/pulibrary/orangelight/subscribers","subscription_url":"https://api.github.com/repos/pulibrary/orangelight/subscription","commits_url":"https://api.github.com/repos/pulibrary/orangelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulibrary/orangelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulibrary/orangelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulibrary/orangelight/contents/{+path}","compare_url":"https://api.github.com/repos/pulibrary/orangelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulibrary/orangelight/merges","archive_url":"https://api.github.com/repos/pulibrary/orangelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulibrary/orangelight/downloads","issues_url":"https://api.github.com/repos/pulibrary/orangelight/issues{/number}","pulls_url":"https://api.github.com/repos/pulibrary/orangelight/pulls{/number}","milestones_url":"https://api.github.com/repos/pulibrary/orangelight/milestones{/number}","notifications_url":"https://api.github.com/repos/pulibrary/orangelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulibrary/orangelight/labels{/name}","releases_url":"https://api.github.com/repos/pulibrary/orangelight/releases{/id}","deployments_url":"https://api.github.com/repos/pulibrary/orangelight/deployments","created_at":"2014-07-17T19:35:14Z","updated_at":"2016-04-12T16:14:24Z","pushed_at":"2016-08-12T20:20:24Z","git_url":"git://github.com/pulibrary/orangelight.git","ssh_url":"git@github.com:pulibrary/orangelight.git","clone_url":"https://github.com/pulibrary/orangelight.git","svn_url":"https://github.com/pulibrary/orangelight","homepage":"","size":6883,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":102,"forks":1,"open_issues":102,"watchers":5,"default_branch":"development"}},"base":{"label":"pulibrary:development","ref":"development","sha":"5a9b09d6563ccb06b1819a4fce22960421be694e","user":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":21954918,"name":"orangelight","full_name":"pulibrary/orangelight","owner":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulibrary/orangelight","description":"PUL Blacklight Project","fork":false,"url":"https://api.github.com/repos/pulibrary/orangelight","forks_url":"https://api.github.com/repos/pulibrary/orangelight/forks","keys_url":"https://api.github.com/repos/pulibrary/orangelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulibrary/orangelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulibrary/orangelight/teams","hooks_url":"https://api.github.com/repos/pulibrary/orangelight/hooks","issue_events_url":"https://api.github.com/repos/pulibrary/orangelight/issues/events{/number}","events_url":"https://api.github.com/repos/pulibrary/orangelight/events","assignees_url":"https://api.github.com/repos/pulibrary/orangelight/assignees{/user}","branches_url":"https://api.github.com/repos/pulibrary/orangelight/branches{/branch}","tags_url":"https://api.github.com/repos/pulibrary/orangelight/tags","blobs_url":"https://api.github.com/repos/pulibrary/orangelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulibrary/orangelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulibrary/orangelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulibrary/orangelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/{sha}","languages_url":"https://api.github.com/repos/pulibrary/orangelight/languages","stargazers_url":"https://api.github.com/repos/pulibrary/orangelight/stargazers","contributors_url":"https://api.github.com/repos/pulibrary/orangelight/contributors","subscribers_url":"https://api.github.com/repos/pulibrary/orangelight/subscribers","subscription_url":"https://api.github.com/repos/pulibrary/orangelight/subscription","commits_url":"https://api.github.com/repos/pulibrary/orangelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulibrary/orangelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulibrary/orangelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulibrary/orangelight/contents/{+path}","compare_url":"https://api.github.com/repos/pulibrary/orangelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulibrary/orangelight/merges","archive_url":"https://api.github.com/repos/pulibrary/orangelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulibrary/orangelight/downloads","issues_url":"https://api.github.com/repos/pulibrary/orangelight/issues{/number}","pulls_url":"https://api.github.com/repos/pulibrary/orangelight/pulls{/number}","milestones_url":"https://api.github.com/repos/pulibrary/orangelight/milestones{/number}","notifications_url":"https://api.github.com/repos/pulibrary/orangelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulibrary/orangelight/labels{/name}","releases_url":"https://api.github.com/repos/pulibrary/orangelight/releases{/id}","deployments_url":"https://api.github.com/repos/pulibrary/orangelight/deployments","created_at":"2014-07-17T19:35:14Z","updated_at":"2016-04-12T16:14:24Z","pushed_at":"2016-08-12T20:20:24Z","git_url":"git://github.com/pulibrary/orangelight.git","ssh_url":"git@github.com:pulibrary/orangelight.git","clone_url":"https://github.com/pulibrary/orangelight.git","svn_url":"https://github.com/pulibrary/orangelight","homepage":"","size":6883,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":102,"forks":1,"open_issues":102,"watchers":5,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/659"},"html":{"href":"https://github.com/pulibrary/orangelight/pull/659"},"issue":{"href":"https://api.github.com/repos/pulibrary/orangelight/issues/659"},"comments":{"href":"https://api.github.com/repos/pulibrary/orangelight/issues/659/comments"},"review_comments":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/659/comments"},"review_comment":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/659/commits"},"statuses":{"href":"https://api.github.com/repos/pulibrary/orangelight/statuses/6f5e5b2e19055a9fbafd97cd1591a95eb1ef63e2"}}}}
{"actor":{"display_login":"tampakis"}}