{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/25741","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/25741/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/25741/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/25741/events","html_url":"https://github.com/Automattic/wp-calypso/pull/25741","id":335641540,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3Mjg5NTUx","number":25741,"title":"Reader: redirect common paths when logged out","user":{"login":"bluefuton","id":17325,"node_id":"MDQ6VXNlcjE3MzI1","avatar_url":"https://avatars2.githubusercontent.com/u/17325?v=4","gravatar_id":"","url":"https://api.github.com/users/bluefuton","html_url":"https://github.com/bluefuton","followers_url":"https://api.github.com/users/bluefuton/followers","following_url":"https://api.github.com/users/bluefuton/following{/other_user}","gists_url":"https://api.github.com/users/bluefuton/gists{/gist_id}","starred_url":"https://api.github.com/users/bluefuton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluefuton/subscriptions","organizations_url":"https://api.github.com/users/bluefuton/orgs","repos_url":"https://api.github.com/users/bluefuton/repos","events_url":"https://api.github.com/users/bluefuton/events{/privacy}","received_events_url":"https://api.github.com/users/bluefuton/received_events","type":"User","site_admin":false},"labels":[{"id":285010024,"node_id":"MDU6TGFiZWwyODUwMTAwMjQ=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Reader","name":"Reader","color":"006b75","default":false},{"id":285010017,"node_id":"MDU6TGFiZWwyODUwMTAwMTc=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20In%20Progress","name":"[Status] In Progress","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"bluefuton","id":17325,"node_id":"MDQ6VXNlcjE3MzI1","avatar_url":"https://avatars2.githubusercontent.com/u/17325?v=4","gravatar_id":"","url":"https://api.github.com/users/bluefuton","html_url":"https://github.com/bluefuton","followers_url":"https://api.github.com/users/bluefuton/followers","following_url":"https://api.github.com/users/bluefuton/following{/other_user}","gists_url":"https://api.github.com/users/bluefuton/gists{/gist_id}","starred_url":"https://api.github.com/users/bluefuton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluefuton/subscriptions","organizations_url":"https://api.github.com/users/bluefuton/orgs","repos_url":"https://api.github.com/users/bluefuton/repos","events_url":"https://api.github.com/users/bluefuton/events{/privacy}","received_events_url":"https://api.github.com/users/bluefuton/received_events","type":"User","site_admin":false},"assignees":[{"login":"bluefuton","id":17325,"node_id":"MDQ6VXNlcjE3MzI1","avatar_url":"https://avatars2.githubusercontent.com/u/17325?v=4","gravatar_id":"","url":"https://api.github.com/users/bluefuton","html_url":"https://github.com/bluefuton","followers_url":"https://api.github.com/users/bluefuton/followers","following_url":"https://api.github.com/users/bluefuton/following{/other_user}","gists_url":"https://api.github.com/users/bluefuton/gists{/gist_id}","starred_url":"https://api.github.com/users/bluefuton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluefuton/subscriptions","organizations_url":"https://api.github.com/users/bluefuton/orgs","repos_url":"https://api.github.com/users/bluefuton/repos","events_url":"https://api.github.com/users/bluefuton/events{/privacy}","received_events_url":"https://api.github.com/users/bluefuton/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/40","html_url":"https://github.com/Automattic/wp-calypso/milestone/40","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/40/labels","id":1437662,"node_id":"MDk6TWlsZXN0b25lMTQzNzY2Mg==","number":40,"title":"Reader: Bug Backlog","description":"Reader bugs that we've decided to fix.\r\n\r\nThis is a bucket milestone and not date driven. It serves to hold issues until we decide to actively work on them.\r\n\r\nEnhancements and new features should not be part of this milestone.","creator":{"login":"blowery","id":14350,"node_id":"MDQ6VXNlcjE0MzUw","avatar_url":"https://avatars1.githubusercontent.com/u/14350?v=4","gravatar_id":"","url":"https://api.github.com/users/blowery","html_url":"https://github.com/blowery","followers_url":"https://api.github.com/users/blowery/followers","following_url":"https://api.github.com/users/blowery/following{/other_user}","gists_url":"https://api.github.com/users/blowery/gists{/gist_id}","starred_url":"https://api.github.com/users/blowery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowery/subscriptions","organizations_url":"https://api.github.com/users/blowery/orgs","repos_url":"https://api.github.com/users/blowery/repos","events_url":"https://api.github.com/users/blowery/events{/privacy}","received_events_url":"https://api.github.com/users/blowery/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":183,"state":"open","created_at":"2015-12-01T15:04:01Z","updated_at":"2018-06-26T03:08:11Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-06-26T03:08:10Z","updated_at":"2018-06-26T03:08:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/25741","html_url":"https://github.com/Automattic/wp-calypso/pull/25741","diff_url":"https://github.com/Automattic/wp-calypso/pull/25741.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/25741.patch"},"body":"This PR attempts to redirect common Reader paths to the login page when the user doesn't have an active session.\r\n\r\nFixes https://github.com/Automattic/wp-calypso/issues/23623.\r\n\r\nThese paths are:\r\n- [x] following/manage\r\n- [ ] read/feeds/x\r\n- [ ] read/blogs/x\r\n- [ ] read/feeds/x/posts/x\r\n- [ ] read/blogs/x/posts/x\r\n- [ ] activities/likes\r\n- [ ] read/list/x/x\r\n- [ ] tag/x\r\n- [ ] read/search\r\n- [ ] read/conversations\r\n\r\n### To test \r\n\r\nTry all of the above paths when logged out, and verify that you're redirected to the login page.\r\n\r\nTry all of the above paths when logged in, and verify that they work as normal."},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/400163527","html_url":"https://github.com/Automattic/wp-calypso/pull/25741#issuecomment-400163527","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/25741","id":400163527,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDE2MzUyNw==","user":{"login":"matticbot","id":18333116,"node_id":"MDQ6VXNlcjE4MzMzMTE2","avatar_url":"https://avatars2.githubusercontent.com/u/18333116?v=4","gravatar_id":"","url":"https://api.github.com/users/matticbot","html_url":"https://github.com/matticbot","followers_url":"https://api.github.com/users/matticbot/followers","following_url":"https://api.github.com/users/matticbot/following{/other_user}","gists_url":"https://api.github.com/users/matticbot/gists{/gist_id}","starred_url":"https://api.github.com/users/matticbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matticbot/subscriptions","organizations_url":"https://api.github.com/users/matticbot/orgs","repos_url":"https://api.github.com/users/matticbot/repos","events_url":"https://api.github.com/users/matticbot/events{/privacy}","received_events_url":"https://api.github.com/users/matticbot/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T03:08:12Z","updated_at":"2018-06-26T03:08:12Z","author_association":"NONE","body":"Test live: https://calypso.live/?branch=add/reader/redirect-logged-out"}}
{"actor":{"display_login":"matticbot"}}