Page MenuHomePhorge
Feed All Stories

Jun 5 2024

valerio.bozzolan added a comment to D25643: Remove unused methods in PhabricatorEditorExtension.

Also fix the typo in the function name

Jun 5 2024, 14:59
valerio.bozzolan accepted D25647: Fix call to non-existing newIcons() in PhabricatorIconSet.
$ grep -FR 'extends PhabricatorIconSet' .
./src/applications/people/icon/PhabricatorPeopleIconSet.php:  extends PhabricatorIconSet {
./src/applications/calendar/icon/PhabricatorCalendarIconSet.php:  extends PhabricatorIconSet {
./src/applications/project/icon/PhabricatorProjectIconSet.php:  extends PhabricatorIconSet {
./src/applications/badges/icon/PhabricatorBadgesIconSet.php:  extends PhabricatorIconSet {
./src/applications/search/menuitem/PhabricatorProfileMenuItemIconSet.php:  extends PhabricatorIconSet {
./src/applications/dashboard/icon/PhabricatorDashboardIconSet.php:  extends PhabricatorIconSet {
Jun 5 2024, 14:45
valerio.bozzolan added a comment to D25655: Fix call to non-existing newWorkCommands() in NuanceItemType.

Thanks. Your edit effectively reflects what already happens, but interestingly, it still may crash 🤔

Jun 5 2024, 14:42
valerio.bozzolan accepted D25654: Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver.

sgtm

Jun 5 2024, 14:31
valerio.bozzolan accepted D25681: Fix PHP 8.1 "strlen(null)" exception creating a Portal.

sgtm

Jun 5 2024, 14:30
aklapper requested review of D25681: Fix PHP 8.1 "strlen(null)" exception creating a Portal.
Jun 5 2024, 11:44
aklapper added a revision to T15847: PHP 8.1 "strlen(null)" exception creating a Portal: D25681: Fix PHP 8.1 "strlen(null)" exception creating a Portal.
Jun 5 2024, 11:44 · PHP 8 support
aklapper created T15847: PHP 8.1 "strlen(null)" exception creating a Portal.
Jun 5 2024, 11:43 · PHP 8 support
aklapper planned changes to D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jun 5 2024, 11:12
aklapper accepted D25671: Reword joke password reset email message.

@valerio.bozzolan: Y U so sirious??? :D

Jun 5 2024, 09:17
valerio.bozzolan accepted D25051: Destroy file attachments when file is deleted, or object is deleted.
Jun 5 2024, 08:31 · Files
aklapper closed D25679: Remove unused variable from HeraldEngine.
Jun 5 2024, 08:30
aklapper committed rPa8af0c6e5119: Remove unused variable from HeraldEngine.
Remove unused variable from HeraldEngine
Jun 5 2024, 08:30
valerio.bozzolan triaged T15110: File reference not removed when file is deleted as High priority.

A bit more than Normal, since it reflects on a database with orphan elements that creates "ghosts in the UI".

Jun 5 2024, 07:59 · Files, Bug Reports
valerio.bozzolan accepted D25671: Reword joke password reset email message.

Wow. With my proposal is not funny anymore. OK I will refrain myself from contributing here. But I personally like the new proposal from Andrè and @pppery. Personally approving.

Jun 5 2024, 07:44
valerio.bozzolan added a comment to D25671: Reword joke password reset email message.

I understand the points. Third proposal, starting with useful tips (good idea), and shorter:

Jun 5 2024, 07:41

Jun 4 2024

pppery closed T15845: Remove leftover reference to PhutilHighIntensityIntervalDaemon as Resolved by committing rP8dd90edd3a76: Remove broken link to PhutilHighIntensityIntervalDaemon docs.
Jun 4 2024, 21:31
pppery closed D25680: Remove broken link to PhutilHighIntensityIntervalDaemon docs.
Jun 4 2024, 21:31
pppery committed rP8dd90edd3a76: Remove broken link to PhutilHighIntensityIntervalDaemon docs.
Remove broken link to PhutilHighIntensityIntervalDaemon docs
Jun 4 2024, 21:31
sirocyl added a comment to D25671: Reword joke password reset email message.

I like the change in language here, but maybe a total rewrite of the text is better. My take:

When setting a new password. please keep it safe, using a trustworthy password manager and a randomly generated password.
We thank you, your administrator thanks you, and you'll thank yourself in the future.

In the unlikely event you that absolutely don't intend to keep it safe at all, you might choose instead, to:

  • Write it down on a sticky note, put it on your monitor, and hope nobody else uses it on %s.
  • Use the same password you've already used, especially for your e-mail and bank account.
  • Use easy-to-remember, easy-to-guess passwords, like "12345abcde".

Modern security advice considers these practices "a bad idea".
If you're already doing any of these, here or elsewhere, you might want to consider the account compromised.

Jun 4 2024, 20:28
aklapper retitled D25680: Remove broken link to PhutilHighIntensityIntervalDaemon docs from Remove a broken link
Jun 4 2024, 20:09
aklapper accepted D25680: Remove broken link to PhutilHighIntensityIntervalDaemon docs.

Thanks! Confirming that the link on https://we.phorge.it/book/dev/class/PhutilDaemon/ is a 404, and that the file was deleted in https://secure.phabricator.com/rPHU720c8116845bb9dc19334170e6c0702aa0210c78

Jun 4 2024, 20:09
pppery updated the diff for D25671: Reword joke password reset email message.

Fix a double space after testing

Jun 4 2024, 19:14
pppery requested review of D25680: Remove broken link to PhutilHighIntensityIntervalDaemon docs.
Jun 4 2024, 17:22
pppery added a revision to T15845: Remove leftover reference to PhutilHighIntensityIntervalDaemon: D25680: Remove broken link to PhutilHighIntensityIntervalDaemon docs.
Jun 4 2024, 17:22
pppery updated the diff for D25671: Reword joke password reset email message.

Actually do that, since I screwed up before

Jun 4 2024, 17:17
pppery retitled D25671: Reword joke password reset email message from Remove joke password reset email message
Jun 4 2024, 17:12
pppery updated the diff for D25671: Reword joke password reset email message.

Update to Andre's suggestion

Jun 4 2024, 17:11
valerio.bozzolan closed D25621: Show login page if a search token requires a valid viewer.
Jun 4 2024, 14:11
valerio.bozzolan closed T15704: Cryptic exception when listing tasks "Closed By: Current Viewer" while logged out as Resolved by committing rP5a40739451c1: Show login page if a search token requires a valid viewer.
Jun 4 2024, 14:10 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan committed rP5a40739451c1: Show login page if a search token requires a valid viewer.
Show login page if a search token requires a valid viewer
Jun 4 2024, 14:10
valerio.bozzolan edited the content of Next Up.
Jun 4 2024, 14:10
valerio.bozzolan updated the task description for T15704: Cryptic exception when listing tasks "Closed By: Current Viewer" while logged out.
Jun 4 2024, 14:09 · Bug Reports, User-valerio.bozzolan
valerio.bozzolan added a project to T15704: Cryptic exception when listing tasks "Closed By: Current Viewer" while logged out: Bug Reports.
Jun 4 2024, 14:07 · Bug Reports, User-valerio.bozzolan
aklapper accepted D25621: Show login page if a search token requires a valid viewer.

Tested this with nearly all DataSources mentioned above before and after applying the patch in both a logged-in and a private browser window. Behaves as expected and no errors in the logs.

Jun 4 2024, 12:18
aklapper edited the content of Next Up.
Jun 4 2024, 11:56
valerio.bozzolan accepted D25679: Remove unused variable from HeraldEngine.

No results.

Jun 4 2024, 10:24
valerio.bozzolan added a comment to D25679: Remove unused variable from HeraldEngine.

Is anything extending HeraldEngine trying direct access to that?

Jun 4 2024, 10:24
aklapper requested review of D25679: Remove unused variable from HeraldEngine.
Jun 4 2024, 09:34
aklapper edited the content of Next Up.
Jun 4 2024, 09:24
nicodoggie added a watcher for Gantt Charts (Extension): nicodoggie.
Jun 4 2024, 08:31
avivey added a comment to D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).

Please add some negative tests - things that could trigger this thing, but shouldn't.

Jun 4 2024, 06:58
avivey added a revision to T15774: Celerity: javascript minification issue with template literals (backticked strings): D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).
Jun 4 2024, 06:51
avivey added a task to D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings): T15774: Celerity: javascript minification issue with template literals (backticked strings).
Jun 4 2024, 06:51
valerio.bozzolan updated the test plan for D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).
Jun 4 2024, 01:30
valerio.bozzolan accepted D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).

The linter now screams nonsense things because of my little new unit test, taken from the proposed tar.gz file. Probably better than nothing. Tested A/B and it makes sense. Also the addition makes sense to me, compared to the other ones.

Jun 4 2024, 01:29
valerio.bozzolan updated the diff for D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).

