Page MenuHomePhorge
Feed All Stories

Aug 11 2023

avivey requested review of D25386: log deprecation events in Dark Console.
Aug 11 2023, 18:53
avivey added a revision to T15554: Handling PHP deprecations: convert to Setup Issues: D25386: log deprecation events in Dark Console.
Aug 11 2023, 18:53 · Phorge
avivey edited the content of 2023 Week 32.
Aug 11 2023, 18:48
avivey closed T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant as Resolved by committing rPeb0bb1736891: Replace dedicated Commit Field with an existing one.
Aug 11 2023, 18:43
avivey closed D25385: Replace dedicated Commit Field with an existing one.
Aug 11 2023, 18:43
avivey committed rPeb0bb1736891: Replace dedicated Commit Field with an existing one.
Replace dedicated Commit Field with an existing one
Aug 11 2023, 18:43
Sten added a comment to D25385: Replace dedicated Commit Field with an existing one.

Minimal fix to the issue as discussed...

Aug 11 2023, 18:39
Sten accepted D25385: Replace dedicated Commit Field with an existing one.
Aug 11 2023, 18:38
avivey requested review of D25385: Replace dedicated Commit Field with an existing one.
Aug 11 2023, 18:36
avivey added a revision to T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant: D25385: Replace dedicated Commit Field with an existing one.
Aug 11 2023, 18:36
Sten added a comment to T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.

That works...

Aug 11 2023, 18:33
avivey added a comment to T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.

I've replaced it with DifferentialRevertPlanCommitMessageField, anyway - that one already has all the required stuff.

Aug 11 2023, 18:31
Sten added a comment to T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.

Simply adding a FIELDKEY adds Test: to the title of a new diff, but the full fix of making DifferentialTestCommitMessageField a DifferentialCommitMessageCustomField doesn't

Aug 11 2023, 18:29
avivey claimed T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.

Unfortunately, that fix adds the word "Test:" to the title of any new diff. I'm trying to find an existing field that can make the test work, or else find another creative solution.

Aug 11 2023, 18:25
avivey added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

The test-field gets picked up automatically because we pick all fields. It's missing FIELDKEY, so arc-diff doesn't work at all, and if we add FIELDKEY it shows up as the first field in the arc-diff form.

Aug 11 2023, 18:20
Sten placed T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant up for grabs.
Aug 11 2023, 18:07
Sten added a comment to T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.

I have a fix, but can't create it. Will need manually applying to the server:

Aug 11 2023, 17:28
Sten updated the task description for T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.
Aug 11 2023, 17:27
Sten claimed T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.
Aug 11 2023, 17:18
Sten created T15600: arc patch broken - class "DifferentialTestCommitMessageField" must define a "FIELDKEY" constant.
Aug 11 2023, 17:18
valerio.bozzolan updated the task description for T15209: The Celerity unit tests are not automatically run when touching whatever CSS or JS file.
Aug 11 2023, 17:01 · Bug Reports, Phorge Development Tools, Arcanist, User-valerio.bozzolan
valerio.bozzolan added a comment to D25384: Fix icon background color when using Dark Mode.

Please also manually run this

Aug 11 2023, 17:00
valerio.bozzolan attached a referenced file: F310031: Screenshot from 2023-06-14 20-30-01.png.
Aug 11 2023, 16:59
valerio.bozzolan attached a referenced file: F310033: Screenshot from 2023-06-14 20-29-29.png.
Aug 11 2023, 16:59
valerio.bozzolan added a comment to T15056: Improve Dark Mode.

Yeah bob, feel free to add your nice screenshots in the Task description for more visibility. You are a good minion!

Aug 11 2023, 16:58 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit
avivey edited the content of Change Log.
Aug 11 2023, 16:31
avivey renamed 2023 Week 32 from Next Up to 2023 Week 32.
Aug 11 2023, 16:31
Matthew accepted D25384: Fix icon background color when using Dark Mode.

LGTM

Aug 11 2023, 16:30
Matthew accepted D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.

LGTM

Aug 11 2023, 16:29
Matthew accepted D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

LGTM

Aug 11 2023, 16:27
bob added a comment to T15056: Improve Dark Mode.

In workboard, empty column's drop zone is a little bit 'agressive' isn't it ?

Aug 11 2023, 14:29 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit
bob updated the diff for D25384: Fix icon background color when using Dark Mode.
Aug 11 2023, 12:13
bob requested review of D25384: Fix icon background color when using Dark Mode.
Aug 11 2023, 12:10
bob updated the diff for D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.

Updating D25383: Removing useless fallback string definition when calling idx

Aug 11 2023, 10:34
Sten added a comment to D25367: Various PHP 8.1 strlen(null) fixes for Dashboard Panels.

