Page MenuHomePhorge
Feed All Stories

Feb 19 2025

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

I don't know if anybody is supposed to run

Feb 19 2025, 14:24
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

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

Oh wait I totally misunderstood you, sigh

Feb 19 2025, 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.

Feb 19 2025, 13:45
valerio.bozzolan added inline comments to D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().
Feb 19 2025, 13:20
valerio.bozzolan added a comment to D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

Small question. Is it supposed to be used with null+null?

Feb 19 2025, 13:19
valerio.bozzolan accepted D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

sgtm

Feb 19 2025, 12:57
aklapper requested review of D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().
Feb 19 2025, 10:15
valerio.bozzolan updated the diff for D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser.
arc lint
arc unit
Feb 19 2025, 08:27 · PHP 8 support
valerio.bozzolan accepted D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.

Maybe also just declaring $path = '' as default in 209

Feb 19 2025, 08:11

Feb 18 2025

aklapper requested review of D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Feb 18 2025, 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.
Feb 18 2025, 23:29 · PHP 8 support
aklapper created T16000: PHP 8.1 "ltrim(null)" exception creating a Nuance source.
Feb 18 2025, 23:17 · PHP 8 support
Cigaryno created T15999: Make Phorge more accessible to logged-out users.
Feb 18 2025, 19:43 · User-Cigaryno
Cigaryno placed T15056: Improve Dark Mode up for grabs.
Feb 18 2025, 18:05 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit
aklapper updated the summary of D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser.
Feb 18 2025, 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.
Feb 18 2025, 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.

Feb 18 2025, 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?
Feb 18 2025, 16:42
Cigaryno changed the visibility for D25053: Update links to point to new documentation, remove `target="_blank"` on links.
Feb 18 2025, 14:08 · Phorge
Cigaryno updated subscribers of rP1ddb953b9f77: Update Diviner documentation to reference Phorge instead of Phabricator..
Feb 18 2025, 14:05
Cigaryno changed the visibility for D25036: Catch up the master branch to upstream.
Feb 18 2025, 14:03 · Trusted Contributors, Phorge
valerio.bozzolan added a comment to D25872: Implements arc work for git workflow.

I've tested this and I'm impressed. You probably have changed my life.

Feb 18 2025, 13:40
nib updated the diff for D25872: Implements arc work for git workflow.
  • Fixes indents, adds emoji support, improves REGEX
Feb 18 2025, 09:24
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?

Feb 18 2025, 08:01
aklapper requested review of D25889: Add "Authored Tasks" view / item to user profile menu.
Feb 18 2025, 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.
Feb 18 2025, 07:57 · People
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]
Feb 18 2025, 07:09
valerio.bozzolan added a comment to D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.

Gotcha. Any opinion on this?

Feb 18 2025, 06:48
valerio.bozzolan retitled D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser from Fix PHP 8 exit status cannot be null error
Feb 18 2025, 06:47 · PHP 8 support
valerio.bozzolan added a comment to D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.

Maybe duplicate patch, look for same title (I'm on mobile now)

Feb 18 2025, 06:43
amybones awarded T15998: Add an "Authored Tasks" view/item to People profile menu a Love token.
Feb 18 2025, 04:13 · People
keithzg added a comment to T15998: Add an "Authored Tasks" view/item to People profile menu.

This would absolutely be useful in both the personal and professional Phorge instances I admin :)

Feb 18 2025, 00:26 · People

Feb 17 2025

mainframe98 added a comment to T15998: Add an "Authored Tasks" view/item to People profile menu.

Yes, please!

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

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

Feb 17 2025, 20:06
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Feb 17 2025, 20:04 · People
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Feb 17 2025, 20:03 · People
aklapper updated the task description for T15998: Add an "Authored Tasks" view/item to People profile menu.
Feb 17 2025, 20:02 · People
aklapper created T15998: Add an "Authored Tasks" view/item to People profile menu.
Feb 17 2025, 20:01 · People
Cigaryno updated subscribers of D25491: Improve contrast of Links in Dark Mode.

@deric you should land this revision, right?
If you're having troubles, ask on Z1 for help or ask somebody else to land.

Feb 17 2025, 19:21 · UX, Accessibility
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

Feb 17 2025, 19:00
Cigaryno renamed 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 from ERROR 8192: exit(): Passing null to parameter #1 ($status) of type string|int is deprecated at [arcanist/src/parser/argument/PhutilArgumentParser.php:494] to 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.
Feb 17 2025, 18:59 · PHP 8 support, Arcanist, Bug Reports
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.
Feb 17 2025, 18:58 · PHP 8 support, Arcanist, Bug Reports
aklapper requested review of D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser.
Feb 17 2025, 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.

Feb 17 2025, 18:46 · PHP 8 support, Arcanist, Bug Reports
vs2412 updated vs2412.
Feb 17 2025, 15:32
aklapper updated the summary of D25887: Remove use of deprecated E_STRICT PHP constant.
Feb 17 2025, 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.
Feb 17 2025, 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

Feb 17 2025, 12:20 · PHP 8 support
aklapper created T15997: PHP 8.1 "strncmp(null)" feed exception moving a Phriction document.
Feb 17 2025, 12:07 · PHP 8 support
taavi 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.

Which PHP version do you use?

Feb 17 2025, 11:57 · PHP 8 support, Arcanist, Bug Reports
taavi added a comment to T15976: Deprecate id() function: no longer necessary since PHP 5.4.0.

Note that (clone $foo)->bar() is still invalid so you need to use id(clone $foo)->bar().

Feb 17 2025, 11:56 · Deprecation Notice
aklapper requested review of D25887: Remove use of deprecated E_STRICT PHP constant.
Feb 17 2025, 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.
Feb 17 2025, 11:49 · Deprecation Notice, PHP 8 support, Bug Reports
valerio.bozzolan added a comment to D25886: Remove use of deprecated E_STRICT PHP constant.