add unit test

Jun 4 2024, 01:25

Jun 3 2024

valerio.bozzolan closed T15844: Dashboard Panel list: missing welcome page as Resolved by committing rP89dcbe125c6c: Panels list: fix missing welcome page.
Jun 3 2024, 23:45 · Dashboards, Bug Reports
valerio.bozzolan closed D25674: Panels list: fix missing welcome page.
Jun 3 2024, 23:45
valerio.bozzolan committed rP89dcbe125c6c: Panels list: fix missing welcome page.
Panels list: fix missing welcome page
Jun 3 2024, 23:45
valerio.bozzolan updated the diff for D25675: Drydock and Almanac: add welcome pages.
  • AlmanacDeviceSearchEngine: add comma, but maybe keeping 'networks' in plural since the button is See Networks
  • AlmanacServiceSearchEngine: -of your devices +provided by your devices
Jun 3 2024, 23:43
valerio.bozzolan added inline comments to D25675: Drydock and Almanac: add welcome pages.
Jun 3 2024, 23:43
valerio.bozzolan added a member for Blessed Communicators: aklapper.
Jun 3 2024, 23:24
jmeador added a comment to D25676: Fix responsible authors in DifferentialRevisionQuery.

Note that the responsible users' projects and packages should absolutely still be included in the reviewers query join (line 487 right-side). This is why $this->responsibles remains unmodified.

