Page MenuHomePhorge
Feed All Stories

May 31 2024

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
valerio.bozzolan added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

The test plan should be:

May 31 2024, 08:55
valerio.bozzolan requested changes to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Just try to move the method in PhabricatorDashboardPanelSearchEngine as-is

May 31 2024, 08:50
valerio.bozzolan added a revision to T15844: Dashboard Panel list: missing welcome page: D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.
May 31 2024, 08:49 · Dashboards, Bug Reports
valerio.bozzolan updated the summary of D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.
May 31 2024, 08:49
valerio.bozzolan added a comment to D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController.

Wow, this was super-interesting

May 31 2024, 08:48
valerio.bozzolan created T15844: Dashboard Panel list: missing welcome page.
May 31 2024, 08:48 · Dashboards, Bug Reports

May 30 2024

aklapper added a comment to D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.
In D25660#18437, @speck wrote:

Oh I see you did confirm it’s fixed upstream. Should we just update the version we’re using?

May 30 2024, 18:08
speck added a comment to D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.

Oh I see you did confirm it’s fixed upstream. Should we just update the version we’re using?

May 30 2024, 17:47
speck added a comment to D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.

Since this is a third-party dependency can we check if this was fixed upstream, and that an update to phpmailer would fix this?

May 30 2024, 17:46
speck added a comment to D25673: Fix error in Mercurial when no offset is specified.

Swear I’ve come across this before… it might be fixed in our forked branch so I’ll take a look. Does $limit also need same treatment?

May 30 2024, 17:44
aklapper closed T15834: Parameter order of Authorise() signature in phpmailer/class.pop3.php is deprecated since PHP 8.0, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 30 2024, 13:40 · PHP 8 support
aklapper closed T15834: Parameter order of Authorise() signature in phpmailer/class.pop3.php is deprecated since PHP 8.0 as Resolved by committing rPd9e543ba970b: PHPMailer: Set defaults for required parameters followed by optional parameters….
May 30 2024, 13:40 · PHP 8 support
aklapper closed D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.
May 30 2024, 13:40
aklapper committed rPd9e543ba970b: PHPMailer: Set defaults for required parameters followed by optional parameters….
PHPMailer: Set defaults for required parameters followed by optional parameters…
May 30 2024, 13:40
aklapper retitled D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature from PHPMailer: Set defaults for required parameters followed by required parameters in Authorise() method signature
May 30 2024, 13:40
aklapper closed D25641: Correct call to non-existing PhutilFileLockException in support/unit/lock.php.
May 30 2024, 12:36
aklapper committed rARC6250296648fa: Correct call to non-existing PhutilFileLockException in support/unit/lock.php.
Correct call to non-existing PhutilFileLockException in support/unit/lock.php
May 30 2024, 12:36
valerio.bozzolan accepted D25641: Correct call to non-existing PhutilFileLockException in support/unit/lock.php.

Nice!

May 30 2024, 10:46
valerio.bozzolan updated the test plan for D25641: Correct call to non-existing PhutilFileLockException in support/unit/lock.php.
May 30 2024, 10:46
valerio.bozzolan accepted D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.
May 30 2024, 10:39
valerio.bozzolan updated the diff for D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.

restore newline

May 30 2024, 10:39
valerio.bozzolan accepted D25660: PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature.

Thanks for the upstream link

May 30 2024, 10:38
aklapper retitled D25673: Fix error in Mercurial when no offset is specified from Fix error when no offset is specified
May 30 2024, 10:36
valerio.bozzolan accepted D25673: Fix error in Mercurial when no offset is specified.

sgtm

May 30 2024, 10:33
jeffrey requested review of D25673: Fix error in Mercurial when no offset is specified.
May 30 2024, 10:04

May 29 2024

aklapper closed T15838: Improve error message when passing task IDs as URL parameter in invalid format as Resolved by committing rP4bf5c452eb28: Improve error passing task IDs as URL parameter in invalid format.
May 29 2024, 10:11
aklapper closed D25669: Improve error passing task IDs as URL parameter in invalid format.
May 29 2024, 10:11
aklapper committed rP4bf5c452eb28: Improve error passing task IDs as URL parameter in invalid format.
Improve error passing task IDs as URL parameter in invalid format
May 29 2024, 10:11
aklapper added a comment to D25669: Improve error passing task IDs as URL parameter in invalid format.

