Page MenuHomePhorge
Feed All Stories

Dec 5 2023

aklapper closed T15589: PHP 8.1 "urlencode(null)" exception blocks account registration redirect for custom OAuth provider, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Dec 5 2023, 03:28 · PHP 8 support
aklapper closed T15589: PHP 8.1 "urlencode(null)" exception blocks account registration redirect for custom OAuth provider as Resolved by committing rARCe46025f7a914: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect….
Dec 5 2023, 03:28 · PHP 8 support
aklapper closed D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.
Dec 5 2023, 03:28
aklapper committed rARCe46025f7a914: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect….
Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect…
Dec 5 2023, 03:28
aklapper requested review of D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Dec 5 2023, 03:23
aklapper added a revision to T15685: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured: D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Dec 5 2023, 03:23 · PHP 8 support
aklapper created T15685: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Dec 5 2023, 03:21 · PHP 8 support
aklapper requested review of D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Dec 5 2023, 03:15
aklapper added a revision to T15684: PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured: D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Dec 5 2023, 03:15 · PHP 8 support
aklapper created T15684: PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Dec 5 2023, 03:13 · PHP 8 support
aklapper retitled D25487: Fix PHP 8.1 exceptions rendering task when custom select field configured from Fix PHP 8.1 exceptions rendering task when custom text field configured
Dec 5 2023, 03:06
aklapper renamed T15683: PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured from PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom text field configured to PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured.
Dec 5 2023, 03:05 · PHP 8 support
aklapper added a revision to T15683: PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured: D25487: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Dec 5 2023, 03:03 · PHP 8 support
aklapper requested review of D25487: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Dec 5 2023, 03:03
aklapper created T15683: PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured.
Dec 5 2023, 03:00 · PHP 8 support
valerio.bozzolan accepted D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.
Dec 5 2023, 00:19
valerio.bozzolan added a comment to D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.

In the future it may be nice to also have a getArgStr() that always return a string, never NULL. So, we can just if ( $to === '' )

Dec 5 2023, 00:18

Dec 4 2023

valerio.bozzolan edited the content of Next Up.
Dec 4 2023, 22:52
matmarex added a revision to T15682: Different monospace fonts for inline code snippets and block code snippets: D25486: Use user's preferred font for inline code snippets too.
Dec 4 2023, 22:35 · Phorge
matmarex added a task to D25486: Use user's preferred font for inline code snippets too: T15682: Different monospace fonts for inline code snippets and block code snippets.
Dec 4 2023, 22:35
matmarex requested review of D25486: Use user's preferred font for inline code snippets too.
Dec 4 2023, 22:34
matmarex closed T15544: `arc lint` can't run `jshint` on Windows as Resolved.
Dec 4 2023, 22:04 · Arcanist
matmarex added a comment to T15682: Different monospace fonts for inline code snippets and block code snippets.

image.png (183×205 px, 4 KB)

Dec 4 2023, 22:01 · Phorge
matmarex created T15682: Different monospace fonts for inline code snippets and block code snippets.
Dec 4 2023, 22:00 · Phorge
matmarex added a comment to D25305: Workboard: have thin scrollbars.

I guess this is still waiting for someone to review it, and not for me to "land" it?

Dec 4 2023, 21:47
matmarex added a comment to D25341: Fix ArcanistExternalLinter on Windows.

I had no idea that I am supposed to "land" these changes. Surely it should be the responsibility of the maintainers to decide into which release a change will go and when?

Dec 4 2023, 21:46
matmarex closed D25341: Fix ArcanistExternalLinter on Windows.
Dec 4 2023, 21:44
matmarex committed rARC16a412b10802: Fix ArcanistExternalLinter on Windows.
Fix ArcanistExternalLinter on Windows
Dec 4 2023, 21:44
speck added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.

Whitelisting both vs and id sound good.

Dec 4 2023, 19:10
l2dy added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.

id, vs and /new/ in URL all affect content of the generated file.

Dec 4 2023, 16:09

Dec 3 2023

waldyrious added a comment to D25485: CSS adjustments to Conpherence.
In D25485#14022, @speck wrote:

I was thinking we might want to better enable multi-line messages and remove the Enter = submit for both desktop and mobile (on mobile making a send button like most other chat apps).

