{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35","id":206399069,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2Mzk5MDY5","html_url":"https://github.com/toolbuddy/NCKU-SU-Website/pull/35","diff_url":"https://github.com/toolbuddy/NCKU-SU-Website/pull/35.diff","patch_url":"https://github.com/toolbuddy/NCKU-SU-Website/pull/35.patch","issue_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/35","number":35,"state":"open","locked":false,"title":"Complete the connection of login status. ","user":{"login":"f26401004","id":26087603,"node_id":"MDQ6VXNlcjI2MDg3NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/26087603?v=4","gravatar_id":"","url":"https://api.github.com/users/f26401004","html_url":"https://github.com/f26401004","followers_url":"https://api.github.com/users/f26401004/followers","following_url":"https://api.github.com/users/f26401004/following{/other_user}","gists_url":"https://api.github.com/users/f26401004/gists{/gist_id}","starred_url":"https://api.github.com/users/f26401004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f26401004/subscriptions","organizations_url":"https://api.github.com/users/f26401004/orgs","repos_url":"https://api.github.com/users/f26401004/repos","events_url":"https://api.github.com/users/f26401004/events{/privacy}","received_events_url":"https://api.github.com/users/f26401004/received_events","type":"User","site_admin":false},"body":"1. Use store to keep the login status.\r\n2. Create auth.js as middleware to verify the identity in some pages.\r\n3. Add /model/config/index.js to .gitignore.\r\n4. Use express-session as middleware to verify the login cookie.\r\n5. Modify the login api return value to send the login username.","created_at":"2018-08-06T13:28:30Z","updated_at":"2018-08-06T13:28:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35/commits","review_comments_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35/comments","review_comment_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/35/comments","statuses_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/statuses/c2c1d366fc2f658a660f8d539b0f1da04f102c2c","head":{"label":"f26401004:feature-login","ref":"feature-login","sha":"c2c1d366fc2f658a660f8d539b0f1da04f102c2c","user":{"login":"f26401004","id":26087603,"node_id":"MDQ6VXNlcjI2MDg3NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/26087603?v=4","gravatar_id":"","url":"https://api.github.com/users/f26401004","html_url":"https://github.com/f26401004","followers_url":"https://api.github.com/users/f26401004/followers","following_url":"https://api.github.com/users/f26401004/following{/other_user}","gists_url":"https://api.github.com/users/f26401004/gists{/gist_id}","starred_url":"https://api.github.com/users/f26401004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f26401004/subscriptions","organizations_url":"https://api.github.com/users/f26401004/orgs","repos_url":"https://api.github.com/users/f26401004/repos","events_url":"https://api.github.com/users/f26401004/events{/privacy}","received_events_url":"https://api.github.com/users/f26401004/received_events","type":"User","site_admin":false},"repo":{"id":139477302,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk0NzczMDI=","name":"NCKU-SU-Website","full_name":"f26401004/NCKU-SU-Website","owner":{"login":"f26401004","id":26087603,"node_id":"MDQ6VXNlcjI2MDg3NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/26087603?v=4","gravatar_id":"","url":"https://api.github.com/users/f26401004","html_url":"https://github.com/f26401004","followers_url":"https://api.github.com/users/f26401004/followers","following_url":"https://api.github.com/users/f26401004/following{/other_user}","gists_url":"https://api.github.com/users/f26401004/gists{/gist_id}","starred_url":"https://api.github.com/users/f26401004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f26401004/subscriptions","organizations_url":"https://api.github.com/users/f26401004/orgs","repos_url":"https://api.github.com/users/f26401004/repos","events_url":"https://api.github.com/users/f26401004/events{/privacy}","received_events_url":"https://api.github.com/users/f26401004/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/f26401004/NCKU-SU-Website","description":"The website of 26th NCKU Student Union.","fork":true,"url":"https://api.github.com/repos/f26401004/NCKU-SU-Website","forks_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/forks","keys_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/teams","hooks_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/hooks","issue_events_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/issues/events{/number}","events_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/events","assignees_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/assignees{/user}","branches_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/branches{/branch}","tags_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/tags","blobs_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/git/refs{/sha}","trees_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/statuses/{sha}","languages_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/languages","stargazers_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/stargazers","contributors_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/contributors","subscribers_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/subscribers","subscription_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/subscription","commits_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/commits{/sha}","git_commits_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/git/commits{/sha}","comments_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/comments{/number}","issue_comment_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/issues/comments{/number}","contents_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/contents/{+path}","compare_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/merges","archive_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/downloads","issues_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/issues{/number}","pulls_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/pulls{/number}","milestones_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/milestones{/number}","notifications_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/labels{/name}","releases_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/releases{/id}","deployments_url":"https://api.github.com/repos/f26401004/NCKU-SU-Website/deployments","created_at":"2018-07-02T18:02:26Z","updated_at":"2018-07-20T17:05:23Z","pushed_at":"2018-08-06T13:25:52Z","git_url":"git://github.com/f26401004/NCKU-SU-Website.git","ssh_url":"git@github.com:f26401004/NCKU-SU-Website.git","clone_url":"https://github.com/f26401004/NCKU-SU-Website.git","svn_url":"https://github.com/f26401004/NCKU-SU-Website","homepage":"","size":2901,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"toolbuddy:feature-login","ref":"feature-login","sha":"b7b0be38f28044bf2c24991dc1b2dc87196a0918","user":{"login":"toolbuddy","id":32387301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMzg3MzAx","avatar_url":"https://avatars2.githubusercontent.com/u/32387301?v=4","gravatar_id":"","url":"https://api.github.com/users/toolbuddy","html_url":"https://github.com/toolbuddy","followers_url":"https://api.github.com/users/toolbuddy/followers","following_url":"https://api.github.com/users/toolbuddy/following{/other_user}","gists_url":"https://api.github.com/users/toolbuddy/gists{/gist_id}","starred_url":"https://api.github.com/users/toolbuddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolbuddy/subscriptions","organizations_url":"https://api.github.com/users/toolbuddy/orgs","repos_url":"https://api.github.com/users/toolbuddy/repos","events_url":"https://api.github.com/users/toolbuddy/events{/privacy}","received_events_url":"https://api.github.com/users/toolbuddy/received_events","type":"Organization","site_admin":false},"repo":{"id":136357135,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzNTcxMzU=","name":"NCKU-SU-Website","full_name":"toolbuddy/NCKU-SU-Website","owner":{"login":"toolbuddy","id":32387301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMzg3MzAx","avatar_url":"https://avatars2.githubusercontent.com/u/32387301?v=4","gravatar_id":"","url":"https://api.github.com/users/toolbuddy","html_url":"https://github.com/toolbuddy","followers_url":"https://api.github.com/users/toolbuddy/followers","following_url":"https://api.github.com/users/toolbuddy/following{/other_user}","gists_url":"https://api.github.com/users/toolbuddy/gists{/gist_id}","starred_url":"https://api.github.com/users/toolbuddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolbuddy/subscriptions","organizations_url":"https://api.github.com/users/toolbuddy/orgs","repos_url":"https://api.github.com/users/toolbuddy/repos","events_url":"https://api.github.com/users/toolbuddy/events{/privacy}","received_events_url":"https://api.github.com/users/toolbuddy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/toolbuddy/NCKU-SU-Website","description":"The website of 26th NCKU Student Union.","fork":false,"url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website","forks_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/forks","keys_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/teams","hooks_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/hooks","issue_events_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/events{/number}","events_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/events","assignees_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/assignees{/user}","branches_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/branches{/branch}","tags_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/tags","blobs_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/git/refs{/sha}","trees_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/statuses/{sha}","languages_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/languages","stargazers_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/stargazers","contributors_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/contributors","subscribers_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/subscribers","subscription_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/subscription","commits_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/commits{/sha}","git_commits_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/git/commits{/sha}","comments_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/comments{/number}","issue_comment_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/comments{/number}","contents_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/contents/{+path}","compare_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/merges","archive_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/downloads","issues_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues{/number}","pulls_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls{/number}","milestones_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/milestones{/number}","notifications_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/labels{/name}","releases_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/releases{/id}","deployments_url":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/deployments","created_at":"2018-06-06T16:34:51Z","updated_at":"2018-07-21T06:00:44Z","pushed_at":"2018-08-06T01:51:02Z","git_url":"git://github.com/toolbuddy/NCKU-SU-Website.git","ssh_url":"git@github.com:toolbuddy/NCKU-SU-Website.git","clone_url":"https://github.com/toolbuddy/NCKU-SU-Website.git","svn_url":"https://github.com/toolbuddy/NCKU-SU-Website","homepage":"","size":2902,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35"},"html":{"href":"https://github.com/toolbuddy/NCKU-SU-Website/pull/35"},"issue":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/35"},"comments":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/toolbuddy/NCKU-SU-Website/statuses/c2c1d366fc2f658a660f8d539b0f1da04f102c2c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":113,"deletions":83,"changed_files":11}}
{"actor":{"display_login":"f26401004"}}