{"action":"created","comment":{"url":"https://api.github.com/repos/magfest/ubersystem/pulls/comments/75415338","id":75415338,"diff_hunk":"@@ -167,6 +167,23 @@ def history(self, session, id):\n                                .order_by(Tracking.when).all()\n         }\n \n+    @ajax\n+    def resend_email(self, session, id, a_id):\n+        message = {''}\n+        if id:\n+            email = session.query(Email).filter(Email.model == 'Attendee', Email.fk_id == id).first()\n+            attendee = session.attendee(a_id, allow_invalid=True)\n+            if email is not None:\n+                try:\n+                    send_email(c.ADMIN_EMAIL, attendee.email, email.subject, email.html)\n+                    message = 'The email has been resent'\n+                except:\n+                    message = \"Invalid Key Or Something Maybe\"\n+                    #Message does nothing currently\n+                    #I need to learn Ajax\n+\n+        return message","path":"uber/site_sections/registration.py","position":19,"original_position":19,"commit_id":"186fdf6199217ade4690d0dc80612baa317175a2","original_commit_id":"186fdf6199217ade4690d0dc80612baa317175a2","user":{"login":"migetman9","id":6538753,"avatar_url":"https://avatars.githubusercontent.com/u/6538753?v=3","gravatar_id":"","url":"https://api.github.com/users/migetman9","html_url":"https://github.com/migetman9","followers_url":"https://api.github.com/users/migetman9/followers","following_url":"https://api.github.com/users/migetman9/following{/other_user}","gists_url":"https://api.github.com/users/migetman9/gists{/gist_id}","starred_url":"https://api.github.com/users/migetman9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migetman9/subscriptions","organizations_url":"https://api.github.com/users/migetman9/orgs","repos_url":"https://api.github.com/users/migetman9/repos","events_url":"https://api.github.com/users/migetman9/events{/privacy}","received_events_url":"https://api.github.com/users/migetman9/received_events","type":"User","site_admin":false},"body":"Still currently pointless. Looking into more ajax.","created_at":"2016-08-19T01:12:44Z","updated_at":"2016-08-19T01:12:44Z","html_url":"https://github.com/magfest/ubersystem/pull/1990#discussion_r75415338","pull_request_url":"https://api.github.com/repos/magfest/ubersystem/pulls/1990","_links":{"self":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/comments/75415338"},"html":{"href":"https://github.com/magfest/ubersystem/pull/1990#discussion_r75415338"},"pull_request":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/1990"}}},"pull_request":{"url":"https://api.github.com/repos/magfest/ubersystem/pulls/1990","id":81404999,"html_url":"https://github.com/magfest/ubersystem/pull/1990","diff_url":"https://github.com/magfest/ubersystem/pull/1990.diff","patch_url":"https://github.com/magfest/ubersystem/pull/1990.patch","issue_url":"https://api.github.com/repos/magfest/ubersystem/issues/1990","number":1990,"state":"open","locked":false,"title":"Resend attendee emails WIP","user":{"login":"migetman9","id":6538753,"avatar_url":"https://avatars.githubusercontent.com/u/6538753?v=3","gravatar_id":"","url":"https://api.github.com/users/migetman9","html_url":"https://github.com/migetman9","followers_url":"https://api.github.com/users/migetman9/followers","following_url":"https://api.github.com/users/migetman9/following{/other_user}","gists_url":"https://api.github.com/users/migetman9/gists{/gist_id}","starred_url":"https://api.github.com/users/migetman9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migetman9/subscriptions","organizations_url":"https://api.github.com/users/migetman9/orgs","repos_url":"https://api.github.com/users/migetman9/repos","events_url":"https://api.github.com/users/migetman9/events{/privacy}","received_events_url":"https://api.github.com/users/migetman9/received_events","type":"User","site_admin":false},"body":"Hi. @bds002 requested this feature. I think this is what needs to be done to make it happen. I've attempted to test it, but haven't received an email to the attendee email I entered. I figured doing a pull would be the best way to get advice. Thanks!","created_at":"2016-08-16T02:14:13Z","updated_at":"2016-08-19T01:12:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e229074e4fa8825d678b7c429cd39d83c5c8bd94","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/magfest/ubersystem/pulls/1990/commits","review_comments_url":"https://api.github.com/repos/magfest/ubersystem/pulls/1990/comments","review_comment_url":"https://api.github.com/repos/magfest/ubersystem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magfest/ubersystem/issues/1990/comments","statuses_url":"https://api.github.com/repos/magfest/ubersystem/statuses/186fdf6199217ade4690d0dc80612baa317175a2","head":{"label":"magfest:resend-attendee-emails","ref":"resend-attendee-emails","sha":"186fdf6199217ade4690d0dc80612baa317175a2","user":{"login":"magfest","id":7840140,"avatar_url":"https://avatars.githubusercontent.com/u/7840140?v=3","gravatar_id":"","url":"https://api.github.com/users/magfest","html_url":"https://github.com/magfest","followers_url":"https://api.github.com/users/magfest/followers","following_url":"https://api.github.com/users/magfest/following{/other_user}","gists_url":"https://api.github.com/users/magfest/gists{/gist_id}","starred_url":"https://api.github.com/users/magfest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magfest/subscriptions","organizations_url":"https://api.github.com/users/magfest/orgs","repos_url":"https://api.github.com/users/magfest/repos","events_url":"https://api.github.com/users/magfest/events{/privacy}","received_events_url":"https://api.github.com/users/magfest/received_events","type":"Organization","site_admin":false},"repo":{"id":16427229,"name":"ubersystem","full_name":"magfest/ubersystem","owner":{"login":"magfest","id":7840140,"avatar_url":"https://avatars.githubusercontent.com/u/7840140?v=3","gravatar_id":"","url":"https://api.github.com/users/magfest","html_url":"https://github.com/magfest","followers_url":"https://api.github.com/users/magfest/followers","following_url":"https://api.github.com/users/magfest/following{/other_user}","gists_url":"https://api.github.com/users/magfest/gists{/gist_id}","starred_url":"https://api.github.com/users/magfest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magfest/subscriptions","organizations_url":"https://api.github.com/users/magfest/orgs","repos_url":"https://api.github.com/users/magfest/repos","events_url":"https://api.github.com/users/magfest/events{/privacy}","received_events_url":"https://api.github.com/users/magfest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magfest/ubersystem","description":"MAGFest's Ubersystem - handles ticketing, staffing, analytics, volunteers, and tons more","fork":true,"url":"https://api.github.com/repos/magfest/ubersystem","forks_url":"https://api.github.com/repos/magfest/ubersystem/forks","keys_url":"https://api.github.com/repos/magfest/ubersystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magfest/ubersystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magfest/ubersystem/teams","hooks_url":"https://api.github.com/repos/magfest/ubersystem/hooks","issue_events_url":"https://api.github.com/repos/magfest/ubersystem/issues/events{/number}","events_url":"https://api.github.com/repos/magfest/ubersystem/events","assignees_url":"https://api.github.com/repos/magfest/ubersystem/assignees{/user}","branches_url":"https://api.github.com/repos/magfest/ubersystem/branches{/branch}","tags_url":"https://api.github.com/repos/magfest/ubersystem/tags","blobs_url":"https://api.github.com/repos/magfest/ubersystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magfest/ubersystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magfest/ubersystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/magfest/ubersystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magfest/ubersystem/statuses/{sha}","languages_url":"https://api.github.com/repos/magfest/ubersystem/languages","stargazers_url":"https://api.github.com/repos/magfest/ubersystem/stargazers","contributors_url":"https://api.github.com/repos/magfest/ubersystem/contributors","subscribers_url":"https://api.github.com/repos/magfest/ubersystem/subscribers","subscription_url":"https://api.github.com/repos/magfest/ubersystem/subscription","commits_url":"https://api.github.com/repos/magfest/ubersystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/magfest/ubersystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/magfest/ubersystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/magfest/ubersystem/issues/comments{/number}","contents_url":"https://api.github.com/repos/magfest/ubersystem/contents/{+path}","compare_url":"https://api.github.com/repos/magfest/ubersystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magfest/ubersystem/merges","archive_url":"https://api.github.com/repos/magfest/ubersystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magfest/ubersystem/downloads","issues_url":"https://api.github.com/repos/magfest/ubersystem/issues{/number}","pulls_url":"https://api.github.com/repos/magfest/ubersystem/pulls{/number}","milestones_url":"https://api.github.com/repos/magfest/ubersystem/milestones{/number}","notifications_url":"https://api.github.com/repos/magfest/ubersystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magfest/ubersystem/labels{/name}","releases_url":"https://api.github.com/repos/magfest/ubersystem/releases{/id}","deployments_url":"https://api.github.com/repos/magfest/ubersystem/deployments","created_at":"2014-02-01T02:56:25Z","updated_at":"2016-02-21T21:39:47Z","pushed_at":"2016-08-19T01:11:44Z","git_url":"git://github.com/magfest/ubersystem.git","ssh_url":"git@github.com:magfest/ubersystem.git","clone_url":"https://github.com/magfest/ubersystem.git","svn_url":"https://github.com/magfest/ubersystem","homepage":"http://magfest.org","size":62381,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":299,"forks":5,"open_issues":299,"watchers":24,"default_branch":"master"}},"base":{"label":"magfest:master","ref":"master","sha":"3cfb65957757c118dd6f8dacc984b69a138d0ad9","user":{"login":"magfest","id":7840140,"avatar_url":"https://avatars.githubusercontent.com/u/7840140?v=3","gravatar_id":"","url":"https://api.github.com/users/magfest","html_url":"https://github.com/magfest","followers_url":"https://api.github.com/users/magfest/followers","following_url":"https://api.github.com/users/magfest/following{/other_user}","gists_url":"https://api.github.com/users/magfest/gists{/gist_id}","starred_url":"https://api.github.com/users/magfest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magfest/subscriptions","organizations_url":"https://api.github.com/users/magfest/orgs","repos_url":"https://api.github.com/users/magfest/repos","events_url":"https://api.github.com/users/magfest/events{/privacy}","received_events_url":"https://api.github.com/users/magfest/received_events","type":"Organization","site_admin":false},"repo":{"id":16427229,"name":"ubersystem","full_name":"magfest/ubersystem","owner":{"login":"magfest","id":7840140,"avatar_url":"https://avatars.githubusercontent.com/u/7840140?v=3","gravatar_id":"","url":"https://api.github.com/users/magfest","html_url":"https://github.com/magfest","followers_url":"https://api.github.com/users/magfest/followers","following_url":"https://api.github.com/users/magfest/following{/other_user}","gists_url":"https://api.github.com/users/magfest/gists{/gist_id}","starred_url":"https://api.github.com/users/magfest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magfest/subscriptions","organizations_url":"https://api.github.com/users/magfest/orgs","repos_url":"https://api.github.com/users/magfest/repos","events_url":"https://api.github.com/users/magfest/events{/privacy}","received_events_url":"https://api.github.com/users/magfest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magfest/ubersystem","description":"MAGFest's Ubersystem - handles ticketing, staffing, analytics, volunteers, and tons more","fork":true,"url":"https://api.github.com/repos/magfest/ubersystem","forks_url":"https://api.github.com/repos/magfest/ubersystem/forks","keys_url":"https://api.github.com/repos/magfest/ubersystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magfest/ubersystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magfest/ubersystem/teams","hooks_url":"https://api.github.com/repos/magfest/ubersystem/hooks","issue_events_url":"https://api.github.com/repos/magfest/ubersystem/issues/events{/number}","events_url":"https://api.github.com/repos/magfest/ubersystem/events","assignees_url":"https://api.github.com/repos/magfest/ubersystem/assignees{/user}","branches_url":"https://api.github.com/repos/magfest/ubersystem/branches{/branch}","tags_url":"https://api.github.com/repos/magfest/ubersystem/tags","blobs_url":"https://api.github.com/repos/magfest/ubersystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magfest/ubersystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magfest/ubersystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/magfest/ubersystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magfest/ubersystem/statuses/{sha}","languages_url":"https://api.github.com/repos/magfest/ubersystem/languages","stargazers_url":"https://api.github.com/repos/magfest/ubersystem/stargazers","contributors_url":"https://api.github.com/repos/magfest/ubersystem/contributors","subscribers_url":"https://api.github.com/repos/magfest/ubersystem/subscribers","subscription_url":"https://api.github.com/repos/magfest/ubersystem/subscription","commits_url":"https://api.github.com/repos/magfest/ubersystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/magfest/ubersystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/magfest/ubersystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/magfest/ubersystem/issues/comments{/number}","contents_url":"https://api.github.com/repos/magfest/ubersystem/contents/{+path}","compare_url":"https://api.github.com/repos/magfest/ubersystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magfest/ubersystem/merges","archive_url":"https://api.github.com/repos/magfest/ubersystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magfest/ubersystem/downloads","issues_url":"https://api.github.com/repos/magfest/ubersystem/issues{/number}","pulls_url":"https://api.github.com/repos/magfest/ubersystem/pulls{/number}","milestones_url":"https://api.github.com/repos/magfest/ubersystem/milestones{/number}","notifications_url":"https://api.github.com/repos/magfest/ubersystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magfest/ubersystem/labels{/name}","releases_url":"https://api.github.com/repos/magfest/ubersystem/releases{/id}","deployments_url":"https://api.github.com/repos/magfest/ubersystem/deployments","created_at":"2014-02-01T02:56:25Z","updated_at":"2016-02-21T21:39:47Z","pushed_at":"2016-08-19T01:11:44Z","git_url":"git://github.com/magfest/ubersystem.git","ssh_url":"git@github.com:magfest/ubersystem.git","clone_url":"https://github.com/magfest/ubersystem.git","svn_url":"https://github.com/magfest/ubersystem","homepage":"http://magfest.org","size":62381,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":299,"forks":5,"open_issues":299,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/1990"},"html":{"href":"https://github.com/magfest/ubersystem/pull/1990"},"issue":{"href":"https://api.github.com/repos/magfest/ubersystem/issues/1990"},"comments":{"href":"https://api.github.com/repos/magfest/ubersystem/issues/1990/comments"},"review_comments":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/1990/comments"},"review_comment":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magfest/ubersystem/pulls/1990/commits"},"statuses":{"href":"https://api.github.com/repos/magfest/ubersystem/statuses/186fdf6199217ade4690d0dc80612baa317175a2"}}}}
{"actor":{"display_login":"migetman9"}}