Dec 3 2023, 22:15 · Conpherence
speck added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.

I spent only 5 minutes playing around on a diff to see what might make the url change. The diff id is probably the key one I’d be interested in keeping. I don’t know what the other params are for (even vs).

Dec 3 2023, 15:58
l2dy added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.
In D25478#13957, @speck wrote:

What do you think about keeping the current naming scheme but whitelisting a handful of query params to use instead of using them all? The timestamp adds noise and it's probably nice to see the ID of the diff in the filename, e.g. D25478.id1541.diff? Maybe just allow the the id parameter and regex that it's value is just a string of numbers.

Dec 3 2023, 11:04
avivey planned changes to D25440: Show Deprecation Warnings as Setup Warnings.

add PHP version information to the view.

Dec 3 2023, 07:31

Dec 2 2023

speck added a comment to D25483: fix PHP 8 "strlen(null)" when testing the ssh setup.

Hmm that stack trade doesn’t seem to contain the origin of the issue, likely getting lost through error handling or maybe it’s an incomplete stack trace.

Dec 2 2023, 21:41
jeanguyomarch added a comment to D25483: fix PHP 8 "strlen(null)" when testing the ssh setup.

After reverting my patch, I have the following backtrace:

Dec 2 2023, 20:49
speck accepted D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.

This seems fine, though I wonder if we should introduce a phutil_empty_string() or phutil_is_empty_string function to avoid the double-negative logic. I think this reads more easily:

if (phutil_empty_string($from)) {
  throw new Exception()
}
Dec 2 2023, 19:10
speck added a comment to D25483: fix PHP 8 "strlen(null)" when testing the ssh setup.

Is there a stacktrace to work from here? I suspect nothing should really be passing null into phutil_encode_log() and there's likely another issue here. I prefer preventing passing null values into this rather than papering over the issue here in the depths of util functions.

Dec 2 2023, 19:07
speck added a comment to D25485: CSS adjustments to Conpherence.

Thank you so much for the header fix that’s been bugging me every time I use conpherence lol

Dec 2 2023, 15:24 · Conpherence
waldyrious added a comment to T15225: Conpherence: add a dedicated "Send" button (not just the Enter key).

It's also misleading that the text box is multiline (at least in desktop) which suggests that line breaks are expected, but pressing Enter instead sends the message.

Dec 2 2023, 10:42 · Conpherence, Mobile, User-valerio.bozzolan, UX
waldyrious added a project to D25485: CSS adjustments to Conpherence: Conpherence.
Dec 2 2023, 10:40 · Conpherence
waldyrious updated the summary of D25485: CSS adjustments to Conpherence.
Dec 2 2023, 10:38 · Conpherence
waldyrious updated the summary of D25485: CSS adjustments to Conpherence.
Dec 2 2023, 10:34 · Conpherence
valerio.bozzolan awarded D25485: CSS adjustments to Conpherence a Love token.
Dec 2 2023, 10:27 · Conpherence
waldyrious requested review of D25485: CSS adjustments to Conpherence.
Dec 2 2023, 10:25 · Conpherence
jeanguyomarch closed Q89: Fresh batch of PHP 8 deprecated use of strlen with a NULL argument as resolved.
Dec 2 2023, 09:54
jeanguyomarch updated the diff for D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.

Add maniphest task to the commit message

Dec 2 2023, 09:53
jeanguyomarch requested review of D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.
Dec 2 2023, 09:51
jeanguyomarch updated the diff for D25483: fix PHP 8 "strlen(null)" when testing the ssh setup.

Fix warning raised by the linter.

Dec 2 2023, 09:42
jeanguyomarch requested review of D25483: fix PHP 8 "strlen(null)" when testing the ssh setup.
Dec 2 2023, 09:36
jeanguyomarch added a comment to Q89: Fresh batch of PHP 8 deprecated use of strlen with a NULL argument (Answer 113).

Okay, thanks. I've created T15681: PHP8 error running "ssh vcs-user@phorge.yourcompany.com conduit conduit.ping", commits via arcanist should follow soon :)

Dec 2 2023, 09:20
jeanguyomarch created T15681: PHP8 error running "ssh vcs-user@phorge.yourcompany.com conduit conduit.ping".
Dec 2 2023, 09:19 · PHP 8 support

