{"action":"created","comment":{"url":"https://api.github.com/repos/nextcloud/appstore/pulls/comments/74462701","id":74462701,"diff_hunk":"@@ -0,0 +1,29 @@\n+{% extends 'app/base.html' %}\n+{% load i18n %}\n+{% load staticfiles %}\n+\n+{% block head-title %}{% trans 'Upload App'%} - {% endblock %}\n+\n+{% block head %}\n+    <script defer=\"defer\" src=\"{% static 'assets/js/app-upload.js' %}\"></script>\n+{% endblock %}\n+\n+{% block apps %}\n+    <h1>{% trans 'Upload App' %}</h1>\n+    <section class=\"app-upload\">\n+        {% if request.user.is_authenticated %}\n+        <form id=\"app-upload-form\" method=\"post\" action=\"{{ api_url }}\">","path":"nextcloudappstore/core/templates/app/upload.html","position":15,"original_position":15,"commit_id":"97b36b911be3f84a1e0247f3d60b647851676d77","original_commit_id":"97b36b911be3f84a1e0247f3d60b647851676d77","user":{"login":"BernhardPosselt","id":195053,"avatar_url":"https://avatars.githubusercontent.com/u/195053?v=3","gravatar_id":"","url":"https://api.github.com/users/BernhardPosselt","html_url":"https://github.com/BernhardPosselt","followers_url":"https://api.github.com/users/BernhardPosselt/followers","following_url":"https://api.github.com/users/BernhardPosselt/following{/other_user}","gists_url":"https://api.github.com/users/BernhardPosselt/gists{/gist_id}","starred_url":"https://api.github.com/users/BernhardPosselt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernhardPosselt/subscriptions","organizations_url":"https://api.github.com/users/BernhardPosselt/orgs","repos_url":"https://api.github.com/users/BernhardPosselt/repos","events_url":"https://api.github.com/users/BernhardPosselt/events{/privacy}","received_events_url":"https://api.github.com/users/BernhardPosselt/received_events","type":"User","site_admin":false},"body":"where do we get the variable from? maybe we should reverse the url with the url tag","created_at":"2016-08-11T17:11:46Z","updated_at":"2016-08-11T17:11:46Z","html_url":"https://github.com/nextcloud/appstore/pull/165#discussion_r74462701","pull_request_url":"https://api.github.com/repos/nextcloud/appstore/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/comments/74462701"},"html":{"href":"https://github.com/nextcloud/appstore/pull/165#discussion_r74462701"},"pull_request":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/nextcloud/appstore/pulls/165","id":80930559,"html_url":"https://github.com/nextcloud/appstore/pull/165","diff_url":"https://github.com/nextcloud/appstore/pull/165.diff","patch_url":"https://github.com/nextcloud/appstore/pull/165.patch","issue_url":"https://api.github.com/repos/nextcloud/appstore/issues/165","number":165,"state":"open","locked":false,"title":"Fix #116: Create app upload form","user":{"login":"janibonnevier","id":6655449,"avatar_url":"https://avatars.githubusercontent.com/u/6655449?v=3","gravatar_id":"","url":"https://api.github.com/users/janibonnevier","html_url":"https://github.com/janibonnevier","followers_url":"https://api.github.com/users/janibonnevier/followers","following_url":"https://api.github.com/users/janibonnevier/following{/other_user}","gists_url":"https://api.github.com/users/janibonnevier/gists{/gist_id}","starred_url":"https://api.github.com/users/janibonnevier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janibonnevier/subscriptions","organizations_url":"https://api.github.com/users/janibonnevier/orgs","repos_url":"https://api.github.com/users/janibonnevier/repos","events_url":"https://api.github.com/users/janibonnevier/events{/privacy}","received_events_url":"https://api.github.com/users/janibonnevier/received_events","type":"User","site_admin":false},"body":"#116 \r\n\r\nJS probably needs some work. I copypasted `ObtainAuthToken` and modified it so that it returns the token based on `SessionAuthentication`, and not just the data sent for `BasicAuthentication`.\r\n\r\n@BernhardPosselt ","created_at":"2016-08-11T09:55:52Z","updated_at":"2016-08-11T17:11:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8358f4f7a6c8a26bf5b874f9885466fee8306e4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nextcloud/appstore/pulls/165/commits","review_comments_url":"https://api.github.com/repos/nextcloud/appstore/pulls/165/comments","review_comment_url":"https://api.github.com/repos/nextcloud/appstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nextcloud/appstore/issues/165/comments","statuses_url":"https://api.github.com/repos/nextcloud/appstore/statuses/97b36b911be3f84a1e0247f3d60b647851676d77","head":{"label":"nextcloud:app-upload-form","ref":"app-upload-form","sha":"97b36b911be3f84a1e0247f3d60b647851676d77","user":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":60363294,"name":"appstore","full_name":"nextcloud/appstore","owner":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextcloud/appstore","description":" :convenience_store: A new app store for Nextcloud","fork":false,"url":"https://api.github.com/repos/nextcloud/appstore","forks_url":"https://api.github.com/repos/nextcloud/appstore/forks","keys_url":"https://api.github.com/repos/nextcloud/appstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/appstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/appstore/teams","hooks_url":"https://api.github.com/repos/nextcloud/appstore/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/appstore/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/appstore/events","assignees_url":"https://api.github.com/repos/nextcloud/appstore/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/appstore/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/appstore/tags","blobs_url":"https://api.github.com/repos/nextcloud/appstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/appstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/appstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/appstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/appstore/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/appstore/languages","stargazers_url":"https://api.github.com/repos/nextcloud/appstore/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/appstore/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/appstore/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/appstore/subscription","commits_url":"https://api.github.com/repos/nextcloud/appstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/appstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/appstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/appstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/appstore/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/appstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/appstore/merges","archive_url":"https://api.github.com/repos/nextcloud/appstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/appstore/downloads","issues_url":"https://api.github.com/repos/nextcloud/appstore/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/appstore/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/appstore/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/appstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/appstore/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/appstore/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/appstore/deployments","created_at":"2016-06-03T16:49:16Z","updated_at":"2016-08-03T16:41:13Z","pushed_at":"2016-08-11T09:56:57Z","git_url":"git://github.com/nextcloud/appstore.git","ssh_url":"git@github.com:nextcloud/appstore.git","clone_url":"https://github.com/nextcloud/appstore.git","svn_url":"https://github.com/nextcloud/appstore","homepage":"https://apps.nextcloud.com","size":3648,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":24,"forks":10,"open_issues":24,"watchers":20,"default_branch":"master"}},"base":{"label":"nextcloud:master","ref":"master","sha":"c335fc22071c74eb0d16e47581426ecd363917fd","user":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":60363294,"name":"appstore","full_name":"nextcloud/appstore","owner":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextcloud/appstore","description":" :convenience_store: A new app store for Nextcloud","fork":false,"url":"https://api.github.com/repos/nextcloud/appstore","forks_url":"https://api.github.com/repos/nextcloud/appstore/forks","keys_url":"https://api.github.com/repos/nextcloud/appstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/appstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/appstore/teams","hooks_url":"https://api.github.com/repos/nextcloud/appstore/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/appstore/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/appstore/events","assignees_url":"https://api.github.com/repos/nextcloud/appstore/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/appstore/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/appstore/tags","blobs_url":"https://api.github.com/repos/nextcloud/appstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/appstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/appstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/appstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/appstore/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/appstore/languages","stargazers_url":"https://api.github.com/repos/nextcloud/appstore/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/appstore/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/appstore/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/appstore/subscription","commits_url":"https://api.github.com/repos/nextcloud/appstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/appstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/appstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/appstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/appstore/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/appstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/appstore/merges","archive_url":"https://api.github.com/repos/nextcloud/appstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/appstore/downloads","issues_url":"https://api.github.com/repos/nextcloud/appstore/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/appstore/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/appstore/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/appstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/appstore/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/appstore/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/appstore/deployments","created_at":"2016-06-03T16:49:16Z","updated_at":"2016-08-03T16:41:13Z","pushed_at":"2016-08-11T09:56:57Z","git_url":"git://github.com/nextcloud/appstore.git","ssh_url":"git@github.com:nextcloud/appstore.git","clone_url":"https://github.com/nextcloud/appstore.git","svn_url":"https://github.com/nextcloud/appstore","homepage":"https://apps.nextcloud.com","size":3648,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":24,"forks":10,"open_issues":24,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/165"},"html":{"href":"https://github.com/nextcloud/appstore/pull/165"},"issue":{"href":"https://api.github.com/repos/nextcloud/appstore/issues/165"},"comments":{"href":"https://api.github.com/repos/nextcloud/appstore/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nextcloud/appstore/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/nextcloud/appstore/statuses/97b36b911be3f84a1e0247f3d60b647851676d77"}}}}
{"actor":{"display_login":"BernhardPosselt"}}