Page MenuHomePhorge
Feed Advanced Search

Aug 7 2024

valerio.bozzolan triaged T15905: Linter: do not break "ics" files as Normal priority.
Aug 7 2024, 09:58 · User-valerio.bozzolan, Bug Reports, Phorge, Arcanist
valerio.bozzolan added a parent task for T15905: Linter: do not break "ics" files: T15906: Add unit tests for Calendar imports.
Aug 7 2024, 09:57 · User-valerio.bozzolan, Bug Reports, Phorge, Arcanist
valerio.bozzolan added a subtask for T15906: Add unit tests for Calendar imports: T15905: Linter: do not break "ics" files.
Aug 7 2024, 09:57 · User-valerio.bozzolan, Calendar
valerio.bozzolan created T15906: Add unit tests for Calendar imports.
Aug 7 2024, 09:56 · User-valerio.bozzolan, Calendar
valerio.bozzolan claimed T15905: Linter: do not break "ics" files.
Aug 7 2024, 09:47 · User-valerio.bozzolan, Bug Reports, Phorge, Arcanist
valerio.bozzolan created T15905: Linter: do not break "ics" files.
Aug 7 2024, 09:47 · User-valerio.bozzolan, Bug Reports, Phorge, Arcanist
valerio.bozzolan accepted D25762: Fix 404 link in Diviner to "Configuring File Storage" article.

yesyes

Aug 7 2024, 09:19

Aug 5 2024

valerio.bozzolan accepted D25765: Fix PHP 8.1 "strlen(null)" exception in ManiphestTaskPointsTransaction.

lgtm

Aug 5 2024, 12:17

Aug 4 2024

valerio.bozzolan added a comment to D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

Thanks. Have you already tried with just CSS? Any issue in that? Maybe something like this:

Aug 4 2024, 06:44

Aug 2 2024

valerio.bozzolan updated the summary of D25739: Configuration Guide: Set UnsafeAllow3F for Apache RewriteRule.
Aug 2 2024, 14:28
valerio.bozzolan accepted D25739: Configuration Guide: Set UnsafeAllow3F for Apache RewriteRule.
Aug 2 2024, 14:27
valerio.bozzolan accepted D25754: Add return statements for PhutilChannelChannel::readBytes()/writeBytes().

lol whatever, but please consider this instead to make happy also future/better versions of PHPStan

Aug 2 2024, 14:23
valerio.bozzolan accepted D25761: Fix PHP 8.1 "strlen(null)" exception in PhabricatorAuthAccountView.

Giving this:

Aug 2 2024, 14:19
valerio.bozzolan accepted D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Double-slam-accept

Aug 2 2024, 10:47
valerio.bozzolan accepted D25759: Restrict maximum task title length to 255 characters.

Double-accept asd

Aug 2 2024, 10:07
valerio.bozzolan added a comment to T15110: File reference not removed when file is deleted.

Yep. In all cases it's at least a full-table-scan on file_attachment. Probably a bit more RAM-efficient with the NOT EXISTS thing since it does not need to have all file PHIDs in memory.

Aug 2 2024, 09:59 · Files, Bug Reports
valerio.bozzolan added a comment to D25759: Restrict maximum task title length to 255 characters.

The title cannot exceed %d characters :D

Aug 2 2024, 09:53
valerio.bozzolan accepted D25759: Restrict maximum task title length to 255 characters.

Thanks. Also please show to the end user the same number, using some semantic pirouettes. So this limit is easier to be found.

Aug 2 2024, 09:46
valerio.bozzolan added a comment to D25759: Restrict maximum task title length to 255 characters.

Seems super-reasonable. Please save that 255 in a variable and re-use in pht("Bla bla %d bla", $title_max_length) or similar, so it's easier to customize without invalidating translations

Aug 2 2024, 08:35
valerio.bozzolan accepted D25760: Do not add actor as subscriber when removing a comment.

Tested, makes sense, lovely feature, no possible NULL pointers since isCommentTransaction() calls hasComment() that eliminates the possibility of getComment() being NULL; no possibility to get exception "Comment for this transaction was not loaded" since that was already checked with just isCommentTransaction(); green light 🌈

Aug 2 2024, 08:28
valerio.bozzolan added a comment to D25754: Add return statements for PhutilChannelChannel::readBytes()/writeBytes().

Little premise, in this method the return statement is dead, unreachable code:

Aug 2 2024, 08:14

Aug 1 2024

valerio.bozzolan added a comment to D25668: Add Open Graph protocol meta tags to Maniphest task pages.

I like ping-pong :D

Aug 1 2024, 14:24
valerio.bozzolan updated the test plan for D25757: Add Copy file path button to file header bar in Differential/Diffusion.
Aug 1 2024, 08:34
valerio.bozzolan accepted D25757: Add Copy file path button to file header bar in Differential/Diffusion.

