Page MenuHomePhorge
Feed Advanced Search

Jul 11 2024

aklapper committed rP59428f64ca2c: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView
Jul 11 2024, 05:25
aklapper retitled D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView from Fix PHP 8.1 "strlen(null)" exception rendering AphrontStackTraceView
Jul 11 2024, 05:21

Jul 10 2024

aklapper updated the diff for D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.

Eh, the PHP pitfalls that I'll never learn by heart... Thanks! :)
Let's try if ($file !== null && $file !== '') instead of if ($file) then?

Jul 10 2024, 19:53
aklapper closed D25729: Remove unreachable return statement in AphrontFormDateControlValue.
Jul 10 2024, 13:56
aklapper committed rPc4246cf871a7: Remove unreachable return statement in AphrontFormDateControlValue.
Remove unreachable return statement in AphrontFormDateControlValue
Jul 10 2024, 13:56
aklapper requested review of D25729: Remove unreachable return statement in AphrontFormDateControlValue.
Jul 10 2024, 13:25
aklapper closed D25716: Declare missing class property in PhabricatorTimelineEngine.
Jul 10 2024, 12:54
aklapper committed rP941b769abae6: Declare missing class property in PhabricatorTimelineEngine.
Declare missing class property in PhabricatorTimelineEngine
Jul 10 2024, 12:54
aklapper edited the content of Next Up.
Jul 10 2024, 11:34
aklapper closed T15876: Update external timezone information file to 2024a as Resolved by committing rP3fbb0309b53f: Update external timezone information to IANA TZDB 2024a.
Jul 10 2024, 11:33
aklapper closed D25722: Update external timezone information to IANA TZDB 2024a.
Jul 10 2024, 11:33
aklapper committed rP3fbb0309b53f: Update external timezone information to IANA TZDB 2024a.
Update external timezone information to IANA TZDB 2024a
Jul 10 2024, 11:33
aklapper closed D25719: Removed unused validateNavigationMenuItem() from PhabricatorProfileMenuEngine.
Jul 10 2024, 11:32
aklapper committed rPd9592e034812: Removed unused validateNavigationMenuItem() from PhabricatorProfileMenuEngine.
Removed unused validateNavigationMenuItem() from PhabricatorProfileMenuEngine
Jul 10 2024, 11:32
aklapper closed D25713: Declare missing class properties in ArcanistDownloadWorkflow.
Jul 10 2024, 08:06
aklapper committed rARC84210cedc6ce: Declare missing class properties in ArcanistDownloadWorkflow.
Declare missing class properties in ArcanistDownloadWorkflow
Jul 10 2024, 08:06
aklapper closed D25720: Correct PHPDoc of dropSymbolCache().
Jul 10 2024, 08:06
aklapper committed rARC76d22d70e429: Correct PHPDoc of dropSymbolCache().
Correct PHPDoc of dropSymbolCache()
Jul 10 2024, 08:06
aklapper closed T15874: Invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest() as Resolved by committing rPff7be2cf1444: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Jul 10 2024, 06:38
aklapper closed D25727: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Jul 10 2024, 06:38
aklapper committed rPff7be2cf1444: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest()
Jul 10 2024, 06:38
aklapper closed T15880: Timeline title for form creation mentions generic "object" instead of "form" as Resolved by committing rP290883b2a995: Set specific timeline title for form creation.
Jul 10 2024, 06:18
aklapper closed D25726: Set specific timeline title for form creation.
Jul 10 2024, 06:18
aklapper committed rP290883b2a995: Set specific timeline title for form creation.
Set specific timeline title for form creation
Jul 10 2024, 06:18

Jul 9 2024

aklapper updated the summary of D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Jul 9 2024, 22:29
aklapper requested review of D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Jul 9 2024, 22:23
aklapper added a revision to T15881: PHP 8.1 "strlen(null)" exception rendering AphrontStackTraceView: D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Jul 9 2024, 22:23 · PHP 8 support
aklapper created T15881: PHP 8.1 "strlen(null)" exception rendering AphrontStackTraceView.
Jul 9 2024, 22:10 · PHP 8 support
aklapper updated the diff for D25727: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().

Restore an empty line

