Page MenuHomePhorge
Feed Advanced Search

Thu, Jun 5

aklapper requested review of D26069: PHPDoc: Replace non-existing return type pair with array.
Thu, Jun 5, 12:29
aklapper requested review of D26068: PHPDoc: Replace non-existing return type const with string(|int).
Thu, Jun 5, 12:22
aklapper requested review of D26067: PHPDoc: Replace non-existing return type const with string.
Thu, Jun 5, 12:16
aklapper requested review of D26066: PHPDoc: Replace non-existing return type tuple with array.
Thu, Jun 5, 12:15
aklapper requested review of D26065: PHPDoc: Replace non-existing return type tuple with array.
Thu, Jun 5, 12:12
aklapper requested review of D26064: PHPDoc: Replace non-existing return type markup with string.
Thu, Jun 5, 11:59
aklapper requested review of D26063: PHPDoc: Replace non-existing return type bitmask with string.
Thu, Jun 5, 11:47
aklapper requested review of D26062: transaction.search: Fix PhpDoc.
Thu, Jun 5, 11:41
aklapper closed D26061: Fix PHP 8.1 "strlen(null)" exception for no query in primary search.
Thu, Jun 5, 08:51
aklapper committed rP6d219783408b: Fix PHP 8.1 "strlen(null)" exception for no query in primary search.
Thu, Jun 5, 08:51
aklapper requested review of D26061: Fix PHP 8.1 "strlen(null)" exception for no query in primary search.
Thu, Jun 5, 07:34
aklapper planned changes to D26055: Restrict maximum number of search tokens per query to 16.

I realize that this my own patch would create a problem for our own downstream glue code, as we create external search links like
http://phorge.localhost/search/?search:primary=true&search:scope=open-tasks&query=%22Wikimedia%5CRdbms%5CDBQueryError%3A%22%20%22Error%22%20%221146%3A%22%20%22Table%22%20%22%27database.table%27%22%20%22doesn%27t%22%20%22exist%22%20%22Function%3A%22%20%22Foo%5CBar%5CBaz%5CBla%3A%3AdoStuff%22%20%22Query%3A%22%20%22DELETE%22%20%22FROM%22%20%22%60function%22#R so I should likely raise the threshold at least.

Thu, Jun 5, 06:59
aklapper added a comment to D26060: PhpDoc: Replace non-standard dict type with array.

Nah, LC_ALL=C won't change anything. (My system is already in variants of English.)

Thu, Jun 5, 06:39

Wed, Jun 4

aklapper updated the diff for D26044: a11y: Add aria-label to global search field in top bar.

Mark string as translatable

Wed, Jun 4, 19:36
aklapper added a comment to D26060: PhpDoc: Replace non-standard dict type with array.

P.S. why is your local unit test failing?

Cannot reproduce:

arc unit src/parser/__tests__/ArcanistBundleTestCase.php
Wed, Jun 4, 18:39
aklapper updated the diff for D26022: Show image preview thumbnails on Authored Files.

aaaand now, as I was mumbling aloud, maybe super-nice to move the $xform = definition out the foreach, so, we can move this up

(extra extra bonus bonus point: once it's up, we can find the $xform only if it's necessary)

Wed, Jun 4, 18:04
aklapper added a comment to D26022: Show image preview thumbnails on Authored Files.

I'm still clueless if this could be more optimized somehow given my lack of understanding of the thumbnail software stack. Just saying.

Wed, Jun 4, 17:05
aklapper updated the diff for D26022: Show image preview thumbnails on Authored Files.

Do as Valerio says

Wed, Jun 4, 17:04
aklapper updated the diff for D26022: Show image preview thumbnails on Authored Files.

A rather boring git rebase master with no particular exciting new features

Wed, Jun 4, 16:58
aklapper edited the content of Organizations Using Phorge.
Wed, Jun 4, 16:38
aklapper accepted D26041: Fix ArcanistWorkflow::shouldRequireCleanUntrackedFiles.

Darrn, I also wanted to accept this but somehow closed this tab. Sorry :D

Wed, Jun 4, 16:32
aklapper updated the diff for D26060: PhpDoc: Replace non-standard dict type with array.

more

Wed, Jun 4, 08:34
aklapper requested review of D26060: PhpDoc: Replace non-standard dict type with array.
Wed, Jun 4, 07:55

Tue, Jun 3

aklapper requested review of D26059: PhpDoc: Replace non-standard dict type with array.
Tue, Jun 3, 18:10
aklapper added a comment to D26037: Add phpDoc to PhabricatorCursorPagedPolicyAwareQuery.

