Page MenuHomePhorge
Feed All Stories

Jun 5 2024

RhinosF1 created T15848: newOAuth1Future doesn't set a User-Agent.
Jun 5 2024, 20:54 · Auth
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Use consistent class scope; fix a typo

Jun 5 2024, 20:13
aklapper updated the summary of D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jun 5 2024, 20:09
aklapper added a comment to D25672: Allow collapsing/expanding workboard column content by clicking its header.

IMHO this is ready to review.

Jun 5 2024, 20:06
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Avoid non-ASCII bytes in CSS by using FontAwesome

Jun 5 2024, 20:02
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Display custom collapse/expand arrows only on mobile screens; display them after the column header name instead of before

Jun 5 2024, 19:50
aklapper planned changes to D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jun 5 2024, 19:02
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Add PHPDoc for setCollapsible

Jun 5 2024, 19:01
aklapper planned changes to D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jun 5 2024, 18:01
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Fix syntax

Jun 5 2024, 18:00
aklapper planned changes to D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jun 5 2024, 17:55
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Not sure if we prefer to make isCollabsable a property of the base classes, instead of making them non-final

Jun 5 2024, 17:54
aklapper updated the diff for D25655: Fix call to non-existing newWorkCommands() in NuanceItemType.

Yeah right, NuanceFormItemType returns an array so NuanceGitHubEventItemType should also return an empty array. Good point, thanks!

Jun 5 2024, 16:31
aklapper added a comment to D25643: Remove unused methods in PhabricatorEditorExtension.

kill it

Jun 5 2024, 16:21
aklapper closed T15847: PHP 8.1 "strlen(null)" exception creating a Portal, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Jun 5 2024, 15:18 · PHP 8 support
aklapper closed T15847: PHP 8.1 "strlen(null)" exception creating a Portal as Resolved by committing rPcb934602c2e8: Fix PHP 8.1 "strlen(null)" exception creating a Portal.
Jun 5 2024, 15:18 · PHP 8 support
aklapper closed D25681: Fix PHP 8.1 "strlen(null)" exception creating a Portal.
Jun 5 2024, 15:18
aklapper committed rPcb934602c2e8: Fix PHP 8.1 "strlen(null)" exception creating a Portal.
Fix PHP 8.1 "strlen(null)" exception creating a Portal
Jun 5 2024, 15:18
aklapper closed D25654: Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver.
Jun 5 2024, 15:17
aklapper committed rP5f565e2ab665: Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver.
Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver
Jun 5 2024, 15:17
aklapper closed D25647: Fix call to non-existing newIcons() in PhabricatorIconSet.
Jun 5 2024, 15:15
aklapper committed rP98884f758a29: Fix call to non-existing newIcons() in PhabricatorIconSet.
Fix call to non-existing newIcons() in PhabricatorIconSet
Jun 5 2024, 15:15
valerio.bozzolan awarded D25643: Remove unused methods in PhabricatorEditorExtension a Evil Spooky Haunted Tree token.
Jun 5 2024, 15:00
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
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
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
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
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