From nobody Wed Jan 26 14:31:58 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3352D19891B7; Wed, 26 Jan 2022 14:31:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JkR4b0nN7z4SHd; Wed, 26 Jan 2022 14:31:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643207519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tLuiVVviv2gmY6JqeiouS4oBuQtH8xtwrMLW1AK+Po0=; b=FzSq0rZ8C6hzvV1Niig8G8Be22c/31ied0oagzGczP2rETHXPikgyjykZacdGU7H3ff8r3 5kOtHzjMRzyf38SRQGDW1oAoLQiJMwki/i6AUrmBrXXwNtz/Ia0RNiwtGu7/27+8reA+yc iXLyyBPpXjacxOgO8daYtR8vHMM/ZmHIQFvHLcfLYG10gfidsivIVE9ngAgxiR+WoGSqpA ppSvzSD6+g3+xA7Qfbs2qW2/mtZHUyaKCrJhT+scN5ArZs9QiJaHwMKqyYOSNrMZnctuOH ISr4ptR8dKYK/iB9wCHKII/LppDMg3BB7O3oE+XwdbEav28obnMz1LCzHu0oTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F03D91E960; Wed, 26 Jan 2022 14:31:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20QEVwZZ022753; Wed, 26 Jan 2022 14:31:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20QEVwUP022752; Wed, 26 Jan 2022 14:31:58 GMT (envelope-from git) Date: Wed, 26 Jan 2022 14:31:58 GMT Message-Id: <202201261431.20QEVwUP022752@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: 09746fa95ea6 - main - devel/phabricator: Fix default workboard on projects List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09746fa95ea6e46955f836132f7c1b126c96cdc6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643207519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tLuiVVviv2gmY6JqeiouS4oBuQtH8xtwrMLW1AK+Po0=; b=kkbwl3v3NIMfVkhjI6IQdNFTISSuTim29pEP6bs8Ff7fjw1296vdHK4zL3kjp27d9dnI2g rAGE3DPyc27qJyz3jb7rOLPvKMqscjZHzBlpApUPzh2FsR7NzWmmnYhOCqtgSiRb2DGIMn 211yX7kCvFcrlXbXcsSz2osalwh7hjLVQvJfRMvViDd4yAWKfqQPdoNRC+r7GQkx44+Vc9 JLSo1GRStlvXmSNjwpwzFUrnKMVmmaFLvY1sug2ZrO8xY7gipEuNIKQfrS4FHMEYSoZ8aj ImJRBGZT3unorzhGcSQNdCS8NdMpvA6tMu0ePFPITeMJ9bMn6pV9dtmjlLmmDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643207519; a=rsa-sha256; cv=none; b=iv5OD8hN8IlooQJSqMQubzY2Vjd+H08ECe+olGt7ekzT1Bzc90L+r3Zf7lxUUhu4c/3UUz WCNHOrJuF5bmzdWsjmOSxSbSw/8XIB8TZNQZeAUlCnxontztt2bgUfi7M8vBG+hDuT3GQy p6JW18zTWizhZpoTF+/HfZXihuOcExdk2BAkeBwgSLjxH2cBP7TjNHg9D6C7RPNcaeewwW WNSCAG7grSitKA1LYqyoLPsdKqYuSRJqXGai9GGZjge2Or2J1NFCkCi2WQ/gcWQEJ4yvJf NW5o2GcAhOYkdAlYj0+yiD4pVn4UWasT4bUJQ8K5noNCGfkheiXFp6GesG5/6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=09746fa95ea6e46955f836132f7c1b126c96cdc6 commit 09746fa95ea6e46955f836132f7c1b126c96cdc6 Author: Michael Gmelin AuthorDate: 2022-01-26 14:30:13 +0000 Commit: Michael Gmelin CommitDate: 2022-01-26 14:31:38 +0000 devel/phabricator: Fix default workboard on projects This adds a patch to unbreak having workboards as the default view on projects. --- devel/phabricator/Makefile | 2 +- ...controller_PhabricatorProjectViewController.php | 11 +++++++++++ ..._search_engine_PhabricatorProfileMenuEngine.php | 22 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile index 5ef16edf3e9a..5b3b51d62182 100644 --- a/devel/phabricator/Makefile +++ b/devel/phabricator/Makefile @@ -1,6 +1,6 @@ PORTNAME= phabricator PORTVERSION= 20201119 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} diff --git a/devel/phabricator/files/patch-src_applications_project_controller_PhabricatorProjectViewController.php b/devel/phabricator/files/patch-src_applications_project_controller_PhabricatorProjectViewController.php new file mode 100644 index 000000000000..72d4ec69e293 --- /dev/null +++ b/devel/phabricator/files/patch-src_applications_project_controller_PhabricatorProjectViewController.php @@ -0,0 +1,11 @@ +--- src/applications/project/controller/PhabricatorProjectViewController.php.orig 2022-01-26 14:24:00 UTC ++++ src/applications/project/controller/PhabricatorProjectViewController.php +@@ -39,7 +39,7 @@ final class PhabricatorProjectViewController + $controller_object = new PhabricatorProjectManageController(); + break; + default: +- return $engine->buildResponse(); ++ return $engine->buildResponse(true); + } + + return $this->delegateToController($controller_object); diff --git a/devel/phabricator/files/patch-src_applications_search_engine_PhabricatorProfileMenuEngine.php b/devel/phabricator/files/patch-src_applications_search_engine_PhabricatorProfileMenuEngine.php new file mode 100644 index 000000000000..cc794c9729a1 --- /dev/null +++ b/devel/phabricator/files/patch-src_applications_search_engine_PhabricatorProfileMenuEngine.php @@ -0,0 +1,22 @@ +--- src/applications/search/engine/PhabricatorProfileMenuEngine.php.orig 2022-01-26 14:23:11 UTC ++++ src/applications/search/engine/PhabricatorProfileMenuEngine.php +@@ -99,7 +99,7 @@ abstract class PhabricatorProfileMenuEngine extends Ph + return $this->editMode; + } + +- public function buildResponse() { ++ public function buildResponse($ignore_item_id = false) { + $controller = $this->getController(); + + $viewer = $controller->getViewer(); +@@ -130,6 +130,10 @@ abstract class PhabricatorProfileMenuEngine extends Ph + $item_id = $request->getURIData('id'); + } + ++ if ($ignore_item_id) { ++ $item_id = ""; ++ } ++ + $view_list = $this->newProfileMenuItemViewList(); + + if ($is_view) {