After applying this patch, phpstan throws a bunch of additional output here, like Class PhabricatorAuthPasswordQuery extends generic class PhabricatorCursorPagedPolicyAwareQuery but does not specify its types: R and such. Probably that is totally fine. Just saying, as a phpstan newbie.

Tue, Jun 3, 12:13
aklapper closed T16093: "NOT" search token tag uses an icon and no tooltip in Global Search results as Resolved by committing rPa638bafe5103: Add tooltip for "not" search token tag in Global Search results.
Tue, Jun 3, 11:44
aklapper closed D26057: Add tooltip for "not" search token tag in Global Search results.
Tue, Jun 3, 11:44
aklapper committed rPa638bafe5103: Add tooltip for "not" search token tag in Global Search results.
Tue, Jun 3, 11:44
aklapper retitled D26057: Add tooltip for "not" search token tag in Global Search results from Drop icon for "not" search token tag in Global Search results
Tue, Jun 3, 11:43
aklapper updated the diff for D26057: Add tooltip for "not" search token tag in Global Search results.

Put minus icon back in

Tue, Jun 3, 10:57
aklapper retitled D26057: Add tooltip for "not" search token tag in Global Search results from Drop icon for "not" search token tag in Global Search results
Tue, Jun 3, 10:57
aklapper planned changes to D26058: Remove duplicate Query search tokens before constructing SQL queries.

Pasting full unit test output here before garbage collection kicks in:

Assertion failed, expected values to be equal (at PhutilSearchQueryCompilerTestCase.php:303): Function compilation of query: cat title:="Meow Meow"
Expected vs Actual Output Diff
--- Old Value
+++ New Value
@@ -1,18 +1 @@
-Array
-(
-    [0] => Array
-        (
-            [0] => 
-            [1] => and
-            [2] => cat
-        )
-
-    [1] => Array
-        (
-            [0] => title
-            [1] => exact
-            [2] => Meow Meow
-        )
-
-)
-
+false
Tue, Jun 3, 10:45
aklapper requested review of D26058: Remove duplicate Query search tokens before constructing SQL queries.
Tue, Jun 3, 10:42
aklapper added a revision to T16094: Duplicated Query search tokens also create duplicate SQL query constructs: D26058: Remove duplicate Query search tokens before constructing SQL queries.
Tue, Jun 3, 10:42
aklapper added a comment to T16094: Duplicated Query search tokens also create duplicate SQL query constructs.
  1. Go to http://phorge.localhost/search/query/advanced/
  2. In the Query field enter z a a "a phrase" a a a a ~a -b =foo title:u which includes duplicate values
  3. Click Search button
Tue, Jun 3, 10:35
aklapper created T16094: Duplicated Query search tokens also create duplicate SQL query constructs.
Tue, Jun 3, 10:31
aklapper renamed T16093: "NOT" search token tag uses an icon and no tooltip in Global Search results from Search token tags inconsistently use icons and tooltips in Global Search results to "NOT" search token tag uses an icon and no tooltip in Global Search results.
Tue, Jun 3, 10:30
aklapper requested review of D26057: Add tooltip for "not" search token tag in Global Search results.
Tue, Jun 3, 09:35
aklapper added a revision to T16093: "NOT" search token tag uses an icon and no tooltip in Global Search results: D26057: Add tooltip for "not" search token tag in Global Search results.
Tue, Jun 3, 09:35
aklapper created T16093: "NOT" search token tag uses an icon and no tooltip in Global Search results.
Tue, Jun 3, 09:32
aklapper updated the diff for D26056: Mention number of search tokens for Global Search result.

Don't output "1 Terms" but "x Term(s)"

Tue, Jun 3, 09:28
aklapper requested review of D26056: Mention number of search tokens for Global Search result.
Tue, Jun 3, 09:27
aklapper added a revision to T16092: Explicitly mention number of search tokens for Global Search result: D26056: Mention number of search tokens for Global Search result.
Tue, Jun 3, 09:27
aklapper added a comment to T16092: Explicitly mention number of search tokens for Global Search result.

Before:

Screenshot From 2025-06-03 11-21-56.png (220×1 px, 21 KB)

Tue, Jun 3, 09:26
aklapper created T16092: Explicitly mention number of search tokens for Global Search result.
Tue, Jun 3, 09:25

Mon, Jun 2

aklapper added a comment to Q183: Possible DOS in Phorge instances.

