Page MenuHomePhorge

aklapper (Andre Klapper)
Bot

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Feb 28 2023, 20:44 (103 w, 1 d)
Availability
Available

Recent Activity

Yesterday

aklapper added a comment to D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

Alright, even after calling ->withEpochInRange(null, null) this very code change (comparing null with null) works fine without a problem, so I'd not add that additional null check

Wed, Feb 19, 14:05
aklapper added a comment to D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

Oh wait I totally misunderstood you, sigh

Wed, Feb 19, 13:58
aklapper added a comment to D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

Uh, nice thought! Phorge accepts and handles correctly one or two parameters being null which I think is fine as-is, so I'd only check for switched parameters created by confused developers here.

Wed, Feb 19, 13:45
aklapper requested review of D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().
Wed, Feb 19, 10:15

Tue, Feb 18

aklapper requested review of D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Tue, Feb 18, 23:29
aklapper added a revision to T16000: PHP 8.1 "ltrim(null)" exception creating a Nuance source: D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Tue, Feb 18, 23:29 · PHP 8 support
aklapper created T16000: PHP 8.1 "ltrim(null)" exception creating a Nuance source.
Tue, Feb 18, 23:17 · PHP 8 support
aklapper updated the summary of D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser.
Tue, Feb 18, 17:05 · PHP 8 support
aklapper added a revision to T15990: ERROR 8192: exit(): Passing null to parameter #1 ($status) of type string|int is deprecated at [arcanist/src/parser/argument/PhutilArgumentParser.php:494] on PHP 8.4: D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser.
Tue, Feb 18, 17:05 · PHP 8 support, Arcanist, Bug Reports
aklapper abandoned D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.

Ooops, indeed. Thanks for finding that. Abandoning in favor of D25869.

Tue, Feb 18, 17:05
aklapper added a comment to D25363: Calendar Import: calendar uploader is not anymore an alien.
  • Resulting E13 still shows "Private User 1" to "Private User 5" with no user matching - I don't think that is expected but I'm not sure we want to care as that is no regression?
Tue, Feb 18, 16:42
aklapper added a comment to D25889: Add "Authored Tasks" view / item to user profile menu.

For consistency, I'm wondering whether to

  • rename src/applications/people/menuitem/PhabricatorPeopleTasksProfileMenuItem.php to src/applications/people/menuitem/PhabricatorPeopleTasksAssignedProfileMenuItem.php,
  • rename src/applications/people/controller/PhabricatorPeopleProfileTasksController.php to src/applications/people/controller/PhabricatorPeopleProfileTasksAssignedController.php,
  • update const ITEM_TASKS = 'people.tasks' to const ITEM_TASKS_ASSIGNED = 'people.tasks.assigned;,
  • update 'tasks/(?P<id>[1-9]\d*)/' =>'PhabricatorPeopleProfileTasksController' to 'tasks-assigned/(?P<id>[1-9]\d*)/' =>'PhabricatorPeopleProfileTasksAssignedController'

as there is more than one "task" thingie now?

Tue, Feb 18, 08:01
aklapper requested review of D25889: Add "Authored Tasks" view / item to user profile menu.
Tue, Feb 18, 07:57
aklapper added a revision to T15998: Add an "Authored Tasks" view/item to People profile menu: D25889: Add "Authored Tasks" view / item to user profile menu.
Tue, Feb 18, 07:57
aklapper added a comment to T15726: Remove dysfunctional Fund and Phortune prototype applications.

Fund: Going to http://phorge.localhost/fund/create/ and creating a New Initiative anyway yields

EXCEPTION: (RuntimeException) Undefined array key "totalAsCurrency" at [<arcanist>/src/error/PhutilErrorHandler.php:273]
Tue, Feb 18, 07:09
amybones awarded T15998: Add an "Authored Tasks" view/item to People profile menu a Love token.
Tue, Feb 18, 04:13

Mon, Feb 17

mainframe98 awarded T15998: Add an "Authored Tasks" view/item to People profile menu a Mountain of Wealth token.
Mon, Feb 17, 20:19
aklapper added a comment to D25864: Allow copying previous milestone's description when creating a new milestone.

Question: in an ideal world would you love even more the same button, that "just" prefills the textarea?

Mon, Feb 17, 20:06
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Mon, Feb 17, 20:04
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Mon, Feb 17, 20:03
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Mon, Feb 17, 20:02
aklapper created T15998: Add an "Authored Tasks" view/item to People profile menu.
Mon, Feb 17, 20:01
aklapper updated the diff for D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.

Eh, let's make this exit(0) as that's more consistent with existing calls in the Arcanist codebase

