{"action":"created","comment":{"url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/comments/78428679","id":78428679,"diff_hunk":"@@ -269,7 +287,13 @@\n \r\n         if (vm.pform.email !== undefined) {\r\n           if (vm.pform.email.$touched === true) {\r\n-            vm.emailSet = true;\r\n+            if (vm.forTrips) {\r\n+              if (vm.oldEmail !== null && vm.oldEmail !== '') {\r\n+                vm.emailSet = true;\r","path":"crossroads.net/app/common/profile/personal/profilePersonal.controller.js","position":71,"original_position":71,"commit_id":"dc644b2ed50de7b5c4afe951ea9375e6754b3ede","original_commit_id":"dc644b2ed50de7b5c4afe951ea9375e6754b3ede","user":{"login":"andycanterbury","id":10052615,"avatar_url":"https://avatars.githubusercontent.com/u/10052615?v=3","gravatar_id":"","url":"https://api.github.com/users/andycanterbury","html_url":"https://github.com/andycanterbury","followers_url":"https://api.github.com/users/andycanterbury/followers","following_url":"https://api.github.com/users/andycanterbury/following{/other_user}","gists_url":"https://api.github.com/users/andycanterbury/gists{/gist_id}","starred_url":"https://api.github.com/users/andycanterbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andycanterbury/subscriptions","organizations_url":"https://api.github.com/users/andycanterbury/orgs","repos_url":"https://api.github.com/users/andycanterbury/repos","events_url":"https://api.github.com/users/andycanterbury/events{/privacy}","received_events_url":"https://api.github.com/users/andycanterbury/received_events","type":"User","site_admin":false},"body":"We want to make sure the email address only gets set once so we use the isSet flag to tell us if its ok to change it. vm.emailSet is used to flag if we need to show the password prompt when changing email or password. ","created_at":"2016-09-12T18:33:34Z","updated_at":"2016-09-12T18:33:34Z","html_url":"https://github.com/crdschurch/crds-angular/pull/2822#discussion_r78428679","pull_request_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822","_links":{"self":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/comments/78428679"},"html":{"href":"https://github.com/crdschurch/crds-angular/pull/2822#discussion_r78428679"},"pull_request":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822"}}},"pull_request":{"url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822","id":84869092,"html_url":"https://github.com/crdschurch/crds-angular/pull/2822","diff_url":"https://github.com/crdschurch/crds-angular/pull/2822.diff","patch_url":"https://github.com/crdschurch/crds-angular/pull/2822.patch","issue_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/2822","number":2822,"state":"open","locked":false,"title":"US4911 improvements to email handling on profile","user":{"login":"andycanterbury","id":10052615,"avatar_url":"https://avatars.githubusercontent.com/u/10052615?v=3","gravatar_id":"","url":"https://api.github.com/users/andycanterbury","html_url":"https://github.com/andycanterbury","followers_url":"https://api.github.com/users/andycanterbury/followers","following_url":"https://api.github.com/users/andycanterbury/following{/other_user}","gists_url":"https://api.github.com/users/andycanterbury/gists{/gist_id}","starred_url":"https://api.github.com/users/andycanterbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andycanterbury/subscriptions","organizations_url":"https://api.github.com/users/andycanterbury/orgs","repos_url":"https://api.github.com/users/andycanterbury/repos","events_url":"https://api.github.com/users/andycanterbury/events{/privacy}","received_events_url":"https://api.github.com/users/andycanterbury/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-12T13:16:24Z","updated_at":"2016-09-12T18:33:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee3ce4e60ff0c57c04f7f6d9c57dc4c6f060df63","assignee":{"login":"charlie-retzler","id":3252288,"avatar_url":"https://avatars.githubusercontent.com/u/3252288?v=3","gravatar_id":"","url":"https://api.github.com/users/charlie-retzler","html_url":"https://github.com/charlie-retzler","followers_url":"https://api.github.com/users/charlie-retzler/followers","following_url":"https://api.github.com/users/charlie-retzler/following{/other_user}","gists_url":"https://api.github.com/users/charlie-retzler/gists{/gist_id}","starred_url":"https://api.github.com/users/charlie-retzler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlie-retzler/subscriptions","organizations_url":"https://api.github.com/users/charlie-retzler/orgs","repos_url":"https://api.github.com/users/charlie-retzler/repos","events_url":"https://api.github.com/users/charlie-retzler/events{/privacy}","received_events_url":"https://api.github.com/users/charlie-retzler/received_events","type":"User","site_admin":false},"assignees":[{"login":"charlie-retzler","id":3252288,"avatar_url":"https://avatars.githubusercontent.com/u/3252288?v=3","gravatar_id":"","url":"https://api.github.com/users/charlie-retzler","html_url":"https://github.com/charlie-retzler","followers_url":"https://api.github.com/users/charlie-retzler/followers","following_url":"https://api.github.com/users/charlie-retzler/following{/other_user}","gists_url":"https://api.github.com/users/charlie-retzler/gists{/gist_id}","starred_url":"https://api.github.com/users/charlie-retzler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlie-retzler/subscriptions","organizations_url":"https://api.github.com/users/charlie-retzler/orgs","repos_url":"https://api.github.com/users/charlie-retzler/repos","events_url":"https://api.github.com/users/charlie-retzler/events{/privacy}","received_events_url":"https://api.github.com/users/charlie-retzler/received_events","type":"User","site_admin":false},{"login":"IngageKrizJ","id":11178122,"avatar_url":"https://avatars.githubusercontent.com/u/11178122?v=3","gravatar_id":"","url":"https://api.github.com/users/IngageKrizJ","html_url":"https://github.com/IngageKrizJ","followers_url":"https://api.github.com/users/IngageKrizJ/followers","following_url":"https://api.github.com/users/IngageKrizJ/following{/other_user}","gists_url":"https://api.github.com/users/IngageKrizJ/gists{/gist_id}","starred_url":"https://api.github.com/users/IngageKrizJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngageKrizJ/subscriptions","organizations_url":"https://api.github.com/users/IngageKrizJ/orgs","repos_url":"https://api.github.com/users/IngageKrizJ/repos","events_url":"https://api.github.com/users/IngageKrizJ/events{/privacy}","received_events_url":"https://api.github.com/users/IngageKrizJ/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/crdschurch/crds-angular/milestones/19","html_url":"https://github.com/crdschurch/crds-angular/milestones/F186:%20Trip%20Deposit","labels_url":"https://api.github.com/repos/crdschurch/crds-angular/milestones/19/labels","id":1921152,"number":19,"title":"F186: Trip Deposit","description":"Childcare was implemented as a base system to which improvements would be made in the future. The childcare system needs to better equip crossroads staff with an accurate count of children coming, limits parents from checking in a child that they have not indicated would be there, will parents allow an online system for managing childcare needs, and will provide better reporting options for the crossroads staff at each site.\r\n\r\nThe biggest change is the community members RSVP for each event of the group upfront & being able to modify that as they go.","creator":{"login":"silbermm","id":42816,"avatar_url":"https://avatars.githubusercontent.com/u/42816?v=3","gravatar_id":"","url":"https://api.github.com/users/silbermm","html_url":"https://github.com/silbermm","followers_url":"https://api.github.com/users/silbermm/followers","following_url":"https://api.github.com/users/silbermm/following{/other_user}","gists_url":"https://api.github.com/users/silbermm/gists{/gist_id}","starred_url":"https://api.github.com/users/silbermm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silbermm/subscriptions","organizations_url":"https://api.github.com/users/silbermm/orgs","repos_url":"https://api.github.com/users/silbermm/repos","events_url":"https://api.github.com/users/silbermm/events{/privacy}","received_events_url":"https://api.github.com/users/silbermm/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":35,"state":"open","created_at":"2016-08-03T14:59:20Z","updated_at":"2016-09-12T15:13:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822/commits","review_comments_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822/comments","review_comment_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/2822/comments","statuses_url":"https://api.github.com/repos/crdschurch/crds-angular/statuses/dc644b2ed50de7b5c4afe951ea9375e6754b3ede","head":{"label":"crdschurch:feature/US4911-ChangeSpouseProfiileForTrip","ref":"feature/US4911-ChangeSpouseProfiileForTrip","sha":"dc644b2ed50de7b5c4afe951ea9375e6754b3ede","user":{"login":"crdschurch","id":1843144,"avatar_url":"https://avatars.githubusercontent.com/u/1843144?v=3","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":26870034,"name":"crds-angular","full_name":"crdschurch/crds-angular","owner":{"login":"crdschurch","id":1843144,"avatar_url":"https://avatars.githubusercontent.com/u/1843144?v=3","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crdschurch/crds-angular","description":"Starting point for angular development at crossroads","fork":false,"url":"https://api.github.com/repos/crdschurch/crds-angular","forks_url":"https://api.github.com/repos/crdschurch/crds-angular/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-angular/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-angular/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-angular/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-angular/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-angular/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-angular/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-angular/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-angular/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-angular/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-angular/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-angular/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-angular/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-angular/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-angular/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-angular/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-angular/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-angular/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-angular/deployments","created_at":"2014-11-19T16:21:09Z","updated_at":"2016-08-25T00:55:26Z","pushed_at":"2016-09-12T18:30:24Z","git_url":"git://github.com/crdschurch/crds-angular.git","ssh_url":"git@github.com:crdschurch/crds-angular.git","clone_url":"https://github.com/crdschurch/crds-angular.git","svn_url":"https://github.com/crdschurch/crds-angular","homepage":null,"size":47526,"stargazers_count":4,"watchers_count":4,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":4,"default_branch":"development"}},"base":{"label":"crdschurch:development","ref":"development","sha":"fb2f0bce27783cc97ed5b3595ad2ef1950fb7c05","user":{"login":"crdschurch","id":1843144,"avatar_url":"https://avatars.githubusercontent.com/u/1843144?v=3","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"repo":{"id":26870034,"name":"crds-angular","full_name":"crdschurch/crds-angular","owner":{"login":"crdschurch","id":1843144,"avatar_url":"https://avatars.githubusercontent.com/u/1843144?v=3","gravatar_id":"","url":"https://api.github.com/users/crdschurch","html_url":"https://github.com/crdschurch","followers_url":"https://api.github.com/users/crdschurch/followers","following_url":"https://api.github.com/users/crdschurch/following{/other_user}","gists_url":"https://api.github.com/users/crdschurch/gists{/gist_id}","starred_url":"https://api.github.com/users/crdschurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crdschurch/subscriptions","organizations_url":"https://api.github.com/users/crdschurch/orgs","repos_url":"https://api.github.com/users/crdschurch/repos","events_url":"https://api.github.com/users/crdschurch/events{/privacy}","received_events_url":"https://api.github.com/users/crdschurch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crdschurch/crds-angular","description":"Starting point for angular development at crossroads","fork":false,"url":"https://api.github.com/repos/crdschurch/crds-angular","forks_url":"https://api.github.com/repos/crdschurch/crds-angular/forks","keys_url":"https://api.github.com/repos/crdschurch/crds-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crdschurch/crds-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crdschurch/crds-angular/teams","hooks_url":"https://api.github.com/repos/crdschurch/crds-angular/hooks","issue_events_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/events{/number}","events_url":"https://api.github.com/repos/crdschurch/crds-angular/events","assignees_url":"https://api.github.com/repos/crdschurch/crds-angular/assignees{/user}","branches_url":"https://api.github.com/repos/crdschurch/crds-angular/branches{/branch}","tags_url":"https://api.github.com/repos/crdschurch/crds-angular/tags","blobs_url":"https://api.github.com/repos/crdschurch/crds-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crdschurch/crds-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crdschurch/crds-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/crdschurch/crds-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crdschurch/crds-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/crdschurch/crds-angular/languages","stargazers_url":"https://api.github.com/repos/crdschurch/crds-angular/stargazers","contributors_url":"https://api.github.com/repos/crdschurch/crds-angular/contributors","subscribers_url":"https://api.github.com/repos/crdschurch/crds-angular/subscribers","subscription_url":"https://api.github.com/repos/crdschurch/crds-angular/subscription","commits_url":"https://api.github.com/repos/crdschurch/crds-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/crdschurch/crds-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/crdschurch/crds-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/crdschurch/crds-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/crdschurch/crds-angular/contents/{+path}","compare_url":"https://api.github.com/repos/crdschurch/crds-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crdschurch/crds-angular/merges","archive_url":"https://api.github.com/repos/crdschurch/crds-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crdschurch/crds-angular/downloads","issues_url":"https://api.github.com/repos/crdschurch/crds-angular/issues{/number}","pulls_url":"https://api.github.com/repos/crdschurch/crds-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/crdschurch/crds-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/crdschurch/crds-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crdschurch/crds-angular/labels{/name}","releases_url":"https://api.github.com/repos/crdschurch/crds-angular/releases{/id}","deployments_url":"https://api.github.com/repos/crdschurch/crds-angular/deployments","created_at":"2014-11-19T16:21:09Z","updated_at":"2016-08-25T00:55:26Z","pushed_at":"2016-09-12T18:30:24Z","git_url":"git://github.com/crdschurch/crds-angular.git","ssh_url":"git@github.com:crdschurch/crds-angular.git","clone_url":"https://github.com/crdschurch/crds-angular.git","svn_url":"https://github.com/crdschurch/crds-angular","homepage":null,"size":47526,"stargazers_count":4,"watchers_count":4,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":4,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822"},"html":{"href":"https://github.com/crdschurch/crds-angular/pull/2822"},"issue":{"href":"https://api.github.com/repos/crdschurch/crds-angular/issues/2822"},"comments":{"href":"https://api.github.com/repos/crdschurch/crds-angular/issues/2822/comments"},"review_comments":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822/comments"},"review_comment":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crdschurch/crds-angular/pulls/2822/commits"},"statuses":{"href":"https://api.github.com/repos/crdschurch/crds-angular/statuses/dc644b2ed50de7b5c4afe951ea9375e6754b3ede"}}}}
{"actor":{"display_login":"andycanterbury"}}