Page MenuHomePhorge
Feed All Stories

Mon, May 19

valerio.bozzolan created T16078: PhabricatorFileAttachmentQuery: allow to easily find which users are using a profile picture (allow to only get users, and only get attachments).
Mon, May 19, 17:14 · Files, Feature Requests, User-valerio.bozzolan
valerio.bozzolan added a comment to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).

It seems it's necessary to be able to "get the user from a profile picture". This is not easy, since the user seems not mentioned in any obvious way from the file object, as already stated in T15407.

Mon, May 19, 16:42 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan updated the task description for T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).
Mon, May 19, 16:15 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added a cover image to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).
Mon, May 19, 16:15 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan updated the task description for T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").
Mon, May 19, 15:58 · Feature Requests, Policy, User-valerio.bozzolan, People
aklapper updated the summary of D25978: Fix wrong argument count in numerous calls' signatures.
Mon, May 19, 15:03
valerio.bozzolan accepted D25978: Fix wrong argument count in numerous calls' signatures.

Macro basketslam:  SLAM APPROVE

Mon, May 19, 14:12
valerio.bozzolan created Image Macro "basketslam".
Mon, May 19, 14:11
valerio.bozzolan updated the test plan for D25978: Fix wrong argument count in numerous calls' signatures.
Mon, May 19, 14:10
aklapper updated the diff for D25978: Fix wrong argument count in numerous calls' signatures.

You are correct. (And I am disappointed by PHPStan to not realize that.)

Mon, May 19, 14:05
aklapper updated the summary of D25978: Fix wrong argument count in numerous calls' signatures.
Mon, May 19, 14:05
valerio.bozzolan updated the diff for D25772: Projects: improve quality of destroy workflow.

Reword inline comment to be about our hero, Mario.

Mon, May 19, 14:04 · Projects
valerio.bozzolan updated the diff for D25772: Projects: improve quality of destroy workflow.

Can we also destroy the root project A? Sure! Added in the unit test.

Mon, May 19, 13:56 · Projects
aklapper requested review of D26024: Make long phui-tag-view object titles wrap in Remarkup context.
Mon, May 19, 11:54
aklapper added a revision to T16077: Referenced long object titles ({X123}) should wrap in descriptions/comments: D26024: Make long phui-tag-view object titles wrap in Remarkup context.
Mon, May 19, 11:54
aklapper created T16077: Referenced long object titles ({X123}) should wrap in descriptions/comments.
Mon, May 19, 11:47
valerio.bozzolan moved T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image) from Backlog to Code Sprint Candidate on the User-valerio.bozzolan board.
Mon, May 19, 11:07 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added inline comments to D25978: Fix wrong argument count in numerous calls' signatures.
Mon, May 19, 10:19
aklapper updated the diff for D25978: Fix wrong argument count in numerous calls' signatures.

Make PhabricatorDifferentialRevisionTestDataGenerator::generateDescription() have more than one sentence

Mon, May 19, 09:54
valerio.bozzolan added a comment to D25872: Implements arc work for git workflow.

Seems nice! Feel free to update.

Mon, May 19, 09:48
nib added a comment to D25872: Implements arc work for git workflow.

P.S. Uh, I noticed that arc work also has a --start parameter! I documented a bit the expected behavior in the task T15993.

So that parameter is currently not supported for tasks, maybe relevant for the patch author:

$ arc work --start stable T15993
 NEW BRANCH  Creating new branch "T15993-support-for-arc-work-t12345-(workontask-workflow)" from "master".
 BRANCH  Checking out branch "T15993-support-for-arc-work-t12345-(workontask-workflow)".

So you see that from "master" that means we are not supporting --start, I guess.

If we cannot add support to that, we can add another cute TODO-exception for this corner case I guess (and create another task I guess)

Mon, May 19, 09:45
valerio.bozzolan added a comment to D25978: Fix wrong argument count in numerous calls' signatures.

Partial review, will conclude (I hope asd)

Mon, May 19, 07:18
valerio.bozzolan accepted D26023: Ignore bogus cards parameter string values in Hovercards calls.

sgtm

Mon, May 19, 07:00
valerio.bozzolan created T16076: Understand if we still need our own JSON parser.
Mon, May 19, 06:57 · User-valerio.bozzolan, Phorge
aklapper closed D26017: Remove orphan CSS selectors in diffusion/diffusion-*.css.
Mon, May 19, 05:19
aklapper committed rP7e4c1e93b55b: Remove orphan CSS selectors in diffusion/diffusion-*.css.
Mon, May 19, 05:19

Sun, May 18

