Page MenuHomePhorge

aklapper (Andre Klapper)
Bot

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Feb 28 2023, 20:44 (62 w, 6 d)
Availability
Available

Recent Activity

Yesterday

aklapper updated the diff for D25636: Fix exception awarding empty badge to user.

Remove variable definition now unneeded outside of the if clause

Mon, May 13, 18:50
aklapper updated the diff for D25636: Fix exception awarding empty badge to user.

Here's a revision which does not throw a red box via ->setFormErrors() at the user but at least it is displaying the Required text and turning it into bold red after clicking Award without having defined a recipient. So the line $errors[] = pht('Badge name is required.'); is currently never ever shown.

Mon, May 13, 18:43
aklapper added a comment to D25636: Fix exception awarding empty badge to user.

Thanks for the hints how to improve this! Appreciated.

Mon, May 13, 18:41
aklapper created T15827: Possible to award a badge without selecting a recipient.
Mon, May 13, 18:41
aklapper requested review of D25638: Fix PHP 8.1 "strlen(null)" exception rendering files/documents.
Mon, May 13, 17:49
aklapper added a revision to T15826: PHP 8.1 "strlen(null)" exception rendering image file without $encode_setting: D25638: Fix PHP 8.1 "strlen(null)" exception rendering files/documents.
Mon, May 13, 17:49 · PHP 8 support
aklapper closed D25637: Run ./bin/celerity map after previous commit.
Mon, May 13, 17:00
aklapper committed rP8a3b70aa7d4c: Run ./bin/celerity map after previous commit.
Run ./bin/celerity map after previous commit
Mon, May 13, 17:00
aklapper added a comment to T15819: Facts: Burndown Charts should render YYYY-MM-DD with eight digits.

That was a merged JS change so I should have also run ./bin/celerity map. Sorry. Followup patch in https://we.phorge.it/D25637

Mon, May 13, 16:04
aklapper requested review of D25637: Run ./bin/celerity map after previous commit.
Mon, May 13, 16:03
aklapper created T15826: PHP 8.1 "strlen(null)" exception rendering image file without $encode_setting.
Mon, May 13, 15:59 · PHP 8 support
aklapper awarded T15800: Comment templates to reuse a Love token.
Mon, May 13, 11:42 · Feature Requests, Phorge

Sun, May 12

aklapper added a comment to T15176: Evaluate a global Herald Maniphest action: "Block Task creation with message" (to allow custom Task constraints).

I don't believe in playing whack-a-mole on "could this be a password" but a use case I've been recently thinking of is "Do not allow task creation when task content/data is exactly the defaults provided by the Form used to create the task". Basically: You were supposed to fill in some stuff but you did not when creating your task.

Sun, May 12, 13:03 · Herald, Maniphest, User-valerio.bozzolan
aklapper closed T15819: Facts: Burndown Charts should render YYYY-MM-DD with eight digits as Resolved by committing rP67b7181f5226: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Sun, May 12, 08:19
aklapper closed D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Sun, May 12, 08:19
aklapper committed rP67b7181f5226: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips
Sun, May 12, 08:19
aklapper requested review of D25636: Fix exception awarding empty badge to user.
Sun, May 12, 08:16
aklapper added a revision to T15825: Exception awarding badge to user without selecting a badge: D25636: Fix exception awarding empty badge to user.
Sun, May 12, 08:16
aklapper created T15825: Exception awarding badge to user without selecting a badge.
Sun, May 12, 08:09
aklapper added a comment to D25635: Fix PHP 8.1 "preg_replace(null)" exception in PhabricatorEditorURIEngine.php.

Uhm, seems I was somehow off by one line. I thought that this comes from escapeToken($repository->getCallsign()) being optional nowadays but seems to be triggered by escapeToken($repository->getRepositorySlug()) instead which indeed would be surprising. This might be a patch to abandon because might hide an underlying issue.

Sun, May 12, 08:02

Sat, May 11

aklapper requested review of D25635: Fix PHP 8.1 "preg_replace(null)" exception in PhabricatorEditorURIEngine.php.
Sat, May 11, 20:51
aklapper added a revision to T15824: Deprecation notice at PhabricatorEditorURIEngine.php:283: D25635: Fix PHP 8.1 "preg_replace(null)" exception in PhabricatorEditorURIEngine.php.
Sat, May 11, 20:51 · PHP 8 support, Deprecation Notice
aklapper updated the summary of D25634: Remove deprecated buildStandardPage* method calls.
Sat, May 11, 14:36
aklapper requested review of D25634: Remove deprecated buildStandardPage* method calls.
Sat, May 11, 14:33

