{"action":"opened","number":3196,"pull_request":{"url":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196","id":217149600,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MTQ5NjAw","html_url":"https://github.com/sagemathinc/cocalc/pull/3196","diff_url":"https://github.com/sagemathinc/cocalc/pull/3196.diff","patch_url":"https://github.com/sagemathinc/cocalc/pull/3196.patch","issue_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/3196","number":3196,"state":"open","locked":false,"title":"Check for validity of TLD in email verification","user":{"login":"johnjeng","id":618575,"node_id":"MDQ6VXNlcjYxODU3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/618575?v=4","gravatar_id":"","url":"https://api.github.com/users/johnjeng","html_url":"https://github.com/johnjeng","followers_url":"https://api.github.com/users/johnjeng/followers","following_url":"https://api.github.com/users/johnjeng/following{/other_user}","gists_url":"https://api.github.com/users/johnjeng/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjeng/subscriptions","organizations_url":"https://api.github.com/users/johnjeng/orgs","repos_url":"https://api.github.com/users/johnjeng/repos","events_url":"https://api.github.com/users/johnjeng/events{/privacy}","received_events_url":"https://api.github.com/users/johnjeng/received_events","type":"User","site_admin":false},"body":"Threw this together in a few min. Fix for #2845.\r\n\r\nIf someone wants to pick it up as warm up, please do.\r\n\r\nIssues:\r\n- Tests didn't run for some reason. I think it's unrelated.\r\n- List of valid TLDs should probably be its own file or it should query the website directly. ","created_at":"2018-09-21T01:37:59Z","updated_at":"2018-09-21T01:37:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":264182179,"node_id":"MDU6TGFiZWwyNjQxODIxNzk=","url":"https://api.github.com/repos/sagemathinc/cocalc/labels/E-easy","name":"E-easy","color":"009800","default":false},{"id":442195014,"node_id":"MDU6TGFiZWw0NDIxOTUwMTQ=","url":"https://api.github.com/repos/sagemathinc/cocalc/labels/PR-needs%20work","name":"PR-needs work","color":"0052cc","default":false},{"id":577563452,"node_id":"MDU6TGFiZWw1Nzc1NjM0NTI=","url":"https://api.github.com/repos/sagemathinc/cocalc/labels/PR-work%20in%20progress","name":"PR-work in progress","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196/commits","review_comments_url":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196/comments","review_comment_url":"https://api.github.com/repos/sagemathinc/cocalc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/3196/comments","statuses_url":"https://api.github.com/repos/sagemathinc/cocalc/statuses/82a5614ae162ac4d10fdb6905bda924331b17105","head":{"label":"sagemathinc:issue/2845","ref":"issue/2845","sha":"82a5614ae162ac4d10fdb6905bda924331b17105","user":{"login":"sagemathinc","id":11307305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzA3MzA1","avatar_url":"https://avatars0.githubusercontent.com/u/11307305?v=4","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32500369,"node_id":"MDEwOlJlcG9zaXRvcnkzMjUwMDM2OQ==","name":"cocalc","full_name":"sagemathinc/cocalc","private":false,"owner":{"login":"sagemathinc","id":11307305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzA3MzA1","avatar_url":"https://avatars0.githubusercontent.com/u/11307305?v=4","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sagemathinc/cocalc","description":"CoCalc: Collaborative Calculation in the Cloud","fork":false,"url":"https://api.github.com/repos/sagemathinc/cocalc","forks_url":"https://api.github.com/repos/sagemathinc/cocalc/forks","keys_url":"https://api.github.com/repos/sagemathinc/cocalc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagemathinc/cocalc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagemathinc/cocalc/teams","hooks_url":"https://api.github.com/repos/sagemathinc/cocalc/hooks","issue_events_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/events{/number}","events_url":"https://api.github.com/repos/sagemathinc/cocalc/events","assignees_url":"https://api.github.com/repos/sagemathinc/cocalc/assignees{/user}","branches_url":"https://api.github.com/repos/sagemathinc/cocalc/branches{/branch}","tags_url":"https://api.github.com/repos/sagemathinc/cocalc/tags","blobs_url":"https://api.github.com/repos/sagemathinc/cocalc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagemathinc/cocalc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagemathinc/cocalc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagemathinc/cocalc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagemathinc/cocalc/statuses/{sha}","languages_url":"https://api.github.com/repos/sagemathinc/cocalc/languages","stargazers_url":"https://api.github.com/repos/sagemathinc/cocalc/stargazers","contributors_url":"https://api.github.com/repos/sagemathinc/cocalc/contributors","subscribers_url":"https://api.github.com/repos/sagemathinc/cocalc/subscribers","subscription_url":"https://api.github.com/repos/sagemathinc/cocalc/subscription","commits_url":"https://api.github.com/repos/sagemathinc/cocalc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagemathinc/cocalc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagemathinc/cocalc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagemathinc/cocalc/contents/{+path}","compare_url":"https://api.github.com/repos/sagemathinc/cocalc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagemathinc/cocalc/merges","archive_url":"https://api.github.com/repos/sagemathinc/cocalc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagemathinc/cocalc/downloads","issues_url":"https://api.github.com/repos/sagemathinc/cocalc/issues{/number}","pulls_url":"https://api.github.com/repos/sagemathinc/cocalc/pulls{/number}","milestones_url":"https://api.github.com/repos/sagemathinc/cocalc/milestones{/number}","notifications_url":"https://api.github.com/repos/sagemathinc/cocalc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagemathinc/cocalc/labels{/name}","releases_url":"https://api.github.com/repos/sagemathinc/cocalc/releases{/id}","deployments_url":"https://api.github.com/repos/sagemathinc/cocalc/deployments","created_at":"2015-03-19T04:16:53Z","updated_at":"2018-09-21T00:10:13Z","pushed_at":"2018-09-21T01:31:18Z","git_url":"git://github.com/sagemathinc/cocalc.git","ssh_url":"git@github.com:sagemathinc/cocalc.git","clone_url":"https://github.com/sagemathinc/cocalc.git","svn_url":"https://github.com/sagemathinc/cocalc","homepage":"https://CoCalc.com","size":195722,"stargazers_count":556,"watchers_count":556,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":876,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":107,"open_issues":876,"watchers":556,"default_branch":"master"}},"base":{"label":"sagemathinc:master","ref":"master","sha":"0aff438db7c5e9a2b3e6bbad30e89c080faed4e4","user":{"login":"sagemathinc","id":11307305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzA3MzA1","avatar_url":"https://avatars0.githubusercontent.com/u/11307305?v=4","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32500369,"node_id":"MDEwOlJlcG9zaXRvcnkzMjUwMDM2OQ==","name":"cocalc","full_name":"sagemathinc/cocalc","private":false,"owner":{"login":"sagemathinc","id":11307305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMzA3MzA1","avatar_url":"https://avatars0.githubusercontent.com/u/11307305?v=4","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sagemathinc/cocalc","description":"CoCalc: Collaborative Calculation in the Cloud","fork":false,"url":"https://api.github.com/repos/sagemathinc/cocalc","forks_url":"https://api.github.com/repos/sagemathinc/cocalc/forks","keys_url":"https://api.github.com/repos/sagemathinc/cocalc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagemathinc/cocalc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagemathinc/cocalc/teams","hooks_url":"https://api.github.com/repos/sagemathinc/cocalc/hooks","issue_events_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/events{/number}","events_url":"https://api.github.com/repos/sagemathinc/cocalc/events","assignees_url":"https://api.github.com/repos/sagemathinc/cocalc/assignees{/user}","branches_url":"https://api.github.com/repos/sagemathinc/cocalc/branches{/branch}","tags_url":"https://api.github.com/repos/sagemathinc/cocalc/tags","blobs_url":"https://api.github.com/repos/sagemathinc/cocalc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagemathinc/cocalc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagemathinc/cocalc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagemathinc/cocalc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagemathinc/cocalc/statuses/{sha}","languages_url":"https://api.github.com/repos/sagemathinc/cocalc/languages","stargazers_url":"https://api.github.com/repos/sagemathinc/cocalc/stargazers","contributors_url":"https://api.github.com/repos/sagemathinc/cocalc/contributors","subscribers_url":"https://api.github.com/repos/sagemathinc/cocalc/subscribers","subscription_url":"https://api.github.com/repos/sagemathinc/cocalc/subscription","commits_url":"https://api.github.com/repos/sagemathinc/cocalc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagemathinc/cocalc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagemathinc/cocalc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagemathinc/cocalc/contents/{+path}","compare_url":"https://api.github.com/repos/sagemathinc/cocalc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagemathinc/cocalc/merges","archive_url":"https://api.github.com/repos/sagemathinc/cocalc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagemathinc/cocalc/downloads","issues_url":"https://api.github.com/repos/sagemathinc/cocalc/issues{/number}","pulls_url":"https://api.github.com/repos/sagemathinc/cocalc/pulls{/number}","milestones_url":"https://api.github.com/repos/sagemathinc/cocalc/milestones{/number}","notifications_url":"https://api.github.com/repos/sagemathinc/cocalc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagemathinc/cocalc/labels{/name}","releases_url":"https://api.github.com/repos/sagemathinc/cocalc/releases{/id}","deployments_url":"https://api.github.com/repos/sagemathinc/cocalc/deployments","created_at":"2015-03-19T04:16:53Z","updated_at":"2018-09-21T00:10:13Z","pushed_at":"2018-09-21T01:31:18Z","git_url":"git://github.com/sagemathinc/cocalc.git","ssh_url":"git@github.com:sagemathinc/cocalc.git","clone_url":"https://github.com/sagemathinc/cocalc.git","svn_url":"https://github.com/sagemathinc/cocalc","homepage":"https://CoCalc.com","size":195722,"stargazers_count":556,"watchers_count":556,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":876,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":107,"open_issues":876,"watchers":556,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196"},"html":{"href":"https://github.com/sagemathinc/cocalc/pull/3196"},"issue":{"href":"https://api.github.com/repos/sagemathinc/cocalc/issues/3196"},"comments":{"href":"https://api.github.com/repos/sagemathinc/cocalc/issues/3196/comments"},"review_comments":{"href":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196/comments"},"review_comment":{"href":"https://api.github.com/repos/sagemathinc/cocalc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sagemathinc/cocalc/pulls/3196/commits"},"statuses":{"href":"https://api.github.com/repos/sagemathinc/cocalc/statuses/82a5614ae162ac4d10fdb6905bda924331b17105"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":11,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"johnjeng"}}