{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip/pulls/comments/65989290","id":65989290,"diff_hunk":"@@ -78,6 +87,25 @@ def clean_email(self):\n             return data\n         raise ValidationError(mark_safe(SIGNUP_STRING))\n \n+class RealmCreationForm(forms.Form):\n+    # This form determines whether users can\n+    # create a new realm. Be careful when modifying the\n+    # validators.\n+    email = forms.EmailField(validators=[is_inactive,])\n+\n+    def __init__(self, *args, **kwargs):\n+        self.domain = kwargs.get(\"domain\")\n+        if \"domain\" in kwargs:\n+            del kwargs[\"domain\"]\n+        super(RealmCreationForm, self).__init__(*args, **kwargs)\n+\n+    def clean_email(self):","path":"zerver/forms.py","position":45,"original_position":45,"commit_id":"fae931cf68a69b108d01bdbff759ec9b9fed1686","original_commit_id":"fae931cf68a69b108d01bdbff759ec9b9fed1686","user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars.githubusercontent.com/u/2746074?v=3","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"body":"should this be calling `is_inactive`?","created_at":"2016-06-06T23:46:00Z","updated_at":"2016-06-06T23:46:00Z","html_url":"https://github.com/zulip/zulip/pull/902#discussion_r65989290","pull_request_url":"https://api.github.com/repos/zulip/zulip/pulls/902","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments/65989290"},"html":{"href":"https://github.com/zulip/zulip/pull/902#discussion_r65989290"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip/pulls/902"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/902","id":72587204,"html_url":"https://github.com/zulip/zulip/pull/902","diff_url":"https://github.com/zulip/zulip/pull/902.diff","patch_url":"https://github.com/zulip/zulip/pull/902.patch","issue_url":"https://api.github.com/repos/zulip/zulip/issues/902","number":902,"state":"open","locked":false,"title":"Interface for realm creation.","user":{"login":"hackerkid","id":7190633,"avatar_url":"https://avatars.githubusercontent.com/u/7190633?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerkid","html_url":"https://github.com/hackerkid","followers_url":"https://api.github.com/users/hackerkid/followers","following_url":"https://api.github.com/users/hackerkid/following{/other_user}","gists_url":"https://api.github.com/users/hackerkid/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerkid/subscriptions","organizations_url":"https://api.github.com/users/hackerkid/orgs","repos_url":"https://api.github.com/users/hackerkid/repos","events_url":"https://api.github.com/users/hackerkid/events{/privacy}","received_events_url":"https://api.github.com/users/hackerkid/received_events","type":"User","site_admin":false},"body":"This branch is under development  :hourglass: ","created_at":"2016-06-04T00:42:54Z","updated_at":"2016-06-06T23:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88cf3d2b3949c7e77a0d75b9e4a11ee85fe3170d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip/pulls/902/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip/pulls/902/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/902/comments","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/fae931cf68a69b108d01bdbff759ec9b9fed1686","head":{"label":"hackerkid:team-creation","ref":"team-creation","sha":"fae931cf68a69b108d01bdbff759ec9b9fed1686","user":{"login":"hackerkid","id":7190633,"avatar_url":"https://avatars.githubusercontent.com/u/7190633?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerkid","html_url":"https://github.com/hackerkid","followers_url":"https://api.github.com/users/hackerkid/followers","following_url":"https://api.github.com/users/hackerkid/following{/other_user}","gists_url":"https://api.github.com/users/hackerkid/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerkid/subscriptions","organizations_url":"https://api.github.com/users/hackerkid/orgs","repos_url":"https://api.github.com/users/hackerkid/repos","events_url":"https://api.github.com/users/hackerkid/events{/privacy}","received_events_url":"https://api.github.com/users/hackerkid/received_events","type":"User","site_admin":false},"repo":{"id":56719489,"name":"zulip","full_name":"hackerkid/zulip","owner":{"login":"hackerkid","id":7190633,"avatar_url":"https://avatars.githubusercontent.com/u/7190633?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerkid","html_url":"https://github.com/hackerkid","followers_url":"https://api.github.com/users/hackerkid/followers","following_url":"https://api.github.com/users/hackerkid/following{/other_user}","gists_url":"https://api.github.com/users/hackerkid/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerkid/subscriptions","organizations_url":"https://api.github.com/users/hackerkid/orgs","repos_url":"https://api.github.com/users/hackerkid/repos","events_url":"https://api.github.com/users/hackerkid/events{/privacy}","received_events_url":"https://api.github.com/users/hackerkid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hackerkid/zulip","description":"Zulip server - powerful open source group chat","fork":true,"url":"https://api.github.com/repos/hackerkid/zulip","forks_url":"https://api.github.com/repos/hackerkid/zulip/forks","keys_url":"https://api.github.com/repos/hackerkid/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackerkid/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackerkid/zulip/teams","hooks_url":"https://api.github.com/repos/hackerkid/zulip/hooks","issue_events_url":"https://api.github.com/repos/hackerkid/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/hackerkid/zulip/events","assignees_url":"https://api.github.com/repos/hackerkid/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/hackerkid/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/hackerkid/zulip/tags","blobs_url":"https://api.github.com/repos/hackerkid/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackerkid/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackerkid/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackerkid/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackerkid/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/hackerkid/zulip/languages","stargazers_url":"https://api.github.com/repos/hackerkid/zulip/stargazers","contributors_url":"https://api.github.com/repos/hackerkid/zulip/contributors","subscribers_url":"https://api.github.com/repos/hackerkid/zulip/subscribers","subscription_url":"https://api.github.com/repos/hackerkid/zulip/subscription","commits_url":"https://api.github.com/repos/hackerkid/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackerkid/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackerkid/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackerkid/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/hackerkid/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/hackerkid/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackerkid/zulip/merges","archive_url":"https://api.github.com/repos/hackerkid/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackerkid/zulip/downloads","issues_url":"https://api.github.com/repos/hackerkid/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/hackerkid/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/hackerkid/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/hackerkid/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackerkid/zulip/labels{/name}","releases_url":"https://api.github.com/repos/hackerkid/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/hackerkid/zulip/deployments","created_at":"2016-04-20T20:41:26Z","updated_at":"2016-04-20T20:41:33Z","pushed_at":"2016-06-06T18:51:00Z","git_url":"git://github.com/hackerkid/zulip.git","ssh_url":"git@github.com:hackerkid/zulip.git","clone_url":"https://github.com/hackerkid/zulip.git","svn_url":"https://github.com/hackerkid/zulip","homepage":"","size":111190,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zulip:master","ref":"master","sha":"0ab6b99cbb940f6bc73ffad1d9a01322633a14e3","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160685,"name":"zulip","full_name":"zulip/zulip","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip","description":"Zulip server - powerful open source group chat","fork":false,"url":"https://api.github.com/repos/zulip/zulip","forks_url":"https://api.github.com/repos/zulip/zulip/forks","keys_url":"https://api.github.com/repos/zulip/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip/teams","hooks_url":"https://api.github.com/repos/zulip/zulip/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip/events","assignees_url":"https://api.github.com/repos/zulip/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip/tags","blobs_url":"https://api.github.com/repos/zulip/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip/subscription","commits_url":"https://api.github.com/repos/zulip/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip/merges","archive_url":"https://api.github.com/repos/zulip/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip/downloads","issues_url":"https://api.github.com/repos/zulip/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip/deployments","created_at":"2015-09-25T16:37:25Z","updated_at":"2016-06-06T18:42:34Z","pushed_at":"2016-06-06T23:31:29Z","git_url":"git://github.com/zulip/zulip.git","ssh_url":"git@github.com:zulip/zulip.git","clone_url":"https://github.com/zulip/zulip.git","svn_url":"https://github.com/zulip/zulip","homepage":"","size":117177,"stargazers_count":3880,"watchers_count":3880,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":584,"mirror_url":null,"open_issues_count":328,"forks":584,"open_issues":328,"watchers":3880,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/902"},"html":{"href":"https://github.com/zulip/zulip/pull/902"},"issue":{"href":"https://api.github.com/repos/zulip/zulip/issues/902"},"comments":{"href":"https://api.github.com/repos/zulip/zulip/issues/902/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip/pulls/902/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip/pulls/902/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip/statuses/fae931cf68a69b108d01bdbff759ec9b9fed1686"}}}}
{"actor":{"display_login":"timabbott"}}