Thaaaaaaanks 🦄

Aug 1 2024, 08:33

Jul 31 2024

valerio.bozzolan added inline comments to D25757: Add Copy file path button to file header bar in Differential/Diffusion.
Jul 31 2024, 13:36
valerio.bozzolan accepted D25668: Add Open Graph protocol meta tags to Maniphest task pages.

This seems ready. Just the proposed inline things if you like to. Thanks.

Jul 31 2024, 09:02
valerio.bozzolan awarded D25668: Add Open Graph protocol meta tags to Maniphest task pages a Mountain of Wealth token.
Jul 31 2024, 07:30
valerio.bozzolan added a comment to D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Tested again. This feature is beautiful. Thanks again. Let's increase the Wealth token.

Jul 31 2024, 07:30
valerio.bozzolan placed T15896: Explore How-To Permanently Destroy Things in Phorge up for grabs.

I do not understand this thing more than this. Help welcome.

Jul 31 2024, 07:04 · Phorge
valerio.bozzolan added a comment to D25757: Add Copy file path button to file header bar in Differential/Diffusion.

OH GOSH YES

Jul 31 2024, 06:59
valerio.bozzolan awarded T15897: Allow to copy file path from file header in web changeset view a Mountain of Wealth token.
Jul 31 2024, 06:57

Jul 30 2024

valerio.bozzolan updated the task description for T15896: Explore How-To Permanently Destroy Things in Phorge.
Jul 30 2024, 17:15 · Phorge
valerio.bozzolan accepted D25051: Destroy file attachments when file is deleted, or object is deleted.

Tested again. Double-accept.

Jul 30 2024, 17:14 · Files
valerio.bozzolan edited the content of Next Up.
Jul 30 2024, 09:22
valerio.bozzolan updated the task description for T15896: Explore How-To Permanently Destroy Things in Phorge.
Jul 30 2024, 07:57 · Phorge
valerio.bozzolan claimed T15896: Explore How-To Permanently Destroy Things in Phorge.
Jul 30 2024, 07:56 · Phorge
valerio.bozzolan created T15896: Explore How-To Permanently Destroy Things in Phorge.
Jul 30 2024, 07:55 · Phorge
valerio.bozzolan accepted D25740: Disallow awarding a badge without selecting recipient.

Triple-slam-accept

Jul 30 2024, 07:01
valerio.bozzolan accepted D25756: fix PHP8 array_slice($results, null) which cause diffusion pattern search broken.

sgtm

Jul 30 2024, 06:36

Jul 29 2024

valerio.bozzolan added a comment to D25051: Destroy file attachments when file is deleted, or object is deleted.

We can take inspiration from Phame (?)

Jul 29 2024, 20:29 · Files
valerio.bozzolan added a comment to D25740: Disallow awarding a badge without selecting recipient.

It's perfect as-is. Just adding last notes since I'm in verbose mode

Jul 29 2024, 19:46
valerio.bozzolan accepted D25740: Disallow awarding a badge without selecting recipient.

I thought there was a ->setFormErrors($errors) but it's not the case. Nice as-is. Tested thanks :3

Jul 29 2024, 19:38
valerio.bozzolan added a comment to D25754: Add return statements for PhutilChannelChannel::readBytes()/writeBytes().

Uhm. Before the change, the method returns void. After the change, the method returns void. So this proposed change would be "to make PHPStan happy" but I expect it will highlight in future versions of PHPStan as well.

Jul 29 2024, 10:55
valerio.bozzolan accepted D25755: Fix accessing private parent class properties in QueryFuture.

Double-slam-accept

Jul 29 2024, 10:47
valerio.bozzolan edited the content of Next Up.
Jul 29 2024, 10:44
valerio.bozzolan closed D25118: Remarkup: make less internal links open in new tabs.
Jul 29 2024, 10:42
valerio.bozzolan closed T15161: Internal resources should avoid to become external links, as default as Resolved by committing rP349f006904fa: Remarkup: make less internal links open in new tabs.
Jul 29 2024, 10:42 · User-valerio.bozzolan, Discussion Needed, Remarkup
valerio.bozzolan committed rP349f006904fa: Remarkup: make less internal links open in new tabs.
Remarkup: make less internal links open in new tabs
Jul 29 2024, 10:42
valerio.bozzolan updated the diff for D25118: Remarkup: make less internal links open in new tabs.

git rebase master (just because we can)

Jul 29 2024, 10:40
valerio.bozzolan accepted D25755: Fix accessing private parent class properties in QueryFuture.

Seems good thanks. It seems we can also have it shorter with canResolve() 🤔

Jul 29 2024, 10:35

Jul 28 2024