Mon, Feb 17, 19:00
aklapper added a revision to T15990: ERROR 8192: exit(): Passing null to parameter #1 ($status) of type string|int is deprecated at [arcanist/src/parser/argument/PhutilArgumentParser.php:494] on PHP 8.4: D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.
Mon, Feb 17, 18:58 · PHP 8 support, Arcanist, Bug Reports
aklapper requested review of D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.
Mon, Feb 17, 18:58
aklapper added a project to T15990: ERROR 8192: exit(): Passing null to parameter #1 ($status) of type string|int is deprecated at [arcanist/src/parser/argument/PhutilArgumentParser.php:494] on PHP 8.4: PHP 8 support.

Thanks. I can confirm with PHP 8.4.4 after upgrading one of my machines.

Mon, Feb 17, 18:46 · PHP 8 support, Arcanist, Bug Reports
aklapper updated the summary of D25887: Remove use of deprecated E_STRICT PHP constant.
Mon, Feb 17, 12:24
aklapper renamed T15997: PHP 8.1 "strncmp(null)" feed exception moving a Phriction document from PHP 8.1 "strncmp(null)" exception moving a Phriction document to PHP 8.1 "strncmp(null)" feed exception moving a Phriction document.
Mon, Feb 17, 12:21 · PHP 8 support
aklapper added a comment to T15997: PHP 8.1 "strncmp(null)" feed exception moving a Phriction document.

Probably same game as T15679 somewhere in src/applications/phriction/controller/PhrictionMoveController.php

Mon, Feb 17, 12:20 · PHP 8 support
aklapper created T15997: PHP 8.1 "strncmp(null)" feed exception moving a Phriction document.
Mon, Feb 17, 12:07 · PHP 8 support
aklapper requested review of D25887: Remove use of deprecated E_STRICT PHP constant.
Mon, Feb 17, 11:49
aklapper added a revision to T15989: `arc unit`: Constant E_STRICT is deprecated (with PHP 8.4): D25887: Remove use of deprecated E_STRICT PHP constant.
Mon, Feb 17, 11:49 · Deprecation Notice, PHP 8 support, Bug Reports
aklapper requested review of D25886: Remove use of deprecated E_STRICT PHP constant.
Mon, Feb 17, 11:37
aklapper added a revision to T15989: `arc unit`: Constant E_STRICT is deprecated (with PHP 8.4): D25886: Remove use of deprecated E_STRICT PHP constant.
Mon, Feb 17, 11:37 · Deprecation Notice, PHP 8 support, Bug Reports
aklapper updated the task description for T15982: Update the documentation for "Adding New CSS and JS" to not exclude extensions.
Mon, Feb 17, 11:13 · Extension Development, Documentation
aklapper added a comment to T15976: Deprecate id() function: no longer necessary since PHP 5.4.0.

grep -r " id(" --include=*.php . | wc -l gives a whopping 11220 results.
Would we accept a patch if I cooked up one? :)

Mon, Feb 17, 10:36 · Deprecation Notice
aklapper added a comment to T15990: ERROR 8192: exit(): Passing null to parameter #1 ($status) of type string|int is deprecated at [arcanist/src/parser/argument/PhutilArgumentParser.php:494] on PHP 8.4.

I fail to reproduce with PHP 8.3 with the given steps: ../arcanist/bin/arc diff --create --help prints the help as expected, with no error.
Which PHP version do you use?

Mon, Feb 17, 10:29 · PHP 8 support, Arcanist, Bug Reports
aklapper committed rP035d7b288444: People Profile Menu: Move "Badges" item lower in panel list.
People Profile Menu: Move "Badges" item lower in panel list
Mon, Feb 17, 08:36
aklapper closed D25876: People Profile Menu: Move "Badges" item lower in panel list.
Mon, Feb 17, 08:36
aklapper closed D25884: Add some trivial Herald related PhpDoc comments.
Mon, Feb 17, 08:34
aklapper committed rPf9e5630bab68: Add some trivial Herald related PhpDoc comments.
Add some trivial Herald related PhpDoc comments
Mon, Feb 17, 08:34
aklapper updated the diff for D25884: Add some trivial Herald related PhpDoc comments.

git rebase master

Mon, Feb 17, 08:33
aklapper closed D25885: Run ./bin/celerity map.
Mon, Feb 17, 08:31
aklapper committed rP908d253cf69d: Run ./bin/celerity map.
Run ./bin/celerity map
Mon, Feb 17, 08:31
valerio.bozzolan awarded D25885: Run ./bin/celerity map a Love token.
Mon, Feb 17, 07:13
aklapper added a comment to D25884: Add some trivial Herald related PhpDoc comments.

Okay, got to wait until D25885 is merged first