Don't we have something like phutil_is_integer method somewhere?

May 29 2024, 07:34
avivey awarded T15843: Allow collapse and expand of workboard columns in mobile view a Hungry Hippo token.
May 29 2024, 07:12 · Workboard
avivey added a comment to D25672: Allow collapsing/expanding workboard column content by clicking its header.

Very cool!

May 29 2024, 07:12
avivey accepted D25669: Improve error passing task IDs as URL parameter in invalid format.

Don't we have something like phutil_is_integer method somewhere?

May 29 2024, 07:00

May 28 2024

aklapper updated the diff for D25669: Improve error passing task IDs as URL parameter in invalid format.

No changes; merely trying to reset "Changes planned" in Differential

May 28 2024, 22:10
aklapper updated the summary of D25672: Allow collapsing/expanding workboard column content by clicking its header.
May 28 2024, 10:59
aklapper closed D25665: PHPMailer: Remove unused variable.
May 28 2024, 06:35
aklapper committed rP40b1e6b17acc: PHPMailer: Remove unused variable.
PHPMailer: Remove unused variable
May 28 2024, 06:35
valerio.bozzolan accepted D25665: PHPMailer: Remove unused variable.

https://www.reddit.com/r/ProgrammerHumor/comments/9xat04/the_ancient_code/

May 28 2024, 01:53

May 27 2024

aklapper added a comment to D25672: Allow collapsing/expanding workboard column content by clicking its header.

Obviously this is very WIP (but still works).

May 27 2024, 21:38
aklapper requested review of D25672: Allow collapsing/expanding workboard column content by clicking its header.
May 27 2024, 21:37
aklapper added a revision to T15843: Allow collapse and expand of workboard columns in mobile view: D25672: Allow collapsing/expanding workboard column content by clicking its header.
May 27 2024, 21:37 · Workboard
aklapper created T15843: Allow collapse and expand of workboard columns in mobile view.
May 27 2024, 21:32 · Workboard

May 26 2024

avivey closed T15840: Don't give bad password advice when resetting password as Spite.
May 26 2024, 19:21
pppery added a comment to D25671: Reword joke password reset email message.
In D25671#18362, @speck wrote:
In D25671#18360, @speck wrote:

Agree the current non-serious language needs updated.

Though, I’d guess Phab/Phorge will actually reject these short passwords.

May 26 2024, 16:58
speck added a comment to D25671: Reword joke password reset email message.
In D25671#18360, @speck wrote:

Agree the current non-serious language needs updated.

May 26 2024, 16:39
speck added inline comments to D25671: Reword joke password reset email message.
May 26 2024, 16:34
speck added a comment to D25671: Reword joke password reset email message.

Agree the current non-serious language needs updated. Maybe something like,

May 26 2024, 16:33

May 25 2024

pppery added a project to T15836: ArcanistHardpointTask calls non-existent constructor for ArcanistHardpointFutureList: Arcanist.
May 25 2024, 20:17 · Arcanist
pppery updated the task description for T15842: Remove trailing whitespace in messages.
May 25 2024, 18:02 · Localization
pppery closed T15839: Fix formatting of "etc." in various messages as Resolved by committing rP3a6e835e364a: Fix spelling of etc. in messages per Translatewiki request.
May 25 2024, 15:52
pppery closed D25670: Fix spelling of etc. in messages per Translatewiki request.
May 25 2024, 15:52
pppery committed rP3a6e835e364a: Fix spelling of etc. in messages per Translatewiki request.
Fix spelling of etc. in messages per Translatewiki request
May 25 2024, 15:52
pppery retitled D25670: Fix spelling of etc. in messages per Translatewiki request from Fix formatting of etc. in messages per Translatewiki request
May 25 2024, 15:50
pppery updated the diff for D25670: Fix spelling of etc. in messages per Translatewiki request.

Change commit message to reference spelling

May 25 2024, 15:41
pppery updated subscribers of T15840: Don't give bad password advice when resetting password.

