{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/58716492","id":58716492,"diff_hunk":"@@ -59,6 +59,7 @@ def init_app(self, app, assets=None, **kwargs):\n \n         # Add Jinja2 extensions.\n         app.jinja_env.add_extension('jinja2.ext.do')\n+        app.jinja_env.autoescape = False","path":"inspirehep/modules/theme/ext.py","position":4,"original_position":4,"commit_id":"2dc7ddc1e8060d7592dadfd2d1d776fefd8eb963","original_commit_id":"2dc7ddc1e8060d7592dadfd2d1d776fefd8eb963","user":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"body":"Actually we should really keep autoescape to `True` in order to avoid XSS slipping through","created_at":"2016-04-06T14:38:49Z","updated_at":"2016-04-06T14:38:49Z","html_url":"https://github.com/inspirehep/inspire-next/pull/990#discussion_r58716492","pull_request_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/58716492"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/990#discussion_r58716492"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990"}}},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990","id":62399218,"html_url":"https://github.com/inspirehep/inspire-next/pull/990","diff_url":"https://github.com/inspirehep/inspire-next/pull/990.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/990.patch","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/990","number":990,"state":"open","locked":false,"title":"WIP author profiles: skeleton for further development","user":{"login":"jacenkow","id":12476583,"avatar_url":"https://avatars.githubusercontent.com/u/12476583?v=3","gravatar_id":"","url":"https://api.github.com/users/jacenkow","html_url":"https://github.com/jacenkow","followers_url":"https://api.github.com/users/jacenkow/followers","following_url":"https://api.github.com/users/jacenkow/following{/other_user}","gists_url":"https://api.github.com/users/jacenkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jacenkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacenkow/subscriptions","organizations_url":"https://api.github.com/users/jacenkow/orgs","repos_url":"https://api.github.com/users/jacenkow/repos","events_url":"https://api.github.com/users/jacenkow/events{/privacy}","received_events_url":"https://api.github.com/users/jacenkow/received_events","type":"User","site_admin":false},"body":"* Adds Angular.js app in authors module.\r\n\r\n* Adds an API endpoint for collecting all publications by a given author.\r\n\r\n* Adds new templates for an author brief and detailed views.\r\n\r\nSigned-off-by: Grzegorz Jacenków <grzegorz.jacenkow@cern.ch>","created_at":"2016-03-10T14:42:52Z","updated_at":"2016-04-06T14:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d35e23fed676302220612d9ed9644cdc77df9fa","assignee":null,"milestone":{"url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/4","html_url":"https://github.com/inspirehep/inspire-next/milestones/Enabling%20authors","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/4/labels","id":1202934,"number":4,"title":"Enabling authors","description":"New author work from Gilles is enabled\r\n* Disambiguation algorithm now happen on Labs only\r\n* Matching of predicted clusters with existing profiles, accounting for claims and rejections\r\n* This implies profiles and HEPNames have become the same thing.\r\n* This implies a new interface to claim papers now exists on labs\r\n* Profiles on prod are disabled\r\n* Labs becomes the master for author profiles/hepnames.\r\n* Editing of bibliographic metadata can only happen now on Labs using one of Javier's deposit interfaces.\r\n* All the HepNames from prod that are not attached to any profile, that have more than just name and affiliation should be copied over into a limbo where they could be associated to bootstrap bibliographic information of profiles.\r\n* Records edited on labs are pushed via batchupload to prod\r\n* For new profiles, either we have a range of record IDs reserved on Labs/Prod enough big for all the foreseen profiles, or we have to use prod as a master source of record IDs.\r\n* This implies /author/profile/S.Mele.1 on prod redirects to Labs in a clear way\r\nWhat happen to users who leave prod for labs upon visiting a profile? They will not come back to prod. So we should be feature full by then, in terms of user facing functionalities\r\n* We should make author:b.storaci.1 still works on prod\r\n* BibTeX, LaTeX (EU, US), Endnote(?)  export support (it's core functionality!)\r\n* Citesummary? Probably we can still rely on prod for that\r\n","creator":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":5,"state":"open","created_at":"2015-07-10T19:13:15Z","updated_at":"2016-03-11T13:08:10Z","due_on":"2016-03-30T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/990/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/2dc7ddc1e8060d7592dadfd2d1d776fefd8eb963","head":{"label":"jacenkow:author-profiles","ref":"author-profiles","sha":"2dc7ddc1e8060d7592dadfd2d1d776fefd8eb963","user":{"login":"jacenkow","id":12476583,"avatar_url":"https://avatars.githubusercontent.com/u/12476583?v=3","gravatar_id":"","url":"https://api.github.com/users/jacenkow","html_url":"https://github.com/jacenkow","followers_url":"https://api.github.com/users/jacenkow/followers","following_url":"https://api.github.com/users/jacenkow/following{/other_user}","gists_url":"https://api.github.com/users/jacenkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jacenkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacenkow/subscriptions","organizations_url":"https://api.github.com/users/jacenkow/orgs","repos_url":"https://api.github.com/users/jacenkow/repos","events_url":"https://api.github.com/users/jacenkow/events{/privacy}","received_events_url":"https://api.github.com/users/jacenkow/received_events","type":"User","site_admin":false},"repo":{"id":41850246,"name":"inspire-next","full_name":"jacenkow/inspire-next","owner":{"login":"jacenkow","id":12476583,"avatar_url":"https://avatars.githubusercontent.com/u/12476583?v=3","gravatar_id":"","url":"https://api.github.com/users/jacenkow","html_url":"https://github.com/jacenkow","followers_url":"https://api.github.com/users/jacenkow/followers","following_url":"https://api.github.com/users/jacenkow/following{/other_user}","gists_url":"https://api.github.com/users/jacenkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jacenkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacenkow/subscriptions","organizations_url":"https://api.github.com/users/jacenkow/orgs","repos_url":"https://api.github.com/users/jacenkow/repos","events_url":"https://api.github.com/users/jacenkow/events{/privacy}","received_events_url":"https://api.github.com/users/jacenkow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacenkow/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":true,"url":"https://api.github.com/repos/jacenkow/inspire-next","forks_url":"https://api.github.com/repos/jacenkow/inspire-next/forks","keys_url":"https://api.github.com/repos/jacenkow/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacenkow/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacenkow/inspire-next/teams","hooks_url":"https://api.github.com/repos/jacenkow/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/jacenkow/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/jacenkow/inspire-next/events","assignees_url":"https://api.github.com/repos/jacenkow/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/jacenkow/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/jacenkow/inspire-next/tags","blobs_url":"https://api.github.com/repos/jacenkow/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacenkow/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacenkow/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacenkow/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacenkow/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/jacenkow/inspire-next/languages","stargazers_url":"https://api.github.com/repos/jacenkow/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/jacenkow/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/jacenkow/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/jacenkow/inspire-next/subscription","commits_url":"https://api.github.com/repos/jacenkow/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacenkow/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacenkow/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacenkow/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacenkow/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/jacenkow/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacenkow/inspire-next/merges","archive_url":"https://api.github.com/repos/jacenkow/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacenkow/inspire-next/downloads","issues_url":"https://api.github.com/repos/jacenkow/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/jacenkow/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/jacenkow/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/jacenkow/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacenkow/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/jacenkow/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/jacenkow/inspire-next/deployments","created_at":"2015-09-03T08:51:03Z","updated_at":"2016-01-21T11:38:48Z","pushed_at":"2016-04-05T16:15:14Z","git_url":"git://github.com/jacenkow/inspire-next.git","ssh_url":"git@github.com:jacenkow/inspire-next.git","clone_url":"https://github.com/jacenkow/inspire-next.git","svn_url":"https://github.com/jacenkow/inspire-next","homepage":"https://labs.inspirehep.net","size":55309,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"inspirehep:invenio3","ref":"invenio3","sha":"aeed027dfeef1bf4d92a4850f0d316bc4ea01a40","user":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"repo":{"id":15221515,"name":"inspire-next","full_name":"inspirehep/inspire-next","owner":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspirehep/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":false,"url":"https://api.github.com/repos/inspirehep/inspire-next","forks_url":"https://api.github.com/repos/inspirehep/inspire-next/forks","keys_url":"https://api.github.com/repos/inspirehep/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspire-next/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspire-next/events","assignees_url":"https://api.github.com/repos/inspirehep/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspire-next/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspire-next/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspire-next/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspire-next/merges","archive_url":"https://api.github.com/repos/inspirehep/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspire-next/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspire-next/deployments","created_at":"2013-12-16T09:11:58Z","updated_at":"2016-03-01T14:33:40Z","pushed_at":"2016-04-06T14:12:58Z","git_url":"git://github.com/inspirehep/inspire-next.git","ssh_url":"git@github.com:inspirehep/inspire-next.git","clone_url":"https://github.com/inspirehep/inspire-next.git","svn_url":"https://github.com/inspirehep/inspire-next","homepage":"https://labs.inspirehep.net","size":56771,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":122,"forks":28,"open_issues":122,"watchers":11,"default_branch":"invenio3"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/990"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/990"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/990/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/990/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspire-next/statuses/2dc7ddc1e8060d7592dadfd2d1d776fefd8eb963"}}}}