Gotcha. So

  • isset() is safer when pulling things out of arrays.
  • phutil_non_empty_string() provides for stricter parameter checking as it demands the array value is set, even if set to null.
Aug 11 2023, 10:02
valerio.bozzolan added a comment to D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.

Thanks! Interestingly you fixed an incomplete fix since D25128

Aug 11 2023, 09:51
Sten closed T15529: arc diff DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors , a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Aug 11 2023, 09:40 · PHP 8 support
Sten closed D25333: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Aug 11 2023, 09:40
Sten closed T15529: arc diff DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors as Resolved by committing rP8310591523f5: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Aug 11 2023, 09:40 · PHP 8 support
Sten committed rP8310591523f5: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors
Aug 11 2023, 09:40
Sten closed T15530: arc diff throws PHP 8.1 strlen(null) error from DifferentialCommitMessageField renderFieldValue, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Aug 11 2023, 09:38 · PHP 8 support
Sten closed D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Aug 11 2023, 09:38
Sten closed T15530: arc diff throws PHP 8.1 strlen(null) error from DifferentialCommitMessageField renderFieldValue as Resolved by committing rP4b3c384856da: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Aug 11 2023, 09:38 · PHP 8 support
Sten committed rP4b3c384856da: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error
Aug 11 2023, 09:38
Sten closed T15548: PHP 8.2 "ltrim(null)" exception while executing ./bin/diviner generate as Resolved by committing rP9c8b9a6bbf04: Fix PHP 8.1 trim(null) exception in ./bin/diviner generate.
Aug 11 2023, 09:37 · PHP 8 support
Sten closed T15548: PHP 8.2 "ltrim(null)" exception while executing ./bin/diviner generate, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Aug 11 2023, 09:37 · PHP 8 support
Sten closed D25353: Fix PHP 8.1 trim(null) exception in ./bin/diviner generate.
Aug 11 2023, 09:37
Sten committed rP9c8b9a6bbf04: Fix PHP 8.1 trim(null) exception in ./bin/diviner generate.
Fix PHP 8.1 trim(null) exception in ./bin/diviner generate
Aug 11 2023, 09:37
bob updated bob.
Aug 11 2023, 08:19
avivey accepted D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.
Aug 11 2023, 07:30
avivey added a comment to D25367: Various PHP 8.1 strlen(null) fixes for Dashboard Panels.

tl;dr: I like phutil_nonempty_string($map['query']) better if we know $map['query'] is defined, and phutil_nonempty_string(idx($map, 'query')) otherwise.

Aug 11 2023, 07:28
avivey accepted D25333: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.
Aug 11 2023, 07:02
avivey accepted D25353: Fix PHP 8.1 trim(null) exception in ./bin/diviner generate.
Aug 11 2023, 07:00

Aug 10 2023

Sten added a comment to D25367: Various PHP 8.1 strlen(null) fixes for Dashboard Panels.

Gentle reminder that this has been waiting review for a while now...

Aug 10 2023, 16:35
Sten added a comment to D25353: Fix PHP 8.1 trim(null) exception in ./bin/diviner generate.

Gentle reminder that this has been waiting review for a while now...

Aug 10 2023, 16:35
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Gentle reminder that this has been waiting review for a while now...

Aug 10 2023, 16:35
Sten added a comment to D25333: Fix DifferentialDiff getFieldValuesForConduit PHP 8.1 strlen(null) errors.

Gentle reminder that this has been waiting review for a while now...

Aug 10 2023, 16:35
Sten added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Gentle reminder that this has been waiting review for a while now...

Aug 10 2023, 16:35
bob added a revision to T15599: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in patch operation: D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.
Aug 10 2023, 16:29 · PHP 8 support, Arcanist, User-valerio.bozzolan
bob updated the summary of D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.
Aug 10 2023, 16:29
bob requested review of D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument.
Aug 10 2023, 16:28
bob created T15599: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in patch operation.
Aug 10 2023, 16:17 · PHP 8 support, Arcanist, User-valerio.bozzolan
bob closed T15595: PHP 8.2 "strlen() null exception" when using the top bar search tool, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Aug 10 2023, 15:42 · PHP 8 support
bob closed T15595: PHP 8.2 "strlen() null exception" when using the top bar search tool as Resolved by committing rPeb2be08f9f0e: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 10 2023, 15:42 · PHP 8 support
bob closed D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 10 2023, 15:42
bob committed rPeb2be08f9f0e: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController
Aug 10 2023, 15:42
bob closed T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Aug 10 2023, 15:36 · PHP 8 support
bob closed T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration as Resolved by committing rP2da7594344c9: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.
Aug 10 2023, 15:36 · PHP 8 support
bob closed D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.
Aug 10 2023, 15:36
bob committed rP2da7594344c9: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument (authored by root <root@streamvision.com>).
Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument
Aug 10 2023, 15:36
valerio.bozzolan added a comment to D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.

