{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148","id":85227400,"html_url":"https://github.com/emfoundation/ce100-app/pull/148","diff_url":"https://github.com/emfoundation/ce100-app/pull/148.diff","patch_url":"https://github.com/emfoundation/ce100-app/pull/148.patch","issue_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/148","number":148,"state":"closed","locked":false,"title":"Split handlers using makechanges","user":{"login":"JMurphyWeb","id":12638261,"avatar_url":"https://avatars.githubusercontent.com/u/12638261?v=3","gravatar_id":"","url":"https://api.github.com/users/JMurphyWeb","html_url":"https://github.com/JMurphyWeb","followers_url":"https://api.github.com/users/JMurphyWeb/followers","following_url":"https://api.github.com/users/JMurphyWeb/following{/other_user}","gists_url":"https://api.github.com/users/JMurphyWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/JMurphyWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMurphyWeb/subscriptions","organizations_url":"https://api.github.com/users/JMurphyWeb/orgs","repos_url":"https://api.github.com/users/JMurphyWeb/repos","events_url":"https://api.github.com/users/JMurphyWeb/events{/privacy}","received_events_url":"https://api.github.com/users/JMurphyWeb/received_events","type":"User","site_admin":false},"body":"I think this contains everything from the previous PRs excluding make changes pr.\r\n\r\nI used make changes file structure, but for simplicity copied and pasted the handler functions into the files.\r\n\r\nI changed a couple of file names for consistency (eg all handlers that serve a view end in `-view.js`)\r\n\r\nI added a few lines in the activate-user handler to update the way we set a session.","created_at":"2016-09-14T13:28:33Z","updated_at":"2016-09-20T17:43:03Z","closed_at":"2016-09-20T17:43:02Z","merged_at":"2016-09-20T17:43:02Z","merge_commit_sha":"d5114aeda5f4aa8b46d38cffccfe78206b73b380","assignee":{"login":"nelsonic","id":194400,"avatar_url":"https://avatars.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false},"assignees":[{"login":"nelsonic","id":194400,"avatar_url":"https://avatars.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/emfoundation/ce100-app/milestones/2","html_url":"https://github.com/emfoundation/ce100-app/milestones/Sprint%202","labels_url":"https://api.github.com/repos/emfoundation/ce100-app/milestones/2/labels","id":1974741,"number":2,"title":"Sprint 2","description":"","creator":{"login":"iteles","id":4185328,"avatar_url":"https://avatars.githubusercontent.com/u/4185328?v=3","gravatar_id":"","url":"https://api.github.com/users/iteles","html_url":"https://github.com/iteles","followers_url":"https://api.github.com/users/iteles/followers","following_url":"https://api.github.com/users/iteles/following{/other_user}","gists_url":"https://api.github.com/users/iteles/gists{/gist_id}","starred_url":"https://api.github.com/users/iteles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iteles/subscriptions","organizations_url":"https://api.github.com/users/iteles/orgs","repos_url":"https://api.github.com/users/iteles/repos","events_url":"https://api.github.com/users/iteles/events{/privacy}","received_events_url":"https://api.github.com/users/iteles/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":7,"state":"open","created_at":"2016-08-31T10:17:53Z","updated_at":"2016-09-20T17:43:02Z","due_on":"2016-09-22T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148/commits","review_comments_url":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148/comments","review_comment_url":"https://api.github.com/repos/emfoundation/ce100-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/148/comments","statuses_url":"https://api.github.com/repos/emfoundation/ce100-app/statuses/1ab2db7e79aca656dbf571300658c5d34f62e7a6","head":{"label":"emfoundation:split-handlers-using-makechanges","ref":"split-handlers-using-makechanges","sha":"1ab2db7e79aca656dbf571300658c5d34f62e7a6","user":{"login":"emfoundation","id":20575658,"avatar_url":"https://avatars.githubusercontent.com/u/20575658?v=3","gravatar_id":"","url":"https://api.github.com/users/emfoundation","html_url":"https://github.com/emfoundation","followers_url":"https://api.github.com/users/emfoundation/followers","following_url":"https://api.github.com/users/emfoundation/following{/other_user}","gists_url":"https://api.github.com/users/emfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/emfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emfoundation/subscriptions","organizations_url":"https://api.github.com/users/emfoundation/orgs","repos_url":"https://api.github.com/users/emfoundation/repos","events_url":"https://api.github.com/users/emfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/emfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":63855092,"name":"ce100-app","full_name":"emfoundation/ce100-app","owner":{"login":"emfoundation","id":20575658,"avatar_url":"https://avatars.githubusercontent.com/u/20575658?v=3","gravatar_id":"","url":"https://api.github.com/users/emfoundation","html_url":"https://github.com/emfoundation","followers_url":"https://api.github.com/users/emfoundation/followers","following_url":"https://api.github.com/users/emfoundation/following{/other_user}","gists_url":"https://api.github.com/users/emfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/emfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emfoundation/subscriptions","organizations_url":"https://api.github.com/users/emfoundation/orgs","repos_url":"https://api.github.com/users/emfoundation/repos","events_url":"https://api.github.com/users/emfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/emfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emfoundation/ce100-app","description":"A networking, knowledge sharing and collaboration platform for the Circular Economy 100 network, an Ellen MacArthur Foundation programme.","fork":false,"url":"https://api.github.com/repos/emfoundation/ce100-app","forks_url":"https://api.github.com/repos/emfoundation/ce100-app/forks","keys_url":"https://api.github.com/repos/emfoundation/ce100-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emfoundation/ce100-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emfoundation/ce100-app/teams","hooks_url":"https://api.github.com/repos/emfoundation/ce100-app/hooks","issue_events_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/events{/number}","events_url":"https://api.github.com/repos/emfoundation/ce100-app/events","assignees_url":"https://api.github.com/repos/emfoundation/ce100-app/assignees{/user}","branches_url":"https://api.github.com/repos/emfoundation/ce100-app/branches{/branch}","tags_url":"https://api.github.com/repos/emfoundation/ce100-app/tags","blobs_url":"https://api.github.com/repos/emfoundation/ce100-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emfoundation/ce100-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emfoundation/ce100-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/emfoundation/ce100-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emfoundation/ce100-app/statuses/{sha}","languages_url":"https://api.github.com/repos/emfoundation/ce100-app/languages","stargazers_url":"https://api.github.com/repos/emfoundation/ce100-app/stargazers","contributors_url":"https://api.github.com/repos/emfoundation/ce100-app/contributors","subscribers_url":"https://api.github.com/repos/emfoundation/ce100-app/subscribers","subscription_url":"https://api.github.com/repos/emfoundation/ce100-app/subscription","commits_url":"https://api.github.com/repos/emfoundation/ce100-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/emfoundation/ce100-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/emfoundation/ce100-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/emfoundation/ce100-app/contents/{+path}","compare_url":"https://api.github.com/repos/emfoundation/ce100-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emfoundation/ce100-app/merges","archive_url":"https://api.github.com/repos/emfoundation/ce100-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emfoundation/ce100-app/downloads","issues_url":"https://api.github.com/repos/emfoundation/ce100-app/issues{/number}","pulls_url":"https://api.github.com/repos/emfoundation/ce100-app/pulls{/number}","milestones_url":"https://api.github.com/repos/emfoundation/ce100-app/milestones{/number}","notifications_url":"https://api.github.com/repos/emfoundation/ce100-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emfoundation/ce100-app/labels{/name}","releases_url":"https://api.github.com/repos/emfoundation/ce100-app/releases{/id}","deployments_url":"https://api.github.com/repos/emfoundation/ce100-app/deployments","created_at":"2016-07-21T09:17:10Z","updated_at":"2016-09-06T13:46:14Z","pushed_at":"2016-09-20T17:43:03Z","git_url":"git://github.com/emfoundation/ce100-app.git","ssh_url":"git@github.com:emfoundation/ce100-app.git","clone_url":"https://github.com/emfoundation/ce100-app.git","svn_url":"https://github.com/emfoundation/ce100-app","homepage":null,"size":405,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":103,"forks":0,"open_issues":103,"watchers":6,"default_branch":"master"}},"base":{"label":"emfoundation:master","ref":"master","sha":"84a366588bb62fa1a9f2084c75300521a1801e0f","user":{"login":"emfoundation","id":20575658,"avatar_url":"https://avatars.githubusercontent.com/u/20575658?v=3","gravatar_id":"","url":"https://api.github.com/users/emfoundation","html_url":"https://github.com/emfoundation","followers_url":"https://api.github.com/users/emfoundation/followers","following_url":"https://api.github.com/users/emfoundation/following{/other_user}","gists_url":"https://api.github.com/users/emfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/emfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emfoundation/subscriptions","organizations_url":"https://api.github.com/users/emfoundation/orgs","repos_url":"https://api.github.com/users/emfoundation/repos","events_url":"https://api.github.com/users/emfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/emfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":63855092,"name":"ce100-app","full_name":"emfoundation/ce100-app","owner":{"login":"emfoundation","id":20575658,"avatar_url":"https://avatars.githubusercontent.com/u/20575658?v=3","gravatar_id":"","url":"https://api.github.com/users/emfoundation","html_url":"https://github.com/emfoundation","followers_url":"https://api.github.com/users/emfoundation/followers","following_url":"https://api.github.com/users/emfoundation/following{/other_user}","gists_url":"https://api.github.com/users/emfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/emfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emfoundation/subscriptions","organizations_url":"https://api.github.com/users/emfoundation/orgs","repos_url":"https://api.github.com/users/emfoundation/repos","events_url":"https://api.github.com/users/emfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/emfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emfoundation/ce100-app","description":"A networking, knowledge sharing and collaboration platform for the Circular Economy 100 network, an Ellen MacArthur Foundation programme.","fork":false,"url":"https://api.github.com/repos/emfoundation/ce100-app","forks_url":"https://api.github.com/repos/emfoundation/ce100-app/forks","keys_url":"https://api.github.com/repos/emfoundation/ce100-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emfoundation/ce100-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emfoundation/ce100-app/teams","hooks_url":"https://api.github.com/repos/emfoundation/ce100-app/hooks","issue_events_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/events{/number}","events_url":"https://api.github.com/repos/emfoundation/ce100-app/events","assignees_url":"https://api.github.com/repos/emfoundation/ce100-app/assignees{/user}","branches_url":"https://api.github.com/repos/emfoundation/ce100-app/branches{/branch}","tags_url":"https://api.github.com/repos/emfoundation/ce100-app/tags","blobs_url":"https://api.github.com/repos/emfoundation/ce100-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emfoundation/ce100-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emfoundation/ce100-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/emfoundation/ce100-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emfoundation/ce100-app/statuses/{sha}","languages_url":"https://api.github.com/repos/emfoundation/ce100-app/languages","stargazers_url":"https://api.github.com/repos/emfoundation/ce100-app/stargazers","contributors_url":"https://api.github.com/repos/emfoundation/ce100-app/contributors","subscribers_url":"https://api.github.com/repos/emfoundation/ce100-app/subscribers","subscription_url":"https://api.github.com/repos/emfoundation/ce100-app/subscription","commits_url":"https://api.github.com/repos/emfoundation/ce100-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/emfoundation/ce100-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/emfoundation/ce100-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/emfoundation/ce100-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/emfoundation/ce100-app/contents/{+path}","compare_url":"https://api.github.com/repos/emfoundation/ce100-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emfoundation/ce100-app/merges","archive_url":"https://api.github.com/repos/emfoundation/ce100-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emfoundation/ce100-app/downloads","issues_url":"https://api.github.com/repos/emfoundation/ce100-app/issues{/number}","pulls_url":"https://api.github.com/repos/emfoundation/ce100-app/pulls{/number}","milestones_url":"https://api.github.com/repos/emfoundation/ce100-app/milestones{/number}","notifications_url":"https://api.github.com/repos/emfoundation/ce100-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emfoundation/ce100-app/labels{/name}","releases_url":"https://api.github.com/repos/emfoundation/ce100-app/releases{/id}","deployments_url":"https://api.github.com/repos/emfoundation/ce100-app/deployments","created_at":"2016-07-21T09:17:10Z","updated_at":"2016-09-06T13:46:14Z","pushed_at":"2016-09-20T17:43:03Z","git_url":"git://github.com/emfoundation/ce100-app.git","ssh_url":"git@github.com:emfoundation/ce100-app.git","clone_url":"https://github.com/emfoundation/ce100-app.git","svn_url":"https://github.com/emfoundation/ce100-app","homepage":null,"size":405,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":103,"forks":0,"open_issues":103,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148"},"html":{"href":"https://github.com/emfoundation/ce100-app/pull/148"},"issue":{"href":"https://api.github.com/repos/emfoundation/ce100-app/issues/148"},"comments":{"href":"https://api.github.com/repos/emfoundation/ce100-app/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/emfoundation/ce100-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emfoundation/ce100-app/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/emfoundation/ce100-app/statuses/1ab2db7e79aca656dbf571300658c5d34f62e7a6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nelsonic","id":194400,"avatar_url":"https://avatars.githubusercontent.com/u/194400?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonic","html_url":"https://github.com/nelsonic","followers_url":"https://api.github.com/users/nelsonic/followers","following_url":"https://api.github.com/users/nelsonic/following{/other_user}","gists_url":"https://api.github.com/users/nelsonic/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonic/subscriptions","organizations_url":"https://api.github.com/users/nelsonic/orgs","repos_url":"https://api.github.com/users/nelsonic/repos","events_url":"https://api.github.com/users/nelsonic/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonic/received_events","type":"User","site_admin":false},"comments":9,"review_comments":2,"commits":11,"additions":955,"deletions":569,"changed_files":43}}
{"actor":{"display_login":"nelsonic"}}