{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/65732022","id":65732022,"diff_hunk":"@@ -1,103 +1,88 @@\n \"\"\"Copyright 2015 Rafal Kowalski\"\"\"\n import logging\n \n-from flask import url_for, redirect, request\n+from flask import url_for, redirect, request, session\n from flask.ext import login\n-from flask_admin import helpers, expose\n+from flask_admin import expose\n from flask_admin.base import AdminIndexView\n+from flask.ext.scrypt import generate_password_hash\n \n-from ...forms.admin.auth.change_password import ChangePasswordForm\n-from ...forms.admin.auth.login_form import LoginForm\n-from ...forms.admin.auth.password_reminder_form import PasswordReminderForm\n-from ...forms.admin.auth.registration_form import RegistrationForm\n-from ...helpers.data import DataManager, save_to_db\n+from ...helpers.data import DataManager, save_to_db,get_google_auth,get_facebook_auth\n from ...helpers.data_getter import DataGetter\n from ...helpers.helpers import send_email_after_account_create, send_email_with_reset_password_hash\n+from open_event.models.user import User\n+from open_event.helpers.oauth import OAuth, FbOAuth\n \n \n def intended_url():\n     return request.args.get('next') or url_for('.index')\n \n \n class MyHomeView(AdminIndexView):\n+\n     @expose('/')\n     def index(self):\n-        \"\"\"Main page\"\"\"\n-        self._template = \"admin/auth.html\"\n-        if not login.current_user.is_authenticated:\n-            # print \"Unauthenticated user\"\n-            return redirect(url_for('.login_view'))\n-        else:\n-            # print \"Authenticated user\"\n-            self._template_args['events'] = DataGetter.get_all_events()\n-            self._template_args['owner_events'] = DataGetter.get_all_owner_events()\n-            return super(MyHomeView, self).index()\n+        return self.render('gentelella/admin/login/admin.html')\n \n     @expose('/login/', methods=('GET', 'POST'))\n     def login_view(self):\n-        \"\"\"Login view page\"\"\"\n-        # handle user login\n-        form = LoginForm(request.form)\n-        if helpers.validate_form_on_submit(form):\n-            user = form.get_user()\n-            login.login_user(user)\n+        valid_user = None\n+        if request.method == 'GET':\n+            google = get_google_auth()\n+            auth_url, state = google.authorization_url(OAuth.get_auth_uri(), access_type='offline')\n+            session['oauth_state'] = state\n \n-        if login.current_user.is_authenticated:\n+            # Add Facebook Oauth 2.0 login\n+            facebook = get_facebook_auth()\n+            fb_auth_url, state = facebook.authorization_url(FbOAuth.get_auth_uri(), access_type='offline')\n+            session['fb_oauth_state'] = state\n+            return self.render('/gentelella/admin/login/login.html', auth_url=auth_url, fb_auth_url=fb_auth_url)\n+        if request.method == 'POST':\n+            username = request.form['username']\n+            users = User.query.filter_by(login=username)\n+            for user in users:\n+                if user.password == generate_password_hash(request.form['password'], user.salt):\n+                    valid_user = user\n+            if valid_user is None:\n+                logging.info('No such user')\n+                return redirect(url_for('admin.login_view'))\n+            login.login_user(valid_user)\n+            logging.info('logged successfully')\n             return redirect(intended_url())\n-        link = '<p>Don\\'t have an account? <a href=\"' + url_for('.register_view') + '\">Click here to register.</a></p>' \\\n-                                                                                    '<p><a href=\"' + url_for(\n-                '.password_reminder_view') + '\">Forgot your password</a>?</p>'\n-        self._template_args['form'] = form\n-        self._template_args['link'] = link\n-        self._template_args['events'] = DataGetter.get_all_events()\n-        self._template = \"admin/auth.html\"\n-        return super(MyHomeView, self).index()\n \n     @expose('/register/', methods=('GET', 'POST'))\n     def register_view(self):\n         \"\"\"Register view page\"\"\"\n-        form = RegistrationForm(request.form)\n-        if helpers.validate_form_on_submit(form):\n+        if request.method == 'GET':\n+            return self.render('/gentelella/admin/login/register.html')\n+        if request.method == 'POST':\n             logging.info(\"Registration under process\")\n-            user = DataManager.create_user(form)\n+            user = DataManager.create_user(request.form)\n             login.login_user(user)\n-            send_email_after_account_create(form)\n+            send_email_after_account_create(request.form)\n             return redirect(intended_url())\n-        link = '<p>Already have an account? <a href=\"' + url_for('.login_view') + '\">Click here to log in.</a></p>'\n-        self._template_args['form'] = form\n-        self._template_args['link'] = link\n-        self._template_args['events'] = DataGetter.get_all_events()\n-        self._template = \"admin/auth.html\"\n-        return super(MyHomeView, self).index()\n \n-    @expose('/password/reminder', methods=('GET', 'POST'))\n-    def password_reminder_view(self):\n-        \"\"\"Password reminder view\"\"\"\n-        form = PasswordReminderForm(request.form)\n+    @expose('/password/reset', methods=('GET', 'POST'))\n+    def password_reset_view(self):\n+        \"\"\"Password reset view\"\"\"\n+        if request.method == 'GET':\n+            return self.render('/gentelella/admin/login/password_reminder.html')\n         if request.method == 'POST':\n-            if form.validate():\n-                email = form.email.data\n+                email = request.form['email']","path":"open_event/views/admin/home.py","position":119,"original_position":119,"commit_id":"efac9ec9315618a4f6c2b27cbac4cd13163553d2","original_commit_id":"efac9ec9315618a4f6c2b27cbac4cd13163553d2","user":{"login":"juslee","id":1696598,"avatar_url":"https://avatars.githubusercontent.com/u/1696598?v=3","gravatar_id":"","url":"https://api.github.com/users/juslee","html_url":"https://github.com/juslee","followers_url":"https://api.github.com/users/juslee/followers","following_url":"https://api.github.com/users/juslee/following{/other_user}","gists_url":"https://api.github.com/users/juslee/gists{/gist_id}","starred_url":"https://api.github.com/users/juslee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juslee/subscriptions","organizations_url":"https://api.github.com/users/juslee/orgs","repos_url":"https://api.github.com/users/juslee/repos","events_url":"https://api.github.com/users/juslee/events{/privacy}","received_events_url":"https://api.github.com/users/juslee/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Bad indentation. Found 16 spaces, expected 12](https://www.codacy.com/app/triplez/open-event-orga-server/file/2687272085/issues/source?bid=3233864&fileBranchId=3324174#l71)","created_at":"2016-06-03T15:59:51Z","updated_at":"2016-06-03T15:59:51Z","html_url":"https://github.com/fossasia/open-event-orga-server/pull/434#discussion_r65732022","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/65732022"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/434#discussion_r65732022"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434","id":71793044,"html_url":"https://github.com/fossasia/open-event-orga-server/pull/434","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/434.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/434.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/434","number":434,"state":"open","locked":false,"title":"Gsoc2016 ","user":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"body":"Ready to merge","created_at":"2016-05-28T04:55:23Z","updated_at":"2016-06-03T15:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c6218d597be57776e466459e8bf1639e6c1f91b","assignee":{"login":"juslee","id":1696598,"avatar_url":"https://avatars.githubusercontent.com/u/1696598?v=3","gravatar_id":"","url":"https://api.github.com/users/juslee","html_url":"https://github.com/juslee","followers_url":"https://api.github.com/users/juslee/followers","following_url":"https://api.github.com/users/juslee/following{/other_user}","gists_url":"https://api.github.com/users/juslee/gists{/gist_id}","starred_url":"https://api.github.com/users/juslee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juslee/subscriptions","organizations_url":"https://api.github.com/users/juslee/orgs","repos_url":"https://api.github.com/users/juslee/repos","events_url":"https://api.github.com/users/juslee/events{/privacy}","received_events_url":"https://api.github.com/users/juslee/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones/8","html_url":"https://github.com/fossasia/open-event-orga-server/milestones/GSOC%202016:%20Milestone%203","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones/8/labels","id":1762353,"number":8,"title":"GSOC 2016: Milestone 3","description":"GSOC 2016 Milestone 3 - All issues to be completed by 5th June 2016.\r\n\r\nInstructions: \r\n1. Create issues to work on.\r\n2. Assign the issue to the milestone.\r\n3. Assign the issue to a user.\r\n\r\nCompleted Milestone:\r\n1. Create a blog post describing what has been done.\r\n2. Tag a release.\r\n3. Deploy on a server.","creator":{"login":"juslee","id":1696598,"avatar_url":"https://avatars.githubusercontent.com/u/1696598?v=3","gravatar_id":"","url":"https://api.github.com/users/juslee","html_url":"https://github.com/juslee","followers_url":"https://api.github.com/users/juslee/followers","following_url":"https://api.github.com/users/juslee/following{/other_user}","gists_url":"https://api.github.com/users/juslee/gists{/gist_id}","starred_url":"https://api.github.com/users/juslee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juslee/subscriptions","organizations_url":"https://api.github.com/users/juslee/orgs","repos_url":"https://api.github.com/users/juslee/repos","events_url":"https://api.github.com/users/juslee/events{/privacy}","received_events_url":"https://api.github.com/users/juslee/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":35,"state":"open","created_at":"2016-05-12T13:04:10Z","updated_at":"2016-06-03T14:28:32Z","due_on":"2016-06-04T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/434/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/efac9ec9315618a4f6c2b27cbac4cd13163553d2","head":{"label":"fossasia:gsoc2016","ref":"gsoc2016","sha":"efac9ec9315618a4f6c2b27cbac4cd13163553d2","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"name":"open-event-orga-server","full_name":"fossasia/open-event-orga-server","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-server","description":"The Open Event Server to manage the event(s)","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-server","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2016-06-03T12:26:52Z","pushed_at":"2016-06-03T15:56:54Z","git_url":"git://github.com/fossasia/open-event-orga-server.git","ssh_url":"git@github.com:fossasia/open-event-orga-server.git","clone_url":"https://github.com/fossasia/open-event-orga-server.git","svn_url":"https://github.com/fossasia/open-event-orga-server","homepage":"https://open-event.herokuapp.com/admin","size":2402,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":57,"forks":44,"open_issues":57,"watchers":18,"default_branch":"master"}},"base":{"label":"fossasia:master","ref":"master","sha":"b30b444b5afece8a83bd1d62feb4a06ec541be48","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"name":"open-event-orga-server","full_name":"fossasia/open-event-orga-server","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-server","description":"The Open Event Server to manage the event(s)","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-server","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2016-06-03T12:26:52Z","pushed_at":"2016-06-03T15:56:54Z","git_url":"git://github.com/fossasia/open-event-orga-server.git","ssh_url":"git@github.com:fossasia/open-event-orga-server.git","clone_url":"https://github.com/fossasia/open-event-orga-server.git","svn_url":"https://github.com/fossasia/open-event-orga-server","homepage":"https://open-event.herokuapp.com/admin","size":2402,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":57,"forks":44,"open_issues":57,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/434"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/434"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/efac9ec9315618a4f6c2b27cbac4cd13163553d2"}}}}
{"actor":{"display_login":"juslee"}}