Page MenuHomePhorge
Feed All Stories

May 29 2023

valerio.bozzolan added a comment to T15188: arc lint: "Function utf8_decode() is deprecated" in PHP 8.2.
In T15188#9488, @speck wrote:

It looks like upstream just straight-up removed the call to utf8_decode() in the master branch: https://secure.phabricator.com/diffusion/ARC/browse/master/src/utils/utf8.php$290-292

May 29 2023, 13:31 · PHP 8 support, Arcanist, User-valerio.bozzolan
speck added a comment to T15188: arc lint: "Function utf8_decode() is deprecated" in PHP 8.2.

It looks like upstream just straight-up removed the call to utf8_decode() in the master branch: https://secure.phabricator.com/diffusion/ARC/browse/master/src/utils/utf8.php$290-292

May 29 2023, 13:29 · PHP 8 support, Arcanist, User-valerio.bozzolan
mturdus added a comment to D25256: T15064: PHP8 related corrections.

These are the stack traces:

May 29 2023, 11:35
aklapper requested review of D25258: Fix PHP 8.1 "base64_decode(null)" exception calling Conduit's file.upload with no data passed.
May 29 2023, 11:31
aklapper added a revision to T15426: PHP 8.1 "base64_decode(null)" exception calling Conduit's file.upload with no data passed: D25258: Fix PHP 8.1 "base64_decode(null)" exception calling Conduit's file.upload with no data passed.
May 29 2023, 11:31 · PHP 8 support
aklapper created T15426: PHP 8.1 "base64_decode(null)" exception calling Conduit's file.upload with no data passed.
May 29 2023, 11:30 · PHP 8 support
aklapper requested review of D25257: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Conduit's dashboard.panel.edit page.
May 29 2023, 11:18
aklapper added a revision to T15425: PHP 8.1 "strlen(null)" exception blocks rendering Conduit's dashboard.panel.edit page: D25257: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Conduit's dashboard.panel.edit page.
May 29 2023, 11:18 · PHP 8 support
aklapper created T15425: PHP 8.1 "strlen(null)" exception blocks rendering Conduit's dashboard.panel.edit page.
May 29 2023, 11:17 · PHP 8 support
valerio.bozzolan added a comment to D25142: Update Figlet implementation to be PHP8 compatible.

Hoping to be useful, without further feedback I will land this in 7 days :)

May 29 2023, 10:46
avivey added a revision to T15064: Make Phorge compatible with PHP 8.1/8.2/8.3: D25256: T15064: PHP8 related corrections.
May 29 2023, 10:42 · PHP 8 support
avivey added a task to D25256: T15064: PHP8 related corrections: T15064: Make Phorge compatible with PHP 8.1/8.2/8.3.
May 29 2023, 10:41
aklapper closed T15361: PHP 8.1 "explode(null)" exception blocks rendering the Multimeter page, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 29 2023, 10:36 · PHP 8 support
aklapper closed T15361: PHP 8.1 "explode(null)" exception blocks rendering the Multimeter page as Resolved by committing rP0d81da590923: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
May 29 2023, 10:36 · PHP 8 support
aklapper closed D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
May 29 2023, 10:36
aklapper committed rP0d81da590923: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page
May 29 2023, 10:36
valerio.bozzolan added a member for Trusted Contributors: mturdus.
May 29 2023, 10:18
valerio.bozzolan added a comment to D25256: T15064: PHP8 related corrections.

Have you your stack traces before this was happening?

May 29 2023, 10:18
valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

Another use case: Drag & Drop on a new Object description, even if the Object is not already created, should attach by default to it.

May 29 2023, 10:11 · Files, Remarkup
mturdus requested review of D25256: T15064: PHP8 related corrections.
May 29 2023, 10:11
valerio.bozzolan accepted D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.

Aaaaaand... thaaanks again!

May 29 2023, 09:27
aklapper updated the diff for D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.

Indeed, getStr() can do that, right...

