Page MenuHomePhorge
Feed All Stories

Feb 20 2025

aklapper committed rPabeeadd6b013: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().
Feb 20 2025, 18:31
aklapper closed T15513: Cannot edit Conpherence rooms on mobile as Resolved by committing rPfd6118bfa601: Fix editing Conpherence rooms on mobile.
Feb 20 2025, 18:19 · User-Cigaryno, Mobile, Conpherence, Bug Reports
aklapper closed D25879: Fix editing Conpherence rooms on mobile.
Feb 20 2025, 18:19
aklapper committed rPfd6118bfa601: Fix editing Conpherence rooms on mobile.
Feb 20 2025, 18:19
aklapper closed T16000: PHP 8.1 "ltrim(null)" exception creating a Nuance source, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Feb 20 2025, 18:10 · PHP 8 support
aklapper closed T16000: PHP 8.1 "ltrim(null)" exception creating a Nuance source as Resolved by committing rP5b8713889487: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Feb 20 2025, 18:10 · PHP 8 support
aklapper closed D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Feb 20 2025, 18:10
aklapper committed rP5b8713889487: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Feb 20 2025, 18:10
aklapper updated the summary of D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.
Feb 20 2025, 18:10
aklapper updated the diff for D25890: Fix PHP 8.1 "ltrim(null)" exception creating a Nuance Source.

Do the easier and more obvious thing that Valerio proposed

Feb 20 2025, 18:07
aklapper updated the diff for D25891: Check that min epoch < max epoch in PhabricatorFeedQuery::withEpochInRange().

Argh, right... That's why I love reviews! :D Thus also check for null.

Feb 20 2025, 18:02
valerio.bozzolan added inline comments to D25872: Implements arc work for git workflow.
Feb 20 2025, 15:14
valerio.bozzolan added a comment to D25872: Implements arc work for git workflow.
In D25872#23861, @nib wrote:

@aklapper Would it make sense to move the branch-naming lines into a function in class ArcanistGitWorkEngine, since it the branch-naming is git-specific? E.g.

public function buildBranchName($task_ref) {
  $task_name = $task_ref->getName();
  // regex, preg_replace, trim, etc
  return $branch_name;
}
Feb 20 2025, 15:13
nib added a comment to D25872: Implements arc work for git workflow.

@aklapper Would it make sense to move the branch-naming lines into a function in class ArcanistGitWorkEngine, since it the branch-naming is git-specific? E.g.

Feb 20 2025, 11:33
nib added a comment to D25872: Implements arc work for git workflow.

Hopefully the latest change will work for you. Now it checks existing git branches matching "T12345*" and if any exist, it will git checkout the first one, else it will create it from the task name.
So that should allow you to change the task title, and to use arc work T12345 as many times as you want without error.

Feb 20 2025, 11:24
nib updated the diff for D25872: Implements arc work for git workflow.
  • Fix indents, adds emoji support, improve REGEX
  • Detect existing branch for task
Feb 20 2025, 11:19
nib updated the diff for D25872: Implements arc work for git workflow.
  • Handles existing branches
  • Fixes indents, adds emoji support, improves REGEX
Feb 20 2025, 11:14
nib updated the diff for D25872: Implements arc work for git workflow.

Fixes error when invoking arc work 2nd time on task id

Feb 20 2025, 09:08

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` commands: 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` commands: 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.
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.
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.
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