Page MenuHomePhorge
Feed All Stories

Dec 6 2023

valerio.bozzolan updated the answer details for Q95: Maniphest task: strlen(): Passing null to parameter #1 ($string) of type string is deprecated (Answer 117).
Dec 6 2023, 08:21
valerio.bozzolan added Q95: Maniphest task: strlen(): Passing null to parameter #1 ($string) of type string is deprecated (Answer 117).
Dec 6 2023, 08:02
adrelanos asked Q95: Maniphest task: strlen(): Passing null to parameter #1 ($string) of type string is deprecated.
Dec 6 2023, 07:33 · Bug Reports
valerio.bozzolan accepted D25485: CSS adjustments to Conpherence.

Thanks @waldyrious - I agree with both you and @speck since I was affected by the first issue and since I believe that T15225 is a good thing. Tested, nice!

Dec 6 2023, 07:05 · Conpherence
valerio.bozzolan accepted D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Dec 6 2023, 06:53
valerio.bozzolan added a comment to D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.

Hmm, I guess the patch should also change line 14 in the same way? I managed to reach that line with the same problem but do not remember the exact steps I performed...

Dec 6 2023, 06:53
valerio.bozzolan updated the test plan for D25486: Use user's preferred font for inline code snippets too.
Dec 6 2023, 06:39
valerio.bozzolan accepted D25486: Use user's preferred font for inline code snippets too.

Tested. No nuclear implosions :) Thanks!

Dec 6 2023, 06:39
valerio.bozzolan awarded T15686: Include 'published' date in Phame atom feeds a Like token.
Dec 6 2023, 06:28 · Affects-Wikimedia, Feature Requests
valerio.bozzolan added a project to T15686: Include 'published' date in Phame atom feeds: Affects-Wikimedia.
Dec 6 2023, 06:28 · Affects-Wikimedia, Feature Requests
valerio.bozzolan updated the summary of D25490: Include 'published' date of posts in Phame Atom feeds.
Dec 6 2023, 06:25
valerio.bozzolan accepted D25490: Include 'published' date of posts in Phame Atom feeds.

If the patch was written by 20after4 we can probably set git commit --amend --author="Mukunda Modell". Can I help in this?

Dec 6 2023, 06:23
valerio.bozzolan updated the task description for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Dec 6 2023, 06:21 · Discussion Needed, Affects-Wikimedia
valerio.bozzolan added a parent task for T15686: Include 'published' date in Phame atom feeds: T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Dec 6 2023, 06:21 · Affects-Wikimedia, Feature Requests
valerio.bozzolan added a subtask for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge: T15686: Include 'published' date in Phame atom feeds.
Dec 6 2023, 06:21 · Discussion Needed, Affects-Wikimedia
valerio.bozzolan moved T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge from Backlog to Discussion Needed on the Affects-Wikimedia board.
Dec 6 2023, 06:20 · Discussion Needed, Affects-Wikimedia
valerio.bozzolan added a comment to Q94: Email notifications are not being sent.
Dec 6 2023, 05:59
rwoolf asked Q94: Email notifications are not being sent.
Dec 6 2023, 00:26

Dec 5 2023

siepkes added a comment to Q45: PostgreSQL support (Answer 55).

but very unlikely anyone would ever make the effort, with MySQL (and compatibles) being so easy to obtain.

Dec 5 2023, 21:52
avivey added a member for Trusted Contributors: kuba-orlik.
Dec 5 2023, 21:42
avivey added Q92: Cannot submit a revision - mysql problems? (Answer 116).
Dec 5 2023, 21:42
avivey added Q93: The latest changes aren't reflected in the Setup Guide (Answer 115).
Dec 5 2023, 21:36
kuba-orlik asked Q93: The latest changes aren't reflected in the Setup Guide.
Dec 5 2023, 19:56
kuba-orlik asked Q92: Cannot submit a revision - mysql problems?.
Dec 5 2023, 19:27
aklapper closed T15683: PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Dec 5 2023, 18:24 · PHP 8 support
aklapper closed T15683: PHP 8.1 "strlen(null)" exceptions rendering Maniphest task when custom select field configured as Resolved by committing rPe610e739cb42: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Dec 5 2023, 18:24 · PHP 8 support
aklapper closed D25487: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Dec 5 2023, 18:24
aklapper committed rPe610e739cb42: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Fix PHP 8.1 exceptions rendering task when custom select field configured
Dec 5 2023, 18:24
aklapper requested review of D25490: Include 'published' date of posts in Phame Atom feeds.
Dec 5 2023, 14:56
aklapper added a revision to T15686: Include 'published' date in Phame atom feeds: D25490: Include 'published' date of posts in Phame Atom feeds.
Dec 5 2023, 14:56 · Affects-Wikimedia, Feature Requests
aklapper created T15686: Include 'published' date in Phame atom feeds.
Dec 5 2023, 14:51 · Affects-Wikimedia, Feature Requests
speck requested changes to D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

Good catch. I don’t think it would cause an implosion but might result in not applying constraints when it should

Dec 5 2023, 12:18
valerio.bozzolan added a comment to D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

I think that the value may be an int, so, causing a nuclear implosion. Probably nice to check for a concrete populated example, and eventually do line 27 or similar ones.

Dec 5 2023, 12:07
speck accepted D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Dec 5 2023, 12:04
speck accepted D25487: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Dec 5 2023, 12:03
bourbonz added a comment to Q88: Phorge upgrade error PhutilURI::checkHrefType() (Answer 111).

I have successfully updated this now, thank you for your help

Dec 5 2023, 09:06
aklapper added a comment to D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.

Hmm, I guess the patch should also change line 14 in the same way? I managed to reach that line with the same problem but do not remember the exact steps I performed...

Dec 5 2023, 04:31
aklapper closed T15680: Transaction Log after renaming Pholio Mock image: Unhandled Exception: Call to undefined method PholioImageSequenceTransaction::renderHandleLink() as Resolved by committing rPacedbd022d45: Fix exception in Transaction Log after renaming Pholio Mock image: Call to….
Dec 5 2023, 03:32 · Bug Reports
aklapper closed D25482: Fix exception in Transaction Log after renaming Pholio Mock image: Call to undefined method PholioImageSequenceTransaction::renderHandleLink().
Dec 5 2023, 03:32
aklapper committed rPacedbd022d45: Fix exception in Transaction Log after renaming Pholio Mock image: Call to….
Fix exception in Transaction Log after renaming Pholio Mock image: Call to…
Dec 5 2023, 03:32
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, 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