Fri, May 10

aklapper closed T15823: PHP 8.1 "strlen(null)" exception checking for open setup issues, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Fri, May 10, 16:16 · PHP 8 support
aklapper closed T15823: PHP 8.1 "strlen(null)" exception checking for open setup issues as Resolved by committing rPf2a01dca3928: Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in….
Fri, May 10, 16:16 · PHP 8 support
aklapper closed D25633: Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in PhabricatorSetupCheck.
Fri, May 10, 16:16
aklapper committed rPf2a01dca3928: Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in….
Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in…
Fri, May 10, 16:16
aklapper closed T15821: Deprecation notice @ HTTPFutureHTTPResponseStatus.php:24 as Resolved by committing rARC7f28d7266f81: Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type.
Fri, May 10, 16:13 · Arcanist, Deprecation Notice
aklapper closed D25632: Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type.
Fri, May 10, 16:13
aklapper committed rARC7f28d7266f81: Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type.
Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type
Fri, May 10, 16:13
aklapper requested review of D25633: Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in PhabricatorSetupCheck.
Fri, May 10, 10:22
aklapper added a revision to T15823: PHP 8.1 "strlen(null)" exception checking for open setup issues: D25633: Fix PHP 8.1 "strlen(null)" exception checking for open setup issues in PhabricatorSetupCheck.
Fri, May 10, 10:22 · PHP 8 support
aklapper created T15823: PHP 8.1 "strlen(null)" exception checking for open setup issues.
Fri, May 10, 10:20 · PHP 8 support
aklapper requested review of D25632: Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type.
Fri, May 10, 10:04
aklapper added a revision to T15821: Deprecation notice @ HTTPFutureHTTPResponseStatus.php:24: D25632: Fix PHP 8.1 "preg_match(null)" exception for missing Content-Type.
Fri, May 10, 10:04 · Arcanist, Deprecation Notice
aklapper updated the summary of D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Fri, May 10, 09:23
aklapper updated the diff for D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.

Garrr I am so sure I had tested it this morning but maybe I was sleepwalking? Tested again now and seems to work, thanks

Fri, May 10, 09:20
aklapper accepted D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

Giving a +1 as I had tested this in D25080#16527 but I would prefer to see the two strings adjusted in D25080#16549

Fri, May 10, 09:11 · Workboard
aklapper accepted D25626: The feed "created this task" should be the first one.

I currently cannot think of other potential side effects (mail notifications about task creation seem to have had a [Created] prefix taking priority over other actions for years, and web notifications in the top bar also still behave as before), so I'll give my +1

Fri, May 10, 09:05
aklapper updated the diff for D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.

The coffee on my desk doesn't seem to work yet - use a proper comparison.

Fri, May 10, 07:47
aklapper updated the diff for D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.

Use standard JS string concatenation instead of shiny padStart() because better backwards compatibility

Fri, May 10, 07:46

Thu, May 9

aklapper added a comment to D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.

I think somebody here would propose to avoid padStart() and be boring:

if (d_m.length < 2) {
  d_m = '0' + d_m;
}
Thu, May 9, 22:12
valerio.bozzolan awarded T15820: Update d3 from version 5.9.2 to 6.7.0 a Grey Medal token.
Thu, May 9, 17:30
aklapper added a comment to T15820: Update d3 from version 5.9.2 to 6.7.0.

Just because we can, right? Or any real concern?

Thu, May 9, 17:00
aklapper requested review of D25631: Update d3 from version 5.9.2 to 6.7.0.
Thu, May 9, 15:21
aklapper added a revision to T15820: Update d3 from version 5.9.2 to 6.7.0: D25631: Update d3 from version 5.9.2 to 6.7.0.
Thu, May 9, 15:21
aklapper created T15820: Update d3 from version 5.9.2 to 6.7.0.
Thu, May 9, 15:20
aklapper updated the summary of D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Thu, May 9, 13:54
aklapper requested review of D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Thu, May 9, 13:50
aklapper added a revision to T15819: Facts: Burndown Charts should render YYYY-MM-DD with eight digits: D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
Thu, May 9, 13:50
aklapper created T15819: Facts: Burndown Charts should render YYYY-MM-DD with eight digits.
Thu, May 9, 13:50
aklapper abandoned D25505: Improve handling queries with "Current Viewer" set while not logged in.