Hi and welcome, thanks for bringing this up! I guess you could Edit Question and change the View Policy of this Ponder Question to either "Trusted Contributors", or something more restrictive via the "Custom Policy" option, like administrators and subscribers, or such.

Mon, Jun 2, 20:05 · Security
aklapper added a comment to D26055: Restrict maximum number of search tokens per query to 16.

Looks like https://we.phorge.it/source/phorge/browse/master/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php$2118-2125 and https://we.phorge.it/source/phorge/browse/master/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php$2499-2506 already do this silently but only for JOIN clauses.

Mon, Jun 2, 14:28
aklapper added a comment to T16090: Add visualization support on large monitors.

Hi, please explain specifically what "support for large monitors" means to you.
Large monitors are "supported" as all the content on a Phorge page is correctly displayed, layouted, readable on large monitors, as your screenshot proves. :)

Mon, Jun 2, 07:41 · Feature Requests, UX
aklapper added a comment to T16090: Add visualization support on large monitors.

Hi, could you please describe actual problems due to the current layout? Free space is not an issue per-se, for example limiting the content width makes sense.
I'm also a bit wondering why you would put/use the browser full screen when having such a ratio?

Mon, Jun 2, 06:59 · Feature Requests, UX

Sun, Jun 1

aklapper updated the task description for T16089: Query errors are displayed outside of viewport.
Sun, Jun 1, 21:28
aklapper added a comment to T16089: Query errors are displayed outside of viewport.
diff --git a/src/view/phui/PHUIObjectBoxView.php b/src/view/phui/PHUIObjectBoxView.php
index dce9d57568..13a0a3d061 100644
--- a/src/view/phui/PHUIObjectBoxView.php
+++ b/src/view/phui/PHUIObjectBoxView.php
@@ -318,6 +318,10 @@ final class PHUIObjectBoxView extends AphrontTagView {
       $lists,
       $this->table,
       $pager,
+      // When the anchor link scrolled us below the $showhide search parameters
+      // box, repeat the error message hidden and unseen at the top of the page
+      ($this->showHideOpen == true ? $this->formErrors : null),
       $this->renderChildren(),
     );

^ This would simply be ugly repeating of the error message below the search params box on http://phorge.localhost/maniphest/query/advanced/.
For testing the patch behavior with a results list, replace the line
($this->showHideOpen == true ? $this->formErrors : null),
with
($this->showHideOpen == true ? $header : null),

Sun, Jun 1, 21:18
aklapper created T16089: Query errors are displayed outside of viewport.
Sun, Jun 1, 21:16
aklapper requested review of D26055: Restrict maximum number of search tokens per query to 16.
Sun, Jun 1, 18:18
aklapper added a revision to T15831: Long search query can trigger raw "Too many tables; MariaDB can only use 61 tables in a join": D26055: Restrict maximum number of search tokens per query to 16.
Sun, Jun 1, 18:18
aklapper updated the summary of D26054: a11y: Add lang attribute to <html> element.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26054: a11y: Add lang attribute to <html> element.
Sun, Jun 1, 14:30 · Accessibility
aklapper updated the summary of D26053: a11y: Do not mark top bar notifications area as aria-hidden.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26053: a11y: Do not mark top bar notifications area as aria-hidden.
Sun, Jun 1, 14:30 · Accessibility
aklapper updated the summary of D26052: a11y: Set aria-label attribute for PHUIListItemView Edit links in task lists.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26052: a11y: Set aria-label attribute for PHUIListItemView Edit links in task lists.
Sun, Jun 1, 14:30 · Accessibility
aklapper updated the summary of D26051: a11y: Set aria-label for comment action options dropdown.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26051: a11y: Set aria-label for comment action options dropdown.
Sun, Jun 1, 14:30 · Accessibility
aklapper updated the summary of D26050: a11y: Set project workboard button tooltips as aria-label.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26050: a11y: Set project workboard button tooltips as aria-label.
Sun, Jun 1, 14:30 · Accessibility
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26049: a11y: Add alt text to main picture on profile page.
Sun, Jun 1, 14:30 · Accessibility
aklapper updated the summary of D26049: a11y: Add alt text to main picture on profile page.
Sun, Jun 1, 14:30
aklapper updated the summary of D26048: a11y: Add aria-label to mini badges below user avatars.
Sun, Jun 1, 14:30
aklapper added a revision to T16072: Accessibility improvements (June 2025): D26048: a11y: Add aria-label to mini badges below user avatars.
Sun, Jun 1, 14:30 · Accessibility