{"action":"created","comment":{"url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/comments/193352814","pull_request_review_id":126300737,"id":193352814,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzM1MjgxNA==","diff_hunk":"@@ -0,0 +1,187 @@\n+# -*- coding: utf-8 -*-\n+\n+# Copyright 2015-2016 Odoo S.A.\n+# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>\n+# Copyright 2017-2018 Rémy Taymans <remytaymans@gmail.com>\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).\n+\n+\n+from werkzeug.exceptions import Forbidden, NotFound\n+\n+from openerp import http\n+from openerp.exceptions import AccessError, MissingError\n+from openerp.fields import Date\n+from openerp.http import request\n+\n+from openerp.addons.website_portal_v10.controllers.main import WebsiteAccount\n+\n+\n+class CooperatorWebsiteAccount(WebsiteAccount):\n+\n+    def _prepare_portal_layout_values(self):\n+        values = super(CooperatorWebsiteAccount,\n+                       self)._prepare_portal_layout_values()\n+        # We assume that commercial_partner_id always point to the\n+        # partner itself or to the linked partner. So there is no\n+        # need to check if the partner is a \"contact\" or not.\n+        coop = request.env.user.partner_id.commercial_partner_id\n+        coop_bank = request.env['res.partner.bank'].sudo().search(\n+            [('partner_id', 'in', [coop.id])],\n+            limit=1\n+        )\n+        values.update({\n+            'coop': coop,\n+            'coop_bank': coop_bank,\n+        })\n+        return values\n+\n+    @http.route()\n+    def account(self):\n+        \"\"\" Add Release Capital Request to main account page \"\"\"\n+        response = super(CooperatorWebsiteAccount, self).account()\n+        partner = request.env.user.partner_id\n+\n+        invoice_mgr = request.env['account.invoice'].sudo()\n+        capital_request_count = invoice_mgr.search_count([\n+            ('partner_id', 'in',\n+             [partner.commercial_partner_id.id]),\n+            ('state', 'in', ['open', 'paid', 'cancelled']),\n+            # Get only the release capital request\n+            ('release_capital_request', '=', True),\n+        ])\n+\n+        response.qcontext.update({\n+            'capital_request_count': capital_request_count,\n+        })\n+        return response\n+\n+    @http.route(\n+        ['/my/release_capital_request',\n+         '/my/release_capital_request/page/<int:page>'],\n+        type='http', auth=\"user\", website=True)\n+    def portal_my_release_capital_request(self, page=1, date_begin=None,\n+                                          date_end=None, **kw):\n+        \"\"\"Render a page with the list of release capital request.\n+        A release capital request is an invoice with a flag that tell\n+        if it's a capital request or not.\n+        \"\"\"\n+        values = self._prepare_portal_layout_values()\n+        partner = request.env.user.partner_id\n+        invoice_mgr = request.env['account.invoice'].sudo()\n+\n+        domain = [\n+            ('partner_id', 'in',\n+             [partner.commercial_partner_id.id]),\n+            ('state', 'in', ['open', 'paid', 'cancelled']),\n+            # Get only the release capital request\n+            ('release_capital_request', '=', True),\n+        ]\n+        archive_groups = self._get_archive_groups_sudo('account.invoice',\n+                                                       domain)\n+        if date_begin and date_end:\n+            domain += [('create_date', '>=', date_begin),\n+                       ('create_date', '<', date_end)]\n+\n+        # count for pager\n+        capital_request_count = invoice_mgr.search_count(domain)\n+        # pager\n+        pager = request.website.pager(\n+            url=\"/my/release_capital_request\",\n+            url_args={'date_begin': date_begin, 'date_end': date_end},\n+            total=capital_request_count,\n+            page=page,\n+            step=self._items_per_page\n+        )\n+        # content according to pager and archive selected\n+        invoices = invoice_mgr.search(\n+            domain, limit=self._items_per_page, offset=pager['offset'])\n+        values.update({\n+            'date': date_begin,\n+            'capital_requests': invoices,\n+            'page_name': 'invoice',\n+            'pager': pager,\n+            'archive_groups': archive_groups,\n+            'default_url': '/my/release_capital_request',\n+        })\n+        return request.website.render(\n+            \"easy_my_coop_website_portal.portal_my_capital_releases\",\n+            values\n+        )\n+\n+    @http.route(['/my/release_capital_request/pdf/<int:oid>'],\n+                type='http', auth=\"user\", website=True)\n+    def get_release_capital_request(self, oid=-1, **kw):\n+        \"\"\"Render the pdf of the given release capital request\"\"\"\n+        # Get the release capital request and raise an error if the user\n+        # is not allowed to access to it or if the object is not found.\n+        partner = request.env.user.partner_id\n+        invoice_mgr = request.env['account.invoice']\n+        capital_request = invoice_mgr.sudo().browse(oid)\n+        try:\n+            if capital_request.partner_id != partner:\n+                raise Forbidden()\n+        except AccessError:\n+            raise Forbidden()\n+        except MissingError:\n+            raise NotFound()\n+        # Get the pdf\n+        report_mgr = request.env['report'].sudo()\n+        pdf = report_mgr.get_pdf(\n+            capital_request,\n+            'easy_my_coop.theme_invoice_G002'\n+        )\n+        filename = \"Release Capital Request - %d\" % capital_request.id\n+        return self._render_pdf(pdf, filename)\n+\n+    @http.route(['/my/cooperator_certificate/pdf'],\n+                type='http', auth=\"user\", website=True)\n+    def get_cooperator_certificat(self, **kw):\n+        \"\"\"Render the cooperator certificate pdf of the current user\"\"\"\n+        partner = request.env.user.partner_id\n+        report_mgr = request.env['report'].sudo()\n+        pdf = report_mgr.get_pdf(\n+            partner,\n+            'easy_my_coop.cooperator_certificat_G001'\n+        )\n+        filename = \"Cooperator Certificate - %s\" % partner.name\n+        return self._render_pdf(pdf, filename)\n+\n+    def _render_pdf(self, pdf, filename):\n+        \"\"\"Render a http response for a pdf\"\"\"\n+        pdfhttpheaders = [\n+            ('Content-Disposition', 'inline; filename=\"%s.pdf\"' % filename),\n+            ('Content-Type', 'application/pdf'),\n+            ('Content-Length', len(pdf))\n+        ]\n+        return request.make_response(pdf, headers=pdfhttpheaders)\n+\n+    def _get_archive_groups_sudo(self, model, domain=None, fields=None,\n+                                 groupby=\"create_date\",\n+                                 order=\"create_date desc\"):\n+        \"\"\"Same as the one from website_portal_v10 except that it runs","path":"easy_my_coop_website_portal/controllers/main.py","position":161,"original_position":161,"commit_id":"a7d732713dd76915283110d06a2cbf290b7ec7b1","original_commit_id":"a7d732713dd76915283110d06a2cbf290b7ec7b1","user":{"login":"houssine78","id":7766650,"node_id":"MDQ6VXNlcjc3NjY2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7766650?v=4","gravatar_id":"","url":"https://api.github.com/users/houssine78","html_url":"https://github.com/houssine78","followers_url":"https://api.github.com/users/houssine78/followers","following_url":"https://api.github.com/users/houssine78/following{/other_user}","gists_url":"https://api.github.com/users/houssine78/gists{/gist_id}","starred_url":"https://api.github.com/users/houssine78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houssine78/subscriptions","organizations_url":"https://api.github.com/users/houssine78/orgs","repos_url":"https://api.github.com/users/houssine78/repos","events_url":"https://api.github.com/users/houssine78/events{/privacy}","received_events_url":"https://api.github.com/users/houssine78/received_events","type":"User","site_admin":false},"body":"not possible to call the _get_archive_groups of website_portal_v10 with sudo() instruction?\r\nsomething like _get_archive_groups.sudo() ?\r\n","created_at":"2018-06-06T09:42:01Z","updated_at":"2018-06-06T09:49:15Z","html_url":"https://github.com/houssine78/vertical-cooperative/pull/10#discussion_r193352814","pull_request_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/comments/193352814"},"html":{"href":"https://github.com/houssine78/vertical-cooperative/pull/10#discussion_r193352814"},"pull_request":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10","id":185203079,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg1MjAzMDc5","html_url":"https://github.com/houssine78/vertical-cooperative/pull/10","diff_url":"https://github.com/houssine78/vertical-cooperative/pull/10.diff","patch_url":"https://github.com/houssine78/vertical-cooperative/pull/10.patch","issue_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/10","number":10,"state":"open","locked":false,"title":"[ADD] emc_website_portal: Cooperator Information","user":{"login":"remytms","id":17589077,"node_id":"MDQ6VXNlcjE3NTg5MDc3","avatar_url":"https://avatars3.githubusercontent.com/u/17589077?v=4","gravatar_id":"","url":"https://api.github.com/users/remytms","html_url":"https://github.com/remytms","followers_url":"https://api.github.com/users/remytms/followers","following_url":"https://api.github.com/users/remytms/following{/other_user}","gists_url":"https://api.github.com/users/remytms/gists{/gist_id}","starred_url":"https://api.github.com/users/remytms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remytms/subscriptions","organizations_url":"https://api.github.com/users/remytms/orgs","repos_url":"https://api.github.com/users/remytms/repos","events_url":"https://api.github.com/users/remytms/events{/privacy}","received_events_url":"https://api.github.com/users/remytms/received_events","type":"User","site_admin":false},"body":"This module show the cooperator information on the website portal.\r\n\r\nIt lets you access to your : \r\n- Release Capital Requests\r\n- Cooperator Certificate\r\n- Cooperator information (bank account, cooperator register number, number of shares,…)","created_at":"2018-05-01T15:28:09Z","updated_at":"2018-06-06T09:49:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fba4099a0cf829dd9fe3551d3c0838dcadac6048","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":946066567,"node_id":"MDU6TGFiZWw5NDYwNjY1Njc=","url":"https://api.github.com/repos/houssine78/vertical-cooperative/labels/need%20review","name":"need review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10/commits","review_comments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10/comments","review_comment_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/comments{/number}","comments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/10/comments","statuses_url":"https://api.github.com/repos/houssine78/vertical-cooperative/statuses/a7d732713dd76915283110d06a2cbf290b7ec7b1","head":{"label":"houssine78:9.0-s0030a-info_perso-remy","ref":"9.0-s0030a-info_perso-remy","sha":"a7d732713dd76915283110d06a2cbf290b7ec7b1","user":{"login":"houssine78","id":7766650,"node_id":"MDQ6VXNlcjc3NjY2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7766650?v=4","gravatar_id":"","url":"https://api.github.com/users/houssine78","html_url":"https://github.com/houssine78","followers_url":"https://api.github.com/users/houssine78/followers","following_url":"https://api.github.com/users/houssine78/following{/other_user}","gists_url":"https://api.github.com/users/houssine78/gists{/gist_id}","starred_url":"https://api.github.com/users/houssine78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houssine78/subscriptions","organizations_url":"https://api.github.com/users/houssine78/orgs","repos_url":"https://api.github.com/users/houssine78/repos","events_url":"https://api.github.com/users/houssine78/events{/privacy}","received_events_url":"https://api.github.com/users/houssine78/received_events","type":"User","site_admin":false},"repo":{"id":82686734,"node_id":"MDEwOlJlcG9zaXRvcnk4MjY4NjczNA==","name":"vertical-cooperative","full_name":"houssine78/vertical-cooperative","owner":{"login":"houssine78","id":7766650,"node_id":"MDQ6VXNlcjc3NjY2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7766650?v=4","gravatar_id":"","url":"https://api.github.com/users/houssine78","html_url":"https://github.com/houssine78","followers_url":"https://api.github.com/users/houssine78/followers","following_url":"https://api.github.com/users/houssine78/following{/other_user}","gists_url":"https://api.github.com/users/houssine78/gists{/gist_id}","starred_url":"https://api.github.com/users/houssine78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houssine78/subscriptions","organizations_url":"https://api.github.com/users/houssine78/orgs","repos_url":"https://api.github.com/users/houssine78/repos","events_url":"https://api.github.com/users/houssine78/events{/privacy}","received_events_url":"https://api.github.com/users/houssine78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/houssine78/vertical-cooperative","description":"This repository gather odoo modules for cooperatives","fork":false,"url":"https://api.github.com/repos/houssine78/vertical-cooperative","forks_url":"https://api.github.com/repos/houssine78/vertical-cooperative/forks","keys_url":"https://api.github.com/repos/houssine78/vertical-cooperative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/houssine78/vertical-cooperative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/houssine78/vertical-cooperative/teams","hooks_url":"https://api.github.com/repos/houssine78/vertical-cooperative/hooks","issue_events_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/events{/number}","events_url":"https://api.github.com/repos/houssine78/vertical-cooperative/events","assignees_url":"https://api.github.com/repos/houssine78/vertical-cooperative/assignees{/user}","branches_url":"https://api.github.com/repos/houssine78/vertical-cooperative/branches{/branch}","tags_url":"https://api.github.com/repos/houssine78/vertical-cooperative/tags","blobs_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/refs{/sha}","trees_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/houssine78/vertical-cooperative/statuses/{sha}","languages_url":"https://api.github.com/repos/houssine78/vertical-cooperative/languages","stargazers_url":"https://api.github.com/repos/houssine78/vertical-cooperative/stargazers","contributors_url":"https://api.github.com/repos/houssine78/vertical-cooperative/contributors","subscribers_url":"https://api.github.com/repos/houssine78/vertical-cooperative/subscribers","subscription_url":"https://api.github.com/repos/houssine78/vertical-cooperative/subscription","commits_url":"https://api.github.com/repos/houssine78/vertical-cooperative/commits{/sha}","git_commits_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/commits{/sha}","comments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/comments{/number}","issue_comment_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/comments{/number}","contents_url":"https://api.github.com/repos/houssine78/vertical-cooperative/contents/{+path}","compare_url":"https://api.github.com/repos/houssine78/vertical-cooperative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/houssine78/vertical-cooperative/merges","archive_url":"https://api.github.com/repos/houssine78/vertical-cooperative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/houssine78/vertical-cooperative/downloads","issues_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues{/number}","pulls_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls{/number}","milestones_url":"https://api.github.com/repos/houssine78/vertical-cooperative/milestones{/number}","notifications_url":"https://api.github.com/repos/houssine78/vertical-cooperative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/houssine78/vertical-cooperative/labels{/name}","releases_url":"https://api.github.com/repos/houssine78/vertical-cooperative/releases{/id}","deployments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/deployments","created_at":"2017-02-21T14:07:03Z","updated_at":"2018-06-04T08:29:13Z","pushed_at":"2018-06-04T08:29:11Z","git_url":"git://github.com/houssine78/vertical-cooperative.git","ssh_url":"git@github.com:houssine78/vertical-cooperative.git","clone_url":"https://github.com/houssine78/vertical-cooperative.git","svn_url":"https://github.com/houssine78/vertical-cooperative","homepage":null,"size":2108,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":5,"open_issues":6,"watchers":2,"default_branch":"9.0"}},"base":{"label":"houssine78:9.0","ref":"9.0","sha":"c0ca876ec0c364198d4aaa3cc901212dafe7ccf4","user":{"login":"houssine78","id":7766650,"node_id":"MDQ6VXNlcjc3NjY2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7766650?v=4","gravatar_id":"","url":"https://api.github.com/users/houssine78","html_url":"https://github.com/houssine78","followers_url":"https://api.github.com/users/houssine78/followers","following_url":"https://api.github.com/users/houssine78/following{/other_user}","gists_url":"https://api.github.com/users/houssine78/gists{/gist_id}","starred_url":"https://api.github.com/users/houssine78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houssine78/subscriptions","organizations_url":"https://api.github.com/users/houssine78/orgs","repos_url":"https://api.github.com/users/houssine78/repos","events_url":"https://api.github.com/users/houssine78/events{/privacy}","received_events_url":"https://api.github.com/users/houssine78/received_events","type":"User","site_admin":false},"repo":{"id":82686734,"node_id":"MDEwOlJlcG9zaXRvcnk4MjY4NjczNA==","name":"vertical-cooperative","full_name":"houssine78/vertical-cooperative","owner":{"login":"houssine78","id":7766650,"node_id":"MDQ6VXNlcjc3NjY2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/7766650?v=4","gravatar_id":"","url":"https://api.github.com/users/houssine78","html_url":"https://github.com/houssine78","followers_url":"https://api.github.com/users/houssine78/followers","following_url":"https://api.github.com/users/houssine78/following{/other_user}","gists_url":"https://api.github.com/users/houssine78/gists{/gist_id}","starred_url":"https://api.github.com/users/houssine78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houssine78/subscriptions","organizations_url":"https://api.github.com/users/houssine78/orgs","repos_url":"https://api.github.com/users/houssine78/repos","events_url":"https://api.github.com/users/houssine78/events{/privacy}","received_events_url":"https://api.github.com/users/houssine78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/houssine78/vertical-cooperative","description":"This repository gather odoo modules for cooperatives","fork":false,"url":"https://api.github.com/repos/houssine78/vertical-cooperative","forks_url":"https://api.github.com/repos/houssine78/vertical-cooperative/forks","keys_url":"https://api.github.com/repos/houssine78/vertical-cooperative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/houssine78/vertical-cooperative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/houssine78/vertical-cooperative/teams","hooks_url":"https://api.github.com/repos/houssine78/vertical-cooperative/hooks","issue_events_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/events{/number}","events_url":"https://api.github.com/repos/houssine78/vertical-cooperative/events","assignees_url":"https://api.github.com/repos/houssine78/vertical-cooperative/assignees{/user}","branches_url":"https://api.github.com/repos/houssine78/vertical-cooperative/branches{/branch}","tags_url":"https://api.github.com/repos/houssine78/vertical-cooperative/tags","blobs_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/refs{/sha}","trees_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/houssine78/vertical-cooperative/statuses/{sha}","languages_url":"https://api.github.com/repos/houssine78/vertical-cooperative/languages","stargazers_url":"https://api.github.com/repos/houssine78/vertical-cooperative/stargazers","contributors_url":"https://api.github.com/repos/houssine78/vertical-cooperative/contributors","subscribers_url":"https://api.github.com/repos/houssine78/vertical-cooperative/subscribers","subscription_url":"https://api.github.com/repos/houssine78/vertical-cooperative/subscription","commits_url":"https://api.github.com/repos/houssine78/vertical-cooperative/commits{/sha}","git_commits_url":"https://api.github.com/repos/houssine78/vertical-cooperative/git/commits{/sha}","comments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/comments{/number}","issue_comment_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/comments{/number}","contents_url":"https://api.github.com/repos/houssine78/vertical-cooperative/contents/{+path}","compare_url":"https://api.github.com/repos/houssine78/vertical-cooperative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/houssine78/vertical-cooperative/merges","archive_url":"https://api.github.com/repos/houssine78/vertical-cooperative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/houssine78/vertical-cooperative/downloads","issues_url":"https://api.github.com/repos/houssine78/vertical-cooperative/issues{/number}","pulls_url":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls{/number}","milestones_url":"https://api.github.com/repos/houssine78/vertical-cooperative/milestones{/number}","notifications_url":"https://api.github.com/repos/houssine78/vertical-cooperative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/houssine78/vertical-cooperative/labels{/name}","releases_url":"https://api.github.com/repos/houssine78/vertical-cooperative/releases{/id}","deployments_url":"https://api.github.com/repos/houssine78/vertical-cooperative/deployments","created_at":"2017-02-21T14:07:03Z","updated_at":"2018-06-04T08:29:13Z","pushed_at":"2018-06-04T08:29:11Z","git_url":"git://github.com/houssine78/vertical-cooperative.git","ssh_url":"git@github.com:houssine78/vertical-cooperative.git","clone_url":"https://github.com/houssine78/vertical-cooperative.git","svn_url":"https://github.com/houssine78/vertical-cooperative","homepage":null,"size":2108,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":5,"open_issues":6,"watchers":2,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10"},"html":{"href":"https://github.com/houssine78/vertical-cooperative/pull/10"},"issue":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/10"},"comments":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/houssine78/vertical-cooperative/statuses/a7d732713dd76915283110d06a2cbf290b7ec7b1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houssine78"}}