Page MenuHomePhorge
Feed All Stories

Mon, May 19

valerio.bozzolan attached a referenced file: F4303304: profile-picture-404-error.jpg.
Mon, May 19, 22:37
valerio.bozzolan claimed T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).
Mon, May 19, 22:36 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan claimed 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, 22:35 · Files, Feature Requests, User-valerio.bozzolan
valerio.bozzolan requested review of D26027: Profile picture destroy: implement Before-Destruction engine to restore the builtin image.
Mon, May 19, 22:35
valerio.bozzolan added a revision to T15407: People: Profile Pictures should be Editable and Deletable by their Authors (not by "No one"): D26027: Profile picture destroy: implement Before-Destruction engine to restore the builtin image.
Mon, May 19, 22:35 · Feature Requests, Policy, User-valerio.bozzolan, People
valerio.bozzolan added a revision to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image): D26027: Profile picture destroy: implement Before-Destruction engine to restore the builtin image.
Mon, May 19, 22:35 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added a revision to T16078: PhabricatorFileAttachmentQuery: allow to easily find which users are using a profile picture (allow to only get users, and only get attachments): D26027: Profile picture destroy: implement Before-Destruction engine to restore the builtin image.
Mon, May 19, 22:35 · Files, Feature Requests, User-valerio.bozzolan
valerio.bozzolan added a revision to T16079: Allow extensions to define "Before Destruction" engines: D26027: Profile picture destroy: implement Before-Destruction engine to restore the builtin image.
Mon, May 19, 22:35 · Discussion Needed, Extension Development, Feature Requests, User-valerio.bozzolan
valerio.bozzolan attached a referenced file: F4303304: profile-picture-404-error.jpg.
Mon, May 19, 21:48 · Discussion Needed, Extension Development, Feature Requests, User-valerio.bozzolan
valerio.bozzolan requested review of D26026: Add a Before-Destruction Engine.
Mon, May 19, 21:48
valerio.bozzolan added a revision to T16079: Allow extensions to define "Before Destruction" engines: D26026: Add a Before-Destruction Engine.
Mon, May 19, 21:48 · Discussion Needed, Extension Development, Feature Requests, User-valerio.bozzolan
valerio.bozzolan added a revision to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image): D26026: Add a Before-Destruction Engine.
Mon, May 19, 21:48 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan created T16079: Allow extensions to define "Before Destruction" engines.
Mon, May 19, 20:55 · Discussion Needed, Extension Development, 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).

Again, expanding a PhabricatorFileAttachment to support a destruction engine to post-pone its destruction does NOT work as intended (as it's still destroyed very after the file) since the destroyObjectPermanently() is always supposed to be executed BEFORE the extensions.

Mon, May 19, 20:43 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added a comment to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).

OK I've explored the proposal n. 1 about expanding PhabricatorFileAttachment to support PhabricatorDestructibleInterface, but I'm just moving the problem there. The attachment is still immediately nuclearized BEFORE the extensions can do things.

Mon, May 19, 20:22 · Feature Requests, User-valerio.bozzolan, People
valerio.bozzolan added a comment to T16074: Profile picture destroy workflow: it should not cause 404 errors (it should set the builtin image).

When you destroy a PhabricatorFile, it seems this happens:

Mon, May 19, 20:00 · Feature Requests, User-valerio.bozzolan, People
aklapper closed D26025: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject().
Mon, May 19, 18:44
aklapper committed rP361b512bd532: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject().
Mon, May 19, 18:44
valerio.bozzolan accepted D26025: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject().

lgtm

Mon, May 19, 18:38
aklapper updated the diff for D26025: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject().

...and now even in the correct order of parameters, sigh

Mon, May 19, 17:52
aklapper requested review of D26025: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject().
Mon, May 19, 17:46
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