{"action":"closed","number":34,"pull_request":{"url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34","id":239855308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODU1MzA4","html_url":"https://github.com/andela/ah-backend-zeus/pull/34","diff_url":"https://github.com/andela/ah-backend-zeus/pull/34.diff","patch_url":"https://github.com/andela/ah-backend-zeus/pull/34.patch","issue_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/34","number":34,"state":"closed","locked":false,"title":"#162163182 Allow authenticated users to share articles ","user":{"login":"lindseyme","id":30689391,"node_id":"MDQ6VXNlcjMwNjg5Mzkx","avatar_url":"https://avatars1.githubusercontent.com/u/30689391?v=4","gravatar_id":"","url":"https://api.github.com/users/lindseyme","html_url":"https://github.com/lindseyme","followers_url":"https://api.github.com/users/lindseyme/followers","following_url":"https://api.github.com/users/lindseyme/following{/other_user}","gists_url":"https://api.github.com/users/lindseyme/gists{/gist_id}","starred_url":"https://api.github.com/users/lindseyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindseyme/subscriptions","organizations_url":"https://api.github.com/users/lindseyme/orgs","repos_url":"https://api.github.com/users/lindseyme/repos","events_url":"https://api.github.com/users/lindseyme/events{/privacy}","received_events_url":"https://api.github.com/users/lindseyme/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nAdd functionality for authenticated users to be able to share articles across social media and using email. \r\n#### Description of the task to be completed\r\n- Create classes in the article view for social media sharing and using emails for sharing.\r\n- Write tests for the social share views.\r\n#### How should this be manually tested?\r\n- Get all articles.\r\n- Get the article slug.\r\n- To share via email: POST / api/articles/\\<slug\\>/email/\r\n- To share via twitter: POST api/articles/\\<slug\\>/twitter/\r\n- To share via facebook: POST api/articles/\\<slug\\>/facebook/\r\n#### What are the relevant pivotal tracker stories?\r\n[#162163182](https://www.pivotaltracker.com/story/show/162163182)","created_at":"2018-12-19T14:29:30Z","updated_at":"2018-12-20T11:07:30Z","closed_at":"2018-12-20T11:07:30Z","merged_at":"2018-12-20T11:07:30Z","merge_commit_sha":"74d70e8b475e9829cb9bfa7b96407b661ca24da3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ekumamait","id":9946845,"node_id":"MDQ6VXNlcjk5NDY4NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/9946845?v=4","gravatar_id":"","url":"https://api.github.com/users/ekumamait","html_url":"https://github.com/ekumamait","followers_url":"https://api.github.com/users/ekumamait/followers","following_url":"https://api.github.com/users/ekumamait/following{/other_user}","gists_url":"https://api.github.com/users/ekumamait/gists{/gist_id}","starred_url":"https://api.github.com/users/ekumamait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekumamait/subscriptions","organizations_url":"https://api.github.com/users/ekumamait/orgs","repos_url":"https://api.github.com/users/ekumamait/repos","events_url":"https://api.github.com/users/ekumamait/events{/privacy}","received_events_url":"https://api.github.com/users/ekumamait/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1151477049,"node_id":"MDU6TGFiZWwxMTUxNDc3MDQ5","url":"https://api.github.com/repos/andela/ah-backend-zeus/labels/ready%20for%20review","name":"ready for review","color":"377003","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34/commits","review_comments_url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34/comments","review_comment_url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/34/comments","statuses_url":"https://api.github.com/repos/andela/ah-backend-zeus/statuses/dd72a3da68e3bc5a4360053cd117293420985d9e","head":{"label":"andela:ft-share-articles-162163182","ref":"ft-share-articles-162163182","sha":"dd72a3da68e3bc5a4360053cd117293420985d9e","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":158799435,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg3OTk0MzU=","name":"ah-backend-zeus","full_name":"andela/ah-backend-zeus","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-backend-zeus","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-backend-zeus","forks_url":"https://api.github.com/repos/andela/ah-backend-zeus/forks","keys_url":"https://api.github.com/repos/andela/ah-backend-zeus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-backend-zeus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-backend-zeus/teams","hooks_url":"https://api.github.com/repos/andela/ah-backend-zeus/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-backend-zeus/events","assignees_url":"https://api.github.com/repos/andela/ah-backend-zeus/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-backend-zeus/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-backend-zeus/tags","blobs_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-backend-zeus/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-backend-zeus/languages","stargazers_url":"https://api.github.com/repos/andela/ah-backend-zeus/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-backend-zeus/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-backend-zeus/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-backend-zeus/subscription","commits_url":"https://api.github.com/repos/andela/ah-backend-zeus/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-backend-zeus/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-backend-zeus/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-backend-zeus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-backend-zeus/merges","archive_url":"https://api.github.com/repos/andela/ah-backend-zeus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-backend-zeus/downloads","issues_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-backend-zeus/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-backend-zeus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-backend-zeus/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-backend-zeus/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-backend-zeus/deployments","created_at":"2018-11-23T07:58:35Z","updated_at":"2018-12-20T07:30:47Z","pushed_at":"2018-12-20T11:07:30Z","git_url":"git://github.com/andela/ah-backend-zeus.git","ssh_url":"git@github.com:andela/ah-backend-zeus.git","clone_url":"https://github.com/andela/ah-backend-zeus.git","svn_url":"https://github.com/andela/ah-backend-zeus","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"ac135efcd31ee40b8c48434bea227dfe37880c2c","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":158799435,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg3OTk0MzU=","name":"ah-backend-zeus","full_name":"andela/ah-backend-zeus","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-backend-zeus","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-backend-zeus","forks_url":"https://api.github.com/repos/andela/ah-backend-zeus/forks","keys_url":"https://api.github.com/repos/andela/ah-backend-zeus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-backend-zeus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-backend-zeus/teams","hooks_url":"https://api.github.com/repos/andela/ah-backend-zeus/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-backend-zeus/events","assignees_url":"https://api.github.com/repos/andela/ah-backend-zeus/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-backend-zeus/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-backend-zeus/tags","blobs_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-backend-zeus/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-backend-zeus/languages","stargazers_url":"https://api.github.com/repos/andela/ah-backend-zeus/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-backend-zeus/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-backend-zeus/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-backend-zeus/subscription","commits_url":"https://api.github.com/repos/andela/ah-backend-zeus/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-backend-zeus/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-backend-zeus/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-backend-zeus/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-backend-zeus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-backend-zeus/merges","archive_url":"https://api.github.com/repos/andela/ah-backend-zeus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-backend-zeus/downloads","issues_url":"https://api.github.com/repos/andela/ah-backend-zeus/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-backend-zeus/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-backend-zeus/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-backend-zeus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-backend-zeus/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-backend-zeus/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-backend-zeus/deployments","created_at":"2018-11-23T07:58:35Z","updated_at":"2018-12-20T07:30:47Z","pushed_at":"2018-12-20T11:07:30Z","git_url":"git://github.com/andela/ah-backend-zeus.git","ssh_url":"git@github.com:andela/ah-backend-zeus.git","clone_url":"https://github.com/andela/ah-backend-zeus.git","svn_url":"https://github.com/andela/ah-backend-zeus","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34"},"html":{"href":"https://github.com/andela/ah-backend-zeus/pull/34"},"issue":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/issues/34"},"comments":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-backend-zeus/statuses/dd72a3da68e3bc5a4360053cd117293420985d9e"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"inno-asiimwe","id":12571512,"node_id":"MDQ6VXNlcjEyNTcxNTEy","avatar_url":"https://avatars3.githubusercontent.com/u/12571512?v=4","gravatar_id":"","url":"https://api.github.com/users/inno-asiimwe","html_url":"https://github.com/inno-asiimwe","followers_url":"https://api.github.com/users/inno-asiimwe/followers","following_url":"https://api.github.com/users/inno-asiimwe/following{/other_user}","gists_url":"https://api.github.com/users/inno-asiimwe/gists{/gist_id}","starred_url":"https://api.github.com/users/inno-asiimwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inno-asiimwe/subscriptions","organizations_url":"https://api.github.com/users/inno-asiimwe/orgs","repos_url":"https://api.github.com/users/inno-asiimwe/repos","events_url":"https://api.github.com/users/inno-asiimwe/events{/privacy}","received_events_url":"https://api.github.com/users/inno-asiimwe/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":198,"deletions":7,"changed_files":8}}
{"actor":{"display_login":"inno-asiimwe"}}