aklapper added inline comments to D26017: Remove orphan CSS selectors in diffusion/diffusion-*.css.
Sun, May 18, 21:23
aklapper closed D26009: Remove orphan CSS selectors in phui/phui-action-panel.css.
Sun, May 18, 21:12
aklapper committed rP39216af0db7b: Remove orphan CSS selectors in phui/phui-action-panel.css.
Sun, May 18, 21:12
aklapper closed D26008: Remove orphan CSS selectors in phui/phui-header-view.css.
Sun, May 18, 21:11
aklapper committed rP4195c91af0fe: Remove orphan CSS selectors in phui/phui-header-view.css.
Sun, May 18, 21:11
aklapper updated the diff for D26008: Remove orphan CSS selectors in phui/phui-header-view.css.

git rebase master

Sun, May 18, 21:10
aklapper updated the diff for D26023: Ignore bogus cards parameter string values in Hovercards calls.

Sigh, I swear I grep'ed for isArray before but I was in a parallel CamelCase world in that moment

Sun, May 18, 21:05
valerio.bozzolan added inline comments to D26023: Ignore bogus cards parameter string values in Hovercards calls.
Sun, May 18, 20:44
aklapper requested review of D26023: Ignore bogus cards parameter string values in Hovercards calls.
Sun, May 18, 20:35
aklapper added a revision to T16075: TypeError: idx(): Argument #1 ($array) must be of type array, string given in PhabricatorSearchHovercardController.php: D26023: Ignore bogus cards parameter string values in Hovercards calls.
Sun, May 18, 20:35
aklapper renamed T16075: TypeError: idx(): Argument #1 ($array) must be of type array, string given in PhabricatorSearchHovercardController.php from TypeError) idx(): Argument #1 ($array) must be of type array, string given in PhabricatorSearchHovercardController.php to TypeError: idx(): Argument #1 ($array) must be of type array, string given in PhabricatorSearchHovercardController.php.
Sun, May 18, 20:34
aklapper created T16075: TypeError: idx(): Argument #1 ($array) must be of type array, string given in PhabricatorSearchHovercardController.php.
Sun, May 18, 20:29
valerio.bozzolan added a subtask for T15814: Files: reduce number of orphan transformed files: T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").
Sun, May 18, 19:54 · User-valerio.bozzolan, People
valerio.bozzolan added a parent task for T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one"): T15814: Files: reduce number of orphan transformed files.
Sun, May 18, 19:54 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan removed a parent task for T15814: Files: reduce number of orphan transformed files: T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").
Sun, May 18, 19:53 · User-valerio.bozzolan, People
valerio.bozzolan removed a subtask for T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one"): T15814: Files: reduce number of orphan transformed files.
Sun, May 18, 19:53 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan added a comment to T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").

Plus, making the file editable by the author is the cure of T15814, so, moving that as parent task.

Sun, May 18, 19:53 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan added a comment to T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").

If we allow authors to destroy their images, we should also avoid 404 errors on them. So, the new subtask T16074.

Sun, May 18, 19:52 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan added a parent task for T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image): T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one").
Sun, May 18, 19:52 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added a subtask for T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one"): T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).
Sun, May 18, 19:52 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan created T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).
Sun, May 18, 19:51 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan accepted D26008: Remove orphan CSS selectors in phui/phui-header-view.css.

Thaanks

Sun, May 18, 19:39
valerio.bozzolan accepted D26009: Remove orphan CSS selectors in phui/phui-action-panel.css.
Sun, May 18, 19:36
valerio.bozzolan updated the summary of D26017: Remove orphan CSS selectors in diffusion/diffusion-*.css.
Sun, May 18, 19:33
valerio.bozzolan accepted D26017: Remove orphan CSS selectors in diffusion/diffusion-*.css.

(I just sorted the description to have the same order of the preview so it was easier for me to review)

Sun, May 18, 19:33
valerio.bozzolan accepted D26021: Make User-Agent regex detect Firefox on Android.

Love this, thanks

Sun, May 18, 15:56
valerio.bozzolan updated the test plan for D26021: Make User-Agent regex detect Firefox on Android.
Sun, May 18, 15:55
nib added a comment to D25872: Implements arc work for git workflow.

P.S. Uh, I noticed that arc work also has a --start parameter! I documented a bit the expected behavior in the task T15993.

So that parameter is currently not supported for tasks, maybe relevant for the patch author:

$ arc work --start stable T15993
 NEW BRANCH  Creating new branch "T15993-support-for-arc-work-t12345-(workontask-workflow)" from "master".
 BRANCH  Checking out branch "T15993-support-for-arc-work-t12345-(workontask-workflow)".

So you see that from "master" that means we are not supporting --start, I guess.

If we cannot add support to that, we can add another cute TODO-exception for this corner case I guess (and create another task I guess)

Sun, May 18, 07:47
nib added a comment to D25872: Implements arc work for git workflow.

Tested for T15100 and T15993 and I'm a bit surprised to obtain, this very long branch with commas and square brackets (and just the closing bracket? uhm)