Jun 3 2024, 19:55 · Differential
jmeador added a comment to D25676: Fix responsible authors in DifferentialRevisionQuery.

@jmeador Hi, what would be the Test Plan to get a "resulting query"? Going to /differential/query/advanced/, selecting the magnifier button for the Responsible Users field, and checking that after applying the patch only user accounts are listed, and no more projects or packages, I assume?

Jun 3 2024, 19:53 · Differential
aklapper added a comment to D25676: Fix responsible authors in DifferentialRevisionQuery.

@jmeador Hi, what would be the Test Plan to get a "resulting query"? Going to /differential/query/advanced/, selecting the magnifier button for the Responsible Users field, and checking that after applying the patch only user accounts are listed, and no more projects or packages, I assume?

Jun 3 2024, 18:21 · Differential
aklapper accepted D25675: Drydock and Almanac: add welcome pages.

All in all, this looks ready to merge after removing two commas and fixing one BE spelling. I tested this locally and everything worked as expected.

Jun 3 2024, 17:39
aklapper added a comment to D25675: Drydock and Almanac: add welcome pages.

I'd also prefer American English spelling for the sake of consistency, means: using catalog instead of catalogue.
cf https://we.phorge.it/source/arcanist/browse/master/src/workflow/ArcanistWorkflow.php$840 :P

Jun 3 2024, 17:38
aklapper accepted D25674: Panels list: fix missing welcome page.

I confirm that all other 21 definitions of function getNewUserBody() are in *Engine.php files/classes, except the one fixed/moved by this very patch.