May 29 2023, 08:43
aklapper closed T15268: Typo in English string "Lock '%s is not locked by this process!" as Resolved by committing rARC18554ea76ceb: Correct spelling mistake in PhutilLock.
May 29 2023, 08:29 · Good Starter Task, Arcanist
aklapper closed D25253: Correct spelling mistake in PhutilLock.
May 29 2023, 08:29
aklapper committed rARC18554ea76ceb: Correct spelling mistake in PhutilLock.
Correct spelling mistake in PhutilLock
May 29 2023, 08:29
valerio.bozzolan closed D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 29 2023, 07:13
valerio.bozzolan closed T15418: There are some unused "cowsay" binaries as Resolved by committing rP827f63a06543: Cleanup unused cowsay files (related to legacy Perl binary version).
May 29 2023, 07:13
valerio.bozzolan committed rP827f63a06543: Cleanup unused cowsay files (related to legacy Perl binary version).
Cleanup unused cowsay files (related to legacy Perl binary version)
May 29 2023, 07:13
valerio.bozzolan added a comment to D25242: Cleanup unused cowsay files (related to legacy Perl binary version).

I think the README is somehow OK now. Any further improvement is welcome. Thanks :)

May 29 2023, 07:13
valerio.bozzolan added inline comments to D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
May 29 2023, 06:05
valerio.bozzolan accepted D25253: Correct spelling mistake in PhutilLock.

Thanks!

May 29 2023, 06:00
valerio.bozzolan added a comment to T15268: Typo in English string "Lock '%s is not locked by this process!".

It would be helpful to have reproducing steps here, but probably this was never reproduced by the reporter, just found from TranslateWiki

May 29 2023, 05:58 · Good Starter Task, Arcanist

May 28 2023

avivey added a comment to D25255: Correct Phorge icon on Auth Provider page.

yeah, ./scripts/celerity/generate_sprites.php. It will also generate the sprite files (and after that, bin/celerity map)

May 28 2023, 18:19
valerio.bozzolan added a comment to T15164: Resolving without Claiming causes error "Action with no effect".

Fixed thanks aklapper

May 28 2023, 16:35 · Maniphest, User-valerio.bozzolan
valerio.bozzolan changed the visibility for F267558: Task No Action.png.
May 28 2023, 16:34
valerio.bozzolan added inline comments to D25255: Correct Phorge icon on Auth Provider page.
May 28 2023, 16:29
aklapper added a comment to T15164: Resolving without Claiming causes error "Action with no effect".

@valerio.bozzolan F267558 in the task description is not attached, thus it cannot be seen by others.

May 28 2023, 15:13 · Maniphest, User-valerio.bozzolan
aklapper added a comment to D25255: Correct Phorge icon on Auth Provider page.

I have no idea how to create the hash value in resources/sprite/manifest/login.json. Probably there's some magic commands to do all of this. While I created the CSS etc manually.

May 28 2023, 14:53
aklapper requested review of D25255: Correct Phorge icon on Auth Provider page.
May 28 2023, 14:51
aklapper added a revision to T15403: Fix "Amazon" icon on Phorge OAuth: D25255: Correct Phorge icon on Auth Provider page.
May 28 2023, 14:51 · Phorge
aklapper added a comment to T15403: Fix "Amazon" icon on Phorge OAuth.

getLoginIcon() { return PlatformSymbols::getPlatformServerName(); } returns Phorge.
Thus no corresponding icon is found as Phorge.png does not exist and code falls back to first icon.

