{"action":"created","comment":{"url":"https://api.github.com/repos/translate/pootle/pulls/comments/66049946","id":66049946,"diff_hunk":"@@ -29,7 +29,7 @@\n       CONTACT_ENABLED: {{ settings.POOTLE_CONTACT_ENABLED|yesno:'true, false' }},\n       SIGNUP_ENABLED: {{ settings.POOTLE_SIGNUP_ENABLED|yesno:'true, false' }},\n       MARKUP_FILTER: '{{ settings.POOTLE_MARKUP_FILTER }}',\n-      SOCIAL_AUTH_PROVIDERS: {{ SOCIAL_AUTH_PROVIDERS|safe }},\n+      SOCIAL_AUTH_PROVIDERS: {{ SOCIAL_AUTH_PROVIDERS|to_js }},","path":"pootle/templates/layout.html","position":11,"original_position":5,"commit_id":"99e35234783520a99abf1362c49d5bf1b7c2fccb","original_commit_id":"ef8cf468f769f60d18109c53c9d45524681a5e6b","user":{"login":"julen","id":16768,"avatar_url":"https://avatars.githubusercontent.com/u/16768?v=3","gravatar_id":"","url":"https://api.github.com/users/julen","html_url":"https://github.com/julen","followers_url":"https://api.github.com/users/julen/followers","following_url":"https://api.github.com/users/julen/following{/other_user}","gists_url":"https://api.github.com/users/julen/gists{/gist_id}","starred_url":"https://api.github.com/users/julen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julen/subscriptions","organizations_url":"https://api.github.com/users/julen/orgs","repos_url":"https://api.github.com/users/julen/repos","events_url":"https://api.github.com/users/julen/events{/privacy}","received_events_url":"https://api.github.com/users/julen/received_events","type":"User","site_admin":false},"body":"It's there (you might have taken a look at the first push).","created_at":"2016-06-07T11:03:04Z","updated_at":"2016-06-07T11:03:04Z","html_url":"https://github.com/translate/pootle/pull/4786#discussion_r66049946","pull_request_url":"https://api.github.com/repos/translate/pootle/pulls/4786","_links":{"self":{"href":"https://api.github.com/repos/translate/pootle/pulls/comments/66049946"},"html":{"href":"https://github.com/translate/pootle/pull/4786#discussion_r66049946"},"pull_request":{"href":"https://api.github.com/repos/translate/pootle/pulls/4786"}}},"pull_request":{"url":"https://api.github.com/repos/translate/pootle/pulls/4786","id":72845113,"html_url":"https://github.com/translate/pootle/pull/4786","diff_url":"https://github.com/translate/pootle/pull/4786.diff","patch_url":"https://github.com/translate/pootle/pull/4786.patch","issue_url":"https://api.github.com/repos/translate/pootle/issues/4786","number":4786,"state":"open","locked":false,"title":"Cleanup: simplify JS object parsing in templates","user":{"login":"julen","id":16768,"avatar_url":"https://avatars.githubusercontent.com/u/16768?v=3","gravatar_id":"","url":"https://api.github.com/users/julen","html_url":"https://github.com/julen","followers_url":"https://api.github.com/users/julen/followers","following_url":"https://api.github.com/users/julen/following{/other_user}","gists_url":"https://api.github.com/users/julen/gists{/gist_id}","starred_url":"https://api.github.com/users/julen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julen/subscriptions","organizations_url":"https://api.github.com/users/julen/orgs","repos_url":"https://api.github.com/users/julen/repos","events_url":"https://api.github.com/users/julen/events{/privacy}","received_events_url":"https://api.github.com/users/julen/received_events","type":"User","site_admin":false},"body":"By using the `to_js` filter on any Python object, it'll return all what's needed\r\nto read the value into a native JS object via JSON, e.g.:\r\n\r\n  var js_foo = {{ my_python_object|to_js }};\r\n\r\nTherefore removing all the error-prone boilerplate needed at the moment.","created_at":"2016-06-07T09:47:08Z","updated_at":"2016-06-07T11:03:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8a44ba402df367817bd0d28eabd5740dcbd4fdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/translate/pootle/pulls/4786/commits","review_comments_url":"https://api.github.com/repos/translate/pootle/pulls/4786/comments","review_comment_url":"https://api.github.com/repos/translate/pootle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/translate/pootle/issues/4786/comments","statuses_url":"https://api.github.com/repos/translate/pootle/statuses/99e35234783520a99abf1362c49d5bf1b7c2fccb","head":{"label":"julen:cleanup/to-js","ref":"cleanup/to-js","sha":"99e35234783520a99abf1362c49d5bf1b7c2fccb","user":{"login":"julen","id":16768,"avatar_url":"https://avatars.githubusercontent.com/u/16768?v=3","gravatar_id":"","url":"https://api.github.com/users/julen","html_url":"https://github.com/julen","followers_url":"https://api.github.com/users/julen/followers","following_url":"https://api.github.com/users/julen/following{/other_user}","gists_url":"https://api.github.com/users/julen/gists{/gist_id}","starred_url":"https://api.github.com/users/julen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julen/subscriptions","organizations_url":"https://api.github.com/users/julen/orgs","repos_url":"https://api.github.com/users/julen/repos","events_url":"https://api.github.com/users/julen/events{/privacy}","received_events_url":"https://api.github.com/users/julen/received_events","type":"User","site_admin":false},"repo":{"id":4672663,"name":"pootle","full_name":"julen/pootle","owner":{"login":"julen","id":16768,"avatar_url":"https://avatars.githubusercontent.com/u/16768?v=3","gravatar_id":"","url":"https://api.github.com/users/julen","html_url":"https://github.com/julen","followers_url":"https://api.github.com/users/julen/followers","following_url":"https://api.github.com/users/julen/following{/other_user}","gists_url":"https://api.github.com/users/julen/gists{/gist_id}","starred_url":"https://api.github.com/users/julen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julen/subscriptions","organizations_url":"https://api.github.com/users/julen/orgs","repos_url":"https://api.github.com/users/julen/repos","events_url":"https://api.github.com/users/julen/events{/privacy}","received_events_url":"https://api.github.com/users/julen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/julen/pootle","description":"Online translation tool","fork":true,"url":"https://api.github.com/repos/julen/pootle","forks_url":"https://api.github.com/repos/julen/pootle/forks","keys_url":"https://api.github.com/repos/julen/pootle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/julen/pootle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/julen/pootle/teams","hooks_url":"https://api.github.com/repos/julen/pootle/hooks","issue_events_url":"https://api.github.com/repos/julen/pootle/issues/events{/number}","events_url":"https://api.github.com/repos/julen/pootle/events","assignees_url":"https://api.github.com/repos/julen/pootle/assignees{/user}","branches_url":"https://api.github.com/repos/julen/pootle/branches{/branch}","tags_url":"https://api.github.com/repos/julen/pootle/tags","blobs_url":"https://api.github.com/repos/julen/pootle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/julen/pootle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/julen/pootle/git/refs{/sha}","trees_url":"https://api.github.com/repos/julen/pootle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/julen/pootle/statuses/{sha}","languages_url":"https://api.github.com/repos/julen/pootle/languages","stargazers_url":"https://api.github.com/repos/julen/pootle/stargazers","contributors_url":"https://api.github.com/repos/julen/pootle/contributors","subscribers_url":"https://api.github.com/repos/julen/pootle/subscribers","subscription_url":"https://api.github.com/repos/julen/pootle/subscription","commits_url":"https://api.github.com/repos/julen/pootle/commits{/sha}","git_commits_url":"https://api.github.com/repos/julen/pootle/git/commits{/sha}","comments_url":"https://api.github.com/repos/julen/pootle/comments{/number}","issue_comment_url":"https://api.github.com/repos/julen/pootle/issues/comments{/number}","contents_url":"https://api.github.com/repos/julen/pootle/contents/{+path}","compare_url":"https://api.github.com/repos/julen/pootle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/julen/pootle/merges","archive_url":"https://api.github.com/repos/julen/pootle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/julen/pootle/downloads","issues_url":"https://api.github.com/repos/julen/pootle/issues{/number}","pulls_url":"https://api.github.com/repos/julen/pootle/pulls{/number}","milestones_url":"https://api.github.com/repos/julen/pootle/milestones{/number}","notifications_url":"https://api.github.com/repos/julen/pootle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/julen/pootle/labels{/name}","releases_url":"https://api.github.com/repos/julen/pootle/releases{/id}","deployments_url":"https://api.github.com/repos/julen/pootle/deployments","created_at":"2012-06-15T07:43:19Z","updated_at":"2015-03-24T02:58:12Z","pushed_at":"2016-06-07T10:54:26Z","git_url":"git://github.com/julen/pootle.git","ssh_url":"git@github.com:julen/pootle.git","clone_url":"https://github.com/julen/pootle.git","svn_url":"https://github.com/julen/pootle","homepage":"http://translate.sourceforge.net/wiki/pootle/index","size":76046,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"translate:master","ref":"master","sha":"c38dc9156c2c1fd03b6431a74e4b8715db7c0d55","user":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"repo":{"id":3769702,"name":"pootle","full_name":"translate/pootle","owner":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/translate/pootle","description":"Online translation tool","fork":false,"url":"https://api.github.com/repos/translate/pootle","forks_url":"https://api.github.com/repos/translate/pootle/forks","keys_url":"https://api.github.com/repos/translate/pootle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/translate/pootle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/translate/pootle/teams","hooks_url":"https://api.github.com/repos/translate/pootle/hooks","issue_events_url":"https://api.github.com/repos/translate/pootle/issues/events{/number}","events_url":"https://api.github.com/repos/translate/pootle/events","assignees_url":"https://api.github.com/repos/translate/pootle/assignees{/user}","branches_url":"https://api.github.com/repos/translate/pootle/branches{/branch}","tags_url":"https://api.github.com/repos/translate/pootle/tags","blobs_url":"https://api.github.com/repos/translate/pootle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/translate/pootle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/translate/pootle/git/refs{/sha}","trees_url":"https://api.github.com/repos/translate/pootle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/translate/pootle/statuses/{sha}","languages_url":"https://api.github.com/repos/translate/pootle/languages","stargazers_url":"https://api.github.com/repos/translate/pootle/stargazers","contributors_url":"https://api.github.com/repos/translate/pootle/contributors","subscribers_url":"https://api.github.com/repos/translate/pootle/subscribers","subscription_url":"https://api.github.com/repos/translate/pootle/subscription","commits_url":"https://api.github.com/repos/translate/pootle/commits{/sha}","git_commits_url":"https://api.github.com/repos/translate/pootle/git/commits{/sha}","comments_url":"https://api.github.com/repos/translate/pootle/comments{/number}","issue_comment_url":"https://api.github.com/repos/translate/pootle/issues/comments{/number}","contents_url":"https://api.github.com/repos/translate/pootle/contents/{+path}","compare_url":"https://api.github.com/repos/translate/pootle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/translate/pootle/merges","archive_url":"https://api.github.com/repos/translate/pootle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/translate/pootle/downloads","issues_url":"https://api.github.com/repos/translate/pootle/issues{/number}","pulls_url":"https://api.github.com/repos/translate/pootle/pulls{/number}","milestones_url":"https://api.github.com/repos/translate/pootle/milestones{/number}","notifications_url":"https://api.github.com/repos/translate/pootle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/translate/pootle/labels{/name}","releases_url":"https://api.github.com/repos/translate/pootle/releases{/id}","deployments_url":"https://api.github.com/repos/translate/pootle/deployments","created_at":"2012-03-19T23:06:03Z","updated_at":"2016-06-06T16:43:19Z","pushed_at":"2016-06-07T10:54:27Z","git_url":"git://github.com/translate/pootle.git","ssh_url":"git@github.com:translate/pootle.git","clone_url":"https://github.com/translate/pootle.git","svn_url":"https://github.com/translate/pootle","homepage":"http://pootle.translatehouse.org","size":90456,"stargazers_count":645,"watchers_count":645,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":188,"mirror_url":null,"open_issues_count":348,"forks":188,"open_issues":348,"watchers":645,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/translate/pootle/pulls/4786"},"html":{"href":"https://github.com/translate/pootle/pull/4786"},"issue":{"href":"https://api.github.com/repos/translate/pootle/issues/4786"},"comments":{"href":"https://api.github.com/repos/translate/pootle/issues/4786/comments"},"review_comments":{"href":"https://api.github.com/repos/translate/pootle/pulls/4786/comments"},"review_comment":{"href":"https://api.github.com/repos/translate/pootle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/translate/pootle/pulls/4786/commits"},"statuses":{"href":"https://api.github.com/repos/translate/pootle/statuses/99e35234783520a99abf1362c49d5bf1b7c2fccb"}}}}
{"actor":{"display_login":"julen"}}