{"action":"created","comment":{"url":"https://api.github.com/repos/MTG/freesound/pulls/comments/94084620","pull_request_review_id":14614441,"id":94084620,"diff_hunk":"@@ -0,0 +1,36 @@\n+{% extends \"base.html\" %}\n+\n+\n+{% block content %}\n+<div id=\"content_full\"> <!-- START of Content area -->\n+\n+  <h1>Donations</h1>\n+  <p>\n+  Thank you for supporting Freesound, you can complete the following form with the name that will appear with the donation:\n+  </p>\n+  <!-- donations -->\n+    <div id=\"donation_form\">\n+      {% if debug %}\n+        <form name=\"_xclick\" action=\"https://www.sandbox.paypal.com/yt/cgi-bin/webscr\" method=\"post\">\n+      {% else %}\n+        <form name=\"_xclick\" action=\"https://www.paypal.com/yt/cgi-bin/webscr\" method=\"post\">\n+      {% endif %}\n+          <input type=\"hidden\" name=\"cmd\" value=\"_donations\">\n+          <input type=\"hidden\" name=\"currency_code\" value=\"EUR\">\n+          <input type=\"hidden\" name=\"business\" value=\"{{ paypal_email }}\">\n+          <input type=\"hidden\" name=\"item_name\" value=\"Freesound\">\n+          <label>Name</label><input type=\"text\" name=\"custom\" value=\"Anonymous\">\n+          <input type=\"hidden\" name=\"notify_url\" value=\"{{ request.scheme }}://{{ request.get_host }}{% url 'donation-complete' %}\">","path":"templates/accounts/donate.html","position":23,"original_position":23,"commit_id":"1467b77d67f93573d9cac12bfc22f3f9de0b0f83","original_commit_id":"1467b77d67f93573d9cac12bfc22f3f9de0b0f83","user":{"login":"bdejong","id":805269,"avatar_url":"https://avatars.githubusercontent.com/u/805269?v=3","gravatar_id":"","url":"https://api.github.com/users/bdejong","html_url":"https://github.com/bdejong","followers_url":"https://api.github.com/users/bdejong/followers","following_url":"https://api.github.com/users/bdejong/following{/other_user}","gists_url":"https://api.github.com/users/bdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/bdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdejong/subscriptions","organizations_url":"https://api.github.com/users/bdejong/orgs","repos_url":"https://api.github.com/users/bdejong/repos","events_url":"https://api.github.com/users/bdejong/events{/privacy}","received_events_url":"https://api.github.com/users/bdejong/received_events","type":"User","site_admin":false},"body":"I think we have a registered abs_url template tag for getting the absolute URL from a view.","created_at":"2016-12-28T22:31:49Z","updated_at":"2016-12-28T22:36:36Z","html_url":"https://github.com/MTG/freesound/pull/774#discussion_r94084620","pull_request_url":"https://api.github.com/repos/MTG/freesound/pulls/774","_links":{"self":{"href":"https://api.github.com/repos/MTG/freesound/pulls/comments/94084620"},"html":{"href":"https://github.com/MTG/freesound/pull/774#discussion_r94084620"},"pull_request":{"href":"https://api.github.com/repos/MTG/freesound/pulls/774"}}},"pull_request":{"url":"https://api.github.com/repos/MTG/freesound/pulls/774","id":99434523,"html_url":"https://github.com/MTG/freesound/pull/774","diff_url":"https://github.com/MTG/freesound/pull/774.diff","patch_url":"https://github.com/MTG/freesound/pull/774.patch","issue_url":"https://api.github.com/repos/MTG/freesound/issues/774","number":774,"state":"open","locked":false,"title":"Donations","user":{"login":"andrebola","id":991305,"avatar_url":"https://avatars.githubusercontent.com/u/991305?v=3","gravatar_id":"","url":"https://api.github.com/users/andrebola","html_url":"https://github.com/andrebola","followers_url":"https://api.github.com/users/andrebola/followers","following_url":"https://api.github.com/users/andrebola/following{/other_user}","gists_url":"https://api.github.com/users/andrebola/gists{/gist_id}","starred_url":"https://api.github.com/users/andrebola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrebola/subscriptions","organizations_url":"https://api.github.com/users/andrebola/orgs","repos_url":"https://api.github.com/users/andrebola/repos","events_url":"https://api.github.com/users/andrebola/events{/privacy}","received_events_url":"https://api.github.com/users/andrebola/received_events","type":"User","site_admin":false},"body":"After the donation is complete paypal communicates this information to\r\nthe server.- To make this work on test server we need to white list paypal\r\nfor authentication.\r\n\r\nIf settings.debug is true we communicate with paypal's sandbox service,\r\notherwise we communicate with paypal production service.","created_at":"2016-12-27T11:24:56Z","updated_at":"2016-12-28T22:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"efcee4062e1db93cb5e8eadb137348c8b84fec77","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MTG/freesound/pulls/774/commits","review_comments_url":"https://api.github.com/repos/MTG/freesound/pulls/774/comments","review_comment_url":"https://api.github.com/repos/MTG/freesound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MTG/freesound/issues/774/comments","statuses_url":"https://api.github.com/repos/MTG/freesound/statuses/1467b77d67f93573d9cac12bfc22f3f9de0b0f83","head":{"label":"MTG:donations","ref":"donations","sha":"1467b77d67f93573d9cac12bfc22f3f9de0b0f83","user":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"repo":{"id":6583992,"name":"freesound","full_name":"MTG/freesound","owner":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MTG/freesound","description":"The freesound.org website","fork":false,"url":"https://api.github.com/repos/MTG/freesound","forks_url":"https://api.github.com/repos/MTG/freesound/forks","keys_url":"https://api.github.com/repos/MTG/freesound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MTG/freesound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MTG/freesound/teams","hooks_url":"https://api.github.com/repos/MTG/freesound/hooks","issue_events_url":"https://api.github.com/repos/MTG/freesound/issues/events{/number}","events_url":"https://api.github.com/repos/MTG/freesound/events","assignees_url":"https://api.github.com/repos/MTG/freesound/assignees{/user}","branches_url":"https://api.github.com/repos/MTG/freesound/branches{/branch}","tags_url":"https://api.github.com/repos/MTG/freesound/tags","blobs_url":"https://api.github.com/repos/MTG/freesound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MTG/freesound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MTG/freesound/git/refs{/sha}","trees_url":"https://api.github.com/repos/MTG/freesound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MTG/freesound/statuses/{sha}","languages_url":"https://api.github.com/repos/MTG/freesound/languages","stargazers_url":"https://api.github.com/repos/MTG/freesound/stargazers","contributors_url":"https://api.github.com/repos/MTG/freesound/contributors","subscribers_url":"https://api.github.com/repos/MTG/freesound/subscribers","subscription_url":"https://api.github.com/repos/MTG/freesound/subscription","commits_url":"https://api.github.com/repos/MTG/freesound/commits{/sha}","git_commits_url":"https://api.github.com/repos/MTG/freesound/git/commits{/sha}","comments_url":"https://api.github.com/repos/MTG/freesound/comments{/number}","issue_comment_url":"https://api.github.com/repos/MTG/freesound/issues/comments{/number}","contents_url":"https://api.github.com/repos/MTG/freesound/contents/{+path}","compare_url":"https://api.github.com/repos/MTG/freesound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MTG/freesound/merges","archive_url":"https://api.github.com/repos/MTG/freesound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MTG/freesound/downloads","issues_url":"https://api.github.com/repos/MTG/freesound/issues{/number}","pulls_url":"https://api.github.com/repos/MTG/freesound/pulls{/number}","milestones_url":"https://api.github.com/repos/MTG/freesound/milestones{/number}","notifications_url":"https://api.github.com/repos/MTG/freesound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MTG/freesound/labels{/name}","releases_url":"https://api.github.com/repos/MTG/freesound/releases{/id}","deployments_url":"https://api.github.com/repos/MTG/freesound/deployments","created_at":"2012-11-07T18:25:03Z","updated_at":"2016-12-27T03:53:30Z","pushed_at":"2016-12-28T19:08:47Z","git_url":"git://github.com/MTG/freesound.git","ssh_url":"git@github.com:MTG/freesound.git","clone_url":"https://github.com/MTG/freesound.git","svn_url":"https://github.com/MTG/freesound","homepage":"http://freesound.org","size":57343,"stargazers_count":106,"watchers_count":106,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":117,"forks":30,"open_issues":117,"watchers":106,"default_branch":"master"}},"base":{"label":"MTG:master","ref":"master","sha":"cc552d30cc03fc4d0561bc29c236450e3eef0c10","user":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"repo":{"id":6583992,"name":"freesound","full_name":"MTG/freesound","owner":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MTG/freesound","description":"The freesound.org website","fork":false,"url":"https://api.github.com/repos/MTG/freesound","forks_url":"https://api.github.com/repos/MTG/freesound/forks","keys_url":"https://api.github.com/repos/MTG/freesound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MTG/freesound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MTG/freesound/teams","hooks_url":"https://api.github.com/repos/MTG/freesound/hooks","issue_events_url":"https://api.github.com/repos/MTG/freesound/issues/events{/number}","events_url":"https://api.github.com/repos/MTG/freesound/events","assignees_url":"https://api.github.com/repos/MTG/freesound/assignees{/user}","branches_url":"https://api.github.com/repos/MTG/freesound/branches{/branch}","tags_url":"https://api.github.com/repos/MTG/freesound/tags","blobs_url":"https://api.github.com/repos/MTG/freesound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MTG/freesound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MTG/freesound/git/refs{/sha}","trees_url":"https://api.github.com/repos/MTG/freesound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MTG/freesound/statuses/{sha}","languages_url":"https://api.github.com/repos/MTG/freesound/languages","stargazers_url":"https://api.github.com/repos/MTG/freesound/stargazers","contributors_url":"https://api.github.com/repos/MTG/freesound/contributors","subscribers_url":"https://api.github.com/repos/MTG/freesound/subscribers","subscription_url":"https://api.github.com/repos/MTG/freesound/subscription","commits_url":"https://api.github.com/repos/MTG/freesound/commits{/sha}","git_commits_url":"https://api.github.com/repos/MTG/freesound/git/commits{/sha}","comments_url":"https://api.github.com/repos/MTG/freesound/comments{/number}","issue_comment_url":"https://api.github.com/repos/MTG/freesound/issues/comments{/number}","contents_url":"https://api.github.com/repos/MTG/freesound/contents/{+path}","compare_url":"https://api.github.com/repos/MTG/freesound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MTG/freesound/merges","archive_url":"https://api.github.com/repos/MTG/freesound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MTG/freesound/downloads","issues_url":"https://api.github.com/repos/MTG/freesound/issues{/number}","pulls_url":"https://api.github.com/repos/MTG/freesound/pulls{/number}","milestones_url":"https://api.github.com/repos/MTG/freesound/milestones{/number}","notifications_url":"https://api.github.com/repos/MTG/freesound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MTG/freesound/labels{/name}","releases_url":"https://api.github.com/repos/MTG/freesound/releases{/id}","deployments_url":"https://api.github.com/repos/MTG/freesound/deployments","created_at":"2012-11-07T18:25:03Z","updated_at":"2016-12-27T03:53:30Z","pushed_at":"2016-12-28T19:08:47Z","git_url":"git://github.com/MTG/freesound.git","ssh_url":"git@github.com:MTG/freesound.git","clone_url":"https://github.com/MTG/freesound.git","svn_url":"https://github.com/MTG/freesound","homepage":"http://freesound.org","size":57343,"stargazers_count":106,"watchers_count":106,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":117,"forks":30,"open_issues":117,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MTG/freesound/pulls/774"},"html":{"href":"https://github.com/MTG/freesound/pull/774"},"issue":{"href":"https://api.github.com/repos/MTG/freesound/issues/774"},"comments":{"href":"https://api.github.com/repos/MTG/freesound/issues/774/comments"},"review_comments":{"href":"https://api.github.com/repos/MTG/freesound/pulls/774/comments"},"review_comment":{"href":"https://api.github.com/repos/MTG/freesound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MTG/freesound/pulls/774/commits"},"statuses":{"href":"https://api.github.com/repos/MTG/freesound/statuses/1467b77d67f93573d9cac12bfc22f3f9de0b0f83"}}}}
{"actor":{"display_login":"bdejong"}}