T15100-feature-request]-option-to-measure-wip-limits-based-on-card-count-instead-of-points,-to-more-closely-adhere-to-kanban-standards

and this with round brackets (that is not Bash friendly for the git autocomplete):

T15993-support-for-arc-work-t12345-(workontask-workflow)

Probably here we should normalize a bit more these branch names. To do it, I see that Phorge already has a "normalize" method that does great things, but unfortunately it's not available in Arcanist (we cannot call it, or we create a circular dependency)...

https://we.phorge.it/source/phorge/browse/master/src/infrastructure/util/PhabricatorSlug.php

What do you think about? Should we import a very minimal "ArcanistSlug" class? And now/then having PhabricatorSlug extending that? (to give 100% backward compatibility but uniform code)

I'm a bit unsure. Thanks for opinions.

Sun, May 18, 01:31

Sat, May 17

aklapper requested review of D26022: Show image preview thumbnails on Authored Files.
Sat, May 17, 13:10
aklapper added a revision to T16039: Show image preview thumbnails on your Authored Files: D26022: Show image preview thumbnails on Authored Files.
Sat, May 17, 13:10 · Feature Requests
A_smart_kitten renamed T16073: "In Any" & "Not In" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself) from "In Any" & "Not" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself) to "In Any" & "Not In" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself).
Sat, May 17, 10:45 · Maniphest
A_smart_kitten added a parent task for T15828: "Any" & "Not In" query operators should also involve project's direct milestones: T16073: "In Any" & "Not In" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself).
Sat, May 17, 10:42 · Maniphest, Bug Reports
A_smart_kitten added a subtask for T16073: "In Any" & "Not In" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself): T15828: "Any" & "Not In" query operators should also involve project's direct milestones.
Sat, May 17, 10:42 · Maniphest
A_smart_kitten created T16073: "In Any" & "Not In" query options don't work consistently with subprojects/milestones (compared to searching for the parent project itself).
Sat, May 17, 10:42 · Maniphest
aklapper updated the diff for D26021: Make User-Agent regex detect Firefox on Android.

remove some unneeded brackets in regex

Sat, May 17, 09:33
aklapper closed D25997: Remove orphan CSS selectors for differential-haunt-mode.
Sat, May 17, 09:20
aklapper committed rP2ce25747851f: Remove orphan CSS selectors for differential-haunt-mode.
Sat, May 17, 09:20
valerio.bozzolan accepted D25997: Remove orphan CSS selectors for differential-haunt-mode.

looool double-slam-accept

Sat, May 17, 07:36
aklapper added a comment to D26021: Make User-Agent regex detect Firefox on Android.

