Page MenuHomePhorge
Feed Advanced Search

Jun 4 2024

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
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

Jun 3 2024

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
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
aklapper requested review of D25677: Remove unused method shouldCopyWhenCreatingSimilarTask().
Jun 3 2024, 09:26

May 31 2024

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
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 awarded D25649: Fix call to non-existing getApplication() in PhabricatorDashboardPanelListController a Evil Spooky Haunted Tree token.
May 31 2024, 12:27
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
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

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
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/8.4, 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
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

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

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

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 24 2024

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

May 21 2024

aklapper added a comment to D25669: Improve error passing task IDs as URL parameter in invalid format.

Uh, Conduit also says Task IDs must be integer numbers. Nice. But how can I reset "Planned Changes"? Only by pushing another revision?

May 21 2024, 17:42
aklapper planned changes to D25669: Improve error passing task IDs as URL parameter in invalid format.

TODO: Check how Conduit reacts to this

May 21 2024, 17:38
aklapper requested review of D25669: Improve error passing task IDs as URL parameter in invalid format.
May 21 2024, 16:47
aklapper added a revision to T15838: Improve error message when passing task IDs as URL parameter in invalid format: D25669: Improve error passing task IDs as URL parameter in invalid format.
May 21 2024, 16:47
aklapper created T15838: Improve error message when passing task IDs as URL parameter in invalid format.
May 21 2024, 16:39
aklapper updated the test plan for D25668: Add Open Graph protocol meta tags to Maniphest task pages.
May 21 2024, 13:05
aklapper updated the diff for D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Add PHPDoc; tested that return value is always plain string, also with custom logo

May 21 2024, 12:22
aklapper added a comment to D25668: Add Open Graph protocol meta tags to Maniphest task pages.

need to also test the result of renderPhabricatorLogo() when no logo set, when a custom logo is set, and when a custom logo is set but hidden (maybe. Maybe the logo file should be Attached to something public, so this situation can't really happen?)

May 21 2024, 12:10
aklapper updated the diff for D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Move policy.allow-public check from method itself to calling the method

May 21 2024, 11:52
aklapper closed D25666: PHPMailer: Remove duplicate array keys.
May 21 2024, 09:07
aklapper committed rP67c0efdffb79: PHPMailer: Remove duplicate array keys.
PHPMailer: Remove duplicate array keys
May 21 2024, 09:07

May 20 2024

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

Note to myself: Still need to test resulting URI when a custom logo is set

May 20 2024, 20:45
aklapper updated the diff for D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Replace a call with a variable

May 20 2024, 20:44
aklapper added a comment to D25668: Add Open Graph protocol meta tags to Maniphest task pages.

This probably needs more work but seems to function locally.

May 20 2024, 20:35
aklapper requested review of D25668: Add Open Graph protocol meta tags to Maniphest task pages.
May 20 2024, 20:32
aklapper added a revision to T15472: Support Open Graph protocol (at least in Maniphest): D25668: Add Open Graph protocol meta tags to Maniphest task pages.
May 20 2024, 20:32 · User-valerio.bozzolan, Affects-Wikimedia, Maniphest
aklapper added a revision to T15837: "Log In to Comment" button in object view does not redirect back to object after login: D25667: Redirect back to object after clicking "Log In to Comment" and login.
May 20 2024, 16:48
aklapper updated the summary of D25667: Redirect back to object after clicking "Log In to Comment" and login.
May 20 2024, 16:48
aklapper requested review of D25667: Redirect back to object after clicking "Log In to Comment" and login.
May 20 2024, 16:47
aklapper created T15837: "Log In to Comment" button in object view does not redirect back to object after login.
May 20 2024, 16:42
aklapper retitled D25666: PHPMailer: Remove duplicate array keys from PHPMailer: Remove duplicate array entry
May 20 2024, 08:45
aklapper requested review of D25666: PHPMailer: Remove duplicate array keys.
May 20 2024, 08:43
aklapper requested review of D25665: PHPMailer: Remove unused variable.
May 20 2024, 08:39
aklapper abandoned D25664: PHPMailer: Remove unused variable.

Garr, I did not branch.

May 20 2024, 08:38
aklapper requested review of D25664: PHPMailer: Remove unused variable.
May 20 2024, 08:37

May 19 2024

aklapper added a comment to T15048: Allow awarding Tokens to individual Comments.

@20after4: Willing to share some code at some point that folks can poke or play with? :) TIA!