"And complained on WMF, where this feature is disabled?" is true but misleading IMO - there was nowhere better to complain than WMF's instance since this took place after Phabricator was abandoned but before Phorge's initial release, and WMF's instance has received numerous other reports of Phabricator translation problems that were later redirected here or to old upstream.

May 25 2024, 15:38
Davion awarded rPd519f75dfdee: (stable) Fix config transaction rendering error on auth page by allowing… a Party Time token.
May 25 2024, 13:45
valerio.bozzolan added a comment to D25671: Reword joke password reset email message.

Well, I understand why this patch completely removes that joke.

May 25 2024, 07:40
avivey accepted D25670: Fix spelling of etc. in messages per Translatewiki request.

This is spelling, not formatting.

May 25 2024, 07:15
avivey added a comment to T15840: Don't give bad password advice when resetting password.

Using a password in 2024 is a bad advice in general.

May 25 2024, 07:09
pppery added a comment to D25671: Reword joke password reset email message.

And yes, I did read https://we.phorge.it/book/phorge/article/tone/ before filing this patch. You are welcome to berate me (and by extension Verdy_p on translatewiki.net, although they've been blocked there so the chance of them seeing anything you say is low) anyway.

May 25 2024, 04:02
pppery created T15842: Remove trailing whitespace in messages.
May 25 2024, 02:04 · Localization
pppery requested review of D25671: Reword joke password reset email message.
May 25 2024, 01:14
pppery added a revision to T15840: Don't give bad password advice when resetting password: D25671: Reword joke password reset email message.
May 25 2024, 01:14
pppery closed T15841: Clarify "nav key on your keyboard" in DarkConsole as Invalid.

Sorry, this isn't an upstream problem. It's an instance of the general "Phabricator lacks message documentation" problem, since nav is a bit of remarkup that niether Verdy_p on the translatewiki side nor I am familiar with. But I can handle that on the translatewiki.net side and there's nothing for upstream to do.

May 25 2024, 01:09

May 24 2024

pppery added a comment to T15840: Don't give bad password advice when resetting password.

I upstreamed this as a largely procedural action (go through all requests for source message changes in translatewiki.net that haven't been resolved and move them up to Phorge so they can be evaluated properly rather than ignored).

May 24 2024, 20:16
aklapper added a comment to T15840: Don't give bad password advice when resetting password.

Admins of any Phorge installation are free to enable serious-business if they do not like such jokes and/or assume that users in their installation would happily follow such instructions...

May 24 2024, 19:53
pppery updated the diff for D25670: Fix spelling of etc. in messages per Translatewiki request.

Read the originally requested changes more carefully

May 24 2024, 19:23
pppery removed a task from D25670: Fix spelling of etc. in messages per Translatewiki request: T15841: Clarify "nav key on your keyboard" in DarkConsole.
May 24 2024, 19:20
pppery removed a revision from T15841: Clarify "nav key on your keyboard" in DarkConsole: D25670: Fix spelling of etc. in messages per Translatewiki request.
May 24 2024, 19:20
pppery updated the summary of D25670: Fix spelling of etc. in messages per Translatewiki request.
May 24 2024, 19:20
pppery added a revision to T15839: Fix formatting of "etc." in various messages: D25670: Fix spelling of etc. in messages per Translatewiki request.
May 24 2024, 19:20
pppery requested review of D25670: Fix spelling of etc. in messages per Translatewiki request.
May 24 2024, 19:19
pppery added a revision to T15841: Clarify "nav key on your keyboard" in DarkConsole: D25670: Fix spelling of etc. in messages per Translatewiki request.
May 24 2024, 19:19
pppery updated the task description for T15841: Clarify "nav key on your keyboard" in DarkConsole.
May 24 2024, 19:01
pppery created T15841: Clarify "nav key on your keyboard" in DarkConsole.
May 24 2024, 18:01
pppery created T15840: Don't give bad password advice when resetting password.
May 24 2024, 17:55
pppery created T15839: Fix formatting of "etc." in various messages.
May 24 2024, 17:50
bekay added a comment to D25612: Use more css and phorge standard elements for application view.

@mturdus Can you spare some time to review this diff?

May 24 2024, 08:13 · Diagrams (Extension)