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
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
May 29 2023
May 29 2023
valerio.bozzolan 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
These are the stack traces:
Hoping to be useful, without further feedback I will land this in 7 days :)
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.
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
Have you your stack traces before this was happening?
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.
valerio.bozzolan accepted D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
Aaaaaand... thaaanks again!
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...
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.
Correct spelling mistake in PhutilLock
valerio.bozzolan committed rP827f63a06543: Cleanup unused cowsay files (related to legacy Perl binary version).
Cleanup unused cowsay files (related to legacy Perl binary version)
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 :)
valerio.bozzolan added inline comments to D25254: Fix PHP 8.1 "explode(null)" exception which blocks rendering the Multimeter page.
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 28 2023
May 28 2023
yeah, ./scripts/celerity/generate_sprites.php. It will also generate the sprite files (and after that, bin/celerity map)
valerio.bozzolan added a comment to T15164: Resolving without Claiming causes error "Action with no effect".
Fixed thanks aklapper
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.
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.
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.
aklapper updated the task description for T15346: PHP 8.1 exceptions in JsonLint block rendering Tab Panels in Dashboards.
avivey added inline comments to D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership".
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 27 2023
May 27 2023
Correct spelling mistakes
valerio.bozzolan updated the summary of D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership".
In D25238#7248, @valerio.bozzolan wrote: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 landThe 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! :)
_____________________________________
( I think having Remarkup rules being )
( able to spawn their documentation )
( section would be great, yup )
-------------------------------------
o . .
o / `. .' "
o .---. < > < > .---.
o | \ \ - ~ ~ - / / |
_____ ..-~ ~-..-~
| | \~~~\.' `./~~~/
--------- \__/ \__/
.' O \ / / \ "
(_____, `._.' | } \/~~~/
`----. / } | / \__/
`-. | / | / `. ,~~|
~-.__| /_ - ~ ^| /- _ `..-'
| / | / ~-. `-. _ _ _
|_____| |_____| ~ - . _ _ _ _ _>
valerio.bozzolan updated the summary of D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
valerio.bozzolan added inline comments to D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
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
Unify user-select CSS directives
Just to be sure, run again Celerity map:
valerio.bozzolan added a comment to Q58: Feature Request: Tooltip of wiki article needs more information.
Thanks for this
In D25025#6842, @valerio.bozzolan wrote:Hoping to be useful I will land this approved change in 7 days if the original author can't :) Thanks again
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.
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.
@valerio.bozzolan Will allowing a Timezone option in the user's "Date Format" solve this?
This is probably a configuration issue - mine shows "This install does not have any active MFA providers configured".
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.
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).
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...
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?)
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.
avivey added inline comments to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
May 26 2023
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
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
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
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:
- As an admin, go to http://phorge.localhost/herald/create/
- Select "Maniphest Tasks"
- On http://phorge.localhost/herald/create/?adapter=HeraldManiphestTaskAdapter , select "Global Rule"
- Under "Conditions", select any of and set the three conditions Description | contains | Internet Archive, Description | contains | archive.org, Description | contains | Wayback Machine.
- Under "Action", select Add projects | someProject
- Select "Save Rule"
- Trigger the rule by creating a new task.
- Wait, wait, and wait, then look at the Herald Transcript linked from the task.
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0