{"action":"created","comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/221442994","pull_request_review_id":160096769,"id":221442994,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTQ0Mjk5NA==","diff_hunk":"@@ -0,0 +1,197 @@\n+/**\n+ * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.\n+ * @license    GNU General Public License version 2 or later; see LICENSE.txt\n+ */\n+\n+(() => {\n+  'use strict';\n+\n+  document.addEventListener('DOMContentLoaded', () => {\n+    const dropDownBtn = document.getElementById('toolbar-dropdown-group');\n+    const publishBtn = dropDownBtn.getElementsByClassName('button-publish')[0];\n+    const unpublishBtn = dropDownBtn.getElementsByClassName('button-unpublish')[0];\n+    const archiveBtn = dropDownBtn.getElementsByClassName('button-archive')[0];\n+    const trashBtn = dropDownBtn.getElementsByClassName('button-trash')[0];\n+    const articleList = document.querySelector('#articleList');\n+    const articleListRows = articleList.querySelectorAll('tbody tr');\n+    const modal = document.getElementById('stageModal');\n+    const modalcontent = document.getElementById('stageModal-content');\n+\n+    let publishBool = false;\n+    let unpublishBool = false;\n+    let archiveBool = false;\n+    let trashBool = false;\n+    let countChecked = 0;\n+\n+    // TODO: remove jQuery dependency, when we have a new modal script\n+    window.jQuery(modal).on('hide.bs.modal', () => {\n+      modalcontent.innerHTML = '';\n+    });\n+\n+    function checkTransition(e, task) {\n+      // Let's check for n:1 connections\n+      const transitions = Joomla.getOptions('articles.transitions')[task];\n+      const availableTrans = {};\n+      let showModal = false;\n+\n+      if (transitions === undefined) {\n+        return;\n+      }\n+\n+      Object.keys(articleListRows).forEach((i) => {\n+        const checkedBox = articleListRows[i].querySelectorAll('input[type=checkbox]')[0];\n+\n+        if (checkedBox.checked) {\n+          const parentTr = checkedBox.closest('tr');\n+          const stage = parseInt(parentTr.getAttribute('data-stage_id'), 10);\n+          const workflow = parseInt(parentTr.getAttribute('data-workflow_id'), 10);\n+\n+          availableTrans[checkedBox.value] = [];\n+\n+          if (transitions[workflow] === undefined) {\n+            return;\n+          }\n+\n+          let k = 0;\n+\n+          // Collect transitions\n+          if (transitions[workflow][-1] !== undefined) {\n+            for (let j = 0; j < transitions[workflow][-1].length; j += 1) {\n+              if (transitions[workflow][-1][j].to_stage_id !== stage) {\n+                availableTrans[checkedBox.value][k] = transitions[workflow][-1][j];\n+\n+                k += 1;\n+              }\n+            }\n+          }\n+\n+          if (transitions[workflow][stage] !== undefined) {\n+            for (let j = 0; j < transitions[workflow][stage].length; j += 1) {\n+              if (transitions[workflow][stage][j].to_stage_id !== stage) {\n+                availableTrans[checkedBox.value][k] = transitions[workflow][stage][j];\n+\n+                k += 1;\n+              }\n+            }\n+          }\n+\n+          if (availableTrans[checkedBox.value].length > 1) {\n+            showModal = true;\n+          }\n+          else {\n+            delete availableTrans[checkedBox.value];\n+          }\n+        }\n+      });\n+\n+      if (showModal) {\n+        e.stopPropagation();\n+\n+        const articles = Joomla.getOptions('articles.items');\n+        let html = '';\n+\n+        Object.keys(availableTrans).forEach((id) => {\n+          if (articles[`article-${id}`] !== undefined) {\n+            html += '<div class=\"form-group col-md-6\">';\n+            html += `<label for=\"publish_transitions_${id}\">${articles[`article-${id}`]}</label>`;\n+            html += `<select id=\"publish_transitions_${id}\" class=\"custom-select\" name=\"publish_transitions[${id}]\">`;\n+\n+            Object.keys(availableTrans[id]).forEach((key) => {\n+              html += `<option value=\"${availableTrans[id][key].value}\">${availableTrans[id][key].text}</option>`;\n+            });\n+\n+            html += '</select>';\n+            html += '</div>';\n+            html += '</div>';\n+          }\n+        });\n+\n+        modalcontent.innerHTML = html;\n+\n+        // TODO: remove jQuery dependency, when we have a new modal script\n+        window.jQuery(modal).modal();\n+      }\n+    }\n+\n+    publishBtn.addEventListener('click', (e) => {\n+      if (e.target.classList.contains('disabled')) {\n+        e.stopPropagation();\n+\n+        Joomla.renderMessages({ error: [Joomla.JText._('COM_CONTENT_ERROR_CANNOT_PUBlISH')] });\n+      }\n+      else {\n+        checkTransition(e, 'publish');\n+      }});\n+\n+    unpublishBtn.addEventListener('click', (e) => {\n+      if (e.target.classList.contains('disabled')) {\n+        e.stopPropagation();\n+\n+        Joomla.renderMessages({ error: [Joomla.JText._('COM_CONTENT_ERROR_CANNOT_UNPUBlISH')] });\n+      }\n+      else {\n+        checkTransition(e, 'unpublish');\n+      }});\n+\n+    archiveBtn.addEventListener('click', (e) => {\n+      if (e.target.classList.contains('disabled')) {\n+        e.stopPropagation();\n+\n+        Joomla.renderMessages({ error: [Joomla.JText._('COM_CONTENT_ERROR_CANNOT_ARCHIVE')] });\n+      }\n+      else {\n+        checkTransition(e, 'archive');\n+      }});\n+\n+    trashBtn.addEventListener('click', (e) => {\n+      if (e.target.classList.contains('disabled')) {\n+        e.stopPropagation();\n+\n+        Joomla.renderMessages({ error: [Joomla.JText._('COM_CONTENT_ERROR_CANNOT_TRASH')] });\n+      }\n+      else {\n+        checkTransition(e, 'trash');\n+      }});","path":"build/media_src/com_content/js/admin-articles-workflow-buttons.es6.js","position":154,"original_position":154,"commit_id":"015975310d8277f9117ebd6a4fb01df9457ac8b9","original_commit_id":"015975310d8277f9117ebd6a4fb01df9457ac8b9","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Requires a space before '}'                                                                                    block-spacing<br>Closing curly brace should be on the same line as opening curly brace or on the line after the previous block  brace-style","created_at":"2018-09-30T00:03:54Z","updated_at":"2018-09-30T00:03:56Z","html_url":"https://github.com/joomla/joomla-cms/pull/22393#discussion_r221442994","pull_request_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/221442994"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/22393#discussion_r221442994"},"pull_request":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393"}}},"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393","id":218471713,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NDcxNzEz","html_url":"https://github.com/joomla/joomla-cms/pull/22393","diff_url":"https://github.com/joomla/joomla-cms/pull/22393.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/22393.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/22393","number":22393,"state":"open","locked":false,"title":"[4.0] Workflow article buttons","user":{"login":"bembelimen","id":1229869,"node_id":"MDQ6VXNlcjEyMjk4Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/1229869?v=4","gravatar_id":"","url":"https://api.github.com/users/bembelimen","html_url":"https://github.com/bembelimen","followers_url":"https://api.github.com/users/bembelimen/followers","following_url":"https://api.github.com/users/bembelimen/following{/other_user}","gists_url":"https://api.github.com/users/bembelimen/gists{/gist_id}","starred_url":"https://api.github.com/users/bembelimen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bembelimen/subscriptions","organizations_url":"https://api.github.com/users/bembelimen/orgs","repos_url":"https://api.github.com/users/bembelimen/repos","events_url":"https://api.github.com/users/bembelimen/events{/privacy}","received_events_url":"https://api.github.com/users/bembelimen/received_events","type":"User","site_admin":false},"body":"Pull Request for Issue #21818 #21708 #21527 .\r\n\r\n### Summary of Changes\r\nBased on the PR #21247 the action buttons (publish, unpublish, archive, trash) are readded and grouped.\r\n\r\nFirst we need this PR to have all buttons in place: #21532 so perhaps someone could reactivate it. \r\n\r\nThanks to @lavipr for the JS code and @ciar4n for the main idea.\r\n\r\n### Testing Instructions\r\n1. Create several workflows\r\n2. Create articles\r\n3. Try out the differnt buttons\r\n\r\n\r\n### Expected result\r\nArticles change stage by pressing the buttons\r\n\r\n--\r\nCleaning the JS file atm.","created_at":"2018-09-26T22:18:12Z","updated_at":"2018-09-30T00:03:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85804a104b7d6f7de4b66b55274c52eab64085a2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":198658453,"node_id":"MDU6TGFiZWwxOTg2NTg0NTM=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420","default":false},{"id":444033883,"node_id":"MDU6TGFiZWw0NDQwMzM4ODM=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-4.0-dev","name":"PR-4.0-dev","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/22393/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/015975310d8277f9117ebd6a4fb01df9457ac8b9","head":{"label":"bembelimen:workflow-article-buttons","ref":"workflow-article-buttons","sha":"015975310d8277f9117ebd6a4fb01df9457ac8b9","user":{"login":"bembelimen","id":1229869,"node_id":"MDQ6VXNlcjEyMjk4Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/1229869?v=4","gravatar_id":"","url":"https://api.github.com/users/bembelimen","html_url":"https://github.com/bembelimen","followers_url":"https://api.github.com/users/bembelimen/followers","following_url":"https://api.github.com/users/bembelimen/following{/other_user}","gists_url":"https://api.github.com/users/bembelimen/gists{/gist_id}","starred_url":"https://api.github.com/users/bembelimen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bembelimen/subscriptions","organizations_url":"https://api.github.com/users/bembelimen/orgs","repos_url":"https://api.github.com/users/bembelimen/repos","events_url":"https://api.github.com/users/bembelimen/events{/privacy}","received_events_url":"https://api.github.com/users/bembelimen/received_events","type":"User","site_admin":false},"repo":{"id":19490472,"node_id":"MDEwOlJlcG9zaXRvcnkxOTQ5MDQ3Mg==","name":"joomla-cms","full_name":"bembelimen/joomla-cms","private":false,"owner":{"login":"bembelimen","id":1229869,"node_id":"MDQ6VXNlcjEyMjk4Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/1229869?v=4","gravatar_id":"","url":"https://api.github.com/users/bembelimen","html_url":"https://github.com/bembelimen","followers_url":"https://api.github.com/users/bembelimen/followers","following_url":"https://api.github.com/users/bembelimen/following{/other_user}","gists_url":"https://api.github.com/users/bembelimen/gists{/gist_id}","starred_url":"https://api.github.com/users/bembelimen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bembelimen/subscriptions","organizations_url":"https://api.github.com/users/bembelimen/orgs","repos_url":"https://api.github.com/users/bembelimen/repos","events_url":"https://api.github.com/users/bembelimen/events{/privacy}","received_events_url":"https://api.github.com/users/bembelimen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bembelimen/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/bembelimen/joomla-cms","forks_url":"https://api.github.com/repos/bembelimen/joomla-cms/forks","keys_url":"https://api.github.com/repos/bembelimen/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bembelimen/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bembelimen/joomla-cms/teams","hooks_url":"https://api.github.com/repos/bembelimen/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/bembelimen/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/bembelimen/joomla-cms/events","assignees_url":"https://api.github.com/repos/bembelimen/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/bembelimen/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/bembelimen/joomla-cms/tags","blobs_url":"https://api.github.com/repos/bembelimen/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bembelimen/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bembelimen/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/bembelimen/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bembelimen/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/bembelimen/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/bembelimen/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/bembelimen/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/bembelimen/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/bembelimen/joomla-cms/subscription","commits_url":"https://api.github.com/repos/bembelimen/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/bembelimen/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/bembelimen/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/bembelimen/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/bembelimen/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/bembelimen/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bembelimen/joomla-cms/merges","archive_url":"https://api.github.com/repos/bembelimen/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bembelimen/joomla-cms/downloads","issues_url":"https://api.github.com/repos/bembelimen/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/bembelimen/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/bembelimen/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/bembelimen/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bembelimen/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/bembelimen/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/bembelimen/joomla-cms/deployments","created_at":"2014-05-06T10:36:06Z","updated_at":"2018-04-14T23:12:56Z","pushed_at":"2018-09-30T00:03:37Z","git_url":"git://github.com/bembelimen/joomla-cms.git","ssh_url":"git@github.com:bembelimen/joomla-cms.git","clone_url":"https://github.com/bembelimen/joomla-cms.git","svn_url":"https://github.com/bembelimen/joomla-cms","homepage":"http://joomla.org","size":245151,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2,"open_issues":3,"watchers":0,"default_branch":"staging"}},"base":{"label":"joomla:4.0-dev","ref":"4.0-dev","sha":"ae48350950b4da6906fa3f38d7cb78bd2ceed452","user":{"login":"joomla","id":751633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MTYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/751633?v=4","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY0OTA4","name":"joomla-cms","full_name":"joomla/joomla-cms","private":false,"owner":{"login":"joomla","id":751633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MTYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/751633?v=4","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/joomla/joomla-cms/deployments","created_at":"2011-09-27T02:07:38Z","updated_at":"2018-09-29T19:13:10Z","pushed_at":"2018-09-30T00:03:40Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"https://www.joomla.org","size":244196,"stargazers_count":2924,"watchers_count":2924,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2762,"mirror_url":null,"archived":false,"open_issues_count":807,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2762,"open_issues":807,"watchers":2924,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/22393"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/22393"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/22393/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22393/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/015975310d8277f9117ebd6a4fb01df9457ac8b9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}