May 28 2023, 14:51 · Phorge
aklapper requested review of D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
May 28 2023, 13:48
aklapper added a revision to T15361: PHP 8.1 "explode(null)" exception blocks rendering the Multimeter page: D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
May 28 2023, 13:48 · PHP 8 support
aklapper requested review of D25253: Correct spelling mistake in PhutilLock.
May 28 2023, 13:32
aklapper added a revision to T15268: Typo in English string "Lock '%s is not locked by this process!": D25253: Correct spelling mistake in PhutilLock.
May 28 2023, 13:32 · Good Starter Task, Arcanist
aklapper requested review of D25252: Correct two spelling mistakes in Differential.
May 28 2023, 13:31
aklapper added a revision to T15269: Typos in English Differential strings: "Hold revision as as draft."; "You can not plan changes to this this revision": D25252: Correct two spelling mistakes in Differential.
May 28 2023, 13:31 · Good Starter Task, Differential
aklapper requested review of D25251: Correct spelling mistake in PhabricatorAuditEditor.
May 28 2023, 13:23
aklapper added a revision to T15267: Typo in English string "A commit has a concerned raised against it.": D25251: Correct spelling mistake in PhabricatorAuditEditor.
May 28 2023, 13:23 · Good Starter Task
aklapper requested review of D25250: Fix PHP 8.1 null exceptions which block rendering tab panels on dashboards.
May 28 2023, 13:02
aklapper added a revision to T15346: PHP 8.1 exceptions in JsonLint block rendering Tab Panels in Dashboards: D25250: Fix PHP 8.1 null exceptions which block rendering tab panels on dashboards.
May 28 2023, 13:02 · Arcanist, PHP 8 support
aklapper updated the task description for T15346: PHP 8.1 exceptions in JsonLint block rendering Tab Panels in Dashboards.
May 28 2023, 12:45 · Arcanist, PHP 8 support
avivey added inline comments to D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership".
May 28 2023, 11:37
avivey added a comment to D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership".

Before this change, some git commands here were executed without any HOME...

May 28 2023, 11:32

May 27 2023

Edward closed D25238: Correct spelling mistakes.
May 27 2023, 21:19
Edward committed rP4862eada5cd0: Correct spelling mistakes.
Correct spelling mistakes
May 27 2023, 21:19
valerio.bozzolan updated the summary of D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership".
May 27 2023, 20:10
valerio.bozzolan added a comment to D25238: Correct spelling mistakes.

Thanks again for this patch!

If you want to try a new hallucinatory thing, try this to "Land" this change:

../arcanist/bin/arc patch D25238
../arcanist/bin/arc land

The tradition wants that the author lands.

If you don't want to try, feel free to just say "Naaah whatever, land this for me". No problem! :)

May 27 2023, 19:53
valerio.bozzolan added a member for Trusted Contributors: Edward.
May 27 2023, 19:52
valerio.bozzolan added a comment to T15401: Make the Remarkup Help Page Extensible.
_____________________________________ ( I think having Remarkup rules being ) ( able to spawn their documentation ) ( section would be great, yup ) ------------------------------------- o . . o / `. .' " o .---. < > < > .---. o | \ \ - ~ ~ - / / | _____ ..-~ ~-..-~ | | \~~~\.' `./~~~/ --------- \__/ \__/ .' O \ / / \ " (_____, `._.' | } \/~~~/ `----. / } | / \__/ `-. | / | / `. ,~~| ~-.__| /_ - ~ ^| /- _ `..-' | / | / ~-. `-. _ _ _ |_____| |_____| ~ - . _ _ _ _ _>
May 27 2023, 19:48 · Documentation, Remarkup
valerio.bozzolan updated the summary of D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 27 2023, 19:46
valerio.bozzolan added inline comments to D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 27 2023, 19:45
valerio.bozzolan updated the diff for D25242: Cleanup unused cowsay files (related to legacy Perl binary version).

Update README to add some useful notes proposed by avivey

May 27 2023, 19:43
valerio.bozzolan closed D25025: Unify user-select CSS directives.
May 27 2023, 19:26
valerio.bozzolan committed rPc5a365e1b286: Unify user-select CSS directives (authored by Leon95).
Unify user-select CSS directives
May 27 2023, 19:26
valerio.bozzolan updated the diff for D25025: Unify user-select CSS directives.