Would you like to try yourself arc patch D25381 and then arc land to land into master branch?

Aug 10 2023, 14:46
bob added a comment to D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.

Perfect ! Thanks for the review valerio !

Aug 10 2023, 08:33
bob published D25382: Fix a PHP 8.1/8.2 deprecated use of ltrim and rtrim with a NULL argument for review.
Aug 10 2023, 08:32
bob added a revision to T15598: PHP 8.2 : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated when checking notification servers: D25382: Fix a PHP 8.1/8.2 deprecated use of ltrim and rtrim with a NULL argument.
Aug 10 2023, 08:28 · PHP 8 support
bob updated the task description for T15598: PHP 8.2 : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated when checking notification servers.
Aug 10 2023, 08:23 · PHP 8 support
valerio.bozzolan accepted D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.

Thanks bob, ready for land

Aug 10 2023, 08:10
bob updated the task description for T15598: PHP 8.2 : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated when checking notification servers.
Aug 10 2023, 08:04 · PHP 8 support
bob added a comment to D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.

Great news, thanks for your review valerio !

Aug 10 2023, 08:02
valerio.bozzolan added a comment to Q71: Starting over after catastrophic S3 loss.

Can you attach the stack trace of when you try to re-upload an image?

Aug 10 2023, 07:54
valerio.bozzolan updated the diff for D25078: Trigger: Capitalize most Buzzwords in our Weird Way as usual.

let's also fix a typo (thanks Sten)

Aug 10 2023, 07:47
valerio.bozzolan accepted D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.

Thanks bob! Ready to land

Aug 10 2023, 07:32
valerio.bozzolan updated the test plan for D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 10 2023, 07:30

Aug 9 2023

bob created T15598: PHP 8.2 : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated when checking notification servers.
Aug 9 2023, 16:54 · PHP 8 support
bob added a comment to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.

I finally found it, D25381 fix the issue.

Aug 9 2023, 16:09 · PHP 8 support
bob requested review of D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.
Aug 9 2023, 16:07
bob added a revision to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration: D25381: Fix a PHP 8.1/8.2 deprecated call to strlen with a NULL argument.
Aug 9 2023, 16:07 · PHP 8 support
bob added a comment to D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.

Sorry for the noise on this diff, I did something wrong during another diff creation procedure (I'm not an arcanist pro since I don't use it in my professional workflow).

Aug 9 2023, 15:40
bob updated the diff for D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 9 2023, 15:38
bob updated the diff for D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 9 2023, 15:33
bob updated the diff for D25380: Fix PHP 8.1/8.2 "strlen(null)" exception in SearchController.
Aug 9 2023, 15:22
bob updated the task description for T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.
Aug 9 2023, 15:07 · PHP 8 support
bob added a comment to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.

Great, I'll give it a try as soon as I can.

Aug 9 2023, 12:00 · PHP 8 support
Sten added a comment to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.

What was your strategy to locate strlen(null) issue without any stacktrace, manual code analysis ?

'git grep' to find where the error page was generated, then adding the missing phlog($ex) to get the stack trace.

Aug 9 2023, 11:03 · PHP 8 support
valerio.bozzolan added a comment to Q71: Starting over after catastrophic S3 loss.

Contact Amazon ASAP?

Aug 9 2023, 10:26
valerio.bozzolan awarded Q71: Starting over after catastrophic S3 loss a The World Burns token.
Aug 9 2023, 10:25
bob added a comment to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.

I applied this diff but unfortunately, it doesn't fix the issue...
What was your strategy to locate strlen(null) issue without any stacktrace, manual code analysis ?

Aug 9 2023, 10:00 · PHP 8 support
revi asked Q71: Starting over after catastrophic S3 loss.
Aug 9 2023, 09:53
valerio.bozzolan added a comment to T15597: Add a "Copy Link" to the comment drop-down menu.

Partially related to T15578: The action "Quote comment" has an incomplete fragment URL

Aug 9 2023, 07:55 · Comments

Aug 8 2023

Sten added a comment to T15596: PHP 8.2 "strlen(): Passing null to parameter #1 ($string) of type string is deprecated" in configuration.

Testing with my PHP 8.1, I can't replicate this. But I do have a bunch of PHP 8.1 fixes in place which are still awaiting approval.

Aug 8 2023, 23:05 · PHP 8 support
Ekubischta created T15597: Add a "Copy Link" to the comment drop-down menu.
Aug 8 2023, 17:24 · Comments