{"action":"created","issue":{"url":"https://api.github.com/repos/osuosl/streamwebs/issues/586","repository_url":"https://api.github.com/repos/osuosl/streamwebs","labels_url":"https://api.github.com/repos/osuosl/streamwebs/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/osuosl/streamwebs/issues/586/comments","events_url":"https://api.github.com/repos/osuosl/streamwebs/issues/586/events","html_url":"https://github.com/osuosl/streamwebs/issues/586","id":283035320,"number":586,"title":"Improve Login: Use Email where Possible, Username should not be Case Sensitive","user":{"login":"hertelc","id":20323475,"avatar_url":"https://avatars2.githubusercontent.com/u/20323475?v=4","gravatar_id":"","url":"https://api.github.com/users/hertelc","html_url":"https://github.com/hertelc","followers_url":"https://api.github.com/users/hertelc/followers","following_url":"https://api.github.com/users/hertelc/following{/other_user}","gists_url":"https://api.github.com/users/hertelc/gists{/gist_id}","starred_url":"https://api.github.com/users/hertelc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hertelc/subscriptions","organizations_url":"https://api.github.com/users/hertelc/orgs","repos_url":"https://api.github.com/users/hertelc/repos","events_url":"https://api.github.com/users/hertelc/events{/privacy}","received_events_url":"https://api.github.com/users/hertelc/received_events","type":"User","site_admin":false},"labels":[{"id":371200631,"url":"https://api.github.com/repos/osuosl/streamwebs/labels/Ready%20for%20Review","name":"Ready for Review","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"ramereth","id":48997,"avatar_url":"https://avatars0.githubusercontent.com/u/48997?v=4","gravatar_id":"","url":"https://api.github.com/users/ramereth","html_url":"https://github.com/ramereth","followers_url":"https://api.github.com/users/ramereth/followers","following_url":"https://api.github.com/users/ramereth/following{/other_user}","gists_url":"https://api.github.com/users/ramereth/gists{/gist_id}","starred_url":"https://api.github.com/users/ramereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramereth/subscriptions","organizations_url":"https://api.github.com/users/ramereth/orgs","repos_url":"https://api.github.com/users/ramereth/repos","events_url":"https://api.github.com/users/ramereth/events{/privacy}","received_events_url":"https://api.github.com/users/ramereth/received_events","type":"User","site_admin":false},"assignees":[{"login":"ramereth","id":48997,"avatar_url":"https://avatars0.githubusercontent.com/u/48997?v=4","gravatar_id":"","url":"https://api.github.com/users/ramereth","html_url":"https://github.com/ramereth","followers_url":"https://api.github.com/users/ramereth/followers","following_url":"https://api.github.com/users/ramereth/following{/other_user}","gists_url":"https://api.github.com/users/ramereth/gists{/gist_id}","starred_url":"https://api.github.com/users/ramereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramereth/subscriptions","organizations_url":"https://api.github.com/users/ramereth/orgs","repos_url":"https://api.github.com/users/ramereth/repos","events_url":"https://api.github.com/users/ramereth/events{/privacy}","received_events_url":"https://api.github.com/users/ramereth/received_events","type":"User","site_admin":false},{"login":"CarvellWakeman","id":10020591,"avatar_url":"https://avatars2.githubusercontent.com/u/10020591?v=4","gravatar_id":"","url":"https://api.github.com/users/CarvellWakeman","html_url":"https://github.com/CarvellWakeman","followers_url":"https://api.github.com/users/CarvellWakeman/followers","following_url":"https://api.github.com/users/CarvellWakeman/following{/other_user}","gists_url":"https://api.github.com/users/CarvellWakeman/gists{/gist_id}","starred_url":"https://api.github.com/users/CarvellWakeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarvellWakeman/subscriptions","organizations_url":"https://api.github.com/users/CarvellWakeman/orgs","repos_url":"https://api.github.com/users/CarvellWakeman/repos","events_url":"https://api.github.com/users/CarvellWakeman/events{/privacy}","received_events_url":"https://api.github.com/users/CarvellWakeman/received_events","type":"User","site_admin":false},{"login":"hertelc","id":20323475,"avatar_url":"https://avatars2.githubusercontent.com/u/20323475?v=4","gravatar_id":"","url":"https://api.github.com/users/hertelc","html_url":"https://github.com/hertelc","followers_url":"https://api.github.com/users/hertelc/followers","following_url":"https://api.github.com/users/hertelc/following{/other_user}","gists_url":"https://api.github.com/users/hertelc/gists{/gist_id}","starred_url":"https://api.github.com/users/hertelc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hertelc/subscriptions","organizations_url":"https://api.github.com/users/hertelc/orgs","repos_url":"https://api.github.com/users/hertelc/repos","events_url":"https://api.github.com/users/hertelc/events{/privacy}","received_events_url":"https://api.github.com/users/hertelc/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/osuosl/streamwebs/milestones/4","html_url":"https://github.com/osuosl/streamwebs/milestone/4","labels_url":"https://api.github.com/repos/osuosl/streamwebs/milestones/4/labels","id":2692891,"number":4,"title":"Production 1.0.0 Release","description":"","creator":{"login":"ramereth","id":48997,"avatar_url":"https://avatars0.githubusercontent.com/u/48997?v=4","gravatar_id":"","url":"https://api.github.com/users/ramereth","html_url":"https://github.com/ramereth","followers_url":"https://api.github.com/users/ramereth/followers","following_url":"https://api.github.com/users/ramereth/following{/other_user}","gists_url":"https://api.github.com/users/ramereth/gists{/gist_id}","starred_url":"https://api.github.com/users/ramereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramereth/subscriptions","organizations_url":"https://api.github.com/users/ramereth/orgs","repos_url":"https://api.github.com/users/ramereth/repos","events_url":"https://api.github.com/users/ramereth/events{/privacy}","received_events_url":"https://api.github.com/users/ramereth/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":175,"state":"open","created_at":"2017-08-09T21:29:06Z","updated_at":"2018-02-21T23:04:32Z","due_on":"2017-10-12T07:00:00Z","closed_at":null},"comments":10,"created_at":"2017-12-18T22:01:24Z","updated_at":"2018-02-21T23:30:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"- [x] Switch usernames to be the same as the Email.\r\n\r\n- [x] Remove \"Username\" from the registration page since the username will be the email address entered.\r\n\r\n- [x] Make sure that the username field can accept email addresses, update it if it cannot.\r\n- [x] Run a migration to wipe out username fields and replace them with email fields.\r\n- [x] Send an email to the users notifying them that emails should be used to log in.\r\n- [x] Modify login to have a case insensitive username check\r\n- [x] When registering verify email is non-case sensitive unique\r\n- [x] When creating accounts verify username is non-case sensitive unique\r\n- [x] When registering or creating an account, validate username and email have no whitespace\r\n  \r\n - [x] Global flag that is false for dev/staging sites that stops emails from being sent in all cases\r\n  "},"comment":{"url":"https://api.github.com/repos/osuosl/streamwebs/issues/comments/367514457","html_url":"https://github.com/osuosl/streamwebs/issues/586#issuecomment-367514457","issue_url":"https://api.github.com/repos/osuosl/streamwebs/issues/586","id":367514457,"user":{"login":"CarvellWakeman","id":10020591,"avatar_url":"https://avatars2.githubusercontent.com/u/10020591?v=4","gravatar_id":"","url":"https://api.github.com/users/CarvellWakeman","html_url":"https://github.com/CarvellWakeman","followers_url":"https://api.github.com/users/CarvellWakeman/followers","following_url":"https://api.github.com/users/CarvellWakeman/following{/other_user}","gists_url":"https://api.github.com/users/CarvellWakeman/gists{/gist_id}","starred_url":"https://api.github.com/users/CarvellWakeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarvellWakeman/subscriptions","organizations_url":"https://api.github.com/users/CarvellWakeman/orgs","repos_url":"https://api.github.com/users/CarvellWakeman/repos","events_url":"https://api.github.com/users/CarvellWakeman/events{/privacy}","received_events_url":"https://api.github.com/users/CarvellWakeman/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T23:30:59Z","updated_at":"2018-02-21T23:30:59Z","author_association":"COLLABORATOR","body":"@hertelc the migration script for email to username contains a single function to send the email for each user as it processes them. It should be simple to remove it if you wanted Bailey or Jerry to take a look, since I'm on micromain. If that won't work I can do it tomorrow, just let me know."}}
{"actor":{"display_login":"CarvellWakeman"}}