{"action":"created","issue":{"url":"https://api.github.com/repos/jacobrs/SOEN341/issues/106","repository_url":"https://api.github.com/repos/jacobrs/SOEN341","labels_url":"https://api.github.com/repos/jacobrs/SOEN341/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/jacobrs/SOEN341/issues/106/comments","events_url":"https://api.github.com/repos/jacobrs/SOEN341/issues/106/events","html_url":"https://github.com/jacobrs/SOEN341/pull/106","id":211942300,"number":106,"title":"wip #78 Chat Backend API","user":{"login":"Philippe229","id":14508719,"avatar_url":"https://avatars1.githubusercontent.com/u/14508719?v=3","gravatar_id":"","url":"https://api.github.com/users/Philippe229","html_url":"https://github.com/Philippe229","followers_url":"https://api.github.com/users/Philippe229/followers","following_url":"https://api.github.com/users/Philippe229/following{/other_user}","gists_url":"https://api.github.com/users/Philippe229/gists{/gist_id}","starred_url":"https://api.github.com/users/Philippe229/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Philippe229/subscriptions","organizations_url":"https://api.github.com/users/Philippe229/orgs","repos_url":"https://api.github.com/users/Philippe229/repos","events_url":"https://api.github.com/users/Philippe229/events{/privacy}","received_events_url":"https://api.github.com/users/Philippe229/received_events","type":"User","site_admin":false},"labels":[{"id":527265222,"url":"https://api.github.com/repos/jacobrs/SOEN341/labels/backend","name":"backend","color":"5319e7","default":false},{"id":522682188,"url":"https://api.github.com/repos/jacobrs/SOEN341/labels/feedback","name":"feedback","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":{"login":"Philippe229","id":14508719,"avatar_url":"https://avatars1.githubusercontent.com/u/14508719?v=3","gravatar_id":"","url":"https://api.github.com/users/Philippe229","html_url":"https://github.com/Philippe229","followers_url":"https://api.github.com/users/Philippe229/followers","following_url":"https://api.github.com/users/Philippe229/following{/other_user}","gists_url":"https://api.github.com/users/Philippe229/gists{/gist_id}","starred_url":"https://api.github.com/users/Philippe229/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Philippe229/subscriptions","organizations_url":"https://api.github.com/users/Philippe229/orgs","repos_url":"https://api.github.com/users/Philippe229/repos","events_url":"https://api.github.com/users/Philippe229/events{/privacy}","received_events_url":"https://api.github.com/users/Philippe229/received_events","type":"User","site_admin":false},"assignees":[{"login":"Philippe229","id":14508719,"avatar_url":"https://avatars1.githubusercontent.com/u/14508719?v=3","gravatar_id":"","url":"https://api.github.com/users/Philippe229","html_url":"https://github.com/Philippe229","followers_url":"https://api.github.com/users/Philippe229/followers","following_url":"https://api.github.com/users/Philippe229/following{/other_user}","gists_url":"https://api.github.com/users/Philippe229/gists{/gist_id}","starred_url":"https://api.github.com/users/Philippe229/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Philippe229/subscriptions","organizations_url":"https://api.github.com/users/Philippe229/orgs","repos_url":"https://api.github.com/users/Philippe229/repos","events_url":"https://api.github.com/users/Philippe229/events{/privacy}","received_events_url":"https://api.github.com/users/Philippe229/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jacobrs/SOEN341/milestones/3","html_url":"https://github.com/jacobrs/SOEN341/milestone/3","labels_url":"https://api.github.com/repos/jacobrs/SOEN341/milestones/3/labels","id":2323386,"number":3,"title":"Sprint 3","description":"Continue implementation of main aspect of the website; Study groups and user profiles","creator":{"login":"MartinSpasov","id":10083013,"avatar_url":"https://avatars2.githubusercontent.com/u/10083013?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinSpasov","html_url":"https://github.com/MartinSpasov","followers_url":"https://api.github.com/users/MartinSpasov/followers","following_url":"https://api.github.com/users/MartinSpasov/following{/other_user}","gists_url":"https://api.github.com/users/MartinSpasov/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinSpasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinSpasov/subscriptions","organizations_url":"https://api.github.com/users/MartinSpasov/orgs","repos_url":"https://api.github.com/users/MartinSpasov/repos","events_url":"https://api.github.com/users/MartinSpasov/events{/privacy}","received_events_url":"https://api.github.com/users/MartinSpasov/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":17,"state":"open","created_at":"2017-02-15T03:49:59Z","updated_at":"2017-03-07T23:05:44Z","due_on":"2017-03-08T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-03-05T09:48:36Z","updated_at":"2017-03-07T23:11:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jacobrs/SOEN341/pulls/106","html_url":"https://github.com/jacobrs/SOEN341/pull/106","diff_url":"https://github.com/jacobrs/SOEN341/pull/106.diff","patch_url":"https://github.com/jacobrs/SOEN341/pull/106.patch"},"body":"### Description\r\nCreated an API for chat messages and updated the study group API to take into account chat messages. Implemented socket.io separately to be tested with an isolated HTML file (/testchat). Make sure to install the new dependency. \r\n\r\n### Breakdown\r\n- Created a new model, controller and routes for messages\r\n- Updated the study group model, controller and routes\r\n- Attached a socket.io instance to the server\r\n- Created a file containing all defined socket.io events\r\n- Created an isolated HTML page (/testchat) to test socket.io basic functionality\r\n\r\n### Testing\r\n- Chat API endpoints were manually tested using Postman\r\n- socket.io was tested with the HTML page"},"comment":{"url":"https://api.github.com/repos/jacobrs/SOEN341/issues/comments/284891120","html_url":"https://github.com/jacobrs/SOEN341/pull/106#issuecomment-284891120","issue_url":"https://api.github.com/repos/jacobrs/SOEN341/issues/106","id":284891120,"user":{"login":"jacobrs","id":6231440,"avatar_url":"https://avatars0.githubusercontent.com/u/6231440?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobrs","html_url":"https://github.com/jacobrs","followers_url":"https://api.github.com/users/jacobrs/followers","following_url":"https://api.github.com/users/jacobrs/following{/other_user}","gists_url":"https://api.github.com/users/jacobrs/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobrs/subscriptions","organizations_url":"https://api.github.com/users/jacobrs/orgs","repos_url":"https://api.github.com/users/jacobrs/repos","events_url":"https://api.github.com/users/jacobrs/events{/privacy}","received_events_url":"https://api.github.com/users/jacobrs/received_events","type":"User","site_admin":false},"created_at":"2017-03-07T23:11:03Z","updated_at":"2017-03-07T23:11:03Z","body":"not sure how to review this PR either."}}
{"actor":{"display_login":"jacobrs"}}