May 19 2024, 19:54 · Comments
aklapper awarded T15048: Allow awarding Tokens to individual Comments a Love token.
May 19 2024, 19:46 · Comments
aklapper closed T15833: class.phpmailer-lite.php uses each() removed in PHP 8.0, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 19 2024, 11:10 · PHP 8 support
aklapper closed T15833: class.phpmailer-lite.php uses each() removed in PHP 8.0 as Resolved by committing rPa579a974ebfe: PHPMailer: Remove use of each() function removed in PHP 8.0.
May 19 2024, 11:10 · PHP 8 support
aklapper closed D25659: PHPMailer: Remove use of each() function removed in PHP 8.0.
May 19 2024, 11:10
aklapper committed rPa579a974ebfe: PHPMailer: Remove use of each() function removed in PHP 8.0.
PHPMailer: Remove use of each() function removed in PHP 8.0
May 19 2024, 11:10
aklapper updated the test plan for D25659: PHPMailer: Remove use of each() function removed in PHP 8.0.
May 19 2024, 10:37
aklapper closed D25657: Fix calls to non-existing getDescription() in ArcanistWorkingCopyPath.
May 19 2024, 08:28
aklapper committed rARC3cb117684f4e: Fix calls to non-existing getDescription() in ArcanistWorkingCopyPath.
Fix calls to non-existing getDescription() in ArcanistWorkingCopyPath
May 19 2024, 08:28
aklapper closed D25663: PHPMailer: Remove check for non-existing get_magic_quotes().
May 19 2024, 08:20
aklapper committed rP601ac4503276: PHPMailer: Remove check for non-existing get_magic_quotes().
PHPMailer: Remove check for non-existing get_magic_quotes()
May 19 2024, 08:20
aklapper retitled D25663: PHPMailer: Remove check for non-existing get_magic_quotes() from PHPMailer: Remove check for non-existing `get_magic_quotes`
May 19 2024, 08:19

May 18 2024

aklapper updated the summary of D25657: Fix calls to non-existing getDescription() in ArcanistWorkingCopyPath.
May 18 2024, 23:24
aklapper updated the diff for D25657: Fix calls to non-existing getDescription() in ArcanistWorkingCopyPath.

Valerio may have a point here :D

May 18 2024, 23:23
aklapper requested review of D25663: PHPMailer: Remove check for non-existing get_magic_quotes().
May 18 2024, 23:12
aklapper created T15836: ArcanistHardpointTask calls non-existent constructor for ArcanistHardpointFutureList.
May 18 2024, 22:37 · Arcanist
aklapper updated the task description for T15835: Misc "Return type is not covariant" errors for method Iterator::key().
May 18 2024, 22:25 · PHP 8 support
aklapper created T15835: Misc "Return type is not covariant" errors for method Iterator::key().
May 18 2024, 22:20 · PHP 8 support
aklapper closed D25650: Correct PHPDoc or add default return for numerous methods.
May 18 2024, 19:54
aklapper committed rPc1a8b83bd7ea: Correct PHPDoc or add default return for numerous methods.
Correct PHPDoc or add default return for numerous methods
May 18 2024, 19:54
valerio.bozzolan awarded D25662: MimeMailParser: Remove an unused variable a Love token.
May 18 2024, 19:50
aklapper abandoned D25662: MimeMailParser: Remove an unused variable.

I'm stupid and should have really checked the commit history first. Sorry!

May 18 2024, 19:49
aklapper closed D25651: Fix typo creating QRbitstream().
May 18 2024, 19:45
aklapper committed rP23a3f59be227: Fix typo creating QRbitstream().
Fix typo creating QRbitstream()
May 18 2024, 19:45
aklapper added a comment to D25651: Fix typo creating QRbitstream().

Uh thanks, I had no idea where the upstream is, good to know because there are a few more issues. :)

May 18 2024, 19:43