Page MenuHomePhorge
Feed All Stories

May 9 2024

valerio.bozzolan added a comment to T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results.

Wow you are fast. I was going to create this :D I can reproduce

May 9 2024, 12:21 · PHP 8 support
valerio.bozzolan abandoned D25428: Fix the issue about persistent chat setting icon being clickable when the chat is collapsed.
May 9 2024, 11:58
valerio.bozzolan commandeered D25428: Fix the issue about persistent chat setting icon being clickable when the chat is collapsed.

Commanding to set as abandoned. Thanks again! Well done for your original troubleshooting.

May 9 2024, 11:57
valerio.bozzolan closed T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized as Resolved by committing rP5b90567f6453: Persistent Chat: fix de-minimize misclick.
May 9 2024, 11:56 · Bug Reports
valerio.bozzolan closed D25628: Persistent Chat: fix de-minimize misclick.
May 9 2024, 11:56
valerio.bozzolan committed rP5b90567f6453: Persistent Chat: fix de-minimize misclick.
Persistent Chat: fix de-minimize misclick
May 9 2024, 11:56
aklapper accepted D25627: TransactionEditor: micro-optimize the "creation finder".

This makes sense.

May 9 2024, 11:46
valerio.bozzolan updated the diff for D25051: Destroy file attachments when file is deleted, or object is deleted.

git rebase master

May 9 2024, 11:32 · Files
aklapper accepted D25628: Persistent Chat: fix de-minimize misclick.

Tested locally before and after applying this branch, with two users sending messages in a chat room after clicking the speechbubbles icon in top bar and selecting "Persistent Chat", both functionality wise (clicking the bar in the lower right corner) and by inspecting the element in the web browser's developer tools' inspector. Works as expected.

May 9 2024, 11:30
valerio.bozzolan added a comment to D25051: Destroy file attachments when file is deleted, or object is deleted.

Just as clarification for myself (maybe already obvious to others):

May 9 2024, 11:27 · Files
aklapper requested review of D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 11:24
aklapper added a revision to T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results: D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 11:24 · PHP 8 support
aklapper created T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 11:23 · PHP 8 support
aklapper added a comment to D25621: Show login page if a search token requires a valid viewer.

Thanks for working on this! Works pretty well locally. From a quick test of this branch, while being logged out,

  • Maniphest Advanced Search: Setting Assigned to to Current Viewer, I get a Login page.
  • Diffusion Commits Advanced Search: Setting Authors to Current Viewer, I get a Login page.
  • Differential Advanced Search: Setting both Authors and Reviewers to Current Viewer, I get a Login page.
  • Differential Advanced Search: Setting Responsible Users to Current Viewer, I get an exception (DifferentialResponsibleDatasource - probably another source to cover here?)
May 9 2024, 11:08
valerio.bozzolan retitled D25622: Transformed Pictures: make them non-orphan from People Profile Picture: make image transform non-orphan
May 9 2024, 10:45
valerio.bozzolan updated the test plan for D25628: Persistent Chat: fix de-minimize misclick.
May 9 2024, 10:26
valerio.bozzolan claimed T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized.
May 9 2024, 10:25 · Bug Reports
valerio.bozzolan added a comment to D25428: Fix the issue about persistent chat setting icon being clickable when the chat is collapsed.

Thanks again Roberto.

May 9 2024, 10:22
valerio.bozzolan updated the summary of D25628: Persistent Chat: fix de-minimize misclick.
May 9 2024, 10:21
valerio.bozzolan changed the visibility for F2184778: Conpherence Settings Icon hidden.png.
May 9 2024, 10:20
valerio.bozzolan requested review of D25628: Persistent Chat: fix de-minimize misclick.
May 9 2024, 10:19
valerio.bozzolan added a revision to T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized: D25628: Persistent Chat: fix de-minimize misclick.
May 9 2024, 10:19 · Bug Reports
aklapper closed T15679: Pholio image upload triggers Passing null is deprecated at PhabricatorPolicyQuery.php:314, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 9 2024, 09:04 · PHP 8 support
aklapper closed T15679: Pholio image upload triggers Passing null is deprecated at PhabricatorPolicyQuery.php:314 as Resolved by committing rPaad704d0fce5: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
May 9 2024, 09:04 · PHP 8 support
aklapper closed D25600: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
May 9 2024, 09:04
aklapper committed rPaad704d0fce5: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
Mark created Pholio mockups as new objects to fix empty Feed transaction entries
May 9 2024, 09:04
valerio.bozzolan added a comment to D25569: Avoid separate per-line URIs in line number column.