Just to be sure, run again Celerity map:

May 27 2023, 19:25
valerio.bozzolan added a comment to Q58: Feature Request: Tooltip of wiki article needs more information.

Thanks for this

May 27 2023, 19:24 · Phriction
valerio.bozzolan added a member for Trusted Contributors: bekay.
May 27 2023, 19:22
valerio.bozzolan closed Q57: PHP 8.1 "strlen(null)" exception when running "arc diff" with no active branch as resolved.
May 27 2023, 19:21 · Arcanist
valerio.bozzolan added a comment to D25025: Unify user-select CSS directives.

Hoping to be useful I will land this approved change in 7 days if the original author can't :) Thanks again

May 27 2023, 16:36
jkimbo added Q57: PHP 8.1 "strlen(null)" exception when running "arc diff" with no active branch (Answer 70).
May 27 2023, 16:07
aklapper created T15424: Owners: Unhandled Exception: No repository PHID for path "0"!.
May 27 2023, 12:06 · Bug Reports
bekay asked Q58: Feature Request: Tooltip of wiki article needs more information.
May 27 2023, 11:52 · Phriction
valerio.bozzolan added a comment to T15416: Macro: add a field for alternative text, for example to put image transcript for screen reader folks.

I agree that a small link to the original macro page would also be useful. Also, this mitigates some potential copyright troubles, since sometime the macro page contains some credits and disclaimers.

May 27 2023, 10:51 · Accessibility
valerio.bozzolan added a comment to T15411: Clarify what the timezone is (not obvious to newcomers).

Yeah why not. Indeed not everybody using Phorge has an international audience, so it would be nice also to have a related option to eventually supress that info I guess.

May 27 2023, 10:45 · User-valerio.bozzolan, UX, Calendar
avivey added a comment to T15411: Clarify what the timezone is (not obvious to newcomers).

@valerio.bozzolan Will allowing a Timezone option in the user's "Date Format" solve this?

May 27 2023, 08:54 · User-valerio.bozzolan, UX, Calendar
avivey added a comment to T15387: Multi-Factor Auth setup dialog shows three times same option.

This is probably a configuration issue - mine shows "This install does not have any active MFA providers configured".

May 27 2023, 08:24
avivey added a comment to T15416: Macro: add a field for alternative text, for example to put image transcript for screen reader folks.

