{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/comments/233158559","pull_request_review_id":174507478,"id":233158559,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzE1ODU1OQ==","diff_hunk":"@@ -2,17 +2,27 @@ import { attr } from '@ember-decorators/data';\n import { computed } from '@ember/object';\n import { buildValidations, validator } from 'ember-cp-validations';\n import DS from 'ember-data';\n+import config from 'ember-get-config';\n \n const { Model } = DS;\n \n+const { support: { supportEmail } } = config;","path":"app/models/user-registration.ts","position":8,"original_position":8,"commit_id":"fea400a5224fa3e4577636632b67e08d1c977a52","original_commit_id":"fea400a5224fa3e4577636632b67e08d1c977a52","user":{"login":"jamescdavis","id":348630,"node_id":"MDQ6VXNlcjM0ODYzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/348630?v=4","gravatar_id":"","url":"https://api.github.com/users/jamescdavis","html_url":"https://github.com/jamescdavis","followers_url":"https://api.github.com/users/jamescdavis/followers","following_url":"https://api.github.com/users/jamescdavis/following{/other_user}","gists_url":"https://api.github.com/users/jamescdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescdavis/subscriptions","organizations_url":"https://api.github.com/users/jamescdavis/orgs","repos_url":"https://api.github.com/users/jamescdavis/repos","events_url":"https://api.github.com/users/jamescdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamescdavis/received_events","type":"User","site_admin":false},"body":"Yes","created_at":"2018-11-13T18:01:15Z","updated_at":"2018-11-13T18:01:16Z","html_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471#discussion_r233158559","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/comments/233158559"},"html":{"href":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471#discussion_r233158559"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471"}},"in_reply_to_id":233155500},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471","id":230559774,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTU5Nzc0","html_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471","diff_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471.diff","patch_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/471","number":471,"state":"closed","locked":false,"title":"[EMB-347] fix: distinguish between already registered and blacklisted emails","user":{"login":"jamescdavis","id":348630,"node_id":"MDQ6VXNlcjM0ODYzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/348630?v=4","gravatar_id":"","url":"https://api.github.com/users/jamescdavis","html_url":"https://github.com/jamescdavis","followers_url":"https://api.github.com/users/jamescdavis/followers","following_url":"https://api.github.com/users/jamescdavis/following{/other_user}","gists_url":"https://api.github.com/users/jamescdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescdavis/subscriptions","organizations_url":"https://api.github.com/users/jamescdavis/orgs","repos_url":"https://api.github.com/users/jamescdavis/repos","events_url":"https://api.github.com/users/jamescdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamescdavis/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n\r\nDistinguish between already registered and blacklisted emails\r\n\r\n## Summary of Changes\r\n\r\n### Changed\r\n- Components:\r\n    - `sign-up-form` - Distinguish between already registered and invalid (e.g. blacklisted) emails\r\n- Models:\r\n    - `user-registration` - added invalid email validation and `addInvalidEmail` method\r\n\r\n## Side Effects\r\n\r\nNone.\r\n\r\n## Feature Flags\r\n\r\nn/a\r\n\r\n## QA Notes\r\n\r\nShould check that appropriate messages are given for attempting to register a user with an email address that is already in use and an email address that uses a blacklisted domain.\r\n\r\n## Ticket\r\n\r\nhttps://openscience.atlassian.net/browse/EMB-347\r\n\r\n# Reviewer Checklist\r\n\r\n- [ ] meets requirements\r\n- [ ] easy to understand\r\n- [ ] DRY\r\n- [ ] testable and includes test(s)\r\n- [ ] changes described in `CHANGELOG.md`\r\n\r\n<!-- Please strike through any checks that you think are not relevant for this PR and indicate why, e.g.\r\n\r\n     - [ ] ~~easy to understand~~ *(necessarily complex)*\r\n-->\r\n","created_at":"2018-11-13T17:21:20Z","updated_at":"2018-11-13T18:01:16Z","closed_at":"2018-11-13T17:54:01Z","merged_at":"2018-11-13T17:54:01Z","merge_commit_sha":"56164573722f88b73c3ad8b7583539ea4d70de6d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"aaxelb","id":6776190,"node_id":"MDQ6VXNlcjY3NzYxOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6776190?v=4","gravatar_id":"","url":"https://api.github.com/users/aaxelb","html_url":"https://github.com/aaxelb","followers_url":"https://api.github.com/users/aaxelb/followers","following_url":"https://api.github.com/users/aaxelb/following{/other_user}","gists_url":"https://api.github.com/users/aaxelb/gists{/gist_id}","starred_url":"https://api.github.com/users/aaxelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaxelb/subscriptions","organizations_url":"https://api.github.com/users/aaxelb/orgs","repos_url":"https://api.github.com/users/aaxelb/repos","events_url":"https://api.github.com/users/aaxelb/events{/privacy}","received_events_url":"https://api.github.com/users/aaxelb/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/471/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/statuses/fea400a5224fa3e4577636632b67e08d1c977a52","head":{"label":"jamescdavis:EMB-347_distinguish_already_registered_and_invalid_emails_release_18.2.0","ref":"EMB-347_distinguish_already_registered_and_invalid_emails_release_18.2.0","sha":"fea400a5224fa3e4577636632b67e08d1c977a52","user":{"login":"jamescdavis","id":348630,"node_id":"MDQ6VXNlcjM0ODYzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/348630?v=4","gravatar_id":"","url":"https://api.github.com/users/jamescdavis","html_url":"https://github.com/jamescdavis","followers_url":"https://api.github.com/users/jamescdavis/followers","following_url":"https://api.github.com/users/jamescdavis/following{/other_user}","gists_url":"https://api.github.com/users/jamescdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescdavis/subscriptions","organizations_url":"https://api.github.com/users/jamescdavis/orgs","repos_url":"https://api.github.com/users/jamescdavis/repos","events_url":"https://api.github.com/users/jamescdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamescdavis/received_events","type":"User","site_admin":false},"repo":{"id":104222512,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQyMjI1MTI=","name":"ember-osf-web","full_name":"jamescdavis/ember-osf-web","private":false,"owner":{"login":"jamescdavis","id":348630,"node_id":"MDQ6VXNlcjM0ODYzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/348630?v=4","gravatar_id":"","url":"https://api.github.com/users/jamescdavis","html_url":"https://github.com/jamescdavis","followers_url":"https://api.github.com/users/jamescdavis/followers","following_url":"https://api.github.com/users/jamescdavis/following{/other_user}","gists_url":"https://api.github.com/users/jamescdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescdavis/subscriptions","organizations_url":"https://api.github.com/users/jamescdavis/orgs","repos_url":"https://api.github.com/users/jamescdavis/repos","events_url":"https://api.github.com/users/jamescdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamescdavis/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jamescdavis/ember-osf-web","description":null,"fork":true,"url":"https://api.github.com/repos/jamescdavis/ember-osf-web","forks_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/forks","keys_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/teams","hooks_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/hooks","issue_events_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/issues/events{/number}","events_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/events","assignees_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/assignees{/user}","branches_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/branches{/branch}","tags_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/tags","blobs_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/statuses/{sha}","languages_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/languages","stargazers_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/stargazers","contributors_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/contributors","subscribers_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/subscribers","subscription_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/subscription","commits_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/contents/{+path}","compare_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/merges","archive_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/downloads","issues_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/issues{/number}","pulls_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/pulls{/number}","milestones_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/milestones{/number}","notifications_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/labels{/name}","releases_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/releases{/id}","deployments_url":"https://api.github.com/repos/jamescdavis/ember-osf-web/deployments","created_at":"2017-09-20T13:58:28Z","updated_at":"2018-10-24T15:52:58Z","pushed_at":"2018-11-13T17:56:35Z","git_url":"git://github.com/jamescdavis/ember-osf-web.git","ssh_url":"git@github.com:jamescdavis/ember-osf-web.git","clone_url":"https://github.com/jamescdavis/ember-osf-web.git","svn_url":"https://github.com/jamescdavis/ember-osf-web","homepage":null,"size":21999,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:release/18.2.0","ref":"release/18.2.0","sha":"738a0ac60d1f992edd4c369614fdd2a19c01ff09","user":{"login":"CenterForOpenScience","id":3344584,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDQ1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3344584?v=4","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":103567245,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM1NjcyNDU=","name":"ember-osf-web","full_name":"CenterForOpenScience/ember-osf-web","private":false,"owner":{"login":"CenterForOpenScience","id":3344584,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDQ1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3344584?v=4","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CenterForOpenScience/ember-osf-web","description":"Ember front-end for the Open Science Framework","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web","forks_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/deployments","created_at":"2017-09-14T18:25:41Z","updated_at":"2018-11-12T19:07:32Z","pushed_at":"2018-11-13T17:54:02Z","git_url":"git://github.com/CenterForOpenScience/ember-osf-web.git","ssh_url":"git@github.com:CenterForOpenScience/ember-osf-web.git","clone_url":"https://github.com/CenterForOpenScience/ember-osf-web.git","svn_url":"https://github.com/CenterForOpenScience/ember-osf-web","homepage":"https://osf.io","size":21035,"stargazers_count":58,"watchers_count":58,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":24,"open_issues":16,"watchers":58,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471"},"html":{"href":"https://github.com/CenterForOpenScience/ember-osf-web/pull/471"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/471"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/471/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/statuses/fea400a5224fa3e4577636632b67e08d1c977a52"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jamescdavis"}}