My last comment is also because the W3C does not allow to start an identifier with a number:

May 9 2024, 09:02
aklapper added a comment to T15815: Make i18n string extraction ignore strings in test cases.

Should somebody file a ticket for that?

May 9 2024, 09:01 · Localization
valerio.bozzolan accepted D25602: Do not hardcode default Priority names in Project Reports tooltip.

Please evaluate extended names:

May 9 2024, 08:57
valerio.bozzolan added a comment to D25600: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.

Unrelated but, thanks to your patch, we catched a possible micro-optimization. Here that unrelated change:

May 9 2024, 08:33
valerio.bozzolan requested review of D25627: TransactionEditor: micro-optimize the "creation finder".
May 9 2024, 08:32
valerio.bozzolan accepted D25600: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.

Thanks again! This looks perfect in the current state of PholioMockEditor, since it's not an EditEngine and since this is not an appropriate moment to learn all the differences between an "Editor" and an "EditEngine" and/or it's not an appropriate moment to do that kind of migration here now (if ever needed).

May 9 2024, 08:21
valerio.bozzolan added a comment to D25619: Fix overflowing of AphrontSideNavFilterView on small screens and tidy up nav bar styles.

Maybe "feature" but note the left sidebar, is not anymore connected to the end of the viewport:

May 9 2024, 08:05
valerio.bozzolan changed the visibility for F2184698: Maniphest list after.png.
May 9 2024, 08:03
valerio.bozzolan changed the visibility for F2184696: Maniphest list before.png.
May 9 2024, 08:02
valerio.bozzolan updated the summary of D25619: Fix overflowing of AphrontSideNavFilterView on small screens and tidy up nav bar styles.
May 9 2024, 08:01
valerio.bozzolan added a comment to D25621: Show login page if a search token requires a valid viewer.

Sharing some comments

May 9 2024, 07:26
avivey edited the content of Next Up.
May 9 2024, 06:16

May 8 2024

pppery added a comment to T15815: Make i18n string extraction ignore strings in test cases.

I also don't think Phabricator ever documented how to change language in command line Arcanist. If ever possible, btw 🤔

May 8 2024, 23:57 · Localization
valerio.bozzolan updated the diff for D25621: Show login page if a search token requires a valid viewer.

fix abstract function visibility, add more PHPDoc

May 8 2024, 19:28
aklapper requested changes to D25369: Quote Comment: set meaningful URL.

I'm purely setting "Request Changes" to reflect that IMHO this should not get merged until there is an approach to fix T15579 - otherwise in some corner cases this proposed change would create broken URIs.

May 8 2024, 17:12
aklapper added a comment to D25301: Diffusion: add "Permalink" button.

I'd prefer not to expose this as an always-visible button simply because it takes screen estate on smaller screens.
Maybe an entry Copy Revision Permalink between two separators in the expandable "View Options" dropdown is an option?

May 8 2024, 17:05
pppery added a comment to D25624: Make i18n string extraction ignore strings in test case files.

For the record: If I replace the entire file with just:

<?php
May 8 2024, 15:13
pppery claimed T15815: Make i18n string extraction ignore strings in test cases.

