{"action":"created","issue":{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/118","labels_url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/118/comments","events_url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/118/events","html_url":"https://github.com/CMPUT410W15/cmput410-project/pull/118","id":66234509,"number":118,"title":"Unit tests for Images app","user":{"login":"jsurya","id":3713143,"avatar_url":"https://avatars.githubusercontent.com/u/3713143?v=3","gravatar_id":"","url":"https://api.github.com/users/jsurya","html_url":"https://github.com/jsurya","followers_url":"https://api.github.com/users/jsurya/followers","following_url":"https://api.github.com/users/jsurya/following{/other_user}","gists_url":"https://api.github.com/users/jsurya/gists{/gist_id}","starred_url":"https://api.github.com/users/jsurya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsurya/subscriptions","organizations_url":"https://api.github.com/users/jsurya/orgs","repos_url":"https://api.github.com/users/jsurya/repos","events_url":"https://api.github.com/users/jsurya/events{/privacy}","received_events_url":"https://api.github.com/users/jsurya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/labels/API","name":"API","color":"006b75"},{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/labels/testing","name":"testing","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/milestones/4","html_url":"https://github.com/CMPUT410W15/cmput410-project/milestones/Project%20Part%203","labels_url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/milestones/4/labels","id":932651,"number":4,"title":"Project Part 3","description":"","creator":{"login":"klindenbach","id":5093064,"avatar_url":"https://avatars.githubusercontent.com/u/5093064?v=3","gravatar_id":"","url":"https://api.github.com/users/klindenbach","html_url":"https://github.com/klindenbach","followers_url":"https://api.github.com/users/klindenbach/followers","following_url":"https://api.github.com/users/klindenbach/following{/other_user}","gists_url":"https://api.github.com/users/klindenbach/gists{/gist_id}","starred_url":"https://api.github.com/users/klindenbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klindenbach/subscriptions","organizations_url":"https://api.github.com/users/klindenbach/orgs","repos_url":"https://api.github.com/users/klindenbach/repos","events_url":"https://api.github.com/users/klindenbach/events{/privacy}","received_events_url":"https://api.github.com/users/klindenbach/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":7,"state":"open","created_at":"2015-01-13T00:34:52Z","updated_at":"2015-04-04T18:13:42Z","due_on":"2015-04-06T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-04-03T21:46:47Z","updated_at":"2015-04-04T23:11:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/pulls/118","html_url":"https://github.com/CMPUT410W15/cmput410-project/pull/118","diff_url":"https://github.com/CMPUT410W15/cmput410-project/pull/118.diff","patch_url":"https://github.com/CMPUT410W15/cmput410-project/pull/118.patch"},"body":"Tests for: \r\n- Creating Post with Image\r\n- Verifying image files retrieved from `/images/uid` where `uid` is the UID for an image #8 \r\n- Verifying image visibility #27\r\n- Verifying non-existing images\r\n\r\nOther issues covered: #21, , #78 \r\n\r\nIf you are encountering an error at  `/images/` endpoint : Python Image Library fails with message “decoder JPEG not available” - PIL\r\n```\r\nFile \"PIL/Image.py\", line 375, in _getdecoder\r\n    raise IOError(\"decoder %s not available\" % decoder_name)\r\nIOError: decoder jpeg not available\r\n```\r\n\r\nHere is the [fix](http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil) for Ubuntu:\r\n```\r\n# install libjpeg-dev with apt\r\nsudo apt-get install libjpeg-dev\r\n\r\n# reinstall pillow\r\npip install -I pillow\r\n```"},"comment":{"url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/comments/89680090","html_url":"https://github.com/CMPUT410W15/cmput410-project/pull/118#issuecomment-89680090","issue_url":"https://api.github.com/repos/CMPUT410W15/cmput410-project/issues/118","id":89680090,"user":{"login":"klindenbach","id":5093064,"avatar_url":"https://avatars.githubusercontent.com/u/5093064?v=3","gravatar_id":"","url":"https://api.github.com/users/klindenbach","html_url":"https://github.com/klindenbach","followers_url":"https://api.github.com/users/klindenbach/followers","following_url":"https://api.github.com/users/klindenbach/following{/other_user}","gists_url":"https://api.github.com/users/klindenbach/gists{/gist_id}","starred_url":"https://api.github.com/users/klindenbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klindenbach/subscriptions","organizations_url":"https://api.github.com/users/klindenbach/orgs","repos_url":"https://api.github.com/users/klindenbach/repos","events_url":"https://api.github.com/users/klindenbach/events{/privacy}","received_events_url":"https://api.github.com/users/klindenbach/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T23:11:35Z","updated_at":"2015-04-04T23:11:35Z","body":"needs an update"}}