Jun 3 2024, 17:21
aklapper closed T15846: Show previous value in transaction title when removing points or a custom field value set at task initialization as Resolved by committing rP40720ab83d01: Expose initially set values of Maniphest custom date field and point values….
Jun 3 2024, 13:43
aklapper closed D25678: Expose initially set values of Maniphest custom date field and point values when removing them.
Jun 3 2024, 13:43
aklapper committed rP40720ab83d01: Expose initially set values of Maniphest custom date field and point values….
Expose initially set values of Maniphest custom date field and point values…
Jun 3 2024, 13:43
aklapper closed D25677: Remove unused method shouldCopyWhenCreatingSimilarTask().
Jun 3 2024, 13:39
aklapper committed rP1500a5709067: Remove unused method shouldCopyWhenCreatingSimilarTask().
Remove unused method shouldCopyWhenCreatingSimilarTask()
Jun 3 2024, 13:39
aklapper retitled D25678: Expose initially set values of Maniphest custom date field and point values when removing them from Expose initially set values of Maniphest custom field values when removing them
Jun 3 2024, 13:33
avivey accepted D25678: Expose initially set values of Maniphest custom date field and point values when removing them.
Jun 3 2024, 12:37
aklapper added a comment to D25671: Reword joke password reset email message.

Abiding by the law of triviality, after nine meetings the Working Group that I set up for this task came up with this proposal:

Jun 3 2024, 12:05
aklapper requested review of D25678: Expose initially set values of Maniphest custom date field and point values when removing them.
Jun 3 2024, 11:35
aklapper added a revision to T15846: Show previous value in transaction title when removing points or a custom field value set at task initialization: D25678: Expose initially set values of Maniphest custom date field and point values when removing them.
Jun 3 2024, 11:35
aklapper created T15846: Show previous value in transaction title when removing points or a custom field value set at task initialization.
Jun 3 2024, 11:18
avivey accepted D25677: Remove unused method shouldCopyWhenCreatingSimilarTask().
Jun 3 2024, 10:55
aklapper requested review of D25677: Remove unused method shouldCopyWhenCreatingSimilarTask().
Jun 3 2024, 09:26

Jun 2 2024

avivey added a comment to T15749: Display warning about commenting on a task which is closed as a duplicate.