valerio.bozzolan awarded D25668: Add Open Graph protocol meta tags to Maniphest task pages a Doubloon token.
Jul 28 2024, 09:23
valerio.bozzolan added inline comments to D25668: Add Open Graph protocol meta tags to Maniphest task pages.
Jul 28 2024, 09:19
valerio.bozzolan accepted D25750: fix PHP8 array_slice($results, null) which cause diffusion locate file broken.

Please evaluate the same change also here to fix the "Pattern Search"

Jul 28 2024, 08:23
valerio.bozzolan updated the diff for D25750: fix PHP8 array_slice($results, null) which cause diffusion locate file broken.

arc lint

Jul 28 2024, 08:14

Jul 27 2024

valerio.bozzolan awarded Q144: Support for arc work T12345 (workOnTask workflow) a Love token.
Jul 27 2024, 10:49 · Feature Requests, Arcanist
valerio.bozzolan updated the summary of D25744: Refactor PhabricatorBadgesEditRecipientsController to remove dead code.
Jul 27 2024, 10:47
valerio.bozzolan accepted D25744: Refactor PhabricatorBadgesEditRecipientsController to remove dead code.

Thaaaaanks, it works

Jul 27 2024, 10:46
valerio.bozzolan retitled D25744: Refactor PhabricatorBadgesEditRecipientsController to remove dead code from Fix undefined variable in PhabricatorBadgesEditRecipientsController
Jul 27 2024, 10:46

Jul 26 2024

valerio.bozzolan added a comment to D25748: Fix PHP 8.1 "strlen(null)" exception on LDAP login without password.

Yup. Laaaand

Jul 26 2024, 20:37
valerio.bozzolan added a comment to T15879: Documentation: Macro image rendered instead of keyword when names match.

As temporary Phorge workaround, we may want to document these email keywords rendered as "progress". So we can just manually add backtics (?)

Jul 26 2024, 19:19
valerio.bozzolan accepted D25748: Fix PHP 8.1 "strlen(null)" exception on LDAP login without password.

Thaaaanks. I wonder why $has_password has a dedicated variable, and instead $has_username has not 🤔

Jul 26 2024, 16:09
valerio.bozzolan added a comment to D25118: Remarkup: make less internal links open in new tabs.

Flagging all comments as done (but feel free to share other things)

Jul 26 2024, 10:43
valerio.bozzolan added a comment to D25118: Remarkup: make less internal links open in new tabs.

Thanks again @speck. This is probably useful to answer your performance question:

Jul 26 2024, 10:41
valerio.bozzolan accepted D25711: Suppress PHP 8.1 warnings "Return type mixed is not covariant with tentative return type mixed of method Iterator::key()".

😐

Jul 26 2024, 10:21
valerio.bozzolan accepted D25746: Remove unused parameter from PhabricatorDaemonController::buildSideNavView() call.
Jul 26 2024, 10:11
valerio.bozzolan accepted D25747: Remove unused parameter from PhabricatorMailEmailEngine::newEmailThreadingHeaders() call.
Jul 26 2024, 10:02
valerio.bozzolan accepted D25744: Refactor PhabricatorBadgesEditRecipientsController to remove dead code.

Thanks. It seems that line 17 impose edit capability. Also, appendForm() does not accept a null.

Jul 26 2024, 07:25
valerio.bozzolan accepted D25745: Remove unused parameter from PhabricatorConfigConsoleController::newLibraryVersionTable() call.

I cannot imagine any situation where the incoming viewer from handleRequest(AphrontRequest $request) could be different from the implicit viewer from AphrontController#getViewer() ($this->getRequest()->getViewer()).

Jul 26 2024, 07:09

Jul 25 2024

valerio.bozzolan added a comment to T15889: Apache 2.4.61 throws a 403 Forbidden for links containing %3F.

Thanks. What happens in older Apache2 versions?

Nothing. :) This issue only popped up in our error logs after an Apache update.

Jul 25 2024, 10:15
valerio.bozzolan accepted D25741: Fix undefined variable in HeraldAction.

sgtm

Jul 25 2024, 10:12

Jul 24 2024

valerio.bozzolan updated the name of F2328200: Phorge post-commit Audit review.png from "image.png" to "Phorge post-commit Audit review.png".
Jul 24 2024, 09:29
valerio.bozzolan created T15892: Post-Commit Audit review: authors cannot "Raise Concern".
Jul 24 2024, 09:27 · Discussion Needed, Bug Reports, Diffusion

Jul 23 2024

valerio.bozzolan added a comment to T15891: Ineffective instanceof check in PhabricatorMySQLSetupCheck:shouldUseMySQLSearchEngine().

Ah. Maybe PhabricatorSearchHost should extend PhabricatorSearchService? Boh

