{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19","id":73066876,"html_url":"https://github.com/danfstucky/LeagueSpec/pull/19","diff_url":"https://github.com/danfstucky/LeagueSpec/pull/19.diff","patch_url":"https://github.com/danfstucky/LeagueSpec/pull/19.patch","issue_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/19","number":19,"state":"closed","locked":false,"title":"Account Activation and Password Reset","user":{"login":"danfstucky","id":13394759,"avatar_url":"https://avatars.githubusercontent.com/u/13394759?v=3","gravatar_id":"","url":"https://api.github.com/users/danfstucky","html_url":"https://github.com/danfstucky","followers_url":"https://api.github.com/users/danfstucky/followers","following_url":"https://api.github.com/users/danfstucky/following{/other_user}","gists_url":"https://api.github.com/users/danfstucky/gists{/gist_id}","starred_url":"https://api.github.com/users/danfstucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfstucky/subscriptions","organizations_url":"https://api.github.com/users/danfstucky/orgs","repos_url":"https://api.github.com/users/danfstucky/repos","events_url":"https://api.github.com/users/danfstucky/events{/privacy}","received_events_url":"https://api.github.com/users/danfstucky/received_events","type":"User","site_admin":false},"body":"@sl7v3 @jwiebe17 \r\nThis branch requires accounts to be activated by verifying an email address and also allows users to reset passwords.  In both cases, the app sends an email to the user.  This isnt fully allowed in development environment however so you will not actually receive an email at the given address, but all the important code is here and can be tested to mock the real thing.\r\n\r\nSteps to reproduce:\r\nWhenever you signup a new account you will be notified that you need to activate it.\r\nActivating an account requires visiting a link inside an email.  For a dev environment, you can find this link inside your terminal after you create the account.  It will be something similar to localhost:3000/account_activations/BXwekqKg4BPDKKK5p9NC4Q/edit?email=example1%40example.com.  Copy paste your link into the browser and you will be notified that your account has been activated.\r\nThe process is very similar for resetting a password.\r\n\r\nYou can also preview the emails that are sent here:\r\nAccount Activation: http://localhost:3000/rails/mailers/user_mailer/account_activation\r\nPW Reset: http://localhost:3000/rails/mailers/user_mailer/password_reset\r\n\r\nEmail previewing for a dev environment is made possible by the `test/mailers/previews/user_mailer_preview.rb` class and you can find the above links commented into that class as well.\r\n\r\nJust to clarify, this only completely works in the dev environment.  We don't actually even have a production environment yet, but for it to work in prod a few more things will need to be added in the future.","created_at":"2016-06-08T15:21:11Z","updated_at":"2016-06-16T23:24:38Z","closed_at":"2016-06-16T23:24:38Z","merged_at":null,"merge_commit_sha":"532a76528ae376ebe64c9c6150afd488ae73cf86","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19/commits","review_comments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19/comments","review_comment_url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/19/comments","statuses_url":"https://api.github.com/repos/danfstucky/LeagueSpec/statuses/7ea7e15ff965819949077d49b17dc8b97b52688f","head":{"label":"danfstucky:activation-reset","ref":"activation-reset","sha":"7ea7e15ff965819949077d49b17dc8b97b52688f","user":{"login":"danfstucky","id":13394759,"avatar_url":"https://avatars.githubusercontent.com/u/13394759?v=3","gravatar_id":"","url":"https://api.github.com/users/danfstucky","html_url":"https://github.com/danfstucky","followers_url":"https://api.github.com/users/danfstucky/followers","following_url":"https://api.github.com/users/danfstucky/following{/other_user}","gists_url":"https://api.github.com/users/danfstucky/gists{/gist_id}","starred_url":"https://api.github.com/users/danfstucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfstucky/subscriptions","organizations_url":"https://api.github.com/users/danfstucky/orgs","repos_url":"https://api.github.com/users/danfstucky/repos","events_url":"https://api.github.com/users/danfstucky/events{/privacy}","received_events_url":"https://api.github.com/users/danfstucky/received_events","type":"User","site_admin":false},"repo":{"id":48957128,"name":"LeagueSpec","full_name":"danfstucky/LeagueSpec","owner":{"login":"danfstucky","id":13394759,"avatar_url":"https://avatars.githubusercontent.com/u/13394759?v=3","gravatar_id":"","url":"https://api.github.com/users/danfstucky","html_url":"https://github.com/danfstucky","followers_url":"https://api.github.com/users/danfstucky/followers","following_url":"https://api.github.com/users/danfstucky/following{/other_user}","gists_url":"https://api.github.com/users/danfstucky/gists{/gist_id}","starred_url":"https://api.github.com/users/danfstucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfstucky/subscriptions","organizations_url":"https://api.github.com/users/danfstucky/orgs","repos_url":"https://api.github.com/users/danfstucky/repos","events_url":"https://api.github.com/users/danfstucky/events{/privacy}","received_events_url":"https://api.github.com/users/danfstucky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danfstucky/LeagueSpec","description":"","fork":false,"url":"https://api.github.com/repos/danfstucky/LeagueSpec","forks_url":"https://api.github.com/repos/danfstucky/LeagueSpec/forks","keys_url":"https://api.github.com/repos/danfstucky/LeagueSpec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danfstucky/LeagueSpec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danfstucky/LeagueSpec/teams","hooks_url":"https://api.github.com/repos/danfstucky/LeagueSpec/hooks","issue_events_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/events{/number}","events_url":"https://api.github.com/repos/danfstucky/LeagueSpec/events","assignees_url":"https://api.github.com/repos/danfstucky/LeagueSpec/assignees{/user}","branches_url":"https://api.github.com/repos/danfstucky/LeagueSpec/branches{/branch}","tags_url":"https://api.github.com/repos/danfstucky/LeagueSpec/tags","blobs_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/refs{/sha}","trees_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danfstucky/LeagueSpec/statuses/{sha}","languages_url":"https://api.github.com/repos/danfstucky/LeagueSpec/languages","stargazers_url":"https://api.github.com/repos/danfstucky/LeagueSpec/stargazers","contributors_url":"https://api.github.com/repos/danfstucky/LeagueSpec/contributors","subscribers_url":"https://api.github.com/repos/danfstucky/LeagueSpec/subscribers","subscription_url":"https://api.github.com/repos/danfstucky/LeagueSpec/subscription","commits_url":"https://api.github.com/repos/danfstucky/LeagueSpec/commits{/sha}","git_commits_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/commits{/sha}","comments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/comments{/number}","issue_comment_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/comments{/number}","contents_url":"https://api.github.com/repos/danfstucky/LeagueSpec/contents/{+path}","compare_url":"https://api.github.com/repos/danfstucky/LeagueSpec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danfstucky/LeagueSpec/merges","archive_url":"https://api.github.com/repos/danfstucky/LeagueSpec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danfstucky/LeagueSpec/downloads","issues_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues{/number}","pulls_url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls{/number}","milestones_url":"https://api.github.com/repos/danfstucky/LeagueSpec/milestones{/number}","notifications_url":"https://api.github.com/repos/danfstucky/LeagueSpec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danfstucky/LeagueSpec/labels{/name}","releases_url":"https://api.github.com/repos/danfstucky/LeagueSpec/releases{/id}","deployments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/deployments","created_at":"2016-01-03T18:58:41Z","updated_at":"2016-01-12T01:13:00Z","pushed_at":"2016-06-16T23:22:20Z","git_url":"git://github.com/danfstucky/LeagueSpec.git","ssh_url":"git@github.com:danfstucky/LeagueSpec.git","clone_url":"https://github.com/danfstucky/LeagueSpec.git","svn_url":"https://github.com/danfstucky/LeagueSpec","homepage":null,"size":9502,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"danfstucky:master","ref":"master","sha":"cf9b0313f1fa58c380ce25d96268f3333d93441c","user":{"login":"danfstucky","id":13394759,"avatar_url":"https://avatars.githubusercontent.com/u/13394759?v=3","gravatar_id":"","url":"https://api.github.com/users/danfstucky","html_url":"https://github.com/danfstucky","followers_url":"https://api.github.com/users/danfstucky/followers","following_url":"https://api.github.com/users/danfstucky/following{/other_user}","gists_url":"https://api.github.com/users/danfstucky/gists{/gist_id}","starred_url":"https://api.github.com/users/danfstucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfstucky/subscriptions","organizations_url":"https://api.github.com/users/danfstucky/orgs","repos_url":"https://api.github.com/users/danfstucky/repos","events_url":"https://api.github.com/users/danfstucky/events{/privacy}","received_events_url":"https://api.github.com/users/danfstucky/received_events","type":"User","site_admin":false},"repo":{"id":48957128,"name":"LeagueSpec","full_name":"danfstucky/LeagueSpec","owner":{"login":"danfstucky","id":13394759,"avatar_url":"https://avatars.githubusercontent.com/u/13394759?v=3","gravatar_id":"","url":"https://api.github.com/users/danfstucky","html_url":"https://github.com/danfstucky","followers_url":"https://api.github.com/users/danfstucky/followers","following_url":"https://api.github.com/users/danfstucky/following{/other_user}","gists_url":"https://api.github.com/users/danfstucky/gists{/gist_id}","starred_url":"https://api.github.com/users/danfstucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfstucky/subscriptions","organizations_url":"https://api.github.com/users/danfstucky/orgs","repos_url":"https://api.github.com/users/danfstucky/repos","events_url":"https://api.github.com/users/danfstucky/events{/privacy}","received_events_url":"https://api.github.com/users/danfstucky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danfstucky/LeagueSpec","description":"","fork":false,"url":"https://api.github.com/repos/danfstucky/LeagueSpec","forks_url":"https://api.github.com/repos/danfstucky/LeagueSpec/forks","keys_url":"https://api.github.com/repos/danfstucky/LeagueSpec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danfstucky/LeagueSpec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danfstucky/LeagueSpec/teams","hooks_url":"https://api.github.com/repos/danfstucky/LeagueSpec/hooks","issue_events_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/events{/number}","events_url":"https://api.github.com/repos/danfstucky/LeagueSpec/events","assignees_url":"https://api.github.com/repos/danfstucky/LeagueSpec/assignees{/user}","branches_url":"https://api.github.com/repos/danfstucky/LeagueSpec/branches{/branch}","tags_url":"https://api.github.com/repos/danfstucky/LeagueSpec/tags","blobs_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/refs{/sha}","trees_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danfstucky/LeagueSpec/statuses/{sha}","languages_url":"https://api.github.com/repos/danfstucky/LeagueSpec/languages","stargazers_url":"https://api.github.com/repos/danfstucky/LeagueSpec/stargazers","contributors_url":"https://api.github.com/repos/danfstucky/LeagueSpec/contributors","subscribers_url":"https://api.github.com/repos/danfstucky/LeagueSpec/subscribers","subscription_url":"https://api.github.com/repos/danfstucky/LeagueSpec/subscription","commits_url":"https://api.github.com/repos/danfstucky/LeagueSpec/commits{/sha}","git_commits_url":"https://api.github.com/repos/danfstucky/LeagueSpec/git/commits{/sha}","comments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/comments{/number}","issue_comment_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/comments{/number}","contents_url":"https://api.github.com/repos/danfstucky/LeagueSpec/contents/{+path}","compare_url":"https://api.github.com/repos/danfstucky/LeagueSpec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danfstucky/LeagueSpec/merges","archive_url":"https://api.github.com/repos/danfstucky/LeagueSpec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danfstucky/LeagueSpec/downloads","issues_url":"https://api.github.com/repos/danfstucky/LeagueSpec/issues{/number}","pulls_url":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls{/number}","milestones_url":"https://api.github.com/repos/danfstucky/LeagueSpec/milestones{/number}","notifications_url":"https://api.github.com/repos/danfstucky/LeagueSpec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danfstucky/LeagueSpec/labels{/name}","releases_url":"https://api.github.com/repos/danfstucky/LeagueSpec/releases{/id}","deployments_url":"https://api.github.com/repos/danfstucky/LeagueSpec/deployments","created_at":"2016-01-03T18:58:41Z","updated_at":"2016-01-12T01:13:00Z","pushed_at":"2016-06-16T23:22:20Z","git_url":"git://github.com/danfstucky/LeagueSpec.git","ssh_url":"git@github.com:danfstucky/LeagueSpec.git","clone_url":"https://github.com/danfstucky/LeagueSpec.git","svn_url":"https://github.com/danfstucky/LeagueSpec","homepage":null,"size":9502,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19"},"html":{"href":"https://github.com/danfstucky/LeagueSpec/pull/19"},"issue":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/19"},"comments":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/danfstucky/LeagueSpec/statuses/7ea7e15ff965819949077d49b17dc8b97b52688f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":2,"additions":341,"deletions":68,"changed_files":35}}
{"actor":{"display_login":"danfstucky"}}