The approach taken in D25621 is more wholesome and preferable thus abandoning this

Thu, May 9, 12:54
aklapper closed T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Thu, May 9, 12:42 · PHP 8 support
aklapper closed T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results as Resolved by committing rP61c953268ecd: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Thu, May 9, 12:42 · PHP 8 support
aklapper closed D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Thu, May 9, 12:42
aklapper committed rP61c953268ecd: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results
Thu, May 9, 12:42
aklapper accepted D25627: TransactionEditor: micro-optimize the "creation finder".

This makes sense.

Thu, May 9, 11:46
aklapper accepted D25628: Persistent Chat: fix de-minimize misclick.

Tested locally before and after applying this branch, with two users sending messages in a chat room after clicking the speechbubbles icon in top bar and selecting "Persistent Chat", both functionality wise (clicking the bar in the lower right corner) and by inspecting the element in the web browser's developer tools' inspector. Works as expected.

Thu, May 9, 11:30
aklapper requested review of D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Thu, May 9, 11:24
aklapper added a revision to T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results: D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Thu, May 9, 11:24 · PHP 8 support
aklapper created T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
Thu, May 9, 11:23 · PHP 8 support
aklapper added a comment to D25621: Show login page if a search token requires a valid viewer.

Thanks for working on this! Works pretty well locally. From a quick test of this branch, while being logged out,

  • Maniphest Advanced Search: Setting Assigned to to Current Viewer, I get a Login page.
  • Diffusion Commits Advanced Search: Setting Authors to Current Viewer, I get a Login page.
  • Differential Advanced Search: Setting both Authors and Reviewers to Current Viewer, I get a Login page.
  • Differential Advanced Search: Setting Responsible Users to Current Viewer, I get an exception (DifferentialResponsibleDatasource - probably another source to cover here?)
Thu, May 9, 11:08
aklapper closed T15679: Pholio image upload triggers Passing null is deprecated at PhabricatorPolicyQuery.php:314, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Thu, May 9, 09:04 · PHP 8 support
aklapper closed T15679: Pholio image upload triggers Passing null is deprecated at PhabricatorPolicyQuery.php:314 as Resolved by committing rPaad704d0fce5: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
Thu, May 9, 09:04 · PHP 8 support
aklapper closed D25600: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
Thu, May 9, 09:04
aklapper committed rPaad704d0fce5: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
Mark created Pholio mockups as new objects to fix empty Feed transaction entries
Thu, May 9, 09:04
aklapper added a comment to T15815: Make i18n string extraction ignore strings in test cases.

Should somebody file a ticket for that?

Thu, May 9, 09:01

Wed, May 8

aklapper requested changes to D25369: Quote Comment: set meaningful URL.

I'm purely setting "Request Changes" to reflect that IMHO this should not get merged until there is an approach to fix T15579 - otherwise in some corner cases this proposed change would create broken URIs.

Wed, May 8, 17:12
aklapper added a comment to D25301: Diffusion: add "Permalink" button.

I'd prefer not to expose this as an always-visible button simply because it takes screen estate on smaller screens.
Maybe an entry Copy Revision Permalink between two separators in the expandable "View Options" dropdown is an option?

Wed, May 8, 17:05
aklapper added a comment to D25626: The feed "created this task" should be the first one.

I can confirm this works as expected for the task view itself in e.g. http://phorge.localhost/T1168 . This seems to also fix http://phorge.localhost/feed/ so it does not only show me about setting high priority on a new task, but instead shows that the task was created? That would be a nice side effect too IMO.

Wed, May 8, 11:09
aklapper accepted D25625: Dashboard Text Panel: improve feed when changing Description.

Tested this patch on http://phorge.localhost/feed/transactions/ and in the feed at the bottom of http://phorge.localhost/W20 itself.
Also tested changing panel visibility from Public to Admin only and accessing these URIs as an average user.
All working as expected, no explosions.

Wed, May 8, 10:53
aklapper added a comment to T15815: Make i18n string extraction ignore strings in test cases.

being able to have people running unit tests and see the results in their language was a feature