Mon, Feb 17, 00:01
aklapper added a comment to D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Okay, got to wait until D25885 is merged first

Mon, Feb 17, 00:01 · Dashboards

Sun, Feb 16

aklapper requested review of D25885: Run ./bin/celerity map.
Sun, Feb 16, 23:59
aklapper updated the diff for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Let's try again without celerity noise

Sun, Feb 16, 23:51 · Dashboards
aklapper updated the diff for D25884: Add some trivial Herald related PhpDoc comments.

I wonder what's wrong with my CSS/JS, sigh

Sun, Feb 16, 23:36
aklapper requested review of D25884: Add some trivial Herald related PhpDoc comments.
Sun, Feb 16, 23:34
aklapper added a comment to D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

As I uploaded a new diff now how do I request a new review / reset the existing one "Changes Requested"?
"Foist Upon", or which vaguely named oh so "funny" option from the "Add Action..." dropdown which makes non-native speakers feel stupid and be scared to choose the wrong option? Oh UX and usability...

Sun, Feb 16, 21:35 · Dashboards
aklapper added a comment to D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

having a portal with something useful (e.g. a Dashboard): shows the Dashboard

Sun, Feb 16, 21:30 · Dashboards
aklapper retitled D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView() from Remove unused newNoMenuItemsView() function
Sun, Feb 16, 21:29 · Dashboards
aklapper updated the diff for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Run ./bin/celerity map

Sun, Feb 16, 21:22 · Dashboards
aklapper updated the diff for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Rename function to override from parent class, as proposed by Valerio

Sun, Feb 16, 21:19 · Dashboards
aklapper added a comment to D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Right, PhabricatorDashboardPortalProfileMenuEngine extends PhabricatorProfileMenuEngine so we can override newNoContentView()... that probably makes most sense, thanks

Sun, Feb 16, 21:18 · Dashboards
aklapper updated the test plan for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().
Sun, Feb 16, 21:10 · Dashboards
aklapper added a comment to D25861: Don't try to translate date elements used internally in AphrontFormDateControlValue.

I'd love to see better steps to reproduce something somewhere. :-/ I cannot even find e.p.p. or epp. somewhere in the Finnish translations anymore...

Sun, Feb 16, 20:30
aklapper added a comment to D25873: Fix overlapping elements in Phame for >1791px width.

I expanded the test plan a bit, still if there is more to add please also expand. This seems to work for me (phamous last words)

Sun, Feb 16, 19:52
aklapper updated the test plan for D25873: Fix overlapping elements in Phame for >1791px width.
Sun, Feb 16, 19:50
aklapper updated the diff for D25873: Fix overlapping elements in Phame for >1791px width.

Fix unaligned elements by changing margin-left: -200px to -200px for div.phui-document-content and for full-size images

Sun, Feb 16, 19:47
aklapper updated the summary of D25873: Fix overlapping elements in Phame for >1791px width.
Sun, Feb 16, 19:45
aklapper edited the content of Next Up.
Sun, Feb 16, 18:57
aklapper closed T15901: "Upload File" and "Meme" dialogs display behind fullscreen editor as Resolved by committing rP2574b0d11807: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.
Sun, Feb 16, 18:57
aklapper closed D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.
Sun, Feb 16, 18:57 · Remarkup
aklapper committed rP2574b0d11807: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.
Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs
Sun, Feb 16, 18:57
aklapper updated the diff for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

git rebase master

Sun, Feb 16, 18:52 · Remarkup
aklapper updated the diff for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

./bin/celerity map as this touches a JS file

Sun, Feb 16, 17:13 · Remarkup
aklapper retitled D25256: Fix PHP 8.1 "strlen(null)" exception on auth email message body when PhabricatorAuthMessage is unset from T15064: PHP8 related corrections
Sun, Feb 16, 17:05 · PHP 8 support
aklapper added a comment to D25256: Fix PHP 8.1 "strlen(null)" exception on auth email message body when PhabricatorAuthMessage is unset.

@mturdus: Could you land this one please, or would you like any help? Thanks!

Sun, Feb 16, 17:01 · PHP 8 support
aklapper added a comment to D25835: Strip surrounding whitespace from project and task titles.

@valerio.bozzolan: Would you like to give this a (hopefully) final review? TIA!

Sun, Feb 16, 16:54 · Projects, Maniphest
aklapper requested changes to D25872: Implements arc work for git workflow.