Dec 1 2023

avivey added a comment to D25472: Update PhpunitTestEngine.php and ArcanistPhpunitTestResultParser.php to use junit output rather than json..

I'm just glossing over this - is ArcanistPhpunitTestResultParser now learning to parse generic "junit style xml" format?

Dec 1 2023, 20:57
Sten added a comment to D25472: Update PhpunitTestEngine.php and ArcanistPhpunitTestResultParser.php to use junit output rather than json..

Testing, using https://github.com/campbsb/example-phorge-php-project.git and breaking it so as to cause a test failure, we get:

Dec 1 2023, 16:31
Sten updated the diff for D25472: Update PhpunitTestEngine.php and ArcanistPhpunitTestResultParser.php to use junit output rather than json..
  • Add LIBXML_NONET option
  • Remove $last_test_finished and the !last_test_finished block, as that is always true
Dec 1 2023, 16:25
Ekubischta added a comment to D25472: Update PhpunitTestEngine.php and ArcanistPhpunitTestResultParser.php to use junit output rather than json..

Just as a reference point, a few years ago, I created a version of this as well - It supports readCoverage coverage reports, etc.

Dec 1 2023, 15:19
avivey added Q91: How can I tell phorge to use a different local.json file at runtime? (Answer 114).
Dec 1 2023, 09:34
avivey added inline comments to D25388: PhutilErrorHandler: support multiple error listeners.
Dec 1 2023, 09:05
fgaz asked Q91: How can I tell phorge to use a different local.json file at runtime?.
Dec 1 2023, 08:48 · Phorge
fgaz awarded T15535: Using Differential with plain Git, without requiring Arc a Love token.
Dec 1 2023, 08:09 · Feature Requests
speck added a comment to D25471: Updates for Mercurial's HTTP protocol.

Thanks for staging this @valerio.bozzolan

Dec 1 2023, 01:16
speck closed D25471: Updates for Mercurial's HTTP protocol.
Dec 1 2023, 01:16
speck committed rP99ee9357eff2: Updates for Mercurial's HTTP protocol.
Updates for Mercurial's HTTP protocol
Dec 1 2023, 01:16
speck added inline comments to D25472: Update PhpunitTestEngine.php and ArcanistPhpunitTestResultParser.php to use junit output rather than json..
Dec 1 2023, 01:14
speck added a comment to T15667: Update PhpunitTestEngine to not call phpunit with --log-json option.

