{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/90613962","pull_request_review_id":11132243,"id":90613962,"diff_hunk":"@@ -0,0 +1,219 @@\n+import json\n+\n+from flask import Blueprint\n+from flask import url_for, redirect, flash, render_template\n+\n+from app import db\n+from app.helpers.data import DataManager, delete_from_db, trash_session, restore_session\n+from app.helpers.data_getter import DataGetter\n+from app.helpers.notification_email_triggers import trigger_session_state_change_notifications\n+from app.helpers.permission_decorators import *\n+\n+event_sessions = Blueprint('event_sessions', __name__, url_prefix='/events/<int:event_id>/sessions')\n+\n+\n+def get_session_or_throw(session_id):\n+    session = DataGetter.get_session(session_id)\n+    if not session:\n+        abort(404)\n+    return session\n+\n+\n+@event_sessions.route('/')\n+def index_view(event_id):\n+    sessions = DataGetter.get_sessions_by_event_id(event_id)\n+    event = DataGetter.get_event(event_id)\n+    if not event.has_session_speakers:\n+        return render_template('gentelella/admin/event/info/enable_module.html', active_page='sessions',\n+                               title='Sessions', event=event)\n+    return render_template('gentelella/admin/event/sessions/base_session_table.html',\n+                           sessions=sessions, event_id=event_id, event=event)\n+\n+\n+@event_sessions.route('/<int:session_id>/', methods=('GET', 'POST'))\n+def session_display_view(event_id, session_id):\n+    session = get_session_or_throw(session_id)\n+    if request.method == 'POST':\n+        DataManager.edit_session(request, session)\n+        return redirect(url_for('.index_view', event_id=event_id))\n+    event = DataGetter.get_event(event_id)\n+    if not event.has_session_speakers:\n+        return render_template('gentelella/admin/event/info/enable_module.html', active_page='sessions',\n+                               title='Sessions', event=event)\n+    form_elems = DataGetter.get_custom_form_elements(event_id)\n+    if not form_elems:\n+        flash(\"Speaker and Session forms have been incorrectly configured for this event.\"\n+              \" Session creation has been disabled\", \"danger\")\n+        return redirect(url_for('.index_view', event_id=event_id))\n+    session_form = json.loads(form_elems.session_form)\n+    speakers = DataGetter.get_speakers(event_id).all()\n+\n+    return render_template('gentelella/admin/event/sessions/edit.html',\n+                           session=session, session_form=session_form, event_id=event_id,\n+                           event=event, speakers=speakers)\n+\n+\n+@event_sessions.route('/create/', methods=('GET', 'POST'))\n+@can_access\n+def create_view(event_id):\n+    event = DataGetter.get_event(event_id)\n+    if not event.has_session_speakers:\n+        return render_template('gentelella/admin/event/info/enable_module.html', active_page='sessions',\n+                               title='Sessions', event=event)\n+    if request.method == 'POST':\n+        DataManager.add_session_to_event(request, event_id)\n+        flash(\"The session and speaker have been saved\")\n+        get_from = request.args.get(\"from\")\n+        if get_from and get_from == 'speaker':\n+            return redirect(url_for('event_speakers.index_view', event_id=event_id))\n+        return redirect(url_for('.index_view', event_id=event_id))\n+\n+    form_elems = DataGetter.get_custom_form_elements(event_id)\n+    if not form_elems:\n+        flash(\"Speaker and Session forms have been incorrectly configured for this event.\"\n+              \" Session creation has been disabled\", \"danger\")\n+        return redirect(url_for('.index_view', event_id=event_id))\n+    speaker_form = json.loads(form_elems.speaker_form)\n+    session_form = json.loads(form_elems.session_form)\n+    speakers = DataGetter.get_speakers(event_id).all()\n+\n+    return render_template('gentelella/admin/event/sessions/new.html',\n+                           speaker_form=speaker_form, session_form=session_form, event=event, speakers=speakers)\n+\n+\n+@event_sessions.route('/<int:session_id>/edit/', methods=('GET', 'POST'))\n+@can_access\n+def edit_view(event_id, session_id):\n+    event = DataGetter.get_event(event_id)\n+    if not event.has_session_speakers:\n+        return render_template('gentelella/admin/event/info/enable_module.html', active_page='sessions',\n+                               title='Sessions', event=event)\n+\n+    session = get_session_or_throw(session_id)\n+    if request.method == 'POST':\n+        DataManager.edit_session(request, session)\n+        return redirect(url_for('.index_view', event_id=event_id))\n+\n+    form_elems = DataGetter.get_custom_form_elements(event_id)\n+    if not form_elems:\n+        flash(\"Speaker and Session forms have been incorrectly configured for this event.\"\n+              \" Session creation has been disabled\", \"danger\")\n+        return redirect(url_for('.index_view', event_id=event_id))\n+    session_form = json.loads(form_elems.session_form)\n+    speakers = DataGetter.get_speakers(event_id).all()\n+    return render_template('gentelella/admin/event/sessions/edit.html', session=session,\n+                           session_form=session_form, event=event, speakers=speakers)\n+\n+\n+@event_sessions.route('/new/<user_id>/<hash>/', methods=('GET', 'POST'))\n+def new_view(event_id, user_id, hash):\n+    invite = DataGetter.get_invite_by_user_id(user_id)\n+    event = DataGetter.get_event(event_id)\n+    if invite and invite.hash == hash:\n+        if request.method == 'POST':\n+            DataManager.add_session_to_event(request, event_id)\n+            return redirect(url_for('.index_view', event_id=event_id))\n+        return render_template('gentelella/admin/sessions/new.html', event=event)\n+\n+\n+@event_sessions.route('/<int:session_id>/invited/', methods=('GET', 'POST'))\n+def invited_view(event_id, session_id):\n+    session = DataGetter.get_session(session_id)\n+    event = DataGetter.get_event(event_id)\n+    return render_template('gentelella/admin/event/sessions/invited.html',\n+                           session=session, event_id=event_id, event=event)\n+\n+\n+@event_sessions.route('/<int:session_id>/add_speaker/', methods=('GET', 'POST'))\n+def add_speaker_view(event_id, session_id):\n+    event = DataGetter.get_event(event_id)\n+    if not event.has_session_speakers:\n+        return render_template('gentelella/admin/event/info/enable_module.html', active_page='sessions',\n+                               title='Sessions', event=event)\n+    form_elems = DataGetter.get_custom_form_elements(event_id)\n+    if not form_elems:\n+        flash(\"Speaker form has been incorrectly configured for this event. Editing has been disabled\", \"danger\")\n+        return redirect(url_for('.index_view', event_id=event_id))\n+    speaker_form = json.loads(form_elems.speaker_form)\n+    if request.method == 'GET':\n+        return render_template('gentelella/admin/event/speakers/edit.html', event_id=event_id,\n+                               event=event, speaker_form=speaker_form)\n+    if request.method == 'POST':\n+        DataManager.add_speaker_to_session(request, event_id, session_id)\n+        flash(\"The speaker has been added to session\")\n+        return redirect(url_for('.index_view', event_id=event_id))\n+\n+\n+@event_sessions.route('/<int:session_id>/accept/', methods=('GET',))\n+@can_accept_and_reject\n+def accept_session(event_id, session_id):\n+    session = get_session_or_throw(session_id)\n+    skip = request.args.get('skip')\n+    send_email = True\n+    if skip and skip == 'email':\n+        send_email = False\n+    DataManager.session_accept_reject(session, event_id, 'accepted', send_email)\n+    return redirect(url_for('.index_view', event_id=event_id))\n+\n+\n+@event_sessions.route('/<int:session_id>/reject/', methods=('GET',))\n+@can_accept_and_reject\n+def reject_session(event_id, session_id):\n+    session = get_session_or_throw(session_id)\n+    skip = request.args.get('skip')\n+    send_email = True\n+    if skip and skip == 'email':\n+        send_email = False\n+    DataManager.session_accept_reject(session, event_id, 'rejected', send_email)\n+    return redirect(url_for('.index_view', event_id=event_id))\n+\n+\n+@event_sessions.route('/<int:session_id>/send-emails/', methods=('GET',))\n+@can_accept_and_reject\n+def send_emails_session(event_id, session_id):\n+    session = get_session_or_throw(session_id)\n+    trigger_session_state_change_notifications(session, event_id)\n+    return redirect(url_for('.index_view', event_id=event_id))\n+\n+\n+@event_sessions.route('/<int:session_id>/trash/', methods=('GET',))\n+def trash_session(event_id, session_id):\n+    get_session_or_throw(session_id)\n+    trash_session(session_id)\n+    flash(\"The session has been deleted\", \"danger\")\n+    if login.current_user.is_super_admin:\n+        return redirect(url_for('sadmin_sessions.display_my_sessions_view', event_id=event_id))\n+    return redirect(url_for('.index_view', event_id=event_id))\n+\n+\n+@event_sessions.route('/<int:session_id>/restore_trash', methods=('GET',))\n+def restore_session(event_id, session_id):\n+    restore_session(session_id)","path":"app/views/users/sessions.py","position":191,"original_position":191,"commit_id":"2fe667f43119831218ab7785579dbf0e0658def4","original_commit_id":"2fe667f43119831218ab7785579dbf0e0658def4","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [No value for argument 'session_id' in function call](https://www.codacy.com/app/fossasia/open-event-orga-server/file/4624326497/issues/source?bid=3448950&fileBranchId=3958702#l191)","created_at":"2016-12-02T09:55:35Z","updated_at":"2016-12-02T09:55:35Z","html_url":"https://github.com/fossasia/open-event-orga-server/pull/2627#discussion_r90613962","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/90613962"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/2627#discussion_r90613962"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627","id":96239084,"html_url":"https://github.com/fossasia/open-event-orga-server/pull/2627","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/2627.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/2627.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2627","number":2627,"state":"open","locked":false,"title":"Re-structure views/routes & cleanup","user":{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false},"body":"## Not ready for merge\r\n\r\n- Restructured views and routes\r\n- Re-arranged all view files\r\n- Removed `Flask-Admin` dependency. (we have no use of more than 80% of its features)\r\n- Removed `WTF-Forms`,`Flask-WTF` dependencies. (we don't use it at all. It was used in v1)\r\n\r\n_The tests would probably fail and need some fixing_\r\n\r\n@SaptakS @mariobehling please review and merge","created_at":"2016-12-02T08:25:42Z","updated_at":"2016-12-02T09:55:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e781ba9a506a07800a1e5e4a23ed688a3ac02c8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627/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/2627/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/2fe667f43119831218ab7785579dbf0e0658def4","head":{"label":"niranjan94:refactor/views-routes","ref":"refactor/views-routes","sha":"2fe667f43119831218ab7785579dbf0e0658def4","user":{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false},"repo":{"id":59465623,"name":"open-event-orga-server","full_name":"niranjan94/open-event-orga-server","owner":{"login":"niranjan94","id":2404372,"avatar_url":"https://avatars.githubusercontent.com/u/2404372?v=3","gravatar_id":"","url":"https://api.github.com/users/niranjan94","html_url":"https://github.com/niranjan94","followers_url":"https://api.github.com/users/niranjan94/followers","following_url":"https://api.github.com/users/niranjan94/following{/other_user}","gists_url":"https://api.github.com/users/niranjan94/gists{/gist_id}","starred_url":"https://api.github.com/users/niranjan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niranjan94/subscriptions","organizations_url":"https://api.github.com/users/niranjan94/orgs","repos_url":"https://api.github.com/users/niranjan94/repos","events_url":"https://api.github.com/users/niranjan94/events{/privacy}","received_events_url":"https://api.github.com/users/niranjan94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/niranjan94/open-event-orga-server","description":"The Open Event Server to manage the event(s)","fork":true,"url":"https://api.github.com/repos/niranjan94/open-event-orga-server","forks_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/niranjan94/open-event-orga-server/deployments","created_at":"2016-05-23T08:31:07Z","updated_at":"2016-10-25T15:00:34Z","pushed_at":"2016-12-02T09:16:08Z","git_url":"git://github.com/niranjan94/open-event-orga-server.git","ssh_url":"git@github.com:niranjan94/open-event-orga-server.git","clone_url":"https://github.com/niranjan94/open-event-orga-server.git","svn_url":"https://github.com/niranjan94/open-event-orga-server","homepage":"https://open-event.herokuapp.com","size":15224,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"fossasia:development","ref":"development","sha":"74426b342a87a09b43ad31866fd40c7f7d508840","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 Organizer Server to Manage Events","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-12-02T08:25:03Z","pushed_at":"2016-12-02T09:16:08Z","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-dev.herokuapp.com","size":595336,"stargazers_count":92,"watchers_count":92,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":137,"mirror_url":null,"open_issues_count":23,"forks":137,"open_issues":23,"watchers":92,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/2627"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2627"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/2627/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/2627/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/2627/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/2fe667f43119831218ab7785579dbf0e0658def4"}}}}
{"actor":{"display_login":"codacy-bot"}}