Wed, May 8, 08:45
aklapper asked Q137: Global statistics/metrics how often a Herald rule passes / most and least popular Herald rules.
Wed, May 8, 08:30
valerio.bozzolan awarded T15815: Make i18n string extraction ignore strings in test cases a Like token.
Wed, May 8, 07:40
aklapper accepted D25624: Make i18n string extraction ignore strings in test case files.

I tested this one-liner as part of the downstream conversation that pppery and I had in https://phabricator.wikimedia.org/T363364, still I would ideally prefer another upstream opinion before accepting this revision as O1.

Wed, May 8, 06:27

Tue, May 7

aklapper created T15815: Make i18n string extraction ignore strings in test cases.
Tue, May 7, 20:36
aklapper closed T15795: Unhandled exception trying to rename user to their previous name as Resolved by committing rPaf300016b678: Fix exception trying to rename user to their previous username.
Tue, May 7, 14:21
aklapper closed D25601: Fix exception trying to rename user to their previous username.
Tue, May 7, 14:21
aklapper committed rPaf300016b678: Fix exception trying to rename user to their previous username.
Fix exception trying to rename user to their previous username
Tue, May 7, 14:21

Sun, May 5

aklapper closed T15436: "TypeError: config.datasets is undefined" in Facts when logged out as Resolved by committing rP960a1ab1ecd6: Facts: Fix displaying charts for anonymous users.
Sun, May 5, 15:35 · Bug Reports
aklapper closed D25608: Facts: Fix displaying charts for anonymous users.
Sun, May 5, 15:35
aklapper committed rP960a1ab1ecd6: Facts: Fix displaying charts for anonymous users.
Facts: Fix displaying charts for anonymous users
Sun, May 5, 15:35
aklapper added a comment to D25608: Facts: Fix displaying charts for anonymous users.

This is probably the right fix (or maybe moving shouldAllowPublic() to the base PhabricatorFactController).

Sun, May 5, 15:33
aklapper resigned from D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
Sun, May 5, 09:55 · UX
aklapper requested changes to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

(Per my last comment)

Sun, May 5, 09:55 · UX

Sat, May 4

aklapper added a comment to D25614: Explicitly cast "limit" (page size) API parameter to int.

I guess that would imply editing 15-20 *ConduitAPIMethod.php files which currently

$limit = $request->getValue('limit');
if (!$limit) {
  $limit = $this->getDefaultLimit();
}

and add something like

if (!is_int($limit) && !ctype_digit($limit)) {
  throw new Exception(pht('Field "limit" must be an integer value.'));
}

? Hmm.

Sat, May 4, 21:06
aklapper added a comment to T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php).

That's because we applied D25415

Sat, May 4, 20:34 · Bug Reports
aklapper requested review of D25618: Avoid search exception for calendar events when using localized time formats.
Sat, May 4, 12:21
aklapper added a revision to T15811: Search exception when AM/PM string is localized in Calendar application: D25618: Avoid search exception for calendar events when using localized time formats.
Sat, May 4, 12:21
aklapper updated the task description for T15811: Search exception when AM/PM string is localized in Calendar application.
Sat, May 4, 12:17
aklapper updated the task description for T15811: Search exception when AM/PM string is localized in Calendar application.
Sat, May 4, 12:07
aklapper created T15811: Search exception when AM/PM string is localized in Calendar application.
Sat, May 4, 12:06

Fri, May 3

aklapper requested review of D25614: Explicitly cast "limit" (page size) API parameter to int.
Fri, May 3, 16:03
aklapper added a revision to T15810: Exception when "limit" (page size) API parameter is float: D25614: Explicitly cast "limit" (page size) API parameter to int.
Fri, May 3, 16:03 · PHP 8 support
aklapper renamed T15810: Exception when "limit" (page size) API parameter is float from Explicitly cast "limit" (page size) API parameter to int to Exception when "limit" (page size) API parameter is float.
Fri, May 3, 15:59 · PHP 8 support
aklapper created T15810: Exception when "limit" (page size) API parameter is float.
Fri, May 3, 15:58 · PHP 8 support
aklapper updated the diff for D25502: Make PhabricatorSearchIntField validate its input.

Add return value (though it seems to make no difference)

Fri, May 3, 15:48
aklapper updated the test plan for D25502: Make PhabricatorSearchIntField validate its input.
Fri, May 3, 15:46
aklapper added inline comments to D25502: Make PhabricatorSearchIntField validate its input.
Fri, May 3, 15:35