{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4","id":347335858,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ3MzM1ODU4","html_url":"https://github.com/Hackatosh/2019-soul-pet/pull/4","diff_url":"https://github.com/Hackatosh/2019-soul-pet/pull/4.diff","patch_url":"https://github.com/Hackatosh/2019-soul-pet/pull/4.patch","issue_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/4","number":4,"state":"open","locked":false,"title":"Feature/security improvements","user":{"login":"Hackatosh","id":37976573,"node_id":"MDQ6VXNlcjM3OTc2NTcz","avatar_url":"https://avatars0.githubusercontent.com/u/37976573?v=4","gravatar_id":"","url":"https://api.github.com/users/Hackatosh","html_url":"https://github.com/Hackatosh","followers_url":"https://api.github.com/users/Hackatosh/followers","following_url":"https://api.github.com/users/Hackatosh/following{/other_user}","gists_url":"https://api.github.com/users/Hackatosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackatosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackatosh/subscriptions","organizations_url":"https://api.github.com/users/Hackatosh/orgs","repos_url":"https://api.github.com/users/Hackatosh/repos","events_url":"https://api.github.com/users/Hackatosh/events{/privacy}","received_events_url":"https://api.github.com/users/Hackatosh/received_events","type":"User","site_admin":false},"body":"**Please merge the branch feature/upload-files before this one.**\r\n\r\n- Added helmet to improve security by settings basic http headers.\r\n- Added express-validator and inputValidationMW to validate user inputs.\r\n- Fixed problem when server was connecting to an unready DB by waiting for it with a retry loop.\r\n- Implemented expiration and revocation for JWT Token. Statelessness has been given up to allow revocation. \r\n- Added a /logout route using JWT revocation implemented before.\r\n- Refactored and added comments in many files, particularly /src/core files.","created_at":"2019-12-01T14:40:28Z","updated_at":"2019-12-01T14:40:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"apollisa","id":4954029,"node_id":"MDQ6VXNlcjQ5NTQwMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/4954029?v=4","gravatar_id":"","url":"https://api.github.com/users/apollisa","html_url":"https://github.com/apollisa","followers_url":"https://api.github.com/users/apollisa/followers","following_url":"https://api.github.com/users/apollisa/following{/other_user}","gists_url":"https://api.github.com/users/apollisa/gists{/gist_id}","starred_url":"https://api.github.com/users/apollisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollisa/subscriptions","organizations_url":"https://api.github.com/users/apollisa/orgs","repos_url":"https://api.github.com/users/apollisa/repos","events_url":"https://api.github.com/users/apollisa/events{/privacy}","received_events_url":"https://api.github.com/users/apollisa/received_events","type":"User","site_admin":false},{"login":"Marsobad","id":29501817,"node_id":"MDQ6VXNlcjI5NTAxODE3","avatar_url":"https://avatars2.githubusercontent.com/u/29501817?v=4","gravatar_id":"","url":"https://api.github.com/users/Marsobad","html_url":"https://github.com/Marsobad","followers_url":"https://api.github.com/users/Marsobad/followers","following_url":"https://api.github.com/users/Marsobad/following{/other_user}","gists_url":"https://api.github.com/users/Marsobad/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsobad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsobad/subscriptions","organizations_url":"https://api.github.com/users/Marsobad/orgs","repos_url":"https://api.github.com/users/Marsobad/repos","events_url":"https://api.github.com/users/Marsobad/events{/privacy}","received_events_url":"https://api.github.com/users/Marsobad/received_events","type":"User","site_admin":false},{"login":"Zizol","id":30908946,"node_id":"MDQ6VXNlcjMwOTA4OTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/30908946?v=4","gravatar_id":"","url":"https://api.github.com/users/Zizol","html_url":"https://github.com/Zizol","followers_url":"https://api.github.com/users/Zizol/followers","following_url":"https://api.github.com/users/Zizol/following{/other_user}","gists_url":"https://api.github.com/users/Zizol/gists{/gist_id}","starred_url":"https://api.github.com/users/Zizol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zizol/subscriptions","organizations_url":"https://api.github.com/users/Zizol/orgs","repos_url":"https://api.github.com/users/Zizol/repos","events_url":"https://api.github.com/users/Zizol/events{/privacy}","received_events_url":"https://api.github.com/users/Zizol/received_events","type":"User","site_admin":false},{"login":"damianib","id":44801541,"node_id":"MDQ6VXNlcjQ0ODAxNTQx","avatar_url":"https://avatars2.githubusercontent.com/u/44801541?v=4","gravatar_id":"","url":"https://api.github.com/users/damianib","html_url":"https://github.com/damianib","followers_url":"https://api.github.com/users/damianib/followers","following_url":"https://api.github.com/users/damianib/following{/other_user}","gists_url":"https://api.github.com/users/damianib/gists{/gist_id}","starred_url":"https://api.github.com/users/damianib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianib/subscriptions","organizations_url":"https://api.github.com/users/damianib/orgs","repos_url":"https://api.github.com/users/damianib/repos","events_url":"https://api.github.com/users/damianib/events{/privacy}","received_events_url":"https://api.github.com/users/damianib/received_events","type":"User","site_admin":false},{"login":"Raklyon","id":46962656,"node_id":"MDQ6VXNlcjQ2OTYyNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/46962656?v=4","gravatar_id":"","url":"https://api.github.com/users/Raklyon","html_url":"https://github.com/Raklyon","followers_url":"https://api.github.com/users/Raklyon/followers","following_url":"https://api.github.com/users/Raklyon/following{/other_user}","gists_url":"https://api.github.com/users/Raklyon/gists{/gist_id}","starred_url":"https://api.github.com/users/Raklyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raklyon/subscriptions","organizations_url":"https://api.github.com/users/Raklyon/orgs","repos_url":"https://api.github.com/users/Raklyon/repos","events_url":"https://api.github.com/users/Raklyon/events{/privacy}","received_events_url":"https://api.github.com/users/Raklyon/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/4/comments","statuses_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/statuses/74fc1558929c705bd6521858eb488246fe429ff0","head":{"label":"Hackatosh:feature/security-improvements","ref":"feature/security-improvements","sha":"74fc1558929c705bd6521858eb488246fe429ff0","user":{"login":"Hackatosh","id":37976573,"node_id":"MDQ6VXNlcjM3OTc2NTcz","avatar_url":"https://avatars0.githubusercontent.com/u/37976573?v=4","gravatar_id":"","url":"https://api.github.com/users/Hackatosh","html_url":"https://github.com/Hackatosh","followers_url":"https://api.github.com/users/Hackatosh/followers","following_url":"https://api.github.com/users/Hackatosh/following{/other_user}","gists_url":"https://api.github.com/users/Hackatosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackatosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackatosh/subscriptions","organizations_url":"https://api.github.com/users/Hackatosh/orgs","repos_url":"https://api.github.com/users/Hackatosh/repos","events_url":"https://api.github.com/users/Hackatosh/events{/privacy}","received_events_url":"https://api.github.com/users/Hackatosh/received_events","type":"User","site_admin":false},"repo":{"id":223954049,"node_id":"MDEwOlJlcG9zaXRvcnkyMjM5NTQwNDk=","name":"2019-soul-pet","full_name":"Hackatosh/2019-soul-pet","private":false,"owner":{"login":"Hackatosh","id":37976573,"node_id":"MDQ6VXNlcjM3OTc2NTcz","avatar_url":"https://avatars0.githubusercontent.com/u/37976573?v=4","gravatar_id":"","url":"https://api.github.com/users/Hackatosh","html_url":"https://github.com/Hackatosh","followers_url":"https://api.github.com/users/Hackatosh/followers","following_url":"https://api.github.com/users/Hackatosh/following{/other_user}","gists_url":"https://api.github.com/users/Hackatosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackatosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackatosh/subscriptions","organizations_url":"https://api.github.com/users/Hackatosh/orgs","repos_url":"https://api.github.com/users/Hackatosh/repos","events_url":"https://api.github.com/users/Hackatosh/events{/privacy}","received_events_url":"https://api.github.com/users/Hackatosh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Hackatosh/2019-soul-pet","description":"A webapp for your animals ! :D","fork":false,"url":"https://api.github.com/repos/Hackatosh/2019-soul-pet","forks_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/forks","keys_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/teams","hooks_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/hooks","issue_events_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/events{/number}","events_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/events","assignees_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/assignees{/user}","branches_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/branches{/branch}","tags_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/tags","blobs_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/statuses/{sha}","languages_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/languages","stargazers_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/stargazers","contributors_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/contributors","subscribers_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/subscribers","subscription_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/subscription","commits_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/contents/{+path}","compare_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/merges","archive_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/downloads","issues_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues{/number}","pulls_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls{/number}","milestones_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/milestones{/number}","notifications_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/labels{/name}","releases_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/releases{/id}","deployments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/deployments","created_at":"2019-11-25T13:22:38Z","updated_at":"2019-11-29T08:18:52Z","pushed_at":"2019-12-01T14:26:36Z","git_url":"git://github.com/Hackatosh/2019-soul-pet.git","ssh_url":"git@github.com:Hackatosh/2019-soul-pet.git","clone_url":"https://github.com/Hackatosh/2019-soul-pet.git","svn_url":"https://github.com/Hackatosh/2019-soul-pet","homepage":null,"size":354,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Hackatosh:master","ref":"master","sha":"c3a2fb4141aafb290616af1a7bff7cd688f40fd7","user":{"login":"Hackatosh","id":37976573,"node_id":"MDQ6VXNlcjM3OTc2NTcz","avatar_url":"https://avatars0.githubusercontent.com/u/37976573?v=4","gravatar_id":"","url":"https://api.github.com/users/Hackatosh","html_url":"https://github.com/Hackatosh","followers_url":"https://api.github.com/users/Hackatosh/followers","following_url":"https://api.github.com/users/Hackatosh/following{/other_user}","gists_url":"https://api.github.com/users/Hackatosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackatosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackatosh/subscriptions","organizations_url":"https://api.github.com/users/Hackatosh/orgs","repos_url":"https://api.github.com/users/Hackatosh/repos","events_url":"https://api.github.com/users/Hackatosh/events{/privacy}","received_events_url":"https://api.github.com/users/Hackatosh/received_events","type":"User","site_admin":false},"repo":{"id":223954049,"node_id":"MDEwOlJlcG9zaXRvcnkyMjM5NTQwNDk=","name":"2019-soul-pet","full_name":"Hackatosh/2019-soul-pet","private":false,"owner":{"login":"Hackatosh","id":37976573,"node_id":"MDQ6VXNlcjM3OTc2NTcz","avatar_url":"https://avatars0.githubusercontent.com/u/37976573?v=4","gravatar_id":"","url":"https://api.github.com/users/Hackatosh","html_url":"https://github.com/Hackatosh","followers_url":"https://api.github.com/users/Hackatosh/followers","following_url":"https://api.github.com/users/Hackatosh/following{/other_user}","gists_url":"https://api.github.com/users/Hackatosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackatosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackatosh/subscriptions","organizations_url":"https://api.github.com/users/Hackatosh/orgs","repos_url":"https://api.github.com/users/Hackatosh/repos","events_url":"https://api.github.com/users/Hackatosh/events{/privacy}","received_events_url":"https://api.github.com/users/Hackatosh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Hackatosh/2019-soul-pet","description":"A webapp for your animals ! :D","fork":false,"url":"https://api.github.com/repos/Hackatosh/2019-soul-pet","forks_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/forks","keys_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/teams","hooks_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/hooks","issue_events_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/events{/number}","events_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/events","assignees_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/assignees{/user}","branches_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/branches{/branch}","tags_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/tags","blobs_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/statuses/{sha}","languages_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/languages","stargazers_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/stargazers","contributors_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/contributors","subscribers_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/subscribers","subscription_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/subscription","commits_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/contents/{+path}","compare_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/merges","archive_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/downloads","issues_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues{/number}","pulls_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls{/number}","milestones_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/milestones{/number}","notifications_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/labels{/name}","releases_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/releases{/id}","deployments_url":"https://api.github.com/repos/Hackatosh/2019-soul-pet/deployments","created_at":"2019-11-25T13:22:38Z","updated_at":"2019-11-29T08:18:52Z","pushed_at":"2019-12-01T14:26:36Z","git_url":"git://github.com/Hackatosh/2019-soul-pet.git","ssh_url":"git@github.com:Hackatosh/2019-soul-pet.git","clone_url":"https://github.com/Hackatosh/2019-soul-pet.git","svn_url":"https://github.com/Hackatosh/2019-soul-pet","homepage":null,"size":354,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4"},"html":{"href":"https://github.com/Hackatosh/2019-soul-pet/pull/4"},"issue":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/4"},"comments":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Hackatosh/2019-soul-pet/statuses/74fc1558929c705bd6521858eb488246fe429ff0"}},"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":16,"additions":646,"deletions":97,"changed_files":26}}
{"actor":{"display_login":"Hackatosh"}}