Jul 23 2024, 13:53
valerio.bozzolan added a comment to T15891: Ineffective instanceof check in PhabricatorMySQLSetupCheck:shouldUseMySQLSearchEngine().

I don't get this 🤔

Jul 23 2024, 13:51
valerio.bozzolan updated the task description for T15890: Workboard: better clarify if it's Archived.
Jul 23 2024, 08:53 · UX, Projects
valerio.bozzolan added a comment to T15882: When archiving a project, reset its default menu item to Profile.

OK. If you are partially mentioning nonsenses in we.phorge.it itself, you are indeed right.

Jul 23 2024, 08:50 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan changed the visibility for F2325001: Workboard of an Archived Project - Phorge June 2024.png.
Jul 23 2024, 08:43
valerio.bozzolan updated the name of F2325001: Workboard of an Archived Project - Phorge June 2024.png from "image.png" to "Workboard of an Archived Project - Phorge June 2024.png".
Jul 23 2024, 08:43
valerio.bozzolan created T15890: Workboard: better clarify if it's Archived.
Jul 23 2024, 08:43 · UX, Projects
valerio.bozzolan set the color for Macro (deprecated) to Red.
Jul 23 2024, 08:36
valerio.bozzolan renamed Macro (deprecated) from Macro to Macro (deprecated).
Jul 23 2024, 08:35
valerio.bozzolan triaged T15378: PhabricatorApplicationTransactionStructureException trying to mute File notifications: "Attempting to apply a transaction which has not been constructed correctly" as Normal priority.

(Wow. I've never clicked on that button in my life, also when working)

Jul 23 2024, 08:27 · Bug Reports
valerio.bozzolan added a comment to T15889: Apache 2.4.61 throws a 403 Forbidden for links containing %3F.

By the way I cannot reproduce in Apache 2.4.61 🤔 Debian package 2.4.61-1~deb12u1

Jul 23 2024, 08:25
valerio.bozzolan added a comment to T15889: Apache 2.4.61 throws a 403 Forbidden for links containing %3F.

Thanks. What happens in older Apache2 versions?

Jul 23 2024, 08:23
valerio.bozzolan accepted D25730: Avoid PhabricatorApplicationTransactionStructureException on editors not supporting Mute Notifications.

Thanks! Looking at PhabricatorSubscriptionsMuteController that works with PhabricatorTransactions::TYPE_EDGE, this seems good to me.

Jul 23 2024, 08:13
valerio.bozzolan requested changes to D25740: Disallow awarding a badge without selecting recipient.

Setting as "new validations probably need to be managed". Thanks again

Jul 23 2024, 07:57
valerio.bozzolan triaged T15827: Possible to award a badge without selecting a recipient as Normal priority.

Thanks :) Interesting weird transaction.

Jul 23 2024, 07:36 · Bug Reports
valerio.bozzolan added inline comments to D25740: Disallow awarding a badge without selecting recipient.
Jul 23 2024, 07:35

Jul 21 2024

valerio.bozzolan accepted D25734: Remove call to undefined method DoorkeeperDAO::getObjectKey().

Just that oneline

Jul 21 2024, 22:12
valerio.bozzolan accepted D25736: Log Herald rules having disabled Herald rules as condition via phlog().

sgtm

Jul 21 2024, 22:11
valerio.bozzolan added inline comments to D25735: Log Herald rules with invalid keys via phlog().
Jul 21 2024, 18:05
valerio.bozzolan added a comment to D25736: Log Herald rules having disabled Herald rules as condition via phlog().

(Hmm should I replace $ex->getMessage() with $caught->getMessage() or not?)

Jul 21 2024, 17:36
valerio.bozzolan added a comment to T15866: Aphront400Response when editing a task.

So this is "just" something visible from server logs or browser console, right? It is not an error ever visible to user interface.

Jul 21 2024, 09:41
valerio.bozzolan renamed T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers from Diffusion repository commits: avoid to be a black hoile for webcrawlers to Diffusion repository commits: avoid to be a black hole for webcrawlers.
Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan renamed T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers from Disallow webcrawlers to index Diffusion repository commits to Diffusion repository commits: avoid to be a black hoile for webcrawlers.
Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

(Trying to make this task a bit more about the root problem, and less about the proposed solution)

Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan added a subtask for T15886: Archived Projects: make them "more Archived" : T15882: When archiving a project, reset its default menu item to Profile.
Jul 21 2024, 08:33 · Projects
valerio.bozzolan added a parent task for T15882: When archiving a project, reset its default menu item to Profile: T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan removed a subtask for T15882: When archiving a project, reset its default menu item to Profile: T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan removed a parent task for T15886: Archived Projects: make them "more Archived" : T15882: When archiving a project, reset its default menu item to Profile.
Jul 21 2024, 08:33 · Projects