{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/2644","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/2644/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/2644/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/2644/events","html_url":"https://github.com/zulip/zulip/pull/2644","id":194245771,"number":2644,"title":"send email when a user logs in","user":{"login":"hollywoodno","id":13710170,"avatar_url":"https://avatars3.githubusercontent.com/u/13710170?v=3","gravatar_id":"","url":"https://api.github.com/users/hollywoodno","html_url":"https://github.com/hollywoodno","followers_url":"https://api.github.com/users/hollywoodno/followers","following_url":"https://api.github.com/users/hollywoodno/following{/other_user}","gists_url":"https://api.github.com/users/hollywoodno/gists{/gist_id}","starred_url":"https://api.github.com/users/hollywoodno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollywoodno/subscriptions","organizations_url":"https://api.github.com/users/hollywoodno/orgs","repos_url":"https://api.github.com/users/hollywoodno/repos","events_url":"https://api.github.com/users/hollywoodno/events{/privacy}","received_events_url":"https://api.github.com/users/hollywoodno/received_events","type":"User","site_admin":false},"labels":[{"id":265216832,"url":"https://api.github.com/repos/zulip/zulip/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":561830290,"url":"https://api.github.com/repos/zulip/zulip/labels/needs%20review","name":"needs review","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars3.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},"assignees":[{"login":"timabbott","id":2746074,"avatar_url":"https://avatars3.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}],"milestone":null,"comments":22,"created_at":"2016-12-08T04:41:02Z","updated_at":"2017-03-26T04:43:36Z","closed_at":"2017-03-24T15:44:28Z","pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/2644","html_url":"https://github.com/zulip/zulip/pull/2644","diff_url":"https://github.com/zulip/zulip/pull/2644.diff","patch_url":"https://github.com/zulip/zulip/pull/2644.patch"},"body":"This PR is for #2182\r\n\r\nI created a signals.py file in zerver that includes a receiver function for handling new logins. The receiver function listens for a new login signal sent by Django's auth system. Upon receiving the signal, if sending login emails is turned on, the receiver function sends out an email to the email address associated with the user account. \r\n\r\nFixes: #2182"},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/289258143","html_url":"https://github.com/zulip/zulip/pull/2644#issuecomment-289258143","issue_url":"https://api.github.com/repos/zulip/zulip/issues/2644","id":289258143,"user":{"login":"hollywoodno","id":13710170,"avatar_url":"https://avatars3.githubusercontent.com/u/13710170?v=3","gravatar_id":"","url":"https://api.github.com/users/hollywoodno","html_url":"https://github.com/hollywoodno","followers_url":"https://api.github.com/users/hollywoodno/followers","following_url":"https://api.github.com/users/hollywoodno/following{/other_user}","gists_url":"https://api.github.com/users/hollywoodno/gists{/gist_id}","starred_url":"https://api.github.com/users/hollywoodno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollywoodno/subscriptions","organizations_url":"https://api.github.com/users/hollywoodno/orgs","repos_url":"https://api.github.com/users/hollywoodno/repos","events_url":"https://api.github.com/users/hollywoodno/events{/privacy}","received_events_url":"https://api.github.com/users/hollywoodno/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T04:43:36Z","updated_at":"2017-03-26T04:43:36Z","body":"I may have closed it by accident. I was trying to remove it from my master branch to just have it on it's on separate branch. "}}
{"actor":{"display_login":"hollywoodno"}}