From reading the last messages in T109 (starting https://phabricator.wikimedia.org/T109#8874116), it sounds like adding that text will be bad for screen readers, because it will add lots of repetitive, "un-useful reading" to the page.

May 27 2023, 08:23 · Accessibility
avivey triaged T15407: People: profile picture should be editable by their author (not by "No one") as High priority.

(Raising to "HIGH", until we figure out if there's a security concern).

May 27 2023, 07:52 · User-valerio.bozzolan, People
avivey added a comment to T15407: People: profile picture should be editable by their author (not by "No one").

The text says "The user who uploaded a file can always view and edit it.". I checked the DB, and the author field for the relevant file is null.
That implies that this upload code is bypassing some security checks...

May 27 2023, 07:51 · User-valerio.bozzolan, People
avivey added a comment to T15401: Make the Remarkup Help Page Extensible.

I think a more generic solution here is "Make the Remarkup Help Page Extensible", so that Remarkup rules can add their own sections (Possibly under the Guides application, if it still exists?)

May 27 2023, 07:44 · Documentation, Remarkup
avivey accepted D25242: Cleanup unused cowsay files (related to legacy Perl binary version).

I was intrigued that Evan added the perl version in the first place, but I went and read the licenses and I think it's fine to remove these parts.

May 27 2023, 07:42
avivey added inline comments to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
May 27 2023, 07:32

May 26 2023

aklapper updated the diff for D25246: Work around exception in Herald transcript of old tasks: Call to a member function getAppliedTransactionPHIDs() on bool.

This programming langauge clearly outsmarts me

May 26 2023, 22:08
aklapper requested review of D25249: Fix PHP 8.0 ValueError calling mb_convert_encoding() with an invalid encoding.
May 26 2023, 21:44
aklapper added a revision to T15423: PHP 8.0 ValueError calling mb_convert_encoding() with an invalid encoding: D25249: Fix PHP 8.0 ValueError calling mb_convert_encoding() with an invalid encoding.
May 26 2023, 21:44 · Diffusion, PHP 8 support
aklapper created T15423: PHP 8.0 ValueError calling mb_convert_encoding() with an invalid encoding.
May 26 2023, 21:43 · Diffusion, PHP 8 support
aklapper updated the diff for D25248: Fix PHP 8.1 "preg_match(null)" exception which blocks rendering the "Browse Herald Rules" dialog.

Shorten 87 char line to pass linter

May 26 2023, 21:36
aklapper requested review of D25248: Fix PHP 8.1 "preg_match(null)" exception which blocks rendering the "Browse Herald Rules" dialog.
May 26 2023, 21:34
aklapper added a revision to T15422: PHP 8.1 "preg_match(null)" exception blocks rendering the "Browse Herald Rules" dialog: D25248: Fix PHP 8.1 "preg_match(null)" exception which blocks rendering the "Browse Herald Rules" dialog.
May 26 2023, 21:34 · PHP 8 support
aklapper created T15422: PHP 8.1 "preg_match(null)" exception blocks rendering the "Browse Herald Rules" dialog.
May 26 2023, 21:33 · PHP 8 support
aklapper requested review of D25247: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a Diffusion repository page.
May 26 2023, 21:22
aklapper added a revision to T15421: PHP 8.1 "strlen(null)" exception blocks rendering a Diffusion repository page: D25247: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a Diffusion repository page.
May 26 2023, 21:22 · PHP 8 support
aklapper created T15421: PHP 8.1 "strlen(null)" exception blocks rendering a Diffusion repository page.
May 26 2023, 21:21 · PHP 8 support
valerio.bozzolan added a comment to D25246: Work around exception in Herald transcript of old tasks: Call to a member function getAppliedTransactionPHIDs() on bool.

You can also remove the is_bool() thing and just keep the strict check with triple equals, since it already verifies the type

May 26 2023, 19:46
aklapper updated the test plan for D25246: Work around exception in Herald transcript of old tasks: Call to a member function getAppliedTransactionPHIDs() on bool.
May 26 2023, 14:29
aklapper requested review of D25246: Work around exception in Herald transcript of old tasks: Call to a member function getAppliedTransactionPHIDs() on bool.
May 26 2023, 14:28
aklapper added a revision to T15343: Herald Transcript of old Tasks: Unhandled Exception: Call to a member function getAppliedTransactionPHIDs() on bool: D25246: Work around exception in Herald transcript of old tasks: Call to a member function getAppliedTransactionPHIDs() on bool.
May 26 2023, 14:28 · Bug Reports, Affects-Wikimedia, Herald
aklapper added a comment to T15343: Herald Transcript of old Tasks: Unhandled Exception: Call to a member function getAppliedTransactionPHIDs() on bool.

I could reproduce this locally:

  1. As an admin, go to http://phorge.localhost/herald/create/
  2. Select "Maniphest Tasks"
  3. On http://phorge.localhost/herald/create/?adapter=HeraldManiphestTaskAdapter , select "Global Rule"
  4. Under "Conditions", select any of and set the three conditions Description | contains | Internet Archive, Description | contains | archive.org, Description | contains | Wayback Machine.
  5. Under "Action", select Add projects | someProject
  6. Select "Save Rule"
  7. Trigger the rule by creating a new task.
  8. Wait, wait, and wait, then look at the Herald Transcript linked from the task.
May 26 2023, 14:26 · Bug Reports, Affects-Wikimedia, Herald
valerio.bozzolan updated the task description for T15121: Contributor Agreement.
May 26 2023, 13:43 · Phorge