{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53","id":63452537,"html_url":"https://github.com/unsinkablecircus/opengallery/pull/53","diff_url":"https://github.com/unsinkablecircus/opengallery/pull/53.diff","patch_url":"https://github.com/unsinkablecircus/opengallery/pull/53.patch","issue_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/53","number":53,"state":"closed","locked":false,"title":"Upload image endpoint and subsequent functions","user":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"body":"- add server endpoint api/media/upload\r\n- define upload to PG and S3 functions in media model\r\n- define update PG function in media model\r\n- write and pass database tests\r\n- all functions get called in media controller\r\n- take out s3 directory, put s3 connection in media model\r\n- change body-parser prop to accept/send larger files\r\n- add jimp and bluebird modules\r\n- still to do:\r\n   - write integration test for server calls\r\n   - tune resizing and image manipulation (jimp library)\r\n   - revisit separating req.body object to PG upload and s3 upload","created_at":"2016-03-19T00:26:59Z","updated_at":"2016-03-19T00:51:25Z","closed_at":"2016-03-19T00:51:25Z","merged_at":"2016-03-19T00:51:25Z","merge_commit_sha":"75c6d2f58c1336341e6d7a1aabcb10d4fc6689b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53/commits","review_comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53/comments","review_comment_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/53/comments","statuses_url":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/217bbfe1ab622868acea2fdec4c5a8ad36812f01","head":{"label":"megaohms:s3upload","ref":"s3upload","sha":"217bbfe1ab622868acea2fdec4c5a8ad36812f01","user":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"repo":{"id":53639560,"name":"opengallery","full_name":"megaohms/opengallery","owner":{"login":"megaohms","id":10580356,"avatar_url":"https://avatars.githubusercontent.com/u/10580356?v=3","gravatar_id":"","url":"https://api.github.com/users/megaohms","html_url":"https://github.com/megaohms","followers_url":"https://api.github.com/users/megaohms/followers","following_url":"https://api.github.com/users/megaohms/following{/other_user}","gists_url":"https://api.github.com/users/megaohms/gists{/gist_id}","starred_url":"https://api.github.com/users/megaohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaohms/subscriptions","organizations_url":"https://api.github.com/users/megaohms/orgs","repos_url":"https://api.github.com/users/megaohms/repos","events_url":"https://api.github.com/users/megaohms/events{/privacy}","received_events_url":"https://api.github.com/users/megaohms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/megaohms/opengallery","description":"","fork":true,"url":"https://api.github.com/repos/megaohms/opengallery","forks_url":"https://api.github.com/repos/megaohms/opengallery/forks","keys_url":"https://api.github.com/repos/megaohms/opengallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/megaohms/opengallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/megaohms/opengallery/teams","hooks_url":"https://api.github.com/repos/megaohms/opengallery/hooks","issue_events_url":"https://api.github.com/repos/megaohms/opengallery/issues/events{/number}","events_url":"https://api.github.com/repos/megaohms/opengallery/events","assignees_url":"https://api.github.com/repos/megaohms/opengallery/assignees{/user}","branches_url":"https://api.github.com/repos/megaohms/opengallery/branches{/branch}","tags_url":"https://api.github.com/repos/megaohms/opengallery/tags","blobs_url":"https://api.github.com/repos/megaohms/opengallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/megaohms/opengallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/megaohms/opengallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/megaohms/opengallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/megaohms/opengallery/statuses/{sha}","languages_url":"https://api.github.com/repos/megaohms/opengallery/languages","stargazers_url":"https://api.github.com/repos/megaohms/opengallery/stargazers","contributors_url":"https://api.github.com/repos/megaohms/opengallery/contributors","subscribers_url":"https://api.github.com/repos/megaohms/opengallery/subscribers","subscription_url":"https://api.github.com/repos/megaohms/opengallery/subscription","commits_url":"https://api.github.com/repos/megaohms/opengallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/megaohms/opengallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/megaohms/opengallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/megaohms/opengallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/megaohms/opengallery/contents/{+path}","compare_url":"https://api.github.com/repos/megaohms/opengallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/megaohms/opengallery/merges","archive_url":"https://api.github.com/repos/megaohms/opengallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/megaohms/opengallery/downloads","issues_url":"https://api.github.com/repos/megaohms/opengallery/issues{/number}","pulls_url":"https://api.github.com/repos/megaohms/opengallery/pulls{/number}","milestones_url":"https://api.github.com/repos/megaohms/opengallery/milestones{/number}","notifications_url":"https://api.github.com/repos/megaohms/opengallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/megaohms/opengallery/labels{/name}","releases_url":"https://api.github.com/repos/megaohms/opengallery/releases{/id}","deployments_url":"https://api.github.com/repos/megaohms/opengallery/deployments","created_at":"2016-03-11T04:29:44Z","updated_at":"2016-03-14T23:55:41Z","pushed_at":"2016-03-19T00:44:25Z","git_url":"git://github.com/megaohms/opengallery.git","ssh_url":"git@github.com:megaohms/opengallery.git","clone_url":"https://github.com/megaohms/opengallery.git","svn_url":"https://github.com/megaohms/opengallery","homepage":null,"size":232,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"unsinkablecircus:master","ref":"master","sha":"9b5db79e622a9eb78772bb6104cd6084c3de9fad","user":{"login":"unsinkablecircus","id":17773651,"avatar_url":"https://avatars.githubusercontent.com/u/17773651?v=3","gravatar_id":"","url":"https://api.github.com/users/unsinkablecircus","html_url":"https://github.com/unsinkablecircus","followers_url":"https://api.github.com/users/unsinkablecircus/followers","following_url":"https://api.github.com/users/unsinkablecircus/following{/other_user}","gists_url":"https://api.github.com/users/unsinkablecircus/gists{/gist_id}","starred_url":"https://api.github.com/users/unsinkablecircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unsinkablecircus/subscriptions","organizations_url":"https://api.github.com/users/unsinkablecircus/orgs","repos_url":"https://api.github.com/users/unsinkablecircus/repos","events_url":"https://api.github.com/users/unsinkablecircus/events{/privacy}","received_events_url":"https://api.github.com/users/unsinkablecircus/received_events","type":"Organization","site_admin":false},"repo":{"id":53635946,"name":"opengallery","full_name":"unsinkablecircus/opengallery","owner":{"login":"unsinkablecircus","id":17773651,"avatar_url":"https://avatars.githubusercontent.com/u/17773651?v=3","gravatar_id":"","url":"https://api.github.com/users/unsinkablecircus","html_url":"https://github.com/unsinkablecircus","followers_url":"https://api.github.com/users/unsinkablecircus/followers","following_url":"https://api.github.com/users/unsinkablecircus/following{/other_user}","gists_url":"https://api.github.com/users/unsinkablecircus/gists{/gist_id}","starred_url":"https://api.github.com/users/unsinkablecircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unsinkablecircus/subscriptions","organizations_url":"https://api.github.com/users/unsinkablecircus/orgs","repos_url":"https://api.github.com/users/unsinkablecircus/repos","events_url":"https://api.github.com/users/unsinkablecircus/events{/privacy}","received_events_url":"https://api.github.com/users/unsinkablecircus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unsinkablecircus/opengallery","description":"","fork":false,"url":"https://api.github.com/repos/unsinkablecircus/opengallery","forks_url":"https://api.github.com/repos/unsinkablecircus/opengallery/forks","keys_url":"https://api.github.com/repos/unsinkablecircus/opengallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unsinkablecircus/opengallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unsinkablecircus/opengallery/teams","hooks_url":"https://api.github.com/repos/unsinkablecircus/opengallery/hooks","issue_events_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/events{/number}","events_url":"https://api.github.com/repos/unsinkablecircus/opengallery/events","assignees_url":"https://api.github.com/repos/unsinkablecircus/opengallery/assignees{/user}","branches_url":"https://api.github.com/repos/unsinkablecircus/opengallery/branches{/branch}","tags_url":"https://api.github.com/repos/unsinkablecircus/opengallery/tags","blobs_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/{sha}","languages_url":"https://api.github.com/repos/unsinkablecircus/opengallery/languages","stargazers_url":"https://api.github.com/repos/unsinkablecircus/opengallery/stargazers","contributors_url":"https://api.github.com/repos/unsinkablecircus/opengallery/contributors","subscribers_url":"https://api.github.com/repos/unsinkablecircus/opengallery/subscribers","subscription_url":"https://api.github.com/repos/unsinkablecircus/opengallery/subscription","commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/unsinkablecircus/opengallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/unsinkablecircus/opengallery/contents/{+path}","compare_url":"https://api.github.com/repos/unsinkablecircus/opengallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unsinkablecircus/opengallery/merges","archive_url":"https://api.github.com/repos/unsinkablecircus/opengallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unsinkablecircus/opengallery/downloads","issues_url":"https://api.github.com/repos/unsinkablecircus/opengallery/issues{/number}","pulls_url":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls{/number}","milestones_url":"https://api.github.com/repos/unsinkablecircus/opengallery/milestones{/number}","notifications_url":"https://api.github.com/repos/unsinkablecircus/opengallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unsinkablecircus/opengallery/labels{/name}","releases_url":"https://api.github.com/repos/unsinkablecircus/opengallery/releases{/id}","deployments_url":"https://api.github.com/repos/unsinkablecircus/opengallery/deployments","created_at":"2016-03-11T03:15:54Z","updated_at":"2016-03-11T20:09:02Z","pushed_at":"2016-03-19T00:51:25Z","git_url":"git://github.com/unsinkablecircus/opengallery.git","ssh_url":"git@github.com:unsinkablecircus/opengallery.git","clone_url":"https://github.com/unsinkablecircus/opengallery.git","svn_url":"https://github.com/unsinkablecircus/opengallery","homepage":null,"size":129,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":22,"forks":4,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53"},"html":{"href":"https://github.com/unsinkablecircus/opengallery/pull/53"},"issue":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/53"},"comments":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/unsinkablecircus/opengallery/statuses/217bbfe1ab622868acea2fdec4c5a8ad36812f01"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jwdomingo","id":7419015,"avatar_url":"https://avatars.githubusercontent.com/u/7419015?v=3","gravatar_id":"","url":"https://api.github.com/users/jwdomingo","html_url":"https://github.com/jwdomingo","followers_url":"https://api.github.com/users/jwdomingo/followers","following_url":"https://api.github.com/users/jwdomingo/following{/other_user}","gists_url":"https://api.github.com/users/jwdomingo/gists{/gist_id}","starred_url":"https://api.github.com/users/jwdomingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwdomingo/subscriptions","organizations_url":"https://api.github.com/users/jwdomingo/orgs","repos_url":"https://api.github.com/users/jwdomingo/repos","events_url":"https://api.github.com/users/jwdomingo/events{/privacy}","received_events_url":"https://api.github.com/users/jwdomingo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":81,"additions":410,"deletions":52,"changed_files":15}}