Finally something that can be tested using arc anoid - I guess?

Feb 17 2025, 11:47
valerio.bozzolan updated the summary of D25886: Remove use of deprecated E_STRICT PHP constant.
Feb 17 2025, 11:44
aklapper requested review of D25886: Remove use of deprecated E_STRICT PHP constant.
Feb 17 2025, 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.
Feb 17 2025, 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.
Feb 17 2025, 11:13 · Extension Development, Documentation
valerio.bozzolan accepted D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Test plan works! Thanks :3

Feb 17 2025, 10:37 · Dashboards
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? :)

Feb 17 2025, 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?

Feb 17 2025, 10:29 · PHP 8 support, Arcanist, Bug Reports
valerio.bozzolan added a comment to D25872: Implements arc work for git workflow.

Hi @nib - still thanks and you are welcome in updating this patch using something like this:

Feb 17 2025, 10:25
valerio.bozzolan updated the diff for D25772: Projects: improve quality of destroy workflow.

last cosmetic change on a title with extra "==="

Feb 17 2025, 09:18 · Projects
valerio.bozzolan added a comment to D25864: Paste previous milestone's description text when creating a new milestone.

Question: in an ideal world would you love even more the same button, that "just" prefills the textarea? That could be also probably done server-side, without JavaScript. That would help T15991 even more I think.

Feb 17 2025, 09:06
aklapper committed rP035d7b288444: People Profile Menu: Move "Badges" item lower in panel list.
People Profile Menu: Move "Badges" item lower in panel list
Feb 17 2025, 08:36
aklapper closed D25876: People Profile Menu: Move "Badges" item lower in panel list.
Feb 17 2025, 08:36
aklapper closed D25884: Add some trivial Herald related PhpDoc comments.
Feb 17 2025, 08:34
aklapper committed rPf9e5630bab68: Add some trivial Herald related PhpDoc comments.
Add some trivial Herald related PhpDoc comments
Feb 17 2025, 08:34
aklapper updated the diff for D25884: Add some trivial Herald related PhpDoc comments.

git rebase master

Feb 17 2025, 08:33
aklapper closed D25885: Run ./bin/celerity map.
Feb 17 2025, 08:31
aklapper committed rP908d253cf69d: Run ./bin/celerity map.
Run ./bin/celerity map
Feb 17 2025, 08:31
valerio.bozzolan updated the diff for D25772: Projects: improve quality of destroy workflow.

add missing comma

Feb 17 2025, 08:16 · Projects
valerio.bozzolan added inline comments to D25772: Projects: improve quality of destroy workflow.
Feb 17 2025, 08:16 · Projects
valerio.bozzolan updated the diff for D25772: Projects: improve quality of destroy workflow.

implement tips, simplify (thanks)

Feb 17 2025, 08:09 · Projects
valerio.bozzolan accepted D25879: Fix editing Conpherence rooms on mobile.

jackie_chan_wtf

Feb 17 2025, 07:39
valerio.bozzolan changed the image for Image Macro "jackie_chan_wtf".
Feb 17 2025, 07:32
valerio.bozzolan accepted D25876: People Profile Menu: Move "Badges" item lower in panel list.

With full respect of Badges, I don't see how a business can build an empire on this Badges menu entry. Anyway, if your business feel tampered by having this moved down by some pixels, please propose a patch to introduce a better menu management for this, like project menu that is more flexible :3

Feb 17 2025, 07:28
valerio.bozzolan accepted D25884: Add some trivial Herald related PhpDoc comments.

yesyes

Feb 17 2025, 07:16
valerio.bozzolan awarded D25885: Run ./bin/celerity map a Love token.
Feb 17 2025, 07:13
valerio.bozzolan accepted D25885: Run ./bin/celerity map.

Insert a tear to play again :3

Feb 17 2025, 07:13
amybones accepted D25885: Run ./bin/celerity map.

Tools make no mistakes.

Feb 17 2025, 00:04
aklapper added a comment to D25884: Add some trivial Herald related PhpDoc comments.

Okay, got to wait until D25885 is merged first

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

Okay, got to wait until D25885 is merged first

Feb 17 2025, 00:01 · Dashboards

Feb 16 2025

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

Let's try again without celerity noise

Feb 16 2025, 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

Feb 16 2025, 23:36
aklapper requested review of D25884: Add some trivial Herald related PhpDoc comments.
Feb 16 2025, 23:34
amybones closed D25883: Add "Understanding Application Transaction Editors" article to Diviner.
Feb 16 2025, 21:37
amybones committed rPcf19d84107e9: Add "Understanding Application Transaction Editors" article to Diviner.
Add "Understanding Application Transaction Editors" article to Diviner
Feb 16 2025, 21:37
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...

Feb 16 2025, 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

Feb 16 2025, 21:30 · Dashboards
amybones updated the test plan for D25883: Add "Understanding Application Transaction Editors" article to Diviner.
Feb 16 2025, 21:30
aklapper retitled D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView() from Remove unused newNoMenuItemsView() function
Feb 16 2025, 21:29 · Dashboards
amybones updated the diff for D25883: Add "Understanding Application Transaction Editors" article to Diviner.

Remove first person voice in a few areas. And a bit of swearing that slipped through from my notes.

Feb 16 2025, 21:27
aklapper updated the diff for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().

Run ./bin/celerity map

Feb 16 2025, 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

Feb 16 2025, 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

Feb 16 2025, 21:18 · Dashboards
aklapper updated the test plan for D25776: Portals: Rename unused newNoMenuItemsView() to newNoContentView().
Feb 16 2025, 21:10 · Dashboards