(that was me, I didn't have git author configured properly from on the system I landed from)

May 8 2024, 15:00 · Localization
pppery added a comment to D25624: Make i18n string extraction ignore strings in test case files.

(that was me, I didn't have git author configured properly from on the system I landed from)

May 8 2024, 15:00
Restricted Repository Identity closed T15815: Make i18n string extraction ignore strings in test cases as Resolved by committing rP29cbb0a6580f: Make i18n string extraction ignore strings in test case files.
May 8 2024, 14:59 · Localization
Restricted Repository Identity closed D25624: Make i18n string extraction ignore strings in test case files.
May 8 2024, 14:59
root <root@audio.myguest.virtualbox.org> committed rP29cbb0a6580f: Make i18n string extraction ignore strings in test case files (authored by pppery).
Make i18n string extraction ignore strings in test case files
May 8 2024, 14:59
pppery added a comment to D25624: Make i18n string extraction ignore strings in test case files.

arc unit --everything passed. But I don't think this file is covered by tests at all,

May 8 2024, 14:57
valerio.bozzolan triaged T15804: Imbalanced AphrontWriteGuard: more beginUnguardedWrites() calls than endUnguardedWrites() calls as High priority.

Setting high priority since I'm scared :D Feel free to re-tune

May 8 2024, 13:54
valerio.bozzolan added a comment to T15804: Imbalanced AphrontWriteGuard: more beginUnguardedWrites() calls than endUnguardedWrites() calls.

I was not aware that we were executing critical business code inside __destruct() automagic calls. Wow!

May 8 2024, 13:43
Sten added a comment to T15804: Imbalanced AphrontWriteGuard: more beginUnguardedWrites() calls than endUnguardedWrites() calls.

Had this issue occur elsewhere, so put a general 'fix' for it:

May 8 2024, 13:10
pppery added a comment to T15815: Make i18n string extraction ignore strings in test cases.

Thanks. Completely agree.

I also don't think Phabricator ever documented how to change language in command line Arcanist. If ever possible, btw 🤔

May 8 2024, 12:49 · Localization
valerio.bozzolan updated the summary of D25626: The feed "created this task" should be the first one.
May 8 2024, 12:41
valerio.bozzolan added a comment to D25626: The feed "created this task" should be the first one.

This seems to also fix http://phorge.localhost/feed/ so it does not only show me about setting high priority on a new task, but instead shows that the task was created? That would be a nice side effect too IMO.

May 8 2024, 12:38
valerio.bozzolan added a comment to T15059: Phabricator doesn't email @outlook.com addresses.

Maybe relevant, from my Postfix logs:

May 8 2024, 12:34 · phorge.it install
aklapper added a comment to D25626: The feed "created this task" should be the first one.

I can confirm this works as expected for the task view itself in e.g. http://phorge.localhost/T1168 . This seems to also fix http://phorge.localhost/feed/ so it does not only show me about setting high priority on a new task, but instead shows that the task was created? That would be a nice side effect too IMO.

May 8 2024, 11:09
aklapper accepted D25625: Dashboard Text Panel: improve feed when changing Description.

Tested this patch on http://phorge.localhost/feed/transactions/ and in the feed at the bottom of http://phorge.localhost/W20 itself.
Also tested changing panel visibility from Public to Admin only and accessing these URIs as an average user.
All working as expected, no explosions.

May 8 2024, 10:53
valerio.bozzolan requested review of D25626: The feed "created this task" should be the first one.
May 8 2024, 10:08
valerio.bozzolan added a revision to T15816: The feed "created this task" should be the first one: D25626: The feed "created this task" should be the first one.
May 8 2024, 10:08 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan removed a task from D25625: Dashboard Text Panel: improve feed when changing Description: T15816: The feed "created this task" should be the first one.
May 8 2024, 09:52
valerio.bozzolan removed a revision from T15816: The feed "created this task" should be the first one: D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:52 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan added a revision to T15817: Dashboard Text Panel: Incomplete Transaction "text.text" when changing Description: D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:51 · User-valerio.bozzolan, Dashboards
valerio.bozzolan updated the summary of D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:51
valerio.bozzolan updated the summary of D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:47
valerio.bozzolan requested review of D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:46
valerio.bozzolan added a revision to T15816: The feed "created this task" should be the first one: D25625: Dashboard Text Panel: improve feed when changing Description.
May 8 2024, 09:46 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan changed the visibility for F2182943: D25624 After.png.
May 8 2024, 09:41
valerio.bozzolan changed the visibility for F2182939: D25624 After.png.
May 8 2024, 09:35
valerio.bozzolan changed the visibility for F2182938: D25624 Before.png.
May 8 2024, 09:35
valerio.bozzolan claimed T15817: Dashboard Text Panel: Incomplete Transaction "text.text" when changing Description.
May 8 2024, 09:30 · User-valerio.bozzolan, Dashboards
valerio.bozzolan renamed T15816: The feed "created this task" should be the first one from The feed "created this task" should be the first one, not the last one to The feed "created this task" should be the first one.
May 8 2024, 09:22 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan triaged T15817: Dashboard Text Panel: Incomplete Transaction "text.text" when changing Description as Wishlist priority.
May 8 2024, 09:20 · User-valerio.bozzolan, Dashboards
valerio.bozzolan changed the visibility for F2182844: Phorge Text Panel with text-text incomplete transaction.png.
May 8 2024, 09:10
valerio.bozzolan updated the task description for T15816: The feed "created this task" should be the first one.
May 8 2024, 09:05 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan added a comment to T15815: Make i18n string extraction ignore strings in test cases.

Thanks. Completely agree.

May 8 2024, 08:52 · Localization
aklapper added a comment to T15815: Make i18n string extraction ignore strings in test cases.

being able to have people running unit tests and see the results in their language was a feature

May 8 2024, 08:45 · Localization
valerio.bozzolan reopened T15816: The feed "created this task" should be the first one as "Open".
May 8 2024, 08:31 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan updated the name of F2182823: Task history with created this task as third action.png from "image.png" to "Task history with created this task as third action.png".
May 8 2024, 08:30
aklapper asked Q137: Global statistics/metrics how often a Herald rule passes / most and least popular Herald rules.
May 8 2024, 08:30
valerio.bozzolan added a project to T15816: The feed "created this task" should be the first one: Bug Reports.
May 8 2024, 08:30 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan closed T15816: The feed "created this task" should be the first one as Resolved.
May 8 2024, 08:30 · Bug Reports, User-valerio.bozzolan
avivey added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

Another problem dramatically frequent for newcomers (at least in my office).

It's relatively too much easy to start with a similar commit message:
...

May 8 2024, 08:25 · Discussion Needed, Arcanist
valerio.bozzolan awarded T15815: Make i18n string extraction ignore strings in test cases a Like token.
May 8 2024, 07:40 · Localization
avivey added a member for Trusted Contributors: pppery.
May 8 2024, 07:29
avivey accepted D25624: Make i18n string extraction ignore strings in test case files.

(run the full tests, and then count it as my + O1 Accept).

May 8 2024, 07:29
avivey added a comment to T15815: Make i18n string extraction ignore strings in test cases.

I think the costs of the extra translations are low, but the cost of "the tests are not being translated for developers" are even lower.

May 8 2024, 07:26 · Localization
avivey added a comment to D25624: Make i18n string extraction ignore strings in test case files.

I'd be worried that this might break some tests that do relate to translation/extraction, but running arc unit --everything should solve that.

May 8 2024, 07:19
valerio.bozzolan added a comment to D25624: Make i18n string extraction ignore strings in test case files.

Thanks. To reviewers: maybe relevant, maybe not:

May 8 2024, 06:53
valerio.bozzolan added a comment to T15815: Make i18n string extraction ignore strings in test cases.

I 100% see the point of avoiding to "waste translators' time", but I also see that completely removing tests is a big choice for upstream: being able to have people running unit tests and see the results in their language was a feature, so we also "waste a feature".

May 8 2024, 06:34 · Localization
aklapper accepted D25624: Make i18n string extraction ignore strings in test case files.

I tested this one-liner as part of the downstream conversation that pppery and I had in https://phabricator.wikimedia.org/T363364, still I would ideally prefer another upstream opinion before accepting this revision as O1.

May 8 2024, 06:27

May 7 2024

pppery updated the diff for D25624: Make i18n string extraction ignore strings in test case files.

Re-diff with linting and tests working hopefully

May 7 2024, 22:41
pppery requested review of D25624: Make i18n string extraction ignore strings in test case files.
May 7 2024, 22:01
pppery added a revision to T15815: Make i18n string extraction ignore strings in test cases: D25624: Make i18n string extraction ignore strings in test case files.
May 7 2024, 22:01 · Localization
aklapper created T15815: Make i18n string extraction ignore strings in test cases.
May 7 2024, 20:36 · Localization
revi changed the visibility for F2181527: IMG_5496.png.
May 7 2024, 17:02
valerio.bozzolan updated the diff for D25621: Show login page if a search token requires a valid viewer.

fix "abstract" function name

May 7 2024, 16:29
valerio.bozzolan published D25621: Show login page if a search token requires a valid viewer for review.
May 7 2024, 15:38
valerio.bozzolan edited the content of Next Up.
May 7 2024, 14:22
aklapper closed T15795: Unhandled exception trying to rename user to their previous name as Resolved by committing rPaf300016b678: Fix exception trying to rename user to their previous username.
May 7 2024, 14:21