6 year old in-your-face unreported bugs like these make me wonder how many people use Phabricator/Phorge :-(

It's not many, but this issue would be specific to anyone using Phabricator/Phorge for PHP development, which is likely Phab/Phorge itself is close to 100% of that market. And Phab/Phorge also itself has its own unit testing framework instead of PHPUnit.

Dec 1 2023, 01:00 · Arcanist

Nov 30 2023

speck added inline comments to D25477: Visually indicate new user accounts.
Nov 30 2023, 22:16
speck added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.

What do you think about keeping the current naming scheme but whitelisting a handful of query params to use instead of using them all? The timestamp adds noise and it's probably nice to see the ID of the diff in the filename, e.g. D25478.id1541.diff? Maybe just allow the the id parameter and regex that it's value is just a string of numbers.

Nov 30 2023, 21:51
speck added a comment to D25388: PhutilErrorHandler: support multiple error listeners.

Sorry for the delayed review

Nov 30 2023, 21:37
speck accepted D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().

Oh interesting

Nov 30 2023, 12:30
avivey removed a reviewer for D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider: Matthew.
Nov 30 2023, 07:39
pppery added a comment to D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

This already has been accepted. I think @Matthew 's old request for changes is what is keeping this from being landable right now.

Nov 30 2023, 05:21

Nov 29 2023

aklapper added a comment to D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

As I just ran into this again spinning up another machine and had to look this up again, I'd really appreciate if a Blessed Committer could give an "Accepted" state. Thanks in advance!

Nov 29 2023, 22:53
aklapper added a comment to T15642: Feed Transaction Logs: Exception: Query overheated: examined more than 1,010 raw rows without finding 101 visible objects..

so something like this might work?

Nov 29 2023, 19:37
Juest added a comment to T15627: Clicking on meme then cancel causes redirection to homepage and dialog does not disappear.

can't repro anymore, looks like the regression regressed

Nov 29 2023, 19:25 · UX, Bug Reports
aklapper added a comment to D25479: Display default "Page Size" value in Maniphest Advanced Search form.

maybe use an PhabricatorSearchIntField with a default provided in the buildCustomSearchFields() ?

Nov 29 2023, 18:35
aklapper added a comment to D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
In D25482#13939, @speck wrote:

Was this the result of a recent change?

Nov 29 2023, 17:00
speck added inline comments to D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Nov 29 2023, 16:21
speck added a comment to D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().

Was this the result of a recent change?

Nov 29 2023, 16:19
avivey added a comment to Q90: Phorge storage upgrade error coming from Phabricator.

If you can hop on IRC/Conpherence in about 4 hours (around 20:00 UTC), I can try debugging this interactively.

Nov 29 2023, 16:17 · Phorge
avivey updated the question details for Q90: Phorge storage upgrade error coming from Phabricator.
Nov 29 2023, 16:09 · Phorge
avivey added a comment to D25479: Display default "Page Size" value in Maniphest Advanced Search form.

maybe use an PhabricatorSearchIntField with a default provided in the buildCustomSearchFields() ?

Nov 29 2023, 16:06
avivey added a comment to T15676: Empty "Page Size" field in Maniphest Advanced Search should display "100" by default.

mmm, ok.

Nov 29 2023, 16:03
jtaylor555 asked Q90: Phorge storage upgrade error coming from Phabricator.
Nov 29 2023, 15:46 · Phorge
aklapper updated the summary of D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Nov 29 2023, 14:57
aklapper added a comment to T15676: Empty "Page Size" field in Maniphest Advanced Search should display "100" by default.

What kind of operation are you doing that involves loading all tasks in a browser?

Nov 29 2023, 14:50
aklapper requested review of D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Nov 29 2023, 14:45
aklapper added a revision to T15680: Transaction Log after renaming Pholio Mock image: Unhandled Exception: Call to undefined method PholioImageSequenceTransaction::renderHandleLink(): D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Nov 29 2023, 14:45 · Bug Reports
aklapper created T15680: Transaction Log after renaming Pholio Mock image: Unhandled Exception: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Nov 29 2023, 14:35 · Bug Reports
avivey added a comment to T15676: Empty "Page Size" field in Maniphest Advanced Search should display "100" by default.

What kind of operation are you doing that involves loading all tasks in a browser?

Nov 29 2023, 14:19
aklapper added a comment to T15676: Empty "Page Size" field in Maniphest Advanced Search should display "100" by default.

I'd really prefer not to do that. I pretty often need to work with complete search results (e.g. batch-editing), not with only the first 100 and then repeat all steps for the next 100.

Nov 29 2023, 14:14
aklapper created T15679: Pholio image upload triggers Passing null is deprecated at PhabricatorPolicyQuery.php:314.
Nov 29 2023, 13:52 · PHP 8 support
waldyrious added a project to D25191: Auto-subscription: little less verbose: UX.
Nov 29 2023, 11:54 · UX
avivey added a comment to T15676: Empty "Page Size" field in Maniphest Advanced Search should display "100" by default.

If this is the only place where we have a "limit"/"page size" field, maybe just remove it?

Nov 29 2023, 08:50

Nov 28 2023

valerio.bozzolan edited the content of 2023 Week 32.
Nov 28 2023, 15:27
aklapper closed T15678: PHP 8.1 "strlen(null)" exception after removing custom alt text from image file, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Nov 28 2023, 13:52 · PHP 8 support
aklapper closed T15678: PHP 8.1 "strlen(null)" exception after removing custom alt text from image file as Resolved by committing rPc3850a3c1530: Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file.
Nov 28 2023, 13:52 · PHP 8 support
aklapper closed D25481: Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file.
Nov 28 2023, 13:52
aklapper committed rPc3850a3c1530: Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file.
Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file
Nov 28 2023, 13:52
speck accepted D25481: Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file.
Nov 28 2023, 13:03
aklapper requested review of D25481: Fix PHP 8.1 "strlen(null)" exception removing custom alt text from image file.
Nov 28 2023, 12:47