{"action":"created","comment":{"url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/comments/93455768","pull_request_review_id":13983700,"id":93455768,"diff_hunk":"@@ -49,16 +49,24 @@ <h2 class=\"box-title\">{{ book.title }}</h2>\n                 </div>\n \n                 <div class=\"box-bottom-white btn-space btn-box-uppercase\">\n-                   {% check_perm 'edit.edit_book' %}\n+                    {% check_perm 'edit.edit_book' %}\n                     <button data-href=\"{% url 'edit:editor' book.url_title %}\" role=\"button\" class=\"btn btn-default float-left\" rel=\"tooltip\" data-placement=\"bottom\" data-original-title=\"{% trans 'Click this button to open the editor at the Table of Contents' %}\">\n                         {% trans \"Edit this Book\" %}\n                     </button>\n                     {% endcheck_perm %}\n+\n+                    {% check_perm 'reader.can_view_full_page' %}\n+                    <button data-href=\"{% url 'reader:full_view' bookid=book.url_title %}\" role=\"button\" class=\"btn btn-default float-left\" rel=\"tooltip\" data-placement=\"bottom\" data-original-title=\"{% trans 'Click this button to view the draft of the book as a single page' %}\">\n+                        {% trans \"Reader\" %}","path":"lib/booktype/apps/reader/templates/reader/book_info_page.html","position":13,"original_position":13,"commit_id":"3e17ab3fe281f3cabc44cd9fe34b232fb547155f","original_commit_id":"3e17ab3fe281f3cabc44cd9fe34b232fb547155f","user":{"login":"eos87","id":124766,"avatar_url":"https://avatars.githubusercontent.com/u/124766?v=3","gravatar_id":"","url":"https://api.github.com/users/eos87","html_url":"https://github.com/eos87","followers_url":"https://api.github.com/users/eos87/followers","following_url":"https://api.github.com/users/eos87/following{/other_user}","gists_url":"https://api.github.com/users/eos87/gists{/gist_id}","starred_url":"https://api.github.com/users/eos87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eos87/subscriptions","organizations_url":"https://api.github.com/users/eos87/orgs","repos_url":"https://api.github.com/users/eos87/repos","events_url":"https://api.github.com/users/eos87/events{/privacy}","received_events_url":"https://api.github.com/users/eos87/received_events","type":"User","site_admin":false},"body":"I think we should rename this to \"Read Book\" or just \"Read\". ","created_at":"2016-12-21T15:15:15Z","updated_at":"2016-12-21T15:15:51Z","html_url":"https://github.com/sourcefabric/Booktype/pull/616#discussion_r93455768","pull_request_url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616","_links":{"self":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/comments/93455768"},"html":{"href":"https://github.com/sourcefabric/Booktype/pull/616#discussion_r93455768"},"pull_request":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616"}}},"pull_request":{"url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616","id":97799150,"html_url":"https://github.com/sourcefabric/Booktype/pull/616","diff_url":"https://github.com/sourcefabric/Booktype/pull/616.diff","patch_url":"https://github.com/sourcefabric/Booktype/pull/616.patch","issue_url":"https://api.github.com/repos/sourcefabric/Booktype/issues/616","number":616,"state":"open","locked":false,"title":"BK-2061 New Book Reader for Booktype","user":{"login":"olegpshenichniy","id":4199922,"avatar_url":"https://avatars.githubusercontent.com/u/4199922?v=3","gravatar_id":"","url":"https://api.github.com/users/olegpshenichniy","html_url":"https://github.com/olegpshenichniy","followers_url":"https://api.github.com/users/olegpshenichniy/followers","following_url":"https://api.github.com/users/olegpshenichniy/following{/other_user}","gists_url":"https://api.github.com/users/olegpshenichniy/gists{/gist_id}","starred_url":"https://api.github.com/users/olegpshenichniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegpshenichniy/subscriptions","organizations_url":"https://api.github.com/users/olegpshenichniy/orgs","repos_url":"https://api.github.com/users/olegpshenichniy/repos","events_url":"https://api.github.com/users/olegpshenichniy/events{/privacy}","received_events_url":"https://api.github.com/users/olegpshenichniy/received_events","type":"User","site_admin":false},"body":"Hi @eos87 ,\r\n\r\nDuring instance update process, we must check (and merge if needed) files which are changed in this PR and  overloaded inside instance. ","created_at":"2016-12-13T17:36:31Z","updated_at":"2016-12-21T15:15:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0818a69cc80779d147a40dadb895828b5955011e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616/commits","review_comments_url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616/comments","review_comment_url":"https://api.github.com/repos/sourcefabric/Booktype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcefabric/Booktype/issues/616/comments","statuses_url":"https://api.github.com/repos/sourcefabric/Booktype/statuses/3e17ab3fe281f3cabc44cd9fe34b232fb547155f","head":{"label":"olegpshenichniy:BK-2061","ref":"BK-2061","sha":"3e17ab3fe281f3cabc44cd9fe34b232fb547155f","user":{"login":"olegpshenichniy","id":4199922,"avatar_url":"https://avatars.githubusercontent.com/u/4199922?v=3","gravatar_id":"","url":"https://api.github.com/users/olegpshenichniy","html_url":"https://github.com/olegpshenichniy","followers_url":"https://api.github.com/users/olegpshenichniy/followers","following_url":"https://api.github.com/users/olegpshenichniy/following{/other_user}","gists_url":"https://api.github.com/users/olegpshenichniy/gists{/gist_id}","starred_url":"https://api.github.com/users/olegpshenichniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegpshenichniy/subscriptions","organizations_url":"https://api.github.com/users/olegpshenichniy/orgs","repos_url":"https://api.github.com/users/olegpshenichniy/repos","events_url":"https://api.github.com/users/olegpshenichniy/events{/privacy}","received_events_url":"https://api.github.com/users/olegpshenichniy/received_events","type":"User","site_admin":false},"repo":{"id":28773913,"name":"Booktype","full_name":"olegpshenichniy/Booktype","owner":{"login":"olegpshenichniy","id":4199922,"avatar_url":"https://avatars.githubusercontent.com/u/4199922?v=3","gravatar_id":"","url":"https://api.github.com/users/olegpshenichniy","html_url":"https://github.com/olegpshenichniy","followers_url":"https://api.github.com/users/olegpshenichniy/followers","following_url":"https://api.github.com/users/olegpshenichniy/following{/other_user}","gists_url":"https://api.github.com/users/olegpshenichniy/gists{/gist_id}","starred_url":"https://api.github.com/users/olegpshenichniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegpshenichniy/subscriptions","organizations_url":"https://api.github.com/users/olegpshenichniy/orgs","repos_url":"https://api.github.com/users/olegpshenichniy/repos","events_url":"https://api.github.com/users/olegpshenichniy/events{/privacy}","received_events_url":"https://api.github.com/users/olegpshenichniy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olegpshenichniy/Booktype","description":"Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes.","fork":true,"url":"https://api.github.com/repos/olegpshenichniy/Booktype","forks_url":"https://api.github.com/repos/olegpshenichniy/Booktype/forks","keys_url":"https://api.github.com/repos/olegpshenichniy/Booktype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olegpshenichniy/Booktype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olegpshenichniy/Booktype/teams","hooks_url":"https://api.github.com/repos/olegpshenichniy/Booktype/hooks","issue_events_url":"https://api.github.com/repos/olegpshenichniy/Booktype/issues/events{/number}","events_url":"https://api.github.com/repos/olegpshenichniy/Booktype/events","assignees_url":"https://api.github.com/repos/olegpshenichniy/Booktype/assignees{/user}","branches_url":"https://api.github.com/repos/olegpshenichniy/Booktype/branches{/branch}","tags_url":"https://api.github.com/repos/olegpshenichniy/Booktype/tags","blobs_url":"https://api.github.com/repos/olegpshenichniy/Booktype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olegpshenichniy/Booktype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olegpshenichniy/Booktype/git/refs{/sha}","trees_url":"https://api.github.com/repos/olegpshenichniy/Booktype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olegpshenichniy/Booktype/statuses/{sha}","languages_url":"https://api.github.com/repos/olegpshenichniy/Booktype/languages","stargazers_url":"https://api.github.com/repos/olegpshenichniy/Booktype/stargazers","contributors_url":"https://api.github.com/repos/olegpshenichniy/Booktype/contributors","subscribers_url":"https://api.github.com/repos/olegpshenichniy/Booktype/subscribers","subscription_url":"https://api.github.com/repos/olegpshenichniy/Booktype/subscription","commits_url":"https://api.github.com/repos/olegpshenichniy/Booktype/commits{/sha}","git_commits_url":"https://api.github.com/repos/olegpshenichniy/Booktype/git/commits{/sha}","comments_url":"https://api.github.com/repos/olegpshenichniy/Booktype/comments{/number}","issue_comment_url":"https://api.github.com/repos/olegpshenichniy/Booktype/issues/comments{/number}","contents_url":"https://api.github.com/repos/olegpshenichniy/Booktype/contents/{+path}","compare_url":"https://api.github.com/repos/olegpshenichniy/Booktype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olegpshenichniy/Booktype/merges","archive_url":"https://api.github.com/repos/olegpshenichniy/Booktype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olegpshenichniy/Booktype/downloads","issues_url":"https://api.github.com/repos/olegpshenichniy/Booktype/issues{/number}","pulls_url":"https://api.github.com/repos/olegpshenichniy/Booktype/pulls{/number}","milestones_url":"https://api.github.com/repos/olegpshenichniy/Booktype/milestones{/number}","notifications_url":"https://api.github.com/repos/olegpshenichniy/Booktype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olegpshenichniy/Booktype/labels{/name}","releases_url":"https://api.github.com/repos/olegpshenichniy/Booktype/releases{/id}","deployments_url":"https://api.github.com/repos/olegpshenichniy/Booktype/deployments","created_at":"2015-01-04T12:42:55Z","updated_at":"2016-10-24T12:50:20Z","pushed_at":"2016-12-13T17:16:25Z","git_url":"git://github.com/olegpshenichniy/Booktype.git","ssh_url":"git@github.com:olegpshenichniy/Booktype.git","clone_url":"https://github.com/olegpshenichniy/Booktype.git","svn_url":"https://github.com/olegpshenichniy/Booktype","homepage":"http://sourcefabric.github.com/Booktype","size":35149,"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":"sourcefabric:master","ref":"master","sha":"062d5ed88b9c03f306c8bbf5f48d4545b40db321","user":{"login":"sourcefabric","id":275305,"avatar_url":"https://avatars.githubusercontent.com/u/275305?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcefabric","html_url":"https://github.com/sourcefabric","followers_url":"https://api.github.com/users/sourcefabric/followers","following_url":"https://api.github.com/users/sourcefabric/following{/other_user}","gists_url":"https://api.github.com/users/sourcefabric/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcefabric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcefabric/subscriptions","organizations_url":"https://api.github.com/users/sourcefabric/orgs","repos_url":"https://api.github.com/users/sourcefabric/repos","events_url":"https://api.github.com/users/sourcefabric/events{/privacy}","received_events_url":"https://api.github.com/users/sourcefabric/received_events","type":"Organization","site_admin":false},"repo":{"id":3437484,"name":"Booktype","full_name":"sourcefabric/Booktype","owner":{"login":"sourcefabric","id":275305,"avatar_url":"https://avatars.githubusercontent.com/u/275305?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcefabric","html_url":"https://github.com/sourcefabric","followers_url":"https://api.github.com/users/sourcefabric/followers","following_url":"https://api.github.com/users/sourcefabric/following{/other_user}","gists_url":"https://api.github.com/users/sourcefabric/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcefabric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcefabric/subscriptions","organizations_url":"https://api.github.com/users/sourcefabric/orgs","repos_url":"https://api.github.com/users/sourcefabric/repos","events_url":"https://api.github.com/users/sourcefabric/events{/privacy}","received_events_url":"https://api.github.com/users/sourcefabric/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcefabric/Booktype","description":"Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes.","fork":false,"url":"https://api.github.com/repos/sourcefabric/Booktype","forks_url":"https://api.github.com/repos/sourcefabric/Booktype/forks","keys_url":"https://api.github.com/repos/sourcefabric/Booktype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcefabric/Booktype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcefabric/Booktype/teams","hooks_url":"https://api.github.com/repos/sourcefabric/Booktype/hooks","issue_events_url":"https://api.github.com/repos/sourcefabric/Booktype/issues/events{/number}","events_url":"https://api.github.com/repos/sourcefabric/Booktype/events","assignees_url":"https://api.github.com/repos/sourcefabric/Booktype/assignees{/user}","branches_url":"https://api.github.com/repos/sourcefabric/Booktype/branches{/branch}","tags_url":"https://api.github.com/repos/sourcefabric/Booktype/tags","blobs_url":"https://api.github.com/repos/sourcefabric/Booktype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcefabric/Booktype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcefabric/Booktype/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcefabric/Booktype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcefabric/Booktype/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcefabric/Booktype/languages","stargazers_url":"https://api.github.com/repos/sourcefabric/Booktype/stargazers","contributors_url":"https://api.github.com/repos/sourcefabric/Booktype/contributors","subscribers_url":"https://api.github.com/repos/sourcefabric/Booktype/subscribers","subscription_url":"https://api.github.com/repos/sourcefabric/Booktype/subscription","commits_url":"https://api.github.com/repos/sourcefabric/Booktype/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcefabric/Booktype/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcefabric/Booktype/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcefabric/Booktype/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcefabric/Booktype/contents/{+path}","compare_url":"https://api.github.com/repos/sourcefabric/Booktype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcefabric/Booktype/merges","archive_url":"https://api.github.com/repos/sourcefabric/Booktype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcefabric/Booktype/downloads","issues_url":"https://api.github.com/repos/sourcefabric/Booktype/issues{/number}","pulls_url":"https://api.github.com/repos/sourcefabric/Booktype/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcefabric/Booktype/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcefabric/Booktype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcefabric/Booktype/labels{/name}","releases_url":"https://api.github.com/repos/sourcefabric/Booktype/releases{/id}","deployments_url":"https://api.github.com/repos/sourcefabric/Booktype/deployments","created_at":"2012-02-14T06:11:06Z","updated_at":"2016-12-21T14:24:36Z","pushed_at":"2016-12-21T15:01:45Z","git_url":"git://github.com/sourcefabric/Booktype.git","ssh_url":"git@github.com:sourcefabric/Booktype.git","clone_url":"https://github.com/sourcefabric/Booktype.git","svn_url":"https://github.com/sourcefabric/Booktype","homepage":"http://sourcefabric.github.com/Booktype","size":29194,"stargazers_count":567,"watchers_count":567,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":113,"mirror_url":null,"open_issues_count":3,"forks":113,"open_issues":3,"watchers":567,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616"},"html":{"href":"https://github.com/sourcefabric/Booktype/pull/616"},"issue":{"href":"https://api.github.com/repos/sourcefabric/Booktype/issues/616"},"comments":{"href":"https://api.github.com/repos/sourcefabric/Booktype/issues/616/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcefabric/Booktype/pulls/616/commits"},"statuses":{"href":"https://api.github.com/repos/sourcefabric/Booktype/statuses/3e17ab3fe281f3cabc44cd9fe34b232fb547155f"}}}}
{"actor":{"display_login":"eos87"}}