Right...hmm, now I also wonder. :)
Should probably be iPhone|iPod|Android.*(Chrome/[.0-9]* Mobile|Mobile.*Firefox/[.0-9]*) (it's still that Firefox on Android has that Android string first, thus the brackets).

or with slash and version:

We shall keep version. There"s a good number of user-agent strings out there concatenating random browser names while not being these browsers.

Sat, May 17, 02:46
aklapper updated the task description for T16072: Accessibility improvements (June 2025).
Sat, May 17, 02:29 · Accessibility
aklapper added a project to T16072: Accessibility improvements (June 2025): Accessibility.
Sat, May 17, 02:08 · Accessibility
aklapper claimed T16072: Accessibility improvements (June 2025).
Sat, May 17, 02:08 · Accessibility
aklapper created T16072: Accessibility improvements (June 2025).
Sat, May 17, 02:08 · Accessibility
aklapper edited the content of Next Up.
Sat, May 17, 01:29
aklapper closed T15689: built in exception display is missing top line as Resolved by committing rPb7ff9ba6f8ab: Unhandled Exception: Add last call to error message.
Sat, May 17, 01:29 · Wikimedia Hackathon 2025, Phorge Development Tools
aklapper closed D25955: Unhandled Exception: Add last call to error message.
Sat, May 17, 01:29
aklapper committed rPb7ff9ba6f8ab: Unhandled Exception: Add last call to error message.
Sat, May 17, 01:29
aklapper updated the diff for D25997: Remove orphan CSS selectors for differential-haunt-mode.

git rebase master

Sat, May 17, 01:22
aklapper added inline comments to D25997: Remove orphan CSS selectors for differential-haunt-mode.
Sat, May 17, 01:19
aklapper closed D26013: Remove orphan CSS selectors in phui/phui-crumbs-view.css.
Sat, May 17, 01:14
aklapper committed rP78f9c26dabc2: Remove orphan CSS selectors in phui/phui-crumbs-view.css.
Sat, May 17, 01:14
aklapper updated the diff for D26013: Remove orphan CSS selectors in phui/phui-crumbs-view.css.

git rebase master

Sat, May 17, 01:14
aklapper closed D25996: Remove unused CSS file differential/revision-list.css.
Sat, May 17, 01:12
aklapper committed rP9ce983391683: Remove unused CSS file differential/revision-list.css.
Sat, May 17, 01:12

Fri, May 16

valerio.bozzolan accepted D25997: Remove orphan CSS selectors for differential-haunt-mode.
Fri, May 16, 20:56
valerio.bozzolan accepted D26013: Remove orphan CSS selectors in phui/phui-crumbs-view.css.

My grep loves this

Fri, May 16, 20:54
valerio.bozzolan accepted D25996: Remove unused CSS file differential/revision-list.css.

My grep loves this

Fri, May 16, 20:53
valerio.bozzolan added a comment to D26021: Make User-Agent regex detect Firefox on Android.

e.g. https://regex101.com/r/PDyAGh/1 (then the slash, or the slash and the version - but that is)

Fri, May 16, 15:27
valerio.bozzolan added a comment to D26021: Make User-Agent regex detect Firefox on Android.

There is something wrong now nearby the |((Chrome, that should be enclosed by pipes and just one bracket, like an hamburger of pipes, like @stuff|(Chromestuff)|(Firefox stuff)@0

Fri, May 16, 15:24
valerio.bozzolan added inline comments to D26021: Make User-Agent regex detect Firefox on Android.
Fri, May 16, 15:02
aklapper updated the diff for D26021: Make User-Agent regex detect Firefox on Android.

wrap long string to make lint happy

Fri, May 16, 14:54
aklapper added a comment to D26021: Make User-Agent regex detect Firefox on Android.

but in Firefox seems easier, we can just match "Mobile.*Firefox" probably

Fri, May 16, 14:53
valerio.bozzolan added inline comments to D26021: Make User-Agent regex detect Firefox on Android.
Fri, May 16, 13:38
valerio.bozzolan added a comment to T15828: "Any" & "Not In" query operators should also involve project's direct milestones.

@A_smart_kitten you are super-super-welcome if you create another parent task like this https://web.archive.org/web/20250218071010/https://secure.phabricator.com/T12486 so " Search exclude-by-tag doesn't work consistently with subprojects" - since I completely agree on your point but I'm unsure how to manage it, so here T15828 we become just one of your sub-tasks.

Fri, May 16, 13:27 · Maniphest, Bug Reports
valerio.bozzolan triaged T16071: Avoid large layout shifts while page loading on mobile as Normal priority.
Fri, May 16, 13:19
aklapper requested review of D26021: Make User-Agent regex detect Firefox on Android.
Fri, May 16, 13:19
aklapper added a revision to T16071: Avoid large layout shifts while page loading on mobile: D26021: Make User-Agent regex detect Firefox on Android.
Fri, May 16, 13:19
aklapper added a comment to T16071: Avoid large layout shifts while page loading on mobile.

Per https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent/Firefox (and other pages like https://www.whatismybrowser.com/guides/the-latest-user-agent/firefox ), the current regex check in Phorge requiring the string Chrome won't even try to match Firefox browsers on mobile (e.g. Mozilla/5.0 (Android 15; Mobile; rv:138.0) Gecko/138.0 Firefox/138.0).

Fri, May 16, 13:04
A_smart_kitten added a comment to T15828: "Any" & "Not In" query operators should also involve project's direct milestones.
  • 🔶 this task (T15828) is not reporting a real-world thing about this use with sub-projects

FWIW, my use case from today in terms of sub-projects was attempting to search tasks on Wikimedia Phabricator that were tagged with either #MediaWiki-Recent-changes or #Edit-Review-Improvements (or a subproject thereof).

Fri, May 16, 12:51 · Maniphest, Bug Reports
valerio.bozzolan updated the task description for T15828: "Any" & "Not In" query operators should also involve project's direct milestones.
Fri, May 16, 12:50 · Maniphest, Bug Reports
valerio.bozzolan renamed T15828: "Any" & "Not In" query operators should also involve project's direct milestones from "Any" & "Not In" query operators are not respected when searching for subprojects/milestones of a given project to "Any" & "Not In" query operators should also involve project's direct milestones.
Fri, May 16, 12:39 · Maniphest, Bug Reports
valerio.bozzolan added a comment to T15828: "Any" & "Not In" query operators should also involve project's direct milestones.

Triaging a bit more than "Wishlist" and a bit less than "Normal" since a prototype is actionable but we still lived years without this... so, "Low".

Fri, May 16, 12:39 · Maniphest, Bug Reports
valerio.bozzolan added a comment to T15828: "Any" & "Not In" query operators should also involve project's direct milestones.

OK hackers, thanks for stimulating a follow-up. I've studied this a bit and I have a more clear opinion. Let's write some notes down.

Fri, May 16, 12:18 · Maniphest, Bug Reports