Setting Request Changes per the small review comments so far (as I am looking at https://we.phorge.it/differential/query/all/ and it helps to see correct statuses)

Sun, Feb 16, 16:51
aklapper accepted D25859: PhabricatorLiskDAO: Fragment serializer cache by class.

Thanks for the patch! I can confirm that after applying the patch, on PHP 8.3 I can successful create the initiative http://phorge.localhost/I4 (and I get an unrelated PHP 8.1 deprecation warning about strlen(): Passing null to parameter #1 in src/applications/fund/xaction/FundInitiativeDescriptionTransaction.php:19)

Sun, Feb 16, 16:48
aklapper updated the summary of D25859: PhabricatorLiskDAO: Fragment serializer cache by class.
Sun, Feb 16, 16:41
aklapper retitled D25883: Add "Understanding Application Transaction Editors" article to Diviner from Preliminary documentation for transaction editors.
Sun, Feb 16, 15:49
aklapper accepted D25883: Add "Understanding Application Transaction Editors" article to Diviner.

This is impressive, thanks for writing this up! I don't have enough expertise to comment on the "Edit Phases", however all in all this looks super helpful for technical understanding!

Sun, Feb 16, 15:49
aklapper accepted D25882: Unbreak the creation of Packages Versions.

Confirming that this works as expected. I took the liberty to expand the commit message to also include the current error message.

Sun, Feb 16, 15:19
aklapper updated the summary of D25882: Unbreak the creation of Packages Versions.
Sun, Feb 16, 15:18

Sat, Feb 15

aklapper closed T15994: PHP 8.1 ctype_digit/preg_split exceptions in AphrontFormDateControlValue for no date/time, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Sat, Feb 15, 18:39 · PHP 8 support
aklapper closed T15994: PHP 8.1 ctype_digit/preg_split exceptions in AphrontFormDateControlValue for no date/time as Resolved by committing rP6ea09aa82c8d: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue….
Sat, Feb 15, 18:39 · PHP 8 support
aklapper closed D25875: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue::getStandardDateFormat().
Sat, Feb 15, 18:39
aklapper committed rP6ea09aa82c8d: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue….
PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue…
Sat, Feb 15, 18:39
aklapper updated the test plan for D25875: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue::getStandardDateFormat().
Sat, Feb 15, 18:38
aklapper added inline comments to D25878: Project archival dialog: Mention affected Herald rule conditions.
Sat, Feb 15, 18:03
aklapper requested review of D25880: Replace some AphrontView::setUser() calls with AphrontView::setViewer().
Sat, Feb 15, 15:15
aklapper updated the summary of D25879: Fix editing Conpherence rooms on mobile.
Sat, Feb 15, 14:15
aklapper requested review of D25879: Fix editing Conpherence rooms on mobile.
Sat, Feb 15, 14:14
aklapper added a revision to T15513: Cannot edit Conpherence rooms on mobile: D25879: Fix editing Conpherence rooms on mobile.
Sat, Feb 15, 14:14 · User-Cigaryno, Mobile, Conpherence, Bug Reports
mainframe98 awarded D25878: Project archival dialog: Mention affected Herald rule conditions a Like token.
Sat, Feb 15, 13:23
aklapper added a comment to T15996: Notify about affected Herald rule conditions when archiving a project tag.

With D25878 applied, dialog for folks who can use Herald:

Screenshot From 2025-02-15 13-22-08.png (748×795 px, 113 KB)

Sat, Feb 15, 12:47 · Herald
aklapper added a revision to T15996: Notify about affected Herald rule conditions when archiving a project tag: D25878: Project archival dialog: Mention affected Herald rule conditions.
Sat, Feb 15, 12:42 · Herald
aklapper requested review of D25878: Project archival dialog: Mention affected Herald rule conditions.
Sat, Feb 15, 12:42
aklapper created T15996: Notify about affected Herald rule conditions when archiving a project tag.
Sat, Feb 15, 12:38 · Herald

Fri, Feb 14

aklapper added inline comments to D25876: People Profile Menu: Move "Badges" item lower in panel list.
Fri, Feb 14, 17:08
aklapper updated the diff for D25875: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue::getStandardDateFormat().

null as fast as possible

Fri, Feb 14, 15:41
aklapper updated the diff for D25875: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue::getStandardDateFormat().

Errm yes, now for real

Fri, Feb 14, 13:57
aklapper updated the diff for D25875: PHP 8.1: Do not pass null to ctype_digit() in AphrontFormDateControlValue::getStandardDateFormat().

Short-circuit null check, as rightfully proposed by Valerio

Fri, Feb 14, 13:54
aklapper requested review of D25876: People Profile Menu: Move "Badges" item lower in panel list.
Fri, Feb 14, 13:43
aklapper added a comment to D25874: Update installation guide to point to GitHub mirrors.

No, because people do not read. The "read-only mirror" Wikimedia and GNOME code repos on GitHub regularly receive pull requests because people do not read anything.

Fri, Feb 14, 10:45