I think the EditEngine is what's used to create the actions form, and it has some sense of the object's status (see for example the available actions on Revisions - these change based on the revision's state).
Maybe it can get an additional "field" for this warning, and display it based on task status.

Jun 2 2024, 06:51 · Feature Requests

Jun 1 2024

pppery updated the task description for T15845: Remove leftover reference to PhutilHighIntensityIntervalDaemon.
Jun 1 2024, 23:01
pppery created T15845: Remove leftover reference to PhutilHighIntensityIntervalDaemon.
Jun 1 2024, 22:59

May 31 2024

jmeador requested review of D25676: Fix responsible authors in DifferentialRevisionQuery.
May 31 2024, 18:57 · Differential
aklapper added a comment to T15749: Display warning about commenting on a task which is closed as a duplicate.

I remain unhappy with my code in D25546:

  • Phorge lacks a method "give me all engines for this application".
  • PhabricatorApplication offers nothing related to engines.
  • PhabricatorEditEngine::getApplication() does what I want exactly the other way round: it returns the application for a given engine.
  • PhabricatorEditEngine::getAllEditEngines() is confusingly named. It only returns EditEngine keys like calendar.export or maniphest.task but not actual engines or engine classes. ($engines = id(new PhabricatorEditEngineQuery())->setViewer($this->getViewer())->execute(); returns the actual engines, as already used by this code.)
  • I cannot find some mapping between EditEngine keys (like maniphest.task) and either PhabricatorPHIDTypes (like ManiphestTaskPHIDType) or their TypeConstants (like TASK) either.
  • getEngineClassName() exists but only in a SearchEngine/SearchQuery context, not in a EditEngine content (and I cannot find its constructor)
May 31 2024, 16:55 · Feature Requests
aklapper added a comment to D25546: Warn in comment field if task is closed as duplicate.

I remain unhappy with this code.

  • Phorge lacks a method "give me all engines for this application".
  • PhabricatorApplication offers nothing related to engines.
  • PhabricatorEditEngine::getApplication() does what I want exactly the other way round: it returns the application for a given engine.
  • PhabricatorEditEngine::getAllEditEngines() is confusingly named. It only returns EditEngine keys like calendar.export or maniphest.task but not actual engines or engine classes. ($engines = id(new PhabricatorEditEngineQuery())->setViewer($this->getViewer())->execute(); returns the actual engines, as already used by this code.)
  • I cannot find some mapping between EditEngine keys (like maniphest.task) and either PhabricatorPHIDTypes (like ManiphestTaskPHIDType) or their TypeConstants (like TASK) either.
  • getEngineClassName() exists but only in a SearchEngine/SearchQuery context, not in a EditEngine content (and I cannot find its constructor)
May 31 2024, 16:55
aklapper updated the diff for D25546: Warn in comment field if task is closed as duplicate.

Use phid_get_type instead of substr as it does the same job

May 31 2024, 16:47
aklapper added inline comments to D25675: Drydock and Almanac: add welcome pages.
May 31 2024, 16:37
valerio.bozzolan updated the summary of D25675: Drydock and Almanac: add welcome pages.
May 31 2024, 16:12
valerio.bozzolan requested review of D25675: Drydock and Almanac: add welcome pages.
May 31 2024, 16:10
valerio.bozzolan added a revision to T15018: Make Harbormaster more generally usable and extendable: D25675: Drydock and Almanac: add welcome pages.
May 31 2024, 16:10 · Almanac/Drydock/Harbormaster
valerio.bozzolan added a comment to T15018: Make Harbormaster more generally usable and extendable.

Also adding some on-platform documentation would be nice.

May 31 2024, 16:10 · Almanac/Drydock/Harbormaster
valerio.bozzolan added a comment to F2212243: Phorge Services.png.

Screenshot taken at 702 x 495

May 31 2024, 15:14
valerio.bozzolan changed the visibility for F2212243: Phorge Services.png.
May 31 2024, 15:14
valerio.bozzolan changed the visibility for F2212244: Phorge Devices.png.
May 31 2024, 15:14
valerio.bozzolan changed the visibility for F2212245: Phorge Blueprints.png.
May 31 2024, 15:14
valerio.bozzolan changed the visibility for F2212246: Phorge Networks.png.
May 31 2024, 15:13
aklapper abandoned D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Okay I'll just re-arrange the chairs on the ship deck a bit then, double-swear!

May 31 2024, 13:14
valerio.bozzolan added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

I guess I should abandon this patch?

May 31 2024, 12:33
valerio.bozzolan awarded D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController a Evil Spooky Haunted Tree token.
May 31 2024, 12:27
valerio.bozzolan requested review of D25674: Panels list: fix missing welcome page.
May 31 2024, 12:24
valerio.bozzolan added a revision to T15844: Dashboard Panel list: missing welcome page: D25674: Panels list: fix missing welcome page.
May 31 2024, 12:24 · Dashboards, Bug Reports
aklapper added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Nah, appreciated if you think that there is a better / more correct way to fix this which also covers a bigger underlying issue that you found. :)
I guess I should abandon this patch?

May 31 2024, 12:13
jeffrey added a comment to D25673: Fix error in Mercurial when no offset is specified.

No, limit is working fine as it is.

May 31 2024, 11:43
valerio.bozzolan added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Sorry again for the confusion, I don't want to create extra work. I will create another patch as clarification. Unfortunate legacy situation.

May 31 2024, 11:40
valerio.bozzolan added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Yup. I noticed that probably the method getNewUserBody() should be just moved from PhabricatorDashboardPanelListController to PhabricatorDashboardPanelSearchEngine. Additional details in T15844.

May 31 2024, 10:10
aklapper added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Just try to move the method in PhabricatorDashboardPanelSearchEngine as-is

May 31 2024, 09:41
valerio.bozzolan added a project to T15844: Dashboard Panel list: missing welcome page: Dashboards.
May 31 2024, 09:13 · Dashboards, Bug Reports