Page MenuHomePhorge
Feed All Stories

Today

aklapper updated the diff for D26060: PhpDoc: Replace non-standard dict type with array.

more

Wed, Jun 4, 08:34
keithzg edited the content of Organizations Using Phorge.
Wed, Jun 4, 08:01
aklapper requested review of D26060: PhpDoc: Replace non-standard dict type with array.
Wed, Jun 4, 07:55

Yesterday

valerio.bozzolan accepted D26059: PhpDoc: Replace non-standard dict type with array.

What could go wrong

Tue, Jun 3, 20:44
aklapper requested review of D26059: PhpDoc: Replace non-standard dict type with array.
Tue, Jun 3, 18:10
valerio.bozzolan added a comment to D25772: Projects: improve quality of destroy workflow.

I'm happy because when a coworker creates a new sub-project "Nonsense Sub", now you can just destroy it (the project, not the coworker lol) and everything is rollbacked as before successfully.

Tue, Jun 3, 14:27 · Projects
valerio.bozzolan updated the summary of D25772: Projects: improve quality of destroy workflow.
Tue, Jun 3, 14:20 · Projects
valerio.bozzolan added a comment to D25772: Projects: improve quality of destroy workflow.

Added a "Limitations" section to clarify what this patch is not about, and clarifying why direct Milestones must be removed (so you don't need to read all the subtasks)

Tue, Jun 3, 14:16 · Projects
valerio.bozzolan updated the summary of D25772: Projects: improve quality of destroy workflow.
Tue, Jun 3, 14:16 · Projects
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
valerio.bozzolan edited the content of Organizations Using Phorge.
Tue, Jun 3, 11:38
valerio.bozzolan accepted D26057: Add tooltip for "not" search token tag in Global Search results.

Macro basketslam:  Acceeeeept

Tue, Jun 3, 11:16
valerio.bozzolan added a comment to T16094: Duplicated Query search tokens also create duplicate SQL query constructs.

If somebody can share the resulting query, to compare it A/B, that would be super

Tue, Jun 3, 11:15
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
valerio.bozzolan added a comment to T16093: "NOT" search token tag uses an icon and no tooltip in Global Search results.

I think the description of this task should be "It's too much difficult to understand what that red thing is about" or something similar

Tue, Jun 3, 10:17
valerio.bozzolan added a comment to D26057: Add tooltip for "not" search token tag in Global Search results.

I very much like the new tip,

Tue, Jun 3, 10:14
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
valerio.bozzolan accepted D26037: Add phpDoc to PhabricatorCursorPagedPolicyAwareQuery.

It seems that Diviner still runs. Well done both for double-checking.

Tue, Jun 3, 08:53
A_smart_kitten created T16091: Allow non-members of the Trusted Contributors group to file security tasks.
Tue, Jun 3, 08:45 · Security, phorge.it install
valerio.bozzolan updated the test plan for D26037: Add phpDoc to PhabricatorCursorPagedPolicyAwareQuery.
Tue, Jun 3, 08:40
A_smart_kitten added a member for Trusted Contributors: avm99963.
Tue, Jun 3, 08:24
A_smart_kitten added Q183: Possible DOS in Phorge instances (Answer 225).
Tue, Jun 3, 08:24
A_smart_kitten added a project to Q177: Should it be easier for non-community-members to submit security reports?: Security.
Tue, Jun 3, 08:14 · Security
valerio.bozzolan accepted D26043: Correct Conduit project.search color result for milestones.

sgtm

Tue, Jun 3, 07:41
valerio.bozzolan added a comment to D26040: Add missing ArcanistWorkflow::runWorkflow method.

(about my last phrase I just mean we can have everywhere protected function runWorkflow() and we can avoid to introduce the argument - so for example we could rollback the file PhageExecWorkflow.php 🤯 🤯 🤯 lol )

Tue, Jun 3, 05:48
valerio.bozzolan updated the test plan for D26040: Add missing ArcanistWorkflow::runWorkflow method.
Tue, Jun 3, 05:31
valerio.bozzolan added a comment to D26040: Add missing ArcanistWorkflow::runWorkflow method.

(You are soo fast woow)

Tue, Jun 3, 05:30

Mon, Jun 2

amybones added a comment to D26037: Add phpDoc to PhabricatorCursorPagedPolicyAwareQuery.

Yes to the idea however a related elephant in the room (IMHO) are those non-standard types like list or map or wild being replaced, no clue if that has any effects on...something™ (Diviner docs? Code?) as I haven't managed to understand the consequences of code in https://we.phorge.it/source/arcanist/browse/master/src/parser/PhutilTypeSpec.php yet. (Technically speaking map and list seem to be just arrays, indeed.)

Mon, Jun 2, 23:31
amybones added a comment to D26039: LiskDAO::getConfiguration return typing.

Yeah, I've been wanting to put up a codemod diffs that get rid of all the custom types: wild, dict, dictionary, map, etc. None of these are understood by modern phpdoc tooling and while we could configure phpstan to understand them, it's probably easiest to just use whatever everyone else is using, especially because some editor extensions don't have a way to add custom types so we'd be leaving potential contributors at a disadvantage if they don't have phpstan.

Mon, Jun 2, 23:25
amybones requested review of D26040: Add missing ArcanistWorkflow::runWorkflow method.
Mon, Jun 2, 23:21
amybones updated the diff for D26040: Add missing ArcanistWorkflow::runWorkflow method.

Update signature to protected and add missing argument everywhere.

Mon, Jun 2, 23:20
amybones planned changes to D26040: Add missing ArcanistWorkflow::runWorkflow method.

Running phpstan analyse, [...] Method ArcanistWorkflow::runWorkflow() invoked with 1 parameter, 0 required, both in src/workflow/ArcanistWorkflow.php:227. That looks like an improvement indeed.

Mon, Jun 2, 22:22
amybones added a comment to D26040: Add missing ArcanistWorkflow::runWorkflow method.

Keeping it protected will throw Protected method PhageExecWorkflow::runWorkflow() overriding public method ArcanistWorkflow::runWorkflow() should also be public.

Exactly what I mean: this patch introduced a public method, but what about just introducing a protected method? and rollback src/phage/workflow/PhageExecWorkflow.php

Mon, Jun 2, 22:14
Cigaryno added a comment to Q183: Possible DOS in Phorge instances.
In Q183#2249, @aklapper wrote:

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:17 · Security
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
avm99963 asked Q183: Possible DOS in Phorge instances.
Mon, Jun 2, 11:54 · Security
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
vabocharov added a comment to T16090: Add visualization support on large monitors.

Hi!
I agree that this is not a problem and it does not prevent me from explicitly using the features of the service, but for convenience, it would be good if there was support for large monitors.
Yes, it is possible to use a browser that does not cover the entire width of the monitor, but this is not very convenient for me personally, since other sites support such a diagonal of the monitor, which allows me to better read and write texts, code, and so on.
If you think that it is not worth adding support for such a diagonal, then I agree, since so far few people use such large diagonals. Personally, it wouldn't hurt for me to use phorge on my server.

Mon, Jun 2, 07:13 · 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
vabocharov attached a referenced file: F3981592: image.png.
Mon, Jun 2, 05:31 · Feature Requests, UX
vabocharov created T16090: Add visualization support on large monitors.
Mon, Jun 2, 05:31 · 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