Jul 9 2024, 21:30
aklapper added a revision to T15874: Invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest(): D25727: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Jul 9 2024, 21:26
aklapper requested review of D25727: Fix invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Jul 9 2024, 21:26
aklapper added a comment to T15874: Invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().

This broken code is intended to find MailTags (means: each entry listed under http://phorge.localhost/settings/panel/emailpreferences/ , grep for const MAILTAG_ to get a list of them) defined more than once to display them in a Common section on top:

Screenshot from 2024-07-09 23-13-28.png (438×1 px, 90 KB)

However, as currently all MailTags are prefixed with their application (examples: phame-post-content, vote:responses, maniphest-owner) there is nothing to display anyway.

Jul 9 2024, 21:19
aklapper added a comment to D25726: Set specific timeline title for form creation.

Before:

Screenshot from 2024-07-09 11-52-39.png (312×946 px, 35 KB)

Jul 9 2024, 09:59
aklapper added a revision to T15880: Timeline title for form creation mentions generic "object" instead of "form": D25726: Set specific timeline title for form creation.
Jul 9 2024, 09:58
aklapper requested review of D25726: Set specific timeline title for form creation.
Jul 9 2024, 09:58
aklapper created T15880: Timeline title for form creation mentions generic "object" instead of "form".
Jul 9 2024, 09:55

Jul 8 2024

aklapper created T15879: Documentation: Macro image rendered instead of keyword when names match.
Jul 8 2024, 15:36
aklapper requested review of D25725: Update phpqrcode from version 1.1.4 to 1.9.9.
Jul 8 2024, 01:55
aklapper added a revision to T15878: Update embedded phpqrcode from version 1.1.4 to 1.9.9: D25725: Update phpqrcode from version 1.1.4 to 1.9.9.
Jul 8 2024, 01:55
aklapper created T15878: Update embedded phpqrcode from version 1.1.4 to 1.9.9.
Jul 8 2024, 01:52

Jul 7 2024

aklapper closed D25714: Fix property name typo in DrydockResource.
Jul 7 2024, 13:52
aklapper committed rP1b5d2f83c3aa: Fix property name typo in DrydockResource.
Fix property name typo in DrydockResource
Jul 7 2024, 13:52

Jul 4 2024

aklapper updated the diff for D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.

Fix $Mailer default value in docs

Jul 4 2024, 12:42 · Mail
aklapper updated the test plan for D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.
Jul 4 2024, 12:18 · Mail
aklapper added a comment to D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.
  • Between class.phpmailer-lite.php and class.phpmailer.php there were two differences in default values of variables, for $Mailer and $SingleTo:
    • I kept Lite's public $SingleTo = true as src/applications/metamta/adapter/PhabricatorMailSMTPAdapter.php (using non-Lite) already explicitly sets $smtp->SingleTo = false.
    • I kept Lite's public $Mailer = 'mail' instead of non-Lite's public $Mailer = 'sendmail' as SMTP in non-Lite already explicitly sets $Mailer = 'smtp' via calling $smtp->IsSMTP(), same for Sendmail via $mailer->IsSendmail(), and custom AmazonSES's code already explicitly sets $mailer->Mailer = 'amazon-ses' in src/applications/metamta/adapter/PhabricatorMailAmazonSESAdapter.php - so our default value sendmail does not really matter here anyway.
  • The other PhabricatorMail*Adapter subclasses of PhabricatorMailAdapter do not seem to utilize PHPMailer.
  • No documentation to update as https://we.phorge.it/book/phorge/article/configuring_outbound_email/ does not mention any PHPMailer.
Jul 4 2024, 12:17 · Mail
aklapper requested review of D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.
Jul 4 2024, 12:16 · Mail
aklapper added a revision to T15877: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php: D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.
Jul 4 2024, 12:16
aklapper created T15877: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.
Jul 4 2024, 09:59

Jul 3 2024

aklapper added a comment to T15865: [Regression] Incorrect mail subject header [Updated] instead of [Created].

In https://we.phorge.it/source/phorge/browse/master/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php ,
getMailAction() does return $this->getStrongestAction($object, $xactions)->getActionName()
and
getStrongestAction() does return head(msortv($xactions, 'newActionStrengthSortVector'))
and
newActionStrengthSortVector() does return id(new PhutilSortVector())->addInt(-$this->getActionStrength()) (note the minus)
so I'm wondering if rPf4d9d6920bcdcafedd6a05f34c28642589b3c285 broke something while it was supposed to do the opposite (cannot remember another recent commit that feels related to this area).

Jul 3 2024, 10:42
aklapper added a revision to T15876: Update external timezone information file to 2024a: D25722: Update external timezone information to IANA TZDB 2024a.
Jul 3 2024, 10:01
aklapper requested review of D25722: Update external timezone information to IANA TZDB 2024a.
Jul 3 2024, 10:01
aklapper created T15876: Update external timezone information file to 2024a.
Jul 3 2024, 10:01
aklapper edited the content of 2024 week 19.
Jul 3 2024, 09:50
aklapper edited the content of 2024 week 19.
Jul 3 2024, 09:40
aklapper edited the content of 2024 week 19.
Jul 3 2024, 09:18
aklapper closed D25712: Declare missing class properties.
Jul 3 2024, 07:05
aklapper committed rARC331b255b1508: Declare missing class properties.
Declare missing class properties
Jul 3 2024, 07:05
aklapper requested review of D25721: Remove call to non-existing AphrontTypeaheadTemplateView::renderToken().
Jul 3 2024, 06:39
aklapper requested review of D25720: Correct PHPDoc of dropSymbolCache().
Jul 3 2024, 06:29

Jul 2 2024

aklapper created T15874: Invalid logic in PhabricatorEmailPreferencesSettingsPanel::processRequest().
Jul 2 2024, 21:18
aklapper requested review of D25719: Removed unused validateNavigationMenuItem() from PhabricatorProfileMenuEngine.
Jul 2 2024, 20:53
aklapper requested review of D25718: Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine.
Jul 2 2024, 20:44
aklapper requested review of D25717: Removed unused renderStatus() from PhabricatorProjectSubprojectsController.
Jul 2 2024, 20:25
aklapper requested review of D25716: Declare missing class property in PhabricatorTimelineEngine.
Jul 2 2024, 19:19
aklapper requested review of D25715: Fix property name typo in PhabricatorPDFIterator.
Jul 2 2024, 19:11
aklapper requested review of D25714: Fix property name typo in DrydockResource.
Jul 2 2024, 19:08
aklapper requested review of D25713: Declare missing class properties in ArcanistDownloadWorkflow.
Jul 2 2024, 19:01
aklapper requested review of D25712: Declare missing class properties.
Jul 2 2024, 18:53
aklapper closed D25643: Remove unused methods in PhabricatorEditorExtension.
Jul 2 2024, 15:55
aklapper committed rPb0bba4d14235: Remove unused methods in PhabricatorEditorExtension.
Remove unused methods in PhabricatorEditorExtension
Jul 2 2024, 15:55
aklapper retitled D25643: Remove unused methods in PhabricatorEditorExtension from Remove unused final protected methods in PhabricatorEditorExtension
Jul 2 2024, 15:54
aklapper updated the answer details for Q142: Is it intentional that a Maniphest Task can be closed as a duplicate several times onto one task? (Answer 176).
Jul 2 2024, 13:08
aklapper added Q142: Is it intentional that a Maniphest Task can be closed as a duplicate several times onto one task? (Answer 176).
Jul 2 2024, 13:07
aklapper requested review of D25711: Suppress PHP 8.1 warnings "Return type mixed is not covariant with tentative return type mixed of method Iterator::key()".
Jul 2 2024, 13:04
aklapper added a revision to T15835: Misc "Return type is not covariant" errors for method Iterator::key(): D25711: Suppress PHP 8.1 warnings "Return type mixed is not covariant with tentative return type mixed of method Iterator::key()".
Jul 2 2024, 13:04 · PHP 8 support
aklapper retitled D25643: Remove unused methods in PhabricatorEditorExtension from Fix call to non-existing newError() in PhabricatorEditorExtension to Remove unused final protected methods in PhabricatorEditorExtension.
Jul 2 2024, 12:42
aklapper updated the diff for D25643: Remove unused methods in PhabricatorEditorExtension.

Remove unused final protected methods in PhabricatorEditorExtension

Jul 2 2024, 12:39
aklapper updated the diff for D25708: Fix invalid constructor call for ArcanistHardpointFutureList.

But it's designed to accept an array of futures, not a single one. Maybe just wrap in array($result).

Jul 2 2024, 11:46
aklapper closed D25645: Remove unused save() method in PhabricatorUserCache.
Jul 2 2024, 10:12
aklapper committed rP9a44a81e797d: Remove unused save() method in PhabricatorUserCache.
Remove unused save() method in PhabricatorUserCache
Jul 2 2024, 10:12
aklapper updated the test plan for D25645: Remove unused save() method in PhabricatorUserCache.
Jul 2 2024, 10:09

Jul 1 2024

aklapper retitled D25645: Remove unused save() method in PhabricatorUserCache from Fix call to non-existing Filesystem::digestForIndex() in PhabricatorUserCache
Jul 1 2024, 15:39
aklapper updated the diff for D25645: Remove unused save() method in PhabricatorUserCache.

Remove unused save() method in PhabricatorUserCache

Jul 1 2024, 15:38
aklapper added a comment to D25645: Remove unused save() method in PhabricatorUserCache.

It would be nice to understand why nothing calls save() 🤔 since I guess nothing calls it, or we would have a crash report.

Jul 1 2024, 14:14
aklapper added a comment to D25708: Fix invalid constructor call for ArcanistHardpointFutureList.

or am I supposed to $result = id(new ArcanistHardpointFutureList())->newFromFutures($result);? Yeez

Jul 1 2024, 14:02
l2dy awarded D25672: Allow collapsing/expanding workboard column content by clicking its header a Yellow Medal token.
Jul 1 2024, 13:16
aklapper added a comment to D25672: Allow collapsing/expanding workboard column content by clicking its header.

worksonmymachine.jpg (193×200 px, 19 KB)

Jul 1 2024, 13:07
aklapper added a comment to D25672: Allow collapsing/expanding workboard column content by clicking its header.

Screenshots of {desktop, tablet, phone} width, exposing an arrow only on tablet and phone as we previously made people scroll large distances anyway and to increase discoverability of the feature in these viewports:

Screenshot from 2024-07-01 14-57-15.png (882×1 px, 189 KB)

Jul 1 2024, 13:00
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Apply phone style also to tablet style because same rendering (only one column)

Jul 1 2024, 12:57
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Set cursor: pointer in CSS

Jul 1 2024, 12:50
aklapper updated the diff for D25708: Fix invalid constructor call for ArcanistHardpointFutureList.

Sigh, xdebug... and seems I need to drop the new from the constructor when the class is final.

Jul 1 2024, 11:39
aklapper requested review of D25708: Fix invalid constructor call for ArcanistHardpointFutureList.
Jul 1 2024, 11:35
aklapper added a revision to T15836: ArcanistHardpointTask calls non-existent constructor for ArcanistHardpointFutureList: D25708: Fix invalid constructor call for ArcanistHardpointFutureList.
Jul 1 2024, 11:35 · Arcanist
aklapper closed D25707: Fix typo in CSS definition.
Jul 1 2024, 11:11
aklapper committed rP30257515eb34: Fix typo in CSS definition.
Fix typo in CSS definition
Jul 1 2024, 11:11
Wikivu awarded rP91815cefc547: Fix broken URIs on "Rendering HTML" Diviner page a Dat Boi token.
Jul 1 2024, 09:52

Jun 30 2024

aklapper added a comment to D25707: Fix typo in CSS definition.

Per https://caniuse.com/?search=-webkit-transform, transform without a vendor prefix has been supported since Chrome 36 in 2014.
Personally I'd prefer to simply remove old vendor prefixed CSS definitions but that would first require a shared understanding which dates (and/or which browser versions) are "too old" for Phorge code.
See "List of changes, most recent first" on https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix for a random example.

Jun 30 2024, 14:22
aklapper requested review of D25707: Fix typo in CSS definition.
Jun 30 2024, 14:18
aklapper abandoned D25706: Remove workaround for IE8 to avoid mixed content warning.

A day later this turns out to be a rather stupid patch. Things should remain as is as javascript:void(0) nowadays may trigger CSP errors.

Jun 30 2024, 11:22

Jun 29 2024

aklapper requested review of D25706: Remove workaround for IE8 to avoid mixed content warning.
Jun 29 2024, 18:24