Page MenuHomePhorge
Feed Advanced Search

May 10 2024

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.

May 10 2024, 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

May 10 2024, 07:46

May 9 2024

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;
}
May 9 2024, 22:12
valerio.bozzolan awarded T15820: Update d3 from version 5.9.2 to 6.7.0 a Grey Medal token.
May 9 2024, 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?

May 9 2024, 17:00
aklapper requested review of D25631: Update d3 from version 5.9.2 to 6.7.0.
May 9 2024, 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.
May 9 2024, 15:21
aklapper created T15820: Update d3 from version 5.9.2 to 6.7.0.
May 9 2024, 15:20
aklapper updated the summary of D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
May 9 2024, 13:54
aklapper requested review of D25630: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.
May 9 2024, 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.
May 9 2024, 13:50
aklapper created T15819: Facts: Burndown Charts should render YYYY-MM-DD with eight digits.
May 9 2024, 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

May 9 2024, 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/8.4, as Resolved.
May 9 2024, 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.
May 9 2024, 12:42 · PHP 8 support
aklapper closed D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 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
May 9 2024, 12:42
aklapper accepted D25627: TransactionEditor: micro-optimize the "creation finder".

This makes sense.

May 9 2024, 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.

May 9 2024, 11:30
aklapper requested review of D25629: Fix PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 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.
May 9 2024, 11:24 · PHP 8 support
aklapper created T15818: PHP 8.1 "strlen(null)" exception rendering Conpherence search results.
May 9 2024, 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?)
May 9 2024, 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/8.4, as Resolved.
May 9 2024, 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.
May 9 2024, 09:04 · PHP 8 support
aklapper closed D25600: Mark created Pholio mockups as new objects to fix empty Feed transaction entries.
May 9 2024, 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
May 9 2024, 09:04
aklapper added a comment to T15815: Make i18n string extraction ignore strings in test cases.

Should somebody file a ticket for that?

May 9 2024, 09:01 · Localization

May 8 2024

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.

May 8 2024, 17:12 · Comments
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?

May 8 2024, 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.

May 8 2024, 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.

May 8 2024, 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

May 8 2024, 08:45 · Localization
aklapper asked Q137: Global statistics/metrics how often a Herald rule passes / most and least popular Herald rules.
May 8 2024, 08:30
valerio.bozzolan awarded T15815: Make i18n string extraction ignore strings in test cases a Like token.
May 8 2024, 07:40 · Localization
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.

May 8 2024, 06:27

May 7 2024

aklapper created T15815: Make i18n string extraction ignore strings in test cases.
May 7 2024, 20:36 · Localization
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.
May 7 2024, 14:21
aklapper closed D25601: Fix exception trying to rename user to their previous username.
May 7 2024, 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
May 7 2024, 14:21

May 5 2024

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.
May 5 2024, 15:35 · Bug Reports
aklapper closed D25608: Facts: Fix displaying charts for anonymous users.
May 5 2024, 15:35
aklapper committed rP960a1ab1ecd6: Facts: Fix displaying charts for anonymous users.
Facts: Fix displaying charts for anonymous users
May 5 2024, 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).

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

(Per my last comment)

May 5 2024, 09:55 · UX

May 4 2024

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.

May 4 2024, 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

May 4 2024, 20:34 · Bug Reports
aklapper requested review of D25618: Avoid search exception for calendar events when using localized time formats.
May 4 2024, 12:21 · Calendar
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.
May 4 2024, 12:21 · Calendar
aklapper updated the task description for T15811: Search exception when AM/PM string is localized in Calendar application.
May 4 2024, 12:17 · Calendar
aklapper updated the task description for T15811: Search exception when AM/PM string is localized in Calendar application.
May 4 2024, 12:07 · Calendar
aklapper created T15811: Search exception when AM/PM string is localized in Calendar application.
May 4 2024, 12:06 · Calendar

May 3 2024

aklapper requested review of D25614: Explicitly cast "limit" (page size) API parameter to int.
May 3 2024, 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.
May 3 2024, 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.
May 3 2024, 15:59 · PHP 8 support
aklapper created T15810: Exception when "limit" (page size) API parameter is float.
May 3 2024, 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)

May 3 2024, 15:48
aklapper updated the test plan for D25502: Make PhabricatorSearchIntField validate its input.
May 3 2024, 15:46
aklapper added inline comments to D25502: Make PhabricatorSearchIntField validate its input.
May 3 2024, 15:35
aklapper closed T15786: PHP 8.1 "strlen(null)" exceptions adding an OAuth provider, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 3 2024, 13:10 · PHP 8 support
aklapper closed T15786: PHP 8.1 "strlen(null)" exceptions adding an OAuth provider as Resolved by committing rP81653abb5440: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
May 3 2024, 13:10 · PHP 8 support
aklapper closed D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
May 3 2024, 13:10
aklapper committed rP81653abb5440: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider
May 3 2024, 13:10

May 2 2024

aklapper removed a project from T15407: People: profile picture should be editable by their author (not by "No one"): Affects-Wikimedia.
May 2 2024, 16:36 · User-valerio.bozzolan, People
aklapper added a comment to T15407: People: profile picture should be editable by their author (not by "No one").

I do not (yet?) understand the use case of this task.

