GitHub PullRequestEvent at 2014-07-06 03:45:42
Repository: ieee
Actor: brotatos
Payload: {"action":"closed","number":251,"pull_request":{"url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251","id":18014934,"html_url":"https://github.com/CalPolyIEEE/ieee/pull/251","diff_url":"https://github.com/CalPolyIEEE/ieee/pull/251.diff","patch_url":"https://github.com/CalPolyIEEE/ieee/pull/251.patch","issue_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/251","number":251,"state":"closed","title":"Fix voting framework","user":{"login":"jhladky","id":1755655,"avatar_url":"https://avatars.githubusercontent.com/u/1755655?","gravatar_id":"cadfa277c4cd9c464488035f4fd59fa5","url":"https://api.github.com/users/jhladky","html_url":"https://github.com/jhladky","followers_url":"https://api.github.com/users/jhladky/followers","following_url":"https://api.github.com/users/jhladky/following{/other_user}","gists_url":"https://api.github.com/users/jhladky/gists{/gist_id}","starred_url":"https://api.github.com/users/jhladky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhladky/subscriptions","organizations_url":"https://api.github.com/users/jhladky/orgs","repos_url":"https://api.github.com/users/jhladky/repos","events_url":"https://api.github.com/users/jhladky/events{/privacy}","received_events_url":"https://api.github.com/users/jhladky/received_events","type":"User","site_admin":false},"body":"* Create config table, which replaces the old voting control table\r\n* Config table includes lounge_open boolean for #222 \r\n* Change voting tables to allow questions to specific to positions\r\n* Much better voting API methods\r\n* Added fake candidate and ballot generation in js\r\n* Removed internal mode in js\r\n* Officers page and front page images are no longer hardcoded\r\n* Various small fixes in the js, e.g. changed ieee.baseUrl to ieee.urlBase\r\n* Used bullets in this PR to make @brotatos happy\r\n\r\nMerging this requires the following SQL after the migration is run:\r\n\r\n```sql\r\nINSERT INTO imagelink (link)\r\nSELECT 'http://static.calpolyieee.org/img/resistors_small.jpg'\r\nWHERE NOT EXISTS (\r\n   SELECT link FROM imagelink WHERE link = 'http://static.calpolyieee.org/img/resistors_small.jpg'\r\n);\r\n\r\nINSERT INTO imagelink (link)\r\nSELECT 'http://img.calpolyieee.org/img/group_photo.jpg'\r\nWHERE NOT EXISTS (\r\n   SELECT link FROM imagelink WHERE link = 'http://img.calpolyieee.org/img/group_photo.jpg'\r\n);\r\n\r\nINSERT INTO users_user (name)\r\nSELECT 'WRITE_IN'\r\nWHERE NOT EXISTS (\r\n   SELECT name FROM users_user WHERE name = 'WRITE_IN'\r\n);\r\n\r\nDELETE FROM config;\r\nINSERT INTO config (voting_started, lounge_open, voting_end_date, landing_image_id, officers_image_id) VALUES\r\n(false,\r\nfalse,\r\nNOW(),\r\n(SELECT id FROM imagelink WHERE link='http://static.calpolyieee.org/img/resistors_small.jpg'),\r\n(SELECT id FROM imagelink WHERE link='http://img.calpolyieee.org/img/group_photo.jpg'));\r\n```\r\n\r\nThis is more progress towards completing #246 \r\nFixes #138 \r\nFixes #182 \r\n\r\n:haircut: ","created_at":"2014-07-06T01:59:44Z","updated_at":"2014-07-06T03:45:42Z","closed_at":"2014-07-06T03:45:42Z","merged_at":"2014-07-06T03:45:42Z","merge_commit_sha":"d9f9e3de489c3a10af4302cea2dc19cf6913f117","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251/commits","review_comments_url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251/comments","review_comment_url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/251/comments","statuses_url":"https://api.github.com/repos/CalPolyIEEE/ieee/statuses/abfdce28aed429f8b8e828bdda85283c6b40cdc1","head":{"label":"CalPolyIEEE:fix-voting-framework","ref":"fix-voting-framework","sha":"abfdce28aed429f8b8e828bdda85283c6b40cdc1","user":{"login":"CalPolyIEEE","id":4734538,"avatar_url":"https://avatars.githubusercontent.com/u/4734538?","gravatar_id":"cefd07b056dc557c4b4242ec0b0cd1f2","url":"https://api.github.com/users/CalPolyIEEE","html_url":"https://github.com/CalPolyIEEE","followers_url":"https://api.github.com/users/CalPolyIEEE/followers","following_url":"https://api.github.com/users/CalPolyIEEE/following{/other_user}","gists_url":"https://api.github.com/users/CalPolyIEEE/gists{/gist_id}","starred_url":"https://api.github.com/users/CalPolyIEEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalPolyIEEE/subscriptions","organizations_url":"https://api.github.com/users/CalPolyIEEE/orgs","repos_url":"https://api.github.com/users/CalPolyIEEE/repos","events_url":"https://api.github.com/users/CalPolyIEEE/events{/privacy}","received_events_url":"https://api.github.com/users/CalPolyIEEE/received_events","type":"Organization","site_admin":false},"repo":{"id":10923867,"name":"ieee","full_name":"CalPolyIEEE/ieee","owner":{"login":"CalPolyIEEE","id":4734538,"avatar_url":"https://avatars.githubusercontent.com/u/4734538?","gravatar_id":"cefd07b056dc557c4b4242ec0b0cd1f2","url":"https://api.github.com/users/CalPolyIEEE","html_url":"https://github.com/CalPolyIEEE","followers_url":"https://api.github.com/users/CalPolyIEEE/followers","following_url":"https://api.github.com/users/CalPolyIEEE/following{/other_user}","gists_url":"https://api.github.com/users/CalPolyIEEE/gists{/gist_id}","starred_url":"https://api.github.com/users/CalPolyIEEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalPolyIEEE/subscriptions","organizations_url":"https://api.github.com/users/CalPolyIEEE/orgs","repos_url":"https://api.github.com/users/CalPolyIEEE/repos","events_url":"https://api.github.com/users/CalPolyIEEE/events{/privacy}","received_events_url":"https://api.github.com/users/CalPolyIEEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CalPolyIEEE/ieee","description":"The source of ","fork":false,"url":"https://api.github.com/repos/CalPolyIEEE/ieee","forks_url":"https://api.github.com/repos/CalPolyIEEE/ieee/forks","keys_url":"https://api.github.com/repos/CalPolyIEEE/ieee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CalPolyIEEE/ieee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CalPolyIEEE/ieee/teams","hooks_url":"https://api.github.com/repos/CalPolyIEEE/ieee/hooks","issue_events_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/events{/number}","events_url":"https://api.github.com/repos/CalPolyIEEE/ieee/events","assignees_url":"https://api.github.com/repos/CalPolyIEEE/ieee/assignees{/user}","branches_url":"https://api.github.com/repos/CalPolyIEEE/ieee/branches{/branch}","tags_url":"https://api.github.com/repos/CalPolyIEEE/ieee/tags","blobs_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/refs{/sha}","trees_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CalPolyIEEE/ieee/statuses/{sha}","languages_url":"https://api.github.com/repos/CalPolyIEEE/ieee/languages","stargazers_url":"https://api.github.com/repos/CalPolyIEEE/ieee/stargazers","contributors_url":"https://api.github.com/repos/CalPolyIEEE/ieee/contributors","subscribers_url":"https://api.github.com/repos/CalPolyIEEE/ieee/subscribers","subscription_url":"https://api.github.com/repos/CalPolyIEEE/ieee/subscription","commits_url":"https://api.github.com/repos/CalPolyIEEE/ieee/commits{/sha}","git_commits_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/commits{/sha}","comments_url":"https://api.github.com/repos/CalPolyIEEE/ieee/comments{/number}","issue_comment_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/comments/{number}","contents_url":"https://api.github.com/repos/CalPolyIEEE/ieee/contents/{+path}","compare_url":"https://api.github.com/repos/CalPolyIEEE/ieee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CalPolyIEEE/ieee/merges","archive_url":"https://api.github.com/repos/CalPolyIEEE/ieee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CalPolyIEEE/ieee/downloads","issues_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues{/number}","pulls_url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls{/number}","milestones_url":"https://api.github.com/repos/CalPolyIEEE/ieee/milestones{/number}","notifications_url":"https://api.github.com/repos/CalPolyIEEE/ieee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CalPolyIEEE/ieee/labels{/name}","releases_url":"https://api.github.com/repos/CalPolyIEEE/ieee/releases{/id}","created_at":"2013-06-25T00:18:54Z","updated_at":"2014-06-29T02:42:29Z","pushed_at":"2014-07-06T03:45:42Z","git_url":"git://github.com/CalPolyIEEE/ieee.git","ssh_url":"git@github.com:CalPolyIEEE/ieee.git","clone_url":"https://github.com/CalPolyIEEE/ieee.git","svn_url":"https://github.com/CalPolyIEEE/ieee","homepage":"calpolyieee.org","size":36825,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":3,"default_branch":"master"}},"base":{"label":"CalPolyIEEE:master","ref":"master","sha":"dcfd7ea2a1428a57e4e0bc23e96b1039f73b2234","user":{"login":"CalPolyIEEE","id":4734538,"avatar_url":"https://avatars.githubusercontent.com/u/4734538?","gravatar_id":"cefd07b056dc557c4b4242ec0b0cd1f2","url":"https://api.github.com/users/CalPolyIEEE","html_url":"https://github.com/CalPolyIEEE","followers_url":"https://api.github.com/users/CalPolyIEEE/followers","following_url":"https://api.github.com/users/CalPolyIEEE/following{/other_user}","gists_url":"https://api.github.com/users/CalPolyIEEE/gists{/gist_id}","starred_url":"https://api.github.com/users/CalPolyIEEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalPolyIEEE/subscriptions","organizations_url":"https://api.github.com/users/CalPolyIEEE/orgs","repos_url":"https://api.github.com/users/CalPolyIEEE/repos","events_url":"https://api.github.com/users/CalPolyIEEE/events{/privacy}","received_events_url":"https://api.github.com/users/CalPolyIEEE/received_events","type":"Organization","site_admin":false},"repo":{"id":10923867,"name":"ieee","full_name":"CalPolyIEEE/ieee","owner":{"login":"CalPolyIEEE","id":4734538,"avatar_url":"https://avatars.githubusercontent.com/u/4734538?","gravatar_id":"cefd07b056dc557c4b4242ec0b0cd1f2","url":"https://api.github.com/users/CalPolyIEEE","html_url":"https://github.com/CalPolyIEEE","followers_url":"https://api.github.com/users/CalPolyIEEE/followers","following_url":"https://api.github.com/users/CalPolyIEEE/following{/other_user}","gists_url":"https://api.github.com/users/CalPolyIEEE/gists{/gist_id}","starred_url":"https://api.github.com/users/CalPolyIEEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalPolyIEEE/subscriptions","organizations_url":"https://api.github.com/users/CalPolyIEEE/orgs","repos_url":"https://api.github.com/users/CalPolyIEEE/repos","events_url":"https://api.github.com/users/CalPolyIEEE/events{/privacy}","received_events_url":"https://api.github.com/users/CalPolyIEEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CalPolyIEEE/ieee","description":"The source of ","fork":false,"url":"https://api.github.com/repos/CalPolyIEEE/ieee","forks_url":"https://api.github.com/repos/CalPolyIEEE/ieee/forks","keys_url":"https://api.github.com/repos/CalPolyIEEE/ieee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CalPolyIEEE/ieee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CalPolyIEEE/ieee/teams","hooks_url":"https://api.github.com/repos/CalPolyIEEE/ieee/hooks","issue_events_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/events{/number}","events_url":"https://api.github.com/repos/CalPolyIEEE/ieee/events","assignees_url":"https://api.github.com/repos/CalPolyIEEE/ieee/assignees{/user}","branches_url":"https://api.github.com/repos/CalPolyIEEE/ieee/branches{/branch}","tags_url":"https://api.github.com/repos/CalPolyIEEE/ieee/tags","blobs_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/refs{/sha}","trees_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CalPolyIEEE/ieee/statuses/{sha}","languages_url":"https://api.github.com/repos/CalPolyIEEE/ieee/languages","stargazers_url":"https://api.github.com/repos/CalPolyIEEE/ieee/stargazers","contributors_url":"https://api.github.com/repos/CalPolyIEEE/ieee/contributors","subscribers_url":"https://api.github.com/repos/CalPolyIEEE/ieee/subscribers","subscription_url":"https://api.github.com/repos/CalPolyIEEE/ieee/subscription","commits_url":"https://api.github.com/repos/CalPolyIEEE/ieee/commits{/sha}","git_commits_url":"https://api.github.com/repos/CalPolyIEEE/ieee/git/commits{/sha}","comments_url":"https://api.github.com/repos/CalPolyIEEE/ieee/comments{/number}","issue_comment_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/comments/{number}","contents_url":"https://api.github.com/repos/CalPolyIEEE/ieee/contents/{+path}","compare_url":"https://api.github.com/repos/CalPolyIEEE/ieee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CalPolyIEEE/ieee/merges","archive_url":"https://api.github.com/repos/CalPolyIEEE/ieee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CalPolyIEEE/ieee/downloads","issues_url":"https://api.github.com/repos/CalPolyIEEE/ieee/issues{/number}","pulls_url":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls{/number}","milestones_url":"https://api.github.com/repos/CalPolyIEEE/ieee/milestones{/number}","notifications_url":"https://api.github.com/repos/CalPolyIEEE/ieee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CalPolyIEEE/ieee/labels{/name}","releases_url":"https://api.github.com/repos/CalPolyIEEE/ieee/releases{/id}","created_at":"2013-06-25T00:18:54Z","updated_at":"2014-06-29T02:42:29Z","pushed_at":"2014-07-06T03:45:42Z","git_url":"git://github.com/CalPolyIEEE/ieee.git","ssh_url":"git@github.com:CalPolyIEEE/ieee.git","clone_url":"https://github.com/CalPolyIEEE/ieee.git","svn_url":"https://github.com/CalPolyIEEE/ieee","homepage":"calpolyieee.org","size":36825,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251"},"html":{"href":"https://github.com/CalPolyIEEE/ieee/pull/251"},"issue":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/251"},"comments":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/CalPolyIEEE/ieee/statuses/abfdce28aed429f8b8e828bdda85283c6b40cdc1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brotatos","id":1428272,"avatar_url":"https://avatars.githubusercontent.com/u/1428272?","gravatar_id":"a32b2fdfd8af1b7df8039ef520a94573","url":"https://api.github.com/users/brotatos","html_url":"https://github.com/brotatos","followers_url":"https://api.github.com/users/brotatos/followers","following_url":"https://api.github.com/users/brotatos/following{/other_user}","gists_url":"https://api.github.com/users/brotatos/gists{/gist_id}","starred_url":"https://api.github.com/users/brotatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brotatos/subscriptions","organizations_url":"https://api.github.com/users/brotatos/orgs","repos_url":"https://api.github.com/users/brotatos/repos","events_url":"https://api.github.com/users/brotatos/events{/privacy}","received_events_url":"https://api.github.com/users/brotatos/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":19,"additions":762,"deletions":605,"changed_files":38}}