{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/mozecode/dose/pulls/7","id":150620297,"html_url":"https://github.com/mozecode/dose/pull/7","diff_url":"https://github.com/mozecode/dose/pull/7.diff","patch_url":"https://github.com/mozecode/dose/pull/7.patch","issue_url":"https://api.github.com/repos/mozecode/dose/issues/7","number":7,"state":"open","locked":false,"title":"Gm edit","user":{"login":"mozecode","id":25783473,"avatar_url":"https://avatars0.githubusercontent.com/u/25783473?v=4","gravatar_id":"","url":"https://api.github.com/users/mozecode","html_url":"https://github.com/mozecode","followers_url":"https://api.github.com/users/mozecode/followers","following_url":"https://api.github.com/users/mozecode/following{/other_user}","gists_url":"https://api.github.com/users/mozecode/gists{/gist_id}","starred_url":"https://api.github.com/users/mozecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozecode/subscriptions","organizations_url":"https://api.github.com/users/mozecode/orgs","repos_url":"https://api.github.com/users/mozecode/repos","events_url":"https://api.github.com/users/mozecode/events{/privacy}","received_events_url":"https://api.github.com/users/mozecode/received_events","type":"User","site_admin":false},"body":"I made the following changes:\r\n\r\n- add isLoggedIn function,\r\n- add protection to routes,\r\n- add partial for welcome message, include in index for non authenticated users, \r\n- alter update one script form to make it more user friendly, \r\n- tweak prescription ctrl update and post functions\r\n- refactor create script form for consistency with update Script form\r\n- revamp create script with examples for users as placeholders\r\n\r\nTo test:  \r\n- Run ```npm start``` and go to ```localhost:4000```\r\n- Test all of the crud functionality again, avoiding the set reminders link.\r\n","created_at":"2017-11-03T20:20:15Z","updated_at":"2017-11-03T20:20:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozecode/dose/pulls/7/commits","review_comments_url":"https://api.github.com/repos/mozecode/dose/pulls/7/comments","review_comment_url":"https://api.github.com/repos/mozecode/dose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozecode/dose/issues/7/comments","statuses_url":"https://api.github.com/repos/mozecode/dose/statuses/d7abed00e6795b4258c1661c4ec870bca6c40d19","head":{"label":"mozecode:GM_edit","ref":"GM_edit","sha":"d7abed00e6795b4258c1661c4ec870bca6c40d19","user":{"login":"mozecode","id":25783473,"avatar_url":"https://avatars0.githubusercontent.com/u/25783473?v=4","gravatar_id":"","url":"https://api.github.com/users/mozecode","html_url":"https://github.com/mozecode","followers_url":"https://api.github.com/users/mozecode/followers","following_url":"https://api.github.com/users/mozecode/following{/other_user}","gists_url":"https://api.github.com/users/mozecode/gists{/gist_id}","starred_url":"https://api.github.com/users/mozecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozecode/subscriptions","organizations_url":"https://api.github.com/users/mozecode/orgs","repos_url":"https://api.github.com/users/mozecode/repos","events_url":"https://api.github.com/users/mozecode/events{/privacy}","received_events_url":"https://api.github.com/users/mozecode/received_events","type":"User","site_admin":false},"repo":{"id":107833077,"name":"dose","full_name":"mozecode/dose","owner":{"login":"mozecode","id":25783473,"avatar_url":"https://avatars0.githubusercontent.com/u/25783473?v=4","gravatar_id":"","url":"https://api.github.com/users/mozecode","html_url":"https://github.com/mozecode","followers_url":"https://api.github.com/users/mozecode/followers","following_url":"https://api.github.com/users/mozecode/following{/other_user}","gists_url":"https://api.github.com/users/mozecode/gists{/gist_id}","starred_url":"https://api.github.com/users/mozecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozecode/subscriptions","organizations_url":"https://api.github.com/users/mozecode/orgs","repos_url":"https://api.github.com/users/mozecode/repos","events_url":"https://api.github.com/users/mozecode/events{/privacy}","received_events_url":"https://api.github.com/users/mozecode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mozecode/dose","description":"Coming soon:  Dose is a full-stack medication tracking application built with Node.js, jQuery, Express, Sequelize, PostgreSQL, Pug, Bootstrap, and Passport.","fork":false,"url":"https://api.github.com/repos/mozecode/dose","forks_url":"https://api.github.com/repos/mozecode/dose/forks","keys_url":"https://api.github.com/repos/mozecode/dose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozecode/dose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozecode/dose/teams","hooks_url":"https://api.github.com/repos/mozecode/dose/hooks","issue_events_url":"https://api.github.com/repos/mozecode/dose/issues/events{/number}","events_url":"https://api.github.com/repos/mozecode/dose/events","assignees_url":"https://api.github.com/repos/mozecode/dose/assignees{/user}","branches_url":"https://api.github.com/repos/mozecode/dose/branches{/branch}","tags_url":"https://api.github.com/repos/mozecode/dose/tags","blobs_url":"https://api.github.com/repos/mozecode/dose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozecode/dose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozecode/dose/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozecode/dose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozecode/dose/statuses/{sha}","languages_url":"https://api.github.com/repos/mozecode/dose/languages","stargazers_url":"https://api.github.com/repos/mozecode/dose/stargazers","contributors_url":"https://api.github.com/repos/mozecode/dose/contributors","subscribers_url":"https://api.github.com/repos/mozecode/dose/subscribers","subscription_url":"https://api.github.com/repos/mozecode/dose/subscription","commits_url":"https://api.github.com/repos/mozecode/dose/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozecode/dose/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozecode/dose/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozecode/dose/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozecode/dose/contents/{+path}","compare_url":"https://api.github.com/repos/mozecode/dose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozecode/dose/merges","archive_url":"https://api.github.com/repos/mozecode/dose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozecode/dose/downloads","issues_url":"https://api.github.com/repos/mozecode/dose/issues{/number}","pulls_url":"https://api.github.com/repos/mozecode/dose/pulls{/number}","milestones_url":"https://api.github.com/repos/mozecode/dose/milestones{/number}","notifications_url":"https://api.github.com/repos/mozecode/dose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozecode/dose/labels{/name}","releases_url":"https://api.github.com/repos/mozecode/dose/releases{/id}","deployments_url":"https://api.github.com/repos/mozecode/dose/deployments","created_at":"2017-10-22T03:01:57Z","updated_at":"2017-10-31T21:10:32Z","pushed_at":"2017-11-03T20:14:31Z","git_url":"git://github.com/mozecode/dose.git","ssh_url":"git@github.com:mozecode/dose.git","clone_url":"https://github.com/mozecode/dose.git","svn_url":"https://github.com/mozecode/dose","homepage":"","size":56,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mozecode:master","ref":"master","sha":"2ef9f061125429a15c50e7711264ee05379d4aa7","user":{"login":"mozecode","id":25783473,"avatar_url":"https://avatars0.githubusercontent.com/u/25783473?v=4","gravatar_id":"","url":"https://api.github.com/users/mozecode","html_url":"https://github.com/mozecode","followers_url":"https://api.github.com/users/mozecode/followers","following_url":"https://api.github.com/users/mozecode/following{/other_user}","gists_url":"https://api.github.com/users/mozecode/gists{/gist_id}","starred_url":"https://api.github.com/users/mozecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozecode/subscriptions","organizations_url":"https://api.github.com/users/mozecode/orgs","repos_url":"https://api.github.com/users/mozecode/repos","events_url":"https://api.github.com/users/mozecode/events{/privacy}","received_events_url":"https://api.github.com/users/mozecode/received_events","type":"User","site_admin":false},"repo":{"id":107833077,"name":"dose","full_name":"mozecode/dose","owner":{"login":"mozecode","id":25783473,"avatar_url":"https://avatars0.githubusercontent.com/u/25783473?v=4","gravatar_id":"","url":"https://api.github.com/users/mozecode","html_url":"https://github.com/mozecode","followers_url":"https://api.github.com/users/mozecode/followers","following_url":"https://api.github.com/users/mozecode/following{/other_user}","gists_url":"https://api.github.com/users/mozecode/gists{/gist_id}","starred_url":"https://api.github.com/users/mozecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozecode/subscriptions","organizations_url":"https://api.github.com/users/mozecode/orgs","repos_url":"https://api.github.com/users/mozecode/repos","events_url":"https://api.github.com/users/mozecode/events{/privacy}","received_events_url":"https://api.github.com/users/mozecode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mozecode/dose","description":"Coming soon:  Dose is a full-stack medication tracking application built with Node.js, jQuery, Express, Sequelize, PostgreSQL, Pug, Bootstrap, and Passport.","fork":false,"url":"https://api.github.com/repos/mozecode/dose","forks_url":"https://api.github.com/repos/mozecode/dose/forks","keys_url":"https://api.github.com/repos/mozecode/dose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozecode/dose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozecode/dose/teams","hooks_url":"https://api.github.com/repos/mozecode/dose/hooks","issue_events_url":"https://api.github.com/repos/mozecode/dose/issues/events{/number}","events_url":"https://api.github.com/repos/mozecode/dose/events","assignees_url":"https://api.github.com/repos/mozecode/dose/assignees{/user}","branches_url":"https://api.github.com/repos/mozecode/dose/branches{/branch}","tags_url":"https://api.github.com/repos/mozecode/dose/tags","blobs_url":"https://api.github.com/repos/mozecode/dose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozecode/dose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozecode/dose/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozecode/dose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozecode/dose/statuses/{sha}","languages_url":"https://api.github.com/repos/mozecode/dose/languages","stargazers_url":"https://api.github.com/repos/mozecode/dose/stargazers","contributors_url":"https://api.github.com/repos/mozecode/dose/contributors","subscribers_url":"https://api.github.com/repos/mozecode/dose/subscribers","subscription_url":"https://api.github.com/repos/mozecode/dose/subscription","commits_url":"https://api.github.com/repos/mozecode/dose/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozecode/dose/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozecode/dose/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozecode/dose/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozecode/dose/contents/{+path}","compare_url":"https://api.github.com/repos/mozecode/dose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozecode/dose/merges","archive_url":"https://api.github.com/repos/mozecode/dose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozecode/dose/downloads","issues_url":"https://api.github.com/repos/mozecode/dose/issues{/number}","pulls_url":"https://api.github.com/repos/mozecode/dose/pulls{/number}","milestones_url":"https://api.github.com/repos/mozecode/dose/milestones{/number}","notifications_url":"https://api.github.com/repos/mozecode/dose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozecode/dose/labels{/name}","releases_url":"https://api.github.com/repos/mozecode/dose/releases{/id}","deployments_url":"https://api.github.com/repos/mozecode/dose/deployments","created_at":"2017-10-22T03:01:57Z","updated_at":"2017-10-31T21:10:32Z","pushed_at":"2017-11-03T20:14:31Z","git_url":"git://github.com/mozecode/dose.git","ssh_url":"git@github.com:mozecode/dose.git","clone_url":"https://github.com/mozecode/dose.git","svn_url":"https://github.com/mozecode/dose","homepage":"","size":56,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozecode/dose/pulls/7"},"html":{"href":"https://github.com/mozecode/dose/pull/7"},"issue":{"href":"https://api.github.com/repos/mozecode/dose/issues/7"},"comments":{"href":"https://api.github.com/repos/mozecode/dose/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/mozecode/dose/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/mozecode/dose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozecode/dose/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/mozecode/dose/statuses/d7abed00e6795b4258c1661c4ec870bca6c40d19"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":82,"deletions":35,"changed_files":12}}
{"actor":{"display_login":"mozecode"}}