May 2 2024, 16:34 · User-valerio.bozzolan, People
aklapper renamed T15735: Fix the various CSS inconsistencies of phui tags from Fix the various inconsistencies of phui tags to Fix the various CSS inconsistencies of phui tags.
May 2 2024, 13:31
aklapper added a comment to D25505: Improve handling queries with "Current Viewer" set while not logged in.

This single-casing of a specific class is not ideal, but given the complexity of other proposals here I'd like to get the current four lines in. Any other opinions? :)

May 2 2024, 10:19
aklapper closed T15789: Exception trying to export empty task list to CSV as Resolved by committing rP84c57f5e5751: Fix exception trying to export empty task list to CSV.
May 2 2024, 08:29
aklapper closed D25613: Fix exception trying to export empty task list to CSV.
May 2 2024, 08:29
aklapper committed rP84c57f5e5751: Fix exception trying to export empty task list to CSV.
Fix exception trying to export empty task list to CSV
May 2 2024, 08:29
aklapper closed T15808: Deprecation notice @ PhabricatorPasteLanguageTransaction.php:17 as Resolved by committing rP279ed1ee7661: Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php.
May 2 2024, 08:28 · Deprecation Notice
aklapper closed D25611: Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php.
May 2 2024, 08:28
aklapper committed rP279ed1ee7661: Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php.
Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php
May 2 2024, 08:28
aklapper closed D25610: Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php.
May 2 2024, 08:26
aklapper closed T15807: Deprecation notice @ PhabricatorStandardCustomFieldLink.php:24 as Resolved by committing rP488960ae7a80: Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php.
May 2 2024, 08:26 · Deprecation Notice
aklapper committed rP488960ae7a80: Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php.
Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php
May 2 2024, 08:26
aklapper closed T15723: Convert "Page Size" field in ManiphestTaskSearchEngine.php to PhabricatorSearchIntField as Resolved by committing rPfbe07fbeefca: Convert "Page Size" field in Maniphest Advanced Search to….
May 2 2024, 08:16
aklapper closed D25527: Convert "Page Size" field in Maniphest Advanced Search to PhabricatorSearchIntField.
May 2 2024, 08:16
aklapper committed rPfbe07fbeefca: Convert "Page Size" field in Maniphest Advanced Search to….
Convert "Page Size" field in Maniphest Advanced Search to…
May 2 2024, 08:16

May 1 2024

aklapper removed a project from T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php): Affects-Wikimedia.
May 1 2024, 17:31 · Bug Reports
aklapper abandoned D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

The underlying issue is way more contained now that rP7868ab3754fa is merged. I'm abandoning this revision to clean up my backlog.

May 1 2024, 17:31
aklapper updated the diff for D25501: Feed: Do not query and display data of uninstalled applications.

Break long line into two

May 1 2024, 17:30
aklapper added a comment to D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.

If we find 10 minutes, let's test this on every provider, as last time it gave us a little surprise on one of them

May 1 2024, 17:24
aklapper requested review of D25613: Fix exception trying to export empty task list to CSV.
May 1 2024, 16:52
aklapper added a revision to T15789: Exception trying to export empty task list to CSV: D25613: Fix exception trying to export empty task list to CSV.
May 1 2024, 16:52
aklapper added a revision to T15808: Deprecation notice @ PhabricatorPasteLanguageTransaction.php:17: D25611: Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php.
May 1 2024, 15:48 · Deprecation Notice
aklapper requested review of D25611: Fix PHP 8.1 "strlen(null)" exception in PhabricatorPasteLanguageTransaction.php.
May 1 2024, 15:48
aklapper added a revision to T15807: Deprecation notice @ PhabricatorStandardCustomFieldLink.php:24: D25610: Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php.
May 1 2024, 15:40 · Deprecation Notice
aklapper requested review of D25610: Fix PHP 8.1 "strlen(null)" exception in PhabricatorStandardCustomFieldLink.php.
May 1 2024, 15:40
aklapper added a comment to T15808: Deprecation notice @ PhabricatorPasteLanguageTransaction.php:17.

Oh neat, I see. Thanks!

May 1 2024, 15:33 · Deprecation Notice
aklapper added a comment to T15807: Deprecation notice @ PhabricatorStandardCustomFieldLink.php:24.

@revi: Hi, could you please provide a list of steps to reproduce, if possible, and always exact Phorge version info? Thanks!

May 1 2024, 14:18 · Deprecation Notice
aklapper added a comment to T15808: Deprecation notice @ PhabricatorPasteLanguageTransaction.php:17.

@revi: Hi, could you please provide a list of steps to reproduce, if possible, and always exact Phorge version info? Thanks!

May 1 2024, 14:17 · Deprecation Notice
aklapper closed D25609: Reports: Remove unused variable.
May 1 2024, 09:44
aklapper committed rP74e28bc2a7b0: Reports: Remove unused variable.
Reports: Remove unused variable
May 1 2024, 09:44
aklapper closed D25606: Update URI in bugtraq.logregex description.
May 1 2024, 09:42
aklapper committed rP2cc94023ff99: Update URI in bugtraq.logregex description.
Update URI in bugtraq.logregex description
May 1 2024, 09:42

Apr 30 2024

valerio.bozzolan awarded T15436: "TypeError: config.datasets is undefined" in Facts when logged out a Doubloon token.
Apr 30 2024, 16:24 · Bug Reports
aklapper requested review of D25609: Reports: Remove unused variable.
Apr 30 2024, 16:22
aklapper requested review of D25608: Facts: Fix displaying